Ħ5259621 159 1236 167 193 290 121 289 240 240 240 240 164 1117 197 186 277 239 269 472 231 433 533 894 332 269 212 170 440 247 259 177 174 1282 299 150 349 295 435 268 605 294 290 107 302 210 259 212 632 225 252 126 310 118 258 233 175 247 223 190 1656 362 1058 152 152 608 916 394 183 252 139 150 226 203 108 290 219 229 192 231 160 151 231 174 152 165 290 120 302 127 134 183 137 126 116 123 135 124 614 120 262 181 383 383 111 241 119 123 166 166 346 417 109 159 130 249 139 199 566 272 262 281 1670 622 196 559 628 859 709 863 169 569 249 1710 1018 662 668 263 401 1581 949 122 310 167 115 179 708 225 132 131 551 116 366 213 232 124 132 175 301 220 1033 K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-12-19T18:52:41.464886Z K 7 svn:log V 1139 MFC r259276,259468-259470,259472,259474,259476-259478,259480-259481,259570, 259572, and 259597-259598... r259276: Fix bug in `services' script in adding dumpdev comment to rc.conf r259468: Ignore spurious escape generated by VMware's Ctrl-Cmd combination r259469: Mask errors in `config' script from newaliases(1) about non-FQHN r259470: Set atime=on for /var/mail zfsboot dataset to support mail server r259472: Accept NULL input for zfsboot SWAP to indicate SWAP of zero bytes r259474: Multiple changes, including bug-fixes and debugging improvements r259476: Change default ZFS disk layout, making it easier to resize r259477: fletcher4 is now the default (zfsboot related) r259478: De-uglify the geli(8)-setup infobox (zfsboot related) r259480: Fix ghosted zroot issue by always performing labelclear on swap r259481: Auto-enable 4k sector alignmet when geli(8) is enabled (zfsboot) r259570: Fix numerical comparison error (zfsboot) r259572: Mask spurious rm error in bsdinstall_log from `auto' script r259597: Fix zfsboot regression when installing to 3+ disks r259598: Set cachefile property of bootpool so it imports to new system END K 10 svn:author V 2 np K 8 svn:date V 27 2013-12-19T19:15:24.225855Z K 7 svn:log V 76 MFC r259569: cxgbe.4: Belated update to the man page to reflect T5 support. END K 10 svn:author V 2 np K 8 svn:date V 27 2013-12-19T19:39:24.445402Z K 7 svn:log V 101 Merge r259622: cxgbe.4: Belated update to the man page to reflect T5 support. Approved by: re (gjb) END K 10 svn:author V 5 edwin K 8 svn:date V 27 2013-12-19T20:15:49.566600Z K 7 svn:log V 195 Vendor import of tzdata2013i: Removed support for solar-time-based time zones Jordan stays at summer time this year. Fix historical data for Cuba Obtained from: ftp://ftp.iana.org/tz/releases/ END K 10 svn:author V 5 edwin K 8 svn:date V 27 2013-12-19T20:18:21.842578Z K 7 svn:log V 27 Tag of tzdata2013i sources END K 10 svn:author V 5 edwin K 8 svn:date V 27 2013-12-19T20:19:57.365970Z K 7 svn:log V 194 MFV of r259624, tzdata2013i Removed support for solar-time-based time zones Jordan stays at summer time this year. Fix historical data for Cuba Obtained from: ftp://ftp.iana.org/tz/releases/ END K 10 svn:author V 5 edwin K 8 svn:date V 27 2013-12-19T20:25:49.605726Z K 7 svn:log V 145 MFC of 259626, tzdata2013i: Removed support for solar-time-based time zones Jordan stays at summer time this year. Fix historical data for Cuba END K 10 svn:author V 5 edwin K 8 svn:date V 27 2013-12-19T20:25:55.269755Z K 7 svn:log V 145 MFC of 259626, tzdata2013i: Removed support for solar-time-based time zones Jordan stays at summer time this year. Fix historical data for Cuba END K 10 svn:author V 5 edwin K 8 svn:date V 27 2013-12-19T20:26:00.422824Z K 7 svn:log V 145 MFC of 259626, tzdata2013i: Removed support for solar-time-based time zones Jordan stays at summer time this year. Fix historical data for Cuba END K 10 svn:author V 5 edwin K 8 svn:date V 27 2013-12-19T20:26:06.501349Z K 7 svn:log V 145 MFC of 259626, tzdata2013i: Removed support for solar-time-based time zones Jordan stays at summer time this year. Fix historical data for Cuba END K 10 svn:author V 5 peter K 8 svn:date V 27 2013-12-19T21:03:08.677234Z K 7 svn:log V 70 MF9: Don't fail to build if MALLOC_PRODUCTION is defined in make.conf END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-12-19T21:31:28.374586Z K 7 svn:log V 1023 Rework flow control for connection-oriented (TCP) RPC server. When processing receive buffer, write the amount of data, expected in present request record, into socket's so_rcv.sb_lowat to make stack aware about our needs. When processing following upcalls, ignore them until socket collect enough data to be read and processed in one turn. This change reduces number of context switches and other operations in RPC stack during large NFS writes (especially via non-Jumbo networks) by order of magnitude. After precessing current packet, take another look into the pending buffer to find out whether the next packet had been already received. If not, deactivate this port right there without making RPC code to push this port to another thread just to find that there is nothing. If the next packet is received partially, also deactivate the port, but also update socket's so_rcv.sb_lowat to not be woken up prematurely. This change additionally reduces number of context switches per NFS request about in half. END K 10 svn:author V 2 se K 8 svn:date V 27 2013-12-19T21:35:33.506954Z K 7 svn:log V 105 Fix compilation on 32 bit architectures and use INT64_MAX instead of LONG_MAX for the upper bound check. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-12-19T22:13:12.366580Z K 7 svn:log V 95 Prevent users from deactivating the last component of a mirror. PR: 184985 MFC after: 1 week END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-12-19T22:27:28.074704Z K 7 svn:log V 183 Add an option to ignore accesses by the guest to unimplemented MSRs. Also, ignore a couple of SandyBridge uncore PMC MSRs that Centos 6.4 writes to during boot. Reviewed by: grehan END K 10 svn:author V 5 edwin K 8 svn:date V 27 2013-12-19T23:29:34.095281Z K 7 svn:log V 144 MFC of 259626, tzdata2013i Removed support for solar-time-based time zones Jordan stays at summer time this year. Fix historical data for Cuba END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-12-20T00:09:14.490537Z K 7 svn:log V 172 Merge r259541 from stable/10: Merge r256868,257276-257277,257515,257913 from head. These are fixes required to make Xen buildable w/o INET. Approved by: re (delphij) END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2013-12-20T00:17:26.792705Z K 7 svn:log V 374 Use more fine-grained kvm(3) symbol lookup: routing code retrieves only necessary symbols needed per subsystem. Main kvm(3) init is now delayed as much as possbile. This finally fixes performance issues reported in kern/167204. Some non-working code (ng_socket.ko symbol addresses calculation) removed. Some global variables eliminated. PR: kern/167204 MFC after: 4 weeks END K 10 svn:author V 6 grehan K 8 svn:date V 27 2013-12-20T00:47:54.601019Z K 7 svn:log V 135 MFStable r259536 MFC r259302,r259413 r259302 bhyve(8) man page r259413 mdoc: sort SEE ALSO Approved by: re@ (glebius) END K 10 svn:author V 7 ganbold K 8 svn:date V 27 2013-12-20T00:56:23.648011Z K 7 svn:log V 336 Add identification and necessary type checks for Krait CPU cores. Krait CPU is used in Qualcomm Snapdragon S4 and Snapdragon 400/600/800 SoCs and has architectural similarities to ARM Cortex-A15. As for development boards IFC6400 series embedded boards from Inforce Computing uses Snapdragon S4 Pro/APQ8064. Approved by: stas (mentor) END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-12-20T05:50:22.932759Z K 7 svn:log V 439 Re-arrange bits in the amd64/pmap 'pm_flags' field. The least significant 8 bits of 'pm_flags' are now used for the IPI vector to use for nested page table TLB shootdown. Previously we used IPI_AST to interrupt the host cpu which is functionally correct but could lead to misleading interrupt counts for AST handler. The AST handler was also doing a lot more than what is required for the nested page table TLB shootdown (EOI and IRET). END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-12-20T07:41:03.567929Z K 7 svn:log V 798 Disable the now unpredicably bogus check for whether we have eneough queue space before queuing a bunch of IP fragments. As the comment in the committed change says, in the post-if_transmit(), post-SMP, post-preemption world, there's just too much overlapping concurrent code paths and different approaches to driver transmit queue management to have this code even remotely be effective. The only specific place it could be useful is if ALTQ is enabled but again it doesn't at all promise that all the fragments will be transmitted anyway. The main reason for committing this change is to disable a parallel place where the drops counter is incremented. This is a side effect of an upcoming change to ixgbe/cxgbe to handle the queue drops counter slightly better. Sponsored by: Netflix, Inc. END K 10 svn:author V 4 stas K 8 svn:date V 27 2013-12-20T10:49:57.626854Z K 7 svn:log V 238 - Welcome Ganbold Tsagaankhuu (ganbold) to the team of src committers. He's done a great job working on FreeBSD support for numerous ARM SoCs and now will be able to submit his work directly. I will be his mentor. Approved by: core END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-12-20T10:57:47.232157Z K 7 svn:log V 172 ixgbe(4) takes packet counters from hardware in ixgbe_update_stats_counters(), so we don't need to do a per packet increment, which trashes cache line. Submitted by: oleg END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2013-12-20T12:08:36.622616Z K 7 svn:log V 114 Further split kvm(3) and sysctl interfaces for route table printing. MFC after: 4 weeks Sponsored by: Yandex LLC END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-12-20T13:18:50.906796Z K 7 svn:log V 74 Fix build broken in r259644. Submitted by: tuexen Pointy hat to: glebius END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-12-20T14:03:56.607712Z K 7 svn:log V 343 o Remove assertions on ipa_version as sometimes the version detection using cpuid can be quirky (this is the case of VMWare without the vPMC support) but fail to probe hwpmc. o Apply the fix for XEON family of processors as established by 315338-020 document (bug AJ85). Sponsored by: EMC / Isilon storage division Reviewed by: fabient END K 10 svn:author V 6 andrew K 8 svn:date V 27 2013-12-20T14:33:48.177675Z K 7 svn:log V 151 Map in the DTB passed to us using the Linux ABI. As it may be at any address we move it to just after the kernel. While here fix the spelling of abp. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-12-20T14:56:52.665120Z K 7 svn:log V 166 gcc: more diff reductions against Apple GCC. Mostly cosmetical changes to aid further merges. Obtained from: gcc 4.3 (rev. 120611, 124839; GPLv2) MFC after: 1 week END K 10 svn:author V 3 ray K 8 svn:date V 27 2013-12-20T15:37:57.024827Z K 7 svn:log V 85 Set mouse level per window, instead of global. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 ray K 8 svn:date V 27 2013-12-20T15:45:22.581655Z K 7 svn:log V 82 Enable AltGr key by default. Asked by: many Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-12-20T15:46:24.734607Z K 7 svn:log V 1185 MFS10 SVN r259621: MFC r259276,259468-259470,259472,259474,259476-259478,259480-259481,259570, 259572, and 259597-259598... r259276: Fix bug in `services' script in adding dumpdev comment to rc.conf r259468: Ignore spurious escape generated by VMware's Ctrl-Cmd combination r259469: Mask errors in `config' script from newaliases(1) about non-FQHN r259470: Set atime=on for /var/mail zfsboot dataset to support mail server r259472: Accept NULL input for zfsboot SWAP to indicate SWAP of zero bytes r259474: Multiple changes, including bug-fixes and debugging improvements r259476: Change default ZFS disk layout, making it easier to resize r259477: fletcher4 is now the default (zfsboot related) r259478: De-uglify the geli(8)-setup infobox (zfsboot related) r259480: Fix ghosted zroot issue by always performing labelclear on swap r259481: Auto-enable 4k sector alignmet when geli(8) is enabled (zfsboot) r259570: Fix numerical comparison error (zfsboot) r259572: Mask spurious rm error in bsdinstall_log from `auto' script r259597: Fix zfsboot regression when installing to 3+ disks r259598: Set cachefile property of bootpool so it imports to new system Approved by: re (gjb) END K 10 svn:author V 6 andrew K 8 svn:date V 27 2013-12-20T15:57:15.847310Z K 7 svn:log V 203 Correctly allocate enough space on the stack for the boot params. As this bug can be hidden by the stack alignment use the stack pointer before we align the stack to help catch this if it happens again. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2013-12-20T15:58:33.171520Z K 7 svn:log V 55 Correctly set preload_end. This was missed in r259648. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-12-20T16:01:02.532162Z K 7 svn:log V 256 gcc: merge upstream fix and new feature. Fix for PR c++/29928 Add support for Rvalue references as described here: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n2118.html Obtained from: gcc 4.3 (rev. 124724, 125211; GPLv2) MFC after: 2 weeks END K 10 svn:author V 6 andrew K 8 svn:date V 27 2013-12-20T16:15:25.175067Z K 7 svn:log V 199 - Fix a style bug, preload_end is not a boolean. - Fix a logic inversion when checking if we are using the Linux ATAG ABI. - Or in MODINFO_METADATA to the fake loader data so we can find the dtb. END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2013-12-20T16:37:03.005919Z K 7 svn:log V 337 Add suspend/resume handlers for ATI backlight ppc driver. With this, also shut shut off the display (DPMS-style) and disable the clocking when the backlight level is set to 0. This is taken from the radeonkms driver (radeon_legacy_encoders.c) which doesn't yet support PowerPC, and won't for a while, as it's missing full AGP support. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2013-12-20T16:50:52.969046Z K 7 svn:log V 172 Update the GENERIC kernel to comment out sc and related optoins, and to add the CPU_CORTEXA cpu. With this I can boot the same kernel on a Raspberry Pi, and a Panda Board. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-12-20T17:39:07.210464Z K 7 svn:log V 512 Remove several linear list traversals per request from RPC server code. Do not insert active ports into pool->sp_active list if they are success- fully assigned to some thread. This makes that list include only ports that really require attention, and so traversal can be reduced to simple taking the first one. Remove idle thread from pool->sp_idlethreads list when assigning some work (port of requests) to it. That again makes possible to replace list traversals with simple taking the first element. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-12-20T18:09:34.974648Z K 7 svn:log V 201 gcc: revert Rvalue references. They are very useful but at this time I prefer not to figure out some minor conflicts with the bigger Apple's blocks support patch that is being worked on for current. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-12-20T18:16:02.156635Z K 7 svn:log V 197 Revert r259619: Fixes GCC libstdc++/29286 The fix seems to work for amd64 but causes segfaults on powerpc. At this time gcc is much more important on powerpc than on amd64. Reported by: andreast END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-12-20T19:44:29.862222Z K 7 svn:log V 11 Fix build. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-12-20T19:45:51.035432Z K 7 svn:log V 205 Move list of ttys handling from the allocating procedures, to the device creation stage. A device creation can fail, and in that case an entry already on the list will be freed. Sponsored by: Nginx, Inc. END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-12-20T20:14:54.216213Z K 7 svn:log V 117 MFC r259498: Pull in r197399 from upstream clang trunk: Add bit_FXSAVE as an alias for bit_FXSR, for gcc compat. END K 10 svn:author V 3 gnn K 8 svn:date V 27 2013-12-20T20:22:10.388967Z K 7 svn:log V 166 Add another Haswell model (0x45) to the set of supported chips. Model 0x45 appears, for example, in late 2013 Mac Book Pro models and is properly emulated by VMware. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-12-20T20:57:13.677210Z K 7 svn:log V 119 gcc: clean some warnings from -Wformat-security Obtained from: Apple GCC 4.2 - 5646 (Radar 5764921) MFC after: 1 week END K 10 svn:author V 2 ed K 8 svn:date V 27 2013-12-20T21:31:50.987670Z K 7 svn:log V 540 Extend libteken to support CJK fullwidth characters. Introduce a new formatting bit (TF_CJK_RIGHT) that is set when putting a cell that is the right part of a CJK fullwidth character. This will allow drivers like vt(9) to support fullwidth characters properly. emaste@ has a patch to extend vt(9)'s font handling to increase the number of Unicode -> glyph maps from 2 ({normal,bold)} to 4 ({normal,bold} x {left,right}). This will need to use this formatting bit to determine whether to draw the left or right glyph. Reviewed by: emaste END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2013-12-20T23:18:14.699637Z K 7 svn:log V 127 Fix a couple bugs in FBT PowerPC. Clamp the size to a 'instruction size' not 'byte size', and fix a typo. MFC after: 2 weeks END K 10 svn:author V 3 jmg K 8 svn:date V 27 2013-12-20T23:34:10.982007Z K 7 svn:log V 159 document how to install when src is newer than the world.. This allows people to build -current systems from older systems... Thanks to: Thomas Mueller END K 10 svn:author V 3 jmg K 8 svn:date V 27 2013-12-20T23:57:05.162643Z K 7 svn:log V 34 document the m_getjcl function... END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2013-12-21T00:07:56.958203Z K 7 svn:log V 212 Add suspend/resume to DBDMA and ATA on PowerMacs. This, and several subsequent commits, are suspend/resume for various PowerMac drivers, which will include a change to the global suspend/resume code eventually. END K 10 svn:author V 3 jmg K 8 svn:date V 27 2013-12-21T00:15:37.090709Z K 7 svn:log V 26 bump Dd Reminded by: gjb END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-12-21T00:20:06.470792Z K 7 svn:log V 165 Honor WITHOUT_SYSINSTALL=1. This is a direct commit to stable/9. PR: 176263 Submitted by: Sayetsky Anton (vsjcfm gmail com) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2013-12-21T00:37:32.080839Z K 7 svn:log V 135 Fix a brain-o. I had misread the limit as a size, but it's a pointer. Submitted by: Howard Su MFC after: 2 weeks X-MFC-with: r259668 END K 10 svn:author V 8 truckman K 8 svn:date V 27 2013-12-21T03:05:13.402388Z K 7 svn:log V 78 Add quirks to make my old SanDisk Cruzer Mini 128MB happy. MFC after: 1 week END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2013-12-21T04:31:54.368096Z K 7 svn:log V 149 Add suspend/resume state saving for OpenPIC on PowerMac. It's likely this can be used on the others (cpcht and psim), but that has not been tested. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-12-21T11:59:58.919574Z K 7 svn:log V 127 swapon: Fix buffer overflow when configuring encrypted swap on GBDE. PR: bin/184950 Tested by: Radim Kolar MFC after: 3 days END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-12-21T12:45:35.661278Z K 7 svn:log V 98 Fix build with WITHOUT_CAPSICUM. Submitted by: dt71 gmx com Sponsored by: The FreeBSD Foundation END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-12-21T12:55:42.653795Z K 7 svn:log V 1557 vga_pci: Improve boot display detection The previous code was checking the "VGA Enable" bit on the video card's parent PCI-to-PCI bridge only. This didn't work for the case where the video card is attached to the root PCI bus (ie. the card has no parent PCI-to-PCI bridge). Now, the new code: 1. checks the "VGA Enable" bit on the parent bridge only if it's a PCI-to-PCI bridge; 2. always checks the "I/O" and "Memory address space decoding" bits on the video card itself. However, vendor-specific bits are not used. This fixes the use of many integrated Radeon cards: without this patch, we fail to detect them as the boot display and, when radeonkms looks for the Video BIOS, it skips the shadow copy made by the System BIOS. It then fails to fully initialize the card, because the shadow copy is the only way to read the Video BIOS in these situations. A workaround was to force the boot display selection using the "hw.pci.default_vgapci_unit" tunable. A previous version of this patch added a new function doing the checks. Now, the vga_pci_is_boot_display() function is used to perform the checks (only until the boot display is found) and return if the given device is the boot display or not. Furthermore, vga_pci_attach() logs "Boot video device" if the card being attached it the Chosen One: vgapci0: [...] vgapci0: Boot video device Reviewed by: kib@, jhb@ (both a previous version) Tested by: lunatic_ (#freebsd-xorg, integrated Radeon card, xmj (#freebsd-xorg, i915+NVIDIA cards) END K 10 svn:author V 6 emaste K 8 svn:date V 27 2013-12-21T13:58:55.485090Z K 7 svn:log V 266 Support double-width characters in vt(9) Normal and bold fonts each have a glyph map for single or left half- glyphs, and right half glyphs. The flag TF_CJK_RIGHT in term_char_t requests the right half-glyph. Reviewed by: ed@ Sponsored by: The FreeBSD Foundation END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-12-21T14:41:32.352526Z K 7 svn:log V 961 In r248885 I have reduced size of fake uio resid that ng_ksocket(4) passes to the soreceive(). This exposed a bug. When reading from a raw socket, when our fake limit is depleted, we receive a truncated mbuf chain, with m->m_pkthdr.len > m_length(m). The first problem is that MSG_TRUNC was not handled. The second one is that we didn't reinit uio_resid in our endless loop (neither flags), and if socket buffer contained several records, then we quickly deplete our fake limit. The third bug, actually introduced in r248885, is that MJUMPAGESIZE isn't enough to handle maximum packet that ng_ksocket(4) can theoretically receive. Changes: - Reinit uio_resid and flags before every call to soreceive(). - Set maximum acceptable size of packet to IP_MAXPACKET. As for now the module doesn't support INET6. - Properly handle MSG_TRUNC return from soreceive(). PR: 184601 Submitted & tested by: Viktor Velichkin Sponsored by: Nginx, Inc. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-12-21T15:02:47.604350Z K 7 svn:log V 60 Honor WITHOUT_CASPER. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-12-21T15:16:28.756444Z K 7 svn:log V 60 Honor WITHOUT_CASPER. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-12-21T15:40:36.755403Z K 7 svn:log V 510 drm/ttm, drm/radeon: Replace EINTR/ERESTART by ERESTARTSYS... ... for msleep/cv_*wait() return values, where wait_event*() is used on Linux. ERESTARTSYS is the return code expected by callers when the operation was interrupted. For instance, this is the case of radeon_cs_ioctl() (radeon_cs.c): if an error occurs, and the code isn't ERESTARTSYS (eg. EINTR), it logs an error. Note that ERESTARTSYS is defined as ERESTART, but this keeps callers' code close to Linux. Submitted by: avg@ (previous version) END K 10 svn:author V 3 imp K 8 svn:date V 27 2013-12-21T16:23:31.530943Z K 7 svn:log V 823 Plumb the cn_grab and cn_ungrab routines down into the uart clients. Mask RX interrupts while grabbed on the atmel serial driver. This UART interrupts every character. When interrupts are enabled at the mountroot> prompt, this means the ISR eats the characters. Rather than try to create a cooperative buffering system for the low level kernel console, instead just mask out the ISR. For NS8250 and decsendents this isn't needed, since interrupts only happen after 14 or more characters (depending on the fifo settings). Plumb such that these are optional so there's no change in behavior for all the other UART clients. ddb worked on this platform because all interrupts were disabled while it was running, so this problem wasn't noticed. The mountroot> issue has been around for a very very long time. MFC after: 3 days END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-12-21T16:43:40.977334Z K 7 svn:log V 298 Move the installer's keymap solution introduced by SVN r259468. The new location of /etc/rc.local on the install media is more appropriate as it knows serial vs. non-serial and can also do the change earlier (so that even the initial Install dialog can benefit from the change). MFC after: 3 days END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-12-21T17:24:31.032104Z K 7 svn:log V 83 Branch sys to convert MIPS to using pic_if.m for more flexible interrupt handling. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-12-21T17:25:55.830801Z K 7 svn:log V 151 Make MALTA work using an adapted version of the PowerPC pic_if.m code. Every other kernel is broken for now, but the rest should be fairly mechanical. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-12-21T17:36:32.641126Z K 7 svn:log V 39 Make sure the CPU PIC is the root pic. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-12-21T17:43:23.223437Z K 7 svn:log V 50 Support interrupt allocation in multiple domains. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-12-21T18:01:02.331835Z K 7 svn:log V 125 Make this compile, but not work. Some XXX notes at the bottom for what needs to be implemented, which I couldn't figure out. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-12-21T18:16:42.990099Z K 7 svn:log V 102 New simpler version of simple bus that participates in the standard ofw_bus interrupt mapping scheme. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-12-21T18:17:41.735288Z K 7 svn:log V 9 style(9) END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-12-21T18:47:00.590114Z K 7 svn:log V 197 MFC r258017, r258429, r258748, r258817: Merge updates from FSF pre4.3 GCC inspired on Apple's gcc: Updates to libiberty and mangling. New align attribute. Merge Apple updates to libstdc++. END K 10 svn:author V 5 crees K 8 svn:date V 27 2013-12-21T19:29:08.326628Z K 7 svn:log V 124 Document the lack of chflags support in pax(1) PR: docs/135516 Submitted by: arundel (based on) Approved by: gjb (mentor) END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-12-21T19:53:51.799272Z K 7 svn:log V 136 gcc: warnings from -Wformat-security Minor mismatch in r259666. Obtained from: Apple GCC 4.2 - 5646 (Radar 5764921) MFC after: 1 week END K 10 svn:author V 5 crees K 8 svn:date V 27 2013-12-21T21:56:12.663172Z K 7 svn:log V 98 Minor grammar fix PR: docs/185057 Submitted by: Yuri (yuri@rawbw.com) Approved by: gjb (mentor) END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-12-22T00:04:03.660275Z K 7 svn:log V 138 Vendor import of llvm release_34 branch r197841 (effectively, 3.4 RC3): https://llvm.org/svn/llvm-project/llvm/branches/release_34@197841 END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2013-12-22T00:04:50.998435Z K 7 svn:log V 63 Set the PMC trapframe macros appropriately MFC after: 2 weeks END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-12-22T00:05:15.765719Z K 7 svn:log V 59 Tag llvm release_34 branch r197841 (effectively, 3.4 RC3). END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-12-22T00:07:40.254748Z K 7 svn:log V 138 Vendor import of clang release_34 branch r197841 (effectively, 3.4 RC3): https://llvm.org/svn/llvm-project/cfe/branches/release_34@197841 END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-12-22T00:08:00.952183Z K 7 svn:log V 81 Consolidate the virtual apic initialization in a single function: vlapic_reset() END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-12-22T00:08:20.757716Z K 7 svn:log V 60 Tag clang release_34 branch r197841 (effectively, 3.4 RC3). END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-12-22T00:22:57.618981Z K 7 svn:log V 65 Speculative conversion of AR71XX to pic_if. Compile-tested only. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-12-22T00:45:08.371826Z K 7 svn:log V 197 MFC r258017, r258429, r258748, r258817: Merge updates from FSF pre4.3 GCC inspired on Apple's gcc: Updates to libiberty and mangling. New align attribute. Merge Apple updates to libstdc++. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-12-22T00:56:05.592468Z K 7 svn:log V 20 Fix build with SMP. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-12-22T01:00:00.406801Z K 7 svn:log V 209 MFC r258651, r258943: gcc: Altivec register adjustments from Apple. gcc: On rs6000 update sp_offset depending only on size. Tested by: Justin Hibbits Obtained from: gcc pre-4.3 (rev. 124763, 125116; GPLv2) END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2013-12-22T09:27:57.484316Z K 7 svn:log V 31 Add item for clang 3.3 update. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2013-12-22T09:40:03.148899Z K 7 svn:log V 38 Add revision number for BIND removal. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2013-12-22T10:24:14.330670Z K 7 svn:log V 87 Mention that GCC is not built on platforms where CLANG is the default system compiler. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2013-12-22T10:33:01.932539Z K 7 svn:log V 41 Add revision number for iSCSI initiator. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2013-12-22T10:42:47.341777Z K 7 svn:log V 30 Mention TRIM support for ZFS. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2013-12-22T10:50:09.312659Z K 7 svn:log V 20 Re-order ZFS items. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2013-12-22T10:52:51.119369Z K 7 svn:log V 27 Add some revision numbers. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2013-12-22T10:58:40.759896Z K 7 svn:log V 39 Mention ZFS zio nop-write improvement. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2013-12-22T11:10:08.580975Z K 7 svn:log V 28 Mention addition of vmx(4). END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-12-22T11:11:23.205549Z K 7 svn:log V 516 drm: Lower priority of "EDID checksum is invalid" message The priority goes from "error" to "debug". Connectors are polled every 10 seconds. Reading EDID is part of this polling. However, when an invalid EDID is returned, this error message is logged. When using Newcons for instance, having a kernel message every 10 seconds is getting annoying. Now that it's a debug message, it'll be logged only if hw.dri.debug is enabled. This fix console spamming for some users. Tested by: Larry Rosenman END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2013-12-22T11:41:26.682349Z K 7 svn:log V 24 Mention virtio support. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-12-22T12:10:36.296226Z K 7 svn:log V 165 Fix fallout from r258479: in pf_free_src_node() the node must already be unlinked. Reported by: Konstantin Kukushkin Sponsored by: Nginx, Inc. END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-12-22T12:53:56.952326Z K 7 svn:log V 89 For gnu/lib/csu, only use gcc-specific flags when compiling with gcc. MFC after: 3 days END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-12-22T13:02:34.455689Z K 7 svn:log V 290 MFC r259108: When comparing device IDs, make sure that they have the same type (like NAA assigned) and identify the same entity (like device or port). Otherwise there can be false positives since at least some models of Seagate disks use same IDs for the whole device and one of its ports. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-12-22T13:03:33.723964Z K 7 svn:log V 290 MFC r259108: When comparing device IDs, make sure that they have the same type (like NAA assigned) and identify the same entity (like device or port). Otherwise there can be false positives since at least some models of Seagate disks use same IDs for the whole device and one of its ports. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-12-22T14:13:00.095569Z K 7 svn:log V 11 SMP fixes. END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-12-22T14:14:53.248210Z K 7 svn:log V 148 Apply upstream commit 33312fd828e59c78ae4ee30fd70d0ca109748cf0 (by zoulasc) to contrib/file: don't write a char to a pointer. MFC after: 3 days END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-12-22T14:39:04.249195Z K 7 svn:log V 19 Convert to pic_if. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-12-22T14:57:36.864391Z K 7 svn:log V 23 Convert to use pic_if. END K 10 svn:author V 3 ray K 8 svn:date V 27 2013-12-22T15:33:15.417416Z K 7 svn:log V 74 Update names from newcons to vt(9). Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 ray K 8 svn:date V 27 2013-12-22T16:09:29.244852Z K 7 svn:log V 74 Add Freescale i.MX515 vt(9) driver. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-12-22T16:12:47.065958Z K 7 svn:log V 253 Bootstrap etcupdate(8) as part of the release build, similar to what is done for mergemaster(8). This allows etcupdate(8) to work out-of-box after the first upgrade of a system. Submitted by: jhb MFC after: 3 days Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-12-22T17:51:33.966461Z K 7 svn:log V 324 To avoid having to explicitly test COMPILER_TYPE for setting clang-specific or gcc-specific flags, introduce the following new variables for use in Makefiles: CFLAGS.clang CFLAGS.gcc CXXFLAGS.clang CXXFLAGS.gcc In bsd.sys.mk, these get appended to the regular CFLAGS or CXXFLAGS for the right compiler. MFC after: 1 week END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2013-12-22T19:11:04.045456Z K 7 svn:log V 14 IFC @ r259730 END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2013-12-22T19:11:06.689695Z K 7 svn:log V 63 Improve section on carp(4) updates. Add some revision numbers. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2013-12-22T19:33:15.804428Z K 7 svn:log V 34 Add a note for Microsoft Hyper-V. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2013-12-22T19:36:08.479206Z K 7 svn:log V 156 MFC r259576: MFV r258923: 4188 assertion failed in dmu_tx_hold_free(): dn_datablkshift != 0 illumos/illumos-gate@bb411a08b05466bfe0c7095b6373bbc1587e259a END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2013-12-22T19:38:51.319984Z K 7 svn:log V 43 Group virtualization items in one section. END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-12-22T19:47:22.404436Z K 7 svn:log V 106 Fix incorrect header guard define in sys/netpfil/pf/pf.h, which snuck in in r257186. Found by clang 3.4. END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-12-22T20:29:59.384383Z K 7 svn:log V 472 Add a parameter to 'vcpu_set_state()' to enforce that the vcpu is in the IDLE state before the requested state transition. This guarantees that there is exactly one ioctl() operating on a vcpu at any point in time and prevents unintended state transitions. More details available here: http://lists.freebsd.org/pipermail/freebsd-virtualization/2013-December/001825.html Reviewed by: grehan Reported by: Markiyan Kushnir (markiyan.kushnir at gmail.com) MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2013-12-22T20:31:40.507704Z K 7 svn:log V 179 MFC r259734: MFV r258923: 4188 assertion failed in dmu_tx_hold_free(): dn_datablkshift != 0 illumos/illumos-gate@bb411a08b05466bfe0c7095b6373bbc1587e259a Approved by: re (gjb) END K 10 svn:author V 3 ian K 8 svn:date V 27 2013-12-22T20:40:56.134164Z K 7 svn:log V 169 Shorten the DMTIMER_ prefix used for register names to DMT_. This is in preparation for adding more complete register defintions, some of which have fairly long names. END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-12-22T20:46:31.820575Z K 7 svn:log V 188 In usr.bin/sort/radixsort.c, pop_ls_mt() is only referenced if SORT_THREADS is defined, so make the whole function conditional, instead of just the pthread calls in it. MFC after: 3 days END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-12-22T21:09:43.582828Z K 7 svn:log V 1571 MFC r259679: vga_pci: Improve boot display detection The previous code was checking the "VGA Enable" bit on the video card's parent PCI-to-PCI bridge only. This didn't work for the case where the video card is attached to the root PCI bus (ie. the card has no parent PCI-to-PCI bridge). Now, the new code: 1. checks the "VGA Enable" bit on the parent bridge only if it's a PCI-to-PCI bridge; 2. always checks the "I/O" and "Memory address space decoding" bits on the video card itself. However, vendor-specific bits are not used. This fixes the use of many integrated Radeon cards: without this patch, we fail to detect them as the boot display and, when radeonkms looks for the Video BIOS, it skips the shadow copy made by the System BIOS. It then fails to fully initialize the card, because the shadow copy is the only way to read the Video BIOS in these situations. A workaround was to force the boot display selection using the "hw.pci.default_vgapci_unit" tunable. A previous version of this patch added a new function doing the checks. Now, the vga_pci_is_boot_display() function is used to perform the checks (only until the boot display is found) and return if the given device is the boot display or not. Furthermore, vga_pci_attach() logs "Boot video device" if the card being attached it the Chosen One: vgapci0: [...] vgapci0: Boot video device Reviewed by: kib@, jhb@ (both a previous version) Tested by: lunatic_ (#freebsd-xorg, integrated Radeon card, xmj (#freebsd-xorg, i915+NVIDIA cards) END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-12-22T21:18:21.366092Z K 7 svn:log V 524 MFC r259684: drm/ttm, drm/radeon: Replace EINTR/ERESTART by ERESTARTSYS... ... for msleep/cv_*wait() return values, where wait_event*() is used on Linux. ERESTARTSYS is the return code expected by callers when the operation was interrupted. For instance, this is the case of radeon_cs_ioctl() (radeon_cs.c): if an error occurs, and the code isn't ERESTARTSYS (eg. EINTR), it logs an error. Note that ERESTARTSYS is defined as ERESTART, but this keeps callers' code close to Linux. Submitted by: avg@ (previous version) END K 10 svn:author V 3 ian K 8 svn:date V 27 2013-12-22T21:35:18.398353Z K 7 svn:log V 103 Map out all the timer-related registers, and define named constants for the bits within the registers. END K 10 svn:author V 3 ian K 8 svn:date V 27 2013-12-22T21:44:32.735782Z K 7 svn:log V 466 A variety of cleanups... - Use named constants for register bits, instead of mystery numebrs scattered around in the code. - Use inline functions for bus space read/write, instead of macros that rely on global variables. - Move the timecounter struct into the softc instead of treating it as a global variable. Backlink from it to the softc. - This leaves a pointer to the softc as the only static/global variable and it's now used only by DELAY(). END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-12-22T21:53:08.916021Z K 7 svn:log V 530 MFC r259717: drm: Lower priority of "EDID checksum is invalid" message The priority goes from "error" to "debug". Connectors are polled every 10 seconds. Reading EDID is part of this polling. However, when an invalid EDID is returned, this error message is logged. When using Newcons for instance, having a kernel message every 10 seconds is getting annoying. Now that it's a debug message, it'll be logged only if hw.dri.debug is enabled. This fix console spamming for some users. Tested by: Larry Rosenman END K 10 svn:author V 3 imp K 8 svn:date V 27 2013-12-22T22:20:17.972325Z K 7 svn:log V 766 Merge from stable/10 r259380: MFC r259038, r259039: Bump the maximum VM space from 3 * memory size to a fixed 256MB. That's all we have room for since we map the hardware registers starting at 0xd0000000. This allows my 64MB AT91SAM9G20 to boot again after the unmmaped I/O changes were MFC'd at r251897. Other subplatforms may need similar treatment. Although not strictly required to boot a 64MB board, bump vm_max_virtual_address to be KERNVIRTADDR + 256MB. This allows some future shock protection since the KVA requirements have gone up since the unmapped changes have gone in, as well as preventing us from overlapping with the hardware devices, which we map at 0xd0000000, which we'd hit with anything more than 85MB... Approved by: re@ (gjb@) END K 10 svn:author V 3 imp K 8 svn:date V 27 2013-12-22T22:24:17.278206Z K 7 svn:log V 616 Merge from stable/10 r259381: MFC r259212, r259220: Fix one race and one fence post error. When the TX buffer was completely full, we'd not complete any of the mbufs due to the fence post error (this creates a large leak). When this is fixed, we still leak, but at a much smaller rate due to a race between ateintr and atestart_locked as well as an asymmetry where atestart_locked is called from elsewhere. Ensure that we free in-flight packets that have completed there as well. Also remove needless check for NULL on mb, checked earlier in the loop and simplify a redundant if. Approved by: re@ (gjb@) END K 10 svn:author V 3 imp K 8 svn:date V 27 2013-12-22T22:31:39.763661Z K 7 svn:log V 770 Direct commit: not relevant to other branches. Fix mountroot> prompt eating most of the characters by not enabling RXRDY interrupts in the attach routine. Instead, defer this until the first interrupt we see after the device is opened. Given the console use case, we're guaranteed to get a TXRDY interrupt before any reads are posted due to boot messages, which makes this work. The real fix is to use cngrab/cnungrab function pointers to disable RXRDY interrupts while grabbed. However, that touches the MI uart code, so was disallowed for 10.0 due to the lateness of the hour this fix was proposed. It works for mountroot, the most common atmel kernel prompt use cases, but wouldn't work for GELI since it prompts later in the boot process. Approved by: re@ (gjb@) END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2013-12-22T22:56:45.042549Z K 7 svn:log V 73 Add updates for Raspberry PI support, unmapped VMIO, netmap(4), nvme(4). END K 10 svn:author V 3 ian K 8 svn:date V 27 2013-12-22T23:03:29.499199Z K 7 svn:log V 476 Add PPS support to the am335x timer driver. This uses the timer hardware's capture mode together with the timecounter's PPS polling feature to get very accurate PPS capture without any interrupt processing (or latency). Hardware timers 4 through 7 have associated capture-trigger input pins. When the PPS support is compiled in the code automatically chooses the first timer it finds that has the capture-trigger pin set to input mode (this is configured via the fdt data). END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-12-22T23:08:33.704686Z K 7 svn:log V 153 MFC r256650: kldxref: Add static keyword to the new function only used in the same file. The WARNS level is not such that the omission broke the build. END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-12-22T23:31:04.262826Z K 7 svn:log V 1611 Merge from stable/10, r259741: vga_pci: Improve boot display detection The previous code was checking the "VGA Enable" bit on the video card's parent PCI-to-PCI bridge only. This didn't work for the case where the video card is attached to the root PCI bus (ie. the card has no parent PCI-to-PCI bridge). Now, the new code: 1. checks the "VGA Enable" bit on the parent bridge only if it's a PCI-to-PCI bridge; 2. always checks the "I/O" and "Memory address space decoding" bits on the video card itself. However, vendor-specific bits are not used. This fixes the use of many integrated Radeon cards: without this patch, we fail to detect them as the boot display and, when radeonkms looks for the Video BIOS, it skips the shadow copy made by the System BIOS. It then fails to fully initialize the card, because the shadow copy is the only way to read the Video BIOS in these situations. A workaround was to force the boot display selection using the "hw.pci.default_vgapci_unit" tunable. A previous version of this patch added a new function doing the checks. Now, the vga_pci_is_boot_display() function is used to perform the checks (only until the boot display is found) and return if the given device is the boot display or not. Furthermore, vga_pci_attach() logs "Boot video device" if the card being attached it the Chosen One: vgapci0: [...] vgapci0: Boot video device Reviewed by: kib@, jhb@ (both a previous version) Tested by: lunatic_ (#freebsd-xorg, integrated Radeon card, xmj (#freebsd-xorg, i915+NVIDIA cards) Approved by: re (gjb) END K 10 svn:author V 3 imp K 8 svn:date V 27 2013-12-22T23:33:27.230803Z K 7 svn:log V 925 Direct Commit of mountroot> prompt fix r259748 (since there's no sane branching relationship between that branch and this one and since the more general fix in head may be too risky for a stbale branch this mature): Fix mountroot> prompt eating most of the characters by not enabling RXRDY interrupts in the attach routine. Instead, defer this until the first interrupt we see after the device is opened. Given the console use case, we're guaranteed to get a TXRDY interrupt before any reads are posted due to boot messages, which makes this work. The real fix is to use cngrab/cnungrab function pointers to disable RXRDY interrupts while grabbed. However, that touches the MI uart code, so was disallowed for 10.0 due to the lateness of the hour this fix was proposed. It works for mountroot, the most common atmel kernel prompt use cases, but wouldn't work for GELI since it prompts later in the boot process. END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-12-22T23:41:14.652682Z K 7 svn:log V 564 Merge from stable/10, r259742: drm/ttm, drm/radeon: Replace EINTR/ERESTART by ERESTARTSYS... ... for msleep/cv_*wait() return values, where wait_event*() is used on Linux. ERESTARTSYS is the return code expected by callers when the operation was interrupted. For instance, this is the case of radeon_cs_ioctl() (radeon_cs.c): if an error occurs, and the code isn't ERESTARTSYS (eg. EINTR), it logs an error. Note that ERESTARTSYS is defined as ERESTART, but this keeps callers' code close to Linux. Submitted by: avg@ (previous version) Approved by: re (gjb) END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-12-22T23:52:11.182615Z K 7 svn:log V 570 Merge from stable/10, r259745: drm: Lower priority of "EDID checksum is invalid" message The priority goes from "error" to "debug". Connectors are polled every 10 seconds. Reading EDID is part of this polling. However, when an invalid EDID is returned, this error message is logged. When using Newcons for instance, having a kernel message every 10 seconds is getting annoying. Now that it's a debug message, it'll be logged only if hw.dri.debug is enabled. This fix console spamming for some users. Tested by: Larry Rosenman Approved by: re (gjb) END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-12-23T00:02:18.789428Z K 7 svn:log V 170 Get rid of register keyword usage in gperf, it is totally obsolete for C++, and this allows gperf to be compiled for C++11 without a warning about it. MFC after: 3 days END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-12-23T01:15:55.007851Z K 7 svn:log V 304 Revert one line from r248885, which uncovered several bugs in processing interaction between ksocket_incoming2() and soreceive(). This is direct commit to releng/10.0. A conservative solution for releng branch. Proper fix in head is r259681. PR: 184601 Sponsored by: Nginx, Inc. Approved by: re (gjb) END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-12-23T01:24:21.166581Z K 7 svn:log V 1487 MFS r249447: Apply patch from upstream Heimdal for encoding fix RFC 4402 specifies the implementation of the gss_pseudo_random() function for the krb5 mechanism (and the C bindings therein). The implementation uses a PRF+ function that concatenates the output of individual krb5 pseudo-random operations produced with a counter and seed. The original implementation of this function in Heimdal incorrectly encoded the counter as a little-endian integer, but the RFC specifies the counter encoding as big-endian. The implementation initializes the counter to zero, so the first block of output (16 octets, for the modern AES enctypes 17 and 18) is unchanged. (RFC 4402 specifies that the counter should begin at 1, but both existing implementations begin with zero and it looks like the standard will be re-issued, with test vectors, to begin at zero.) This is upstream's commit f85652af868e64811f2b32b815d4198e7f9017f6, from 13 October, 2013: % Fix krb5's gss_pseudo_random() (n is big-endian) % % The first enctype RFC3961 prf output length's bytes are correct because % the little- and big-endian representations of unsigned zero are the % same. The second block of output was wrong because the counter was not % being encoded as big-endian. % % This change could break applications. But those applications would not % have been interoperating with other implementations anyways (in % particular: MIT's). Approved by: re (gjb) END K 10 svn:author V 3 imp K 8 svn:date V 27 2013-12-23T01:24:32.055333Z K 7 svn:log V 856 MFC r259685: Plumb the cn_grab and cn_ungrab routines down into the uart clients. Mask RX interrupts while grabbed on the atmel serial driver. This UART interrupts every character. When interrupts are enabled at the mountroot> prompt, this means the ISR eats the characters. Rather than try to create a cooperative buffering system for the low level kernel console, instead just mask out the ISR. For NS8250 and decsendents this isn't needed, since interrupts only happen after 14 or more characters (depending on the fifo settings). Plumb such that these are optional so there's no change in behavior for all the other UART clients. ddb worked on this platform because all interrupts were disabled while it was running, so this problem wasn't noticed. The mountroot> issue has been around for a very very long time. Approved by: re@ (gjb@) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-12-23T04:38:56.961334Z K 7 svn:log V 26 Merge head up to r259759. END K 10 svn:author V 2 ed K 8 svn:date V 27 2013-12-23T05:47:27.603183Z K 7 svn:log V 218 Fix linewrapping behaviour for CJK fullwidth characters. Instead of only wrapping when in the 'wrapped state', also force wrapping when the character to be rendered does not fit on the line anymore. Tested by: lwhsu END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2013-12-23T07:35:34.280407Z K 7 svn:log V 71 Fix text for loading Hyper-V drivers via loader.conf. Noticed by: hrs END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2013-12-23T07:58:46.858870Z K 7 svn:log V 19 Add notes for ARM. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2013-12-23T08:22:08.688594Z K 7 svn:log V 83 Mention RDRAND and Xen PVHVM. Add a revision number for 4TB RAM support on amd64. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-12-23T08:43:16.698936Z K 7 svn:log V 615 Fix RPC server threads file handle affinity to work better with ZFS. Instead of taking 8 specific bytes of file handle to identify file during RPC thread affitinity handling, use trivial hash of the full file handle. ZFS's struct zfid_short does not have padding field after the length field, as result, originally picked 8 bytes are loosing lower 16 bits of object ID, causing many false matches and unneeded requests affinity to same thread. This fix substantially improves NFS server latency and scalability in SPEC NFS benchmark by more flexible use of multiple NFS threads. Sponsored by: iXsystems, Inc. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2013-12-23T08:57:49.332545Z K 7 svn:log V 128 Mention that sysinstall is gone, replaced by bsdinstall and bsdconfig. Mention that bsdinstall supports installing ZFS on root. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2013-12-23T11:03:37.826622Z K 7 svn:log V 36 Updates for various userland tools. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2013-12-23T11:48:22.455142Z K 7 svn:log V 35 MFC: Merge release note updates. END K 10 svn:author V 3 uqs K 8 svn:date V 27 2013-12-23T14:23:17.426169Z K 7 svn:log V 458 Try and fix the dependency/bootstrap issues in kerberos5 libkafs5 needs a header from libkrb5, it includes this from ${.OBJDIR}/mumble, this used to work fine as long as you happen to have a krb_err.h in your base system, this doesn't work for bootstrapping or using a cross-compiler with a different sysroot. This is just a best-effort bandaid, sufficient parallelism can still break it. Fix a SRCS override that dropped krb5_err.h. Discussed with: stas END K 10 svn:author V 4 joel K 8 svn:date V 27 2013-12-23T15:00:15.765310Z K 7 svn:log V 23 mdoc: nuke whitespace. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2013-12-23T15:16:53.237614Z K 7 svn:log V 268 The NFSv4.1 client didn't return NFSv4.1 specific error codes for the Getattr and Recall callbacks. This patch fixes it. Since the NFSv4.1 specific error codes would only happen for abnormal circumstances, this patch has little effect, in practice. MFC after: 1 week END K 10 svn:author V 6 emaste K 8 svn:date V 27 2013-12-23T17:14:11.673656Z K 7 svn:log V 117 Output all {normal,bold} {left,right} maps This change was missed in r259680. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 4 bapt K 8 svn:date V 27 2013-12-23T17:16:44.075794Z K 7 svn:log V 138 Do not print a question in non-interractive mode but explain why boostrapping has failed and how to allow it to happen Reported by: jmmv END K 10 svn:author V 4 bapt K 8 svn:date V 27 2013-12-23T17:26:56.645304Z K 7 svn:log V 31 Fix typos Reported by: bryanv END K 10 svn:author V 4 bapt K 8 svn:date V 27 2013-12-23T17:47:04.736608Z K 7 svn:log V 39 Fix yet another typo Reported by: kib END K 10 svn:author V 6 emaste K 8 svn:date V 27 2013-12-23T17:49:12.033078Z K 7 svn:log V 80 Update whitespace to match mkkfont output Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 ray K 8 svn:date V 27 2013-12-23T18:09:10.114350Z K 7 svn:log V 208 o Add virtual terminal mmap request handler. o Forward termianl framebuffer ioctl to fbd. o Forward terminal mmap request to fbd. o Move inclusion of sys/conf.h to vt.h. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-12-23T19:04:14.180184Z K 7 svn:log V 127 Update releng/10.0 to -RC3 as part of the 10.0-RELEASE cycle. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-12-23T19:29:07.727810Z K 7 svn:log V 940 Extend the support for local interrupts on the local APIC: - Add a generic routine to trigger an LVT interrupt that supports both fixed and NMI delivery modes. - Add an ioctl and bhyvectl command to trigger local interrupts inside a guest. In particular, a global NMI similar to that raised by SERR# or PERR# can be simulated by asserting LINT1 on all vCPUs. - Extend the LVT table in the vCPU local APIC to support CMCI. - Flesh out the local APIC error reporting a bit to cache errors and report them via ESR when ESR is written to. Add support for asserting the error LVT when an error occurs. Raise illegal vector errors when attempting to signal an invalid vector for an interrupt or when sending an IPI. - Ignore writes to reserved bits in LVT entries. - Export table entries the MADT and MP Table advertising the stock x86 config of LINT0 set to ExtInt and LINT1 wired to NMI. Reviewed by: neel (earlier version) END