summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Make sure the psr field in the trapframe (which holds the value of cr.ipsr)marcel2014-08-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | is properly synthesized for the EPC syscall. Properly synthesized in this case means that the bank number (BN bitfield) is set to 1. This is needed because the move-from-PSR instruction does copy all bits! In this case the BN bitfield was not copied. While normally this is not a problem, because when we leave the kernel via the EPC syscall path again, we don't actually care about the BN bitfield. We restore PSR with a move-to-PSR instruction, which also doesn't cover the BN bitfield. There is however a scenario where we enter the kernel via the EPC syscall path and leave the kernel via the exception/interrupt path. That path uses the RFI (Return-From-Interrupt) instruction and it restores all bits. What happens in that case is that we don't properly switch to register bank 1 and any exception/interrupt that happens while running in bank 0 clobbers the process' (or kernel's) banked registers. This is because the CPU switches to bank 0 on an exception/interrupt so that there are 16 general registers available for constructing a trapframe and saving the context. Consequently: normal code should always use register bank 1. This bug has been present since 2003 (11 years) and has been the cause for many "unexplained" kernel panics. It says something about how often we hit this problem on the one hand and how tricky it was to find it. Many thanks to: clusteradm@ for enabling me to track this down!
* Document r267849, cxgbe(4) T4 and T5 firmwares update.gjb2014-08-252-0/+7
| | | | | | Add Chelsio vendor.ent entry. Sponsored by: The FreeBSD Foundation
* Document r267771, sctp binding bug.gjb2014-08-251-0/+4
| | | | Sponsored by: The FreeBSD Foundation
* Document r267747, patch(1) --dry-run alias.gjb2014-08-251-0/+5
| | | | Sponsored by: The FreeBSD Foundation
* Document r267734, send-pr(1) replaced with stub pointing togjb2014-08-251-0/+7
| | | | | | bugzilla. Sponsored by: The FreeBSD Foundation
* Document r267694, cxgbe(4) rx buffer recycling fix.gjb2014-08-251-0/+4
| | | | Sponsored by: The FreeBSD Foundation
* Document r267477, tzdata2014e.gjb2014-08-251-3/+3
| | | | Sponsored by: The FreeBSD Foundation
* Document r267457, hpt27xx(4) vendor (bug fix) update.gjb2014-08-251-0/+3
| | | | Sponsored by: The FreeBSD Foundation
* Document r267450, bhyve(8) SMBIOS support and -U flag.gjb2014-08-251-0/+5
| | | | Sponsored by: The FreeBSD Foundation
* Document r267427, bhyve guest XSAVE support.gjb2014-08-251-0/+7
| | | | Sponsored by: The FreeBSD Foundation
* Move r267399 note to the virtualization subsection.gjb2014-08-251-3/+3
| | | | Sponsored by: The FreeBSD Foundation
* Fix indentation levels that are wrong, caused fromgjb2014-08-251-21/+21
| | | | | | a copy/paste mistake. Sponsored by: The FreeBSD Foundation
* Document r267399, FreeBSD/i386 bhyve guest support.gjb2014-08-251-0/+3
| | | | Sponsored by: The FreeBSD Foundation
* Document r267341, legacy PCI support removed from bhyve(8).gjb2014-08-251-0/+4
| | | | Sponsored by: The FreeBSD Foundation
* Document r267161, realpath(1): fail on non-directory containinggjb2014-08-251-0/+7
| | | | | | '.' or '..' Sponsored by: The FreeBSD Foundation
* Document r267084, unmapped I/O added to mfi(4).gjb2014-08-251-0/+3
| | | | Sponsored by: The FreeBSD Foundation
* Document r267056, bsdinstall(8) enhancements.gjb2014-08-251-0/+7
| | | | Sponsored by: The FreeBSD Foundation
* Document r266953, silence error message if there isgjb2014-08-251-0/+5
| | | | | | nothing to compare. Sponsored by: The FreeBSD Foundation
* Document r266911, Atom Silvermont microarchitecture supportgjb2014-08-251-0/+4
| | | | | | in hwpmc(4). Sponsored by: The FreeBSD Foundation
* MFC r268407 (by gjb):ae2014-08-252-2/+39
| | | | | | | | | | | | | | | Fix non-version text after .Fx macro usage. MFC r269487 (by issyl0): Add generic list, status, load and unload docs to gpart(8) - In the style of gmirror(8). PR: docs/191534 MFC r269852: Add sysctl and loader tunable kern.geom.part.mbr.enforce_chs that is set by default. It can be used to disable automatic alignment to CHS geometry, that GEOM_PART_MBR does.
* Document r266888, amount of data collected for hwpmc(4)gjb2014-08-251-0/+4
| | | | | | increased. Sponsored by: The FreeBSD Foundation
* Document r266816, $2b$ crypt format used by default.gjb2014-08-251-0/+3
| | | | Sponsored by: The FreeBSD Foundation
* Document r266718, jail(8) source address selection fix whengjb2014-08-251-0/+6
| | | | | | using raw_sockets. Sponsored by: The FreeBSD Foundation
* Document r266715, clang/llvm 3.4.1.gjb2014-08-251-3/+3
| | | | Sponsored by: The FreeBSD Foundation
* Document r266632, fetch(3) looks in /usr/local/etc/ssl/ beforegjb2014-08-251-0/+6
| | | | | | /etc/ssl/ for the root CA. Sponsored by: The FreeBSD Foundation
* Document r266612, libzfs pool threading.gjb2014-08-251-0/+6
| | | | Sponsored by: The FreeBSD Foundation
* Document r266610, gstat(8) '-o' flag.gjb2014-08-251-0/+5
| | | | Sponsored by: The FreeBSD Foundation
* Document r266594, 32-bit ioctl(2) support in radeonkms.gjb2014-08-251-0/+5
| | | | Sponsored by: The FreeBSD Foundation
* Document r266578, Realtek RTL8188EUS and RTL8188ETV supportgjb2014-08-251-0/+4
| | | | | | in urtwn(4). Sponsored by: The FreeBSD Foundation
* Document r266436, Intel Lynx Point KT UART AMT support.gjb2014-08-251-0/+4
| | | | Sponsored by: The FreeBSD Foundation
* Document r266379, ZEDBOARD SMP support.gjb2014-08-251-0/+4
| | | | Sponsored by: The FreeBSD Foundation
* Move note about geom_uncompress(4), which is not ARM-specific.gjb2014-08-251-5/+5
| | | | Sponsored by: The FreeBSD Foundation
* Document r266272, binmiscctl(8) merged from head/.gjb2014-08-251-0/+4
| | | | Sponsored by: The FreeBSD Foundation
* Document r266220, geom_uncompress(4) built by default.gjb2014-08-251-0/+5
| | | | Sponsored by: The FreeBSD Foundation
* Document r266212, RTL8168C/RTL8168CP TX checksum offloadinggjb2014-08-251-0/+6
| | | | | | disabled. Sponsored by: The FreeBSD Foundation
* Document r266122, vfs.zfs.min_auto_ashiftgjb2014-08-251-0/+8
| | | | Sponsored by: The FreeBSD Foundation
* Document r266105, gpioiic(4) and gpiobus(4) merged from head/.gjb2014-08-251-0/+3
| | | | Sponsored by: The FreeBSD Foundation
* Document r266029, login.conf(5) precedence over dot-shellgjb2014-08-251-0/+9
| | | | | | files. Sponsored by: The FreeBSD Foundation
* Document r266014, gvinum(8) '-f' flag changes.gjb2014-08-251-0/+6
| | | | Sponsored by: The FreeBSD Foundation
* Document r266000, nexus(4) supports FDT for ARM and MIPS,gjb2014-08-251-0/+5
| | | | | | replacing fdtbus(4). Sponsored by: The FreeBSD Foundation
* Document r265983, tzdata2014c.gjb2014-08-251-3/+3
| | | | Sponsored by: The FreeBSD Foundation
* Document r265946, UDP-Lite support.gjb2014-08-251-2/+3
| | | | Sponsored by: The FreeBSD Foundation
* Document r265912, auto-resize in GEOM_PART.gjb2014-08-251-0/+7
| | | | Sponsored by: The FreeBSD Foundation
* Remove a non-breaking space between a trademark symbol.gjb2014-08-251-1/+1
| | | | Sponsored by: The FreeBSD Foundation
* Document r265879, crypt(3) defaults to sha512.gjb2014-08-251-0/+3
| | | | Sponsored by: The FreeBSD Foundation
* Re-indent the <info> and following <sect1> blocks to conformgjb2014-08-251-509/+518
| | | | | | | to FDP style conventions. Wrap resulting long lines. Sponsored by: The FreeBSD Foundation
* Wrap a few long lines.gjb2014-08-251-2/+5
| | | | Sponsored by: The FreeBSD Foundation
* Capitalize titles where needed.gjb2014-08-251-2/+2
| | | | Sponsored by: The FreeBSD Foundation
* Document r265701, route(8) and netstat(8) '-4' and '-6' shorthandgjb2014-08-251-0/+6
| | | | | | flags. Sponsored by: The FreeBSD Foundation
* MFC r270192:kevlo2014-08-251-5/+5
| | | | | | | If eapol packets are sent at the lowest rate, key negotiation will become more reliable. Submitted by: Akinori Furukoshi <moonlightakkiy at yahoo dot ca>
OpenPOWER on IntegriCloud