ĬK265843 157 1037 399 155 130 832 292 152 300 228 387 197 200 159 167 144 140 108 268 184 271 326 825 257 264 343 259 168 1112 407 508 150 311 152 718 193 363 229 264 274 311 322 1637 391 574 261 160 252 166 252 167 194 211 298 744 177 621 138 655 396 396 155 302 396 190 146 268 291 522 522 446 1141 117 212 198 336 336 336 337 150 1463 220 145 809 344 228 165 184 166 155 162 264 145 135 157 155 170 169 158 304 180 481 1066 1162 611 155 694 253 180 451 165 152 537 230 255 237 481 741 544 306 179 144 214 177 235 507 307 1838 333 439 157 503 399 209 121 340 162 162 163 163 163 154 164 230 230 313 279 234 151 166 183 117 120 253 1123 137 478 275 K 10 svn:author V 3 kib K 8 svn:date V 27 2014-05-10T17:03:33.020593Z K 7 svn:log V 944 For the upgrade case in vm_fault_copy_entry(), when the entry does not need COW and is writeable (i.e. becoming writeable due to the mprotect(2) operation), do not create a new backing object for the entry. The caller of the function is vm_map_protect(), the call is made to ensure that wired entry has all pages resident and wired in the top level object and to enable the write. We might need to copy read-only page from some backing objects into the top object or remap the page with the write allowed. This fixes the issue with mishandling of the swap accounting when read-only wired mapping is upgraded to write-enabled after fork. The previous code path did not accounted the new object, but it creation is redundand anyway and the change provides an optimization for the non-common situation. Reported by: markj Suggested and reviewed by: alc (previous version) Tested by: pho Sponsored by: The FreeBSD Foundation MFC after: 1 week END K 10 svn:author V 6 jilles K 8 svn:date V 27 2014-05-10T17:42:21.298140Z K 7 svn:log V 303 sh: Don't discard getopts state on unknown option or missing argument. When getopts finds an invalid option or a missing option-argument, it should not reset its state and should set OPTIND as normal. This is an old ash bug that was fixed long ago in dash. Our behaviour now matches most other shells. END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-05-10T18:59:09.813489Z K 7 svn:log V 63 Style. Sponsored by: The FreeBSD Foundation MFC after: 1 week END K 10 svn:author V 6 jilles K 8 svn:date V 27 2014-05-10T19:06:36.060420Z K 7 svn:log V 35 sh: Add new tests to the Makefile. END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-05-10T19:08:07.915974Z K 7 svn:log V 739 Invalidate the cache for the named posix semaphore when opened and actual file storing the semaphore object is different from the file created on the first open. Store the file st_dev and st_ino members of the struct stat in the semaphore structure on open, and compare them with the attributes of the opened file to detect unlink and re-creation. This fixes an issue of sem_unlink(3) failing to flush the named entry in the semaphore list for the current or remote process, making sem_unlink(3) not correctly operating if the unlinked semaphore is still opened. Reported by: Joris Giovannangeli PR: standards/189353 Reviewed by: jilles (previous version) Sponsored by: The FreeBSD Foundation MFC after: 1 week END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2014-05-10T19:10:31.657392Z K 7 svn:log V 194 MFC: r265263 Make this manpage ready for hardware notes generation, add more Xrefs and perform general cleanup. In particular, don't claim rsu(4) devices can be configured with hostname(1)... END K 10 svn:author V 6 jilles K 8 svn:date V 27 2014-05-10T19:18:49.108419Z K 7 svn:log V 57 sh: In getopts, unset OPTARG where POSIX says we should. END K 10 svn:author V 3 alc K 8 svn:date V 27 2014-05-10T19:47:00.881211Z K 7 svn:log V 207 About 9% of the pmap_protect() calls being performed by vm_map_copy_entry() are unnecessary. Eliminate the unnecessary calls. Reviewed by: kib MFC after: 1 week Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2014-05-10T19:47:54.388472Z K 7 svn:log V 130 MFC: r257408 by kevlo Add manpage for urtwnfw, the Realtek RTL8188CU/RTL8192CU firmware module. Also fix a few nits in urtwn.4. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-10T20:03:03.737751Z K 7 svn:log V 294 When mapping device memory, use PTE_DEVICE rather than PTE_NOCACHE. On armv4 these are defined as synonyms right now, but it's a bit ambiguous what NOCACHE means (is buffering/write-combining also enabled or not?); this is a first step towards replacing PTE_NOCACHE with a less ambiguous name. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-05-10T20:26:49.047799Z K 7 svn:log V 101 Rename platform_gpio_init to be SoC specific, and make it static as it's only called from this file. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-05-10T20:31:05.028828Z K 7 svn:log V 104 Rename platform_gpio_init to be platform specific, and make it static as it's only used from this file. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2014-05-10T20:39:57.204667Z K 7 svn:log V 62 Get rid of unused strings, so that it will build using clang. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2014-05-10T20:45:23.717682Z K 7 svn:log V 70 MFC: r265264, r265270 Add rsu(4) and urtwn(4) to the hardware notes. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-05-10T21:27:47.528989Z K 7 svn:log V 52 Really, I don't want to install src.opts.mk at all. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-05-10T21:30:19.317007Z K 7 svn:log V 45 Rename platform_gpio_init to be SoC specific END K 10 svn:author V 3 sjg K 8 svn:date V 27 2014-05-10T21:53:07.343839Z K 7 svn:log V 16 Updated depends END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-05-10T22:27:01.676447Z K 7 svn:log V 175 prinf: replace use of alloca with variable length array. Use of alloca(3) is discouraged in FreeBSD. Using a VLA is simple and should be more portable. Requested by: jilles END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-11T00:43:06.065075Z K 7 svn:log V 92 Make the hardware memory and instruction barrier functions work on armv4 and armv5 as well. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2014-05-11T01:19:55.342552Z K 7 svn:log V 170 Make ofwfb actually work again. Apparently the API it was written against still exists but is now silently ignored by the VT core. At least xboxfb needs similar changes. END K 10 svn:author V 6 eadler K 8 svn:date V 27 2014-05-11T01:44:11.555703Z K 7 svn:log V 230 libedit: add H_SAVE_FP which saves history to a file pointer. H_SAVE_FP is similar to H_SAVE but operates on a FILE* instead of a filename. This is useful when operating in capability mode. Reviewed by: christos@NetBSD.org, pfg END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2014-05-11T01:58:56.686072Z K 7 svn:log V 724 Make ofwfb not be painfully slow. This reduces the time for a verbose boot on my G4 iBook by more than half. Still 10% slower than syscons, but that's much better than a factor of 2. The slowness had to do with pathological write performance on 8-bit framebuffers, which are almost universally used on Open Firmware systems. Writing 1 byte at a time, potentially nonconsecutively, resulted in many extra PCI write cycles. This patch, in the common case where it's writing one or several characters in an 8x8 font, gangs the writes together into a set of 32-bit writes. This is a port of r143830 to vt(4). The EFI framebuffer is also extremely slow, probably for the same reason, and the same patch will likely help there. END K 10 svn:author V 6 eadler K 8 svn:date V 27 2014-05-11T02:00:48.600027Z K 7 svn:log V 161 look(1): add compability with other implementations. On other implementations 'look -a' uses an alternate dictionary. Since we don't have one, just ignore it. END K 10 svn:author V 6 eadler K 8 svn:date V 27 2014-05-11T02:04:40.036993Z K 7 svn:log V 168 mesg: remove advertising clause The University of California board of trustees has given permission to remove the advertising clause of all software attributed to it. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2014-05-11T02:16:08.836604Z K 7 svn:log V 242 Port over mmap routine from syscons. This lets X11 work on PowerPC with vt. The last obstacle to switching PowerPC entirely to vt is that the Playstation 3 framebuffer driver needs to be ported over. This only applies for powerpc64, however. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2014-05-11T02:18:17.303906Z K 7 svn:log V 158 Use vt(4) by default on 32-bit PowerPC now that it is fully functional and fast. 64-bit PowerPC will follow along once the PS3 framebuffer driver is adapted. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2014-05-11T04:18:51.011215Z K 7 svn:log V 73 Enable SMP for Exynos-based platforms (i.e. Chromebook) Reviewed by: br END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-11T04:24:57.041882Z K 7 svn:log V 1018 Add cpu_l2cache_drain_writebuf(), use it to implement generic_bs_barrier(). On modern ARM SoCs the L2 cache controller sits between the CPU and the AXI bus, and most on-chip memory-mapped devices are on the AXI bus. We map the device registers using the 'Device' memory attribute, which means the memory is not cached, but writes to it are buffered. Ensuring that a write has made it all the way to a device may require that the L2 controller take some action. There is currently only one implementation of the new function, for the PL310 cache controller. It invokes a function that the controller manual calls "cache sync" but it actually has nothing to do with cache at all, it triggers a drain of all pending store buffer writes and it blocks until they complete. The sheeva and xscale L2 controllers (which predate the concept of Device memory) don't seem to have a corresponding function. It appears that the standard armv5 drain_writebuf function includes draining all the way through the L2 controller. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2014-05-11T05:49:35.198918Z K 7 svn:log V 306 Move the PS3 framebuffer console to use vt instead of syscons and adjust GENERIC64 for PowerPC to use vt with it. Much to my chagrin, PS3 support seems to have bitrotted somewhat since the last time I tried it. ehci panics on attach and interrupt handling seems to be faulty. This should be fixed soon... END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-05-11T08:17:46.016425Z K 7 svn:log V 410 Optimise host mode data roundtrip time. When BULK data is submitted to the main processing queue, clear the NAK counter for any associated BULK or CONTROL transfers and poll the endpoint(s) for 1 millisecond at 125us rate interval, before going into slow, 10ms, NAK polling mode again. This has the effect that typical ping-ping protocols respond quicker when initiated from the USB host. MFC after: 2 weeks END K 10 svn:author V 5 markm K 8 svn:date V 27 2014-05-11T09:14:29.980905Z K 7 svn:log V 56 MFC - tracking commit. Merging r265820 through r265872. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2014-05-11T09:54:38.750110Z K 7 svn:log V 213 MFC: r265269 Make the HARDWARE section ready for release notes generation; sort SEE ALSO. Compared to the original revision, the list of supported chipsets was changed to reflect those supported in this branch. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2014-05-11T10:06:27.303629Z K 7 svn:log V 55 Typo fixes and some language/punctuation improvements. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2014-05-11T10:32:58.183866Z K 7 svn:log V 620 In cf_get_method, when we don't already know what clock speed the CPU is running at, guess the nearest value instead of looking for a value within 25 MHz of the observed frequency. Prior to this change, if a system booted with Intel Turbo Boost enabled, the dev.cpu.0.freq sysctl is nonfunctional, since the ACPI-reported frequency for Turbo Boost states does not match the actual clock frequency (and thus no levels are within 25 MHz of the observed frequency) and the current performance level is read before a new level is set. MFC after: 3 days Relnotes: Bug fix in power management on CPUs with Intel Turbo Boost END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-11T12:55:31.774261Z K 7 svn:log V 100 Revert accidental commit of SUBDIR_PARALLEL for sys/modules. (It hasn't been tested sufficiently). END K 10 svn:author V 6 jilles K 8 svn:date V 27 2014-05-11T13:48:21.739129Z K 7 svn:log V 267 include: Remove checks for __BSD_VISIBLE where redundant with __XSI_VISIBLE or __POSIX_VISIBLE. Whenever sets __BSD_VISIBLE to non-zero, it also sets __POSIX_VISIBLE and __XSI_VISIBLE to the newest version supported. No functional change is intended. END K 10 svn:author V 3 des K 8 svn:date V 27 2014-05-11T14:54:17.853630Z K 7 svn:log V 136 MFH (r261913): switch default to sha512 MFH (r264964): rewrite so DES still works when not the default MFH (r262945): clean up man page END K 10 svn:author V 3 des K 8 svn:date V 27 2014-05-11T15:03:24.397386Z K 7 svn:log V 171 MFH (r233462, r236438): mdoc fixes MFH (r261913): switch default to sha512 MFH (r264964): rewrite so DES still works when not the default MFH (r262945): clean up man page END K 10 svn:author V 6 jilles K 8 svn:date V 27 2014-05-11T16:34:17.702235Z K 7 svn:log V 178 include: Don't expose L_cuserid in strict C standard compliance mode. L_cuserid is supposed to be exposed only for old POSIX, or in the default (expose everything) environment. END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-05-11T16:48:36.545149Z K 7 svn:log V 216 MFC r236566 (by zml): Fix DTrace TSC skew calculation: The skew calculation here is exactly backwards. We were able to repro it on a multi-package ESX server running a FreeBSD VM, where the TSCs can be pretty evil. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2014-05-11T16:49:31.714058Z K 7 svn:log V 221 Fix interrupt allocation after changes to nexus. This makes PS3 boot multiuser again (this commit comes from the PS3 itself). Some problems still exist with SMP, apparently, as I had to boot a non-SMP kernel to get here. END K 10 svn:author V 3 gnn K 8 svn:date V 27 2014-05-11T17:18:09.098484Z K 7 svn:log V 1543 MFC: 263302, 264461, 264772 263302: fix mbuf leak if it does not fit in software queue 264461: Commit various fixes for the SolarFlare drivers, in particular this set of patches fixes support for systems with > 32 cores. Details include sfxge: RXQ index (not label) comes from FW in flush done/failed events Change the second argument name of the efx_rxq_flush_done_ev_t and efx_rxq_flush_failed_ev_t prototypes to highlight that RXQ index (not label) comes from FW in flush done and failed events. sfxge: TXQ index (not label) comes from FW in flush done event Change the second argument name of the efx_txq_flush_done_ev_t prototype to highlight that TXQ index (not label) comes from FW in flush done event. sfxge: use TXQ type as label to support more than 32 TXQs There are 3 TXQs in event queue 0 and 1 TXQ (with TCP/UDP checksum offload) in all other event queues. 264772: Check that port is started when MAC filter is set The MAC filter set may be called without softc_lock held in the case of SIOCADDMULTI and SIOCDELMULTI ioctls. The ioctl handler checks IFF_DRV_RUNNING flag which implies port started, but it is not guaranteed to remain. softc_lock shared lock can't be held in the case of these ioctls processing, since it results in failure where kernel complains that non-sleepable lock is held in sleeping thread. Both problems are repeatable on LAG with LACP proto bring up. Submitted by: Andrew Rybchenko Sponsored by: Solarflare Communications, Inc. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-05-11T17:28:57.440252Z K 7 svn:log V 298 printf: fix regression after illumos merges. The "bltin/bltin.h" wrappers do not support exit() and attempting to call it will exit sh completely. Note that errx() is acceptable but will always return with status 2. Reported by: jilles (and the testing framework) Fix by: jilles Pointyhat: pfg END K 10 svn:author V 3 alc K 8 svn:date V 27 2014-05-11T17:41:29.195466Z K 7 svn:log V 481 With the new-and-improved vm_fault_copy_entry() (r265843), we can always avoid soft page faults when adding write access to user wired entries in vm_map_protect(). Previously, we only avoided the soft page fault when the underlying pages were copy-on-write. In other words, we avoided the pages faults that might sleep on page allocation, but not the trivial page faults to update the physical map. Reviewed by: kib MFC after: 1 week Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-05-11T18:07:07.733374Z K 7 svn:log V 168 Fix locking. The dst_object must remain locked on the retry of the loop iteration. Reported and tested by: pho Sponsored by: The FreeBSD Foundation MFC after: 6 days END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2014-05-11T18:22:05.221279Z K 7 svn:log V 60 OF_peer() in IEEE 1275 returns 0 if no peer exists, not -1. END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-05-11T18:24:26.896933Z K 7 svn:log V 159 Vendor import of llvm RELEASE_34/dot1-final tag r208032 (effectively, 3.4.1 release): https://llvm.org/svn/llvm-project/llvm/tags/RELEASE_34/dot1-final@208032 END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-05-11T18:25:50.239530Z K 7 svn:log V 74 Tag llvm tags/RELEASE_34/dot1-final r208032 (effectively, 3.4.1 release). END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-05-11T18:26:10.561880Z K 7 svn:log V 159 Vendor import of clang RELEASE_34/dot1-final tag r208032 (effectively, 3.4.1 release): https://llvm.org/svn/llvm-project/cfe/tags/RELEASE_34/dot1-final@208032 END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-05-11T18:27:04.213136Z K 7 svn:log V 75 Tag clang tags/RELEASE_34/dot1-final r208032 (effectively, 3.4.1 release). END K 10 svn:author V 6 thomas K 8 svn:date V 27 2014-05-11T18:49:18.903068Z K 7 svn:log V 99 Minor fixes to previous change introducing switch -H, as per comments on -arch. Reviewed by: gleb END K 10 svn:author V 6 thomas K 8 svn:date V 27 2014-05-11T20:44:58.429526Z K 7 svn:log V 115 MFC rev. 265260: Add appropriate quoting to allow building with a KERNCONFDIR containing spaces. PR: kern/162736 END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-05-11T21:07:00.720401Z K 7 svn:log V 205 Allow libstdc++ and libsupc++ to compile with clang again, after the bsd.*.mk infrastructure changes. Apparently, you must now modify CXXFLAGS *before* including bsd.lib.mk, or your changes will be lost. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2014-05-11T21:21:14.919217Z K 7 svn:log V 648 accept(),accept4(): Don't set *addrlen = 0 on [ECONNABORTED]. If the underlying protocol reported an error (e.g. because a connection was closed while waiting in the queue), this error was also indicated by returning a zero-length address. For all other kinds of errors (e.g. [EAGAIN], [ENFILE], [EMFILE]), *addrlen is unmodified and there are successful cases where a zero-length address is returned (e.g. a connection from an unbound Unix-domain socket), so this error indication is not reliable. As reported in Austin Group bug #836, modifying *addrlen on error may cause subtle bugs if applications retry the call without resetting *addrlen. END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2014-05-11T22:06:06.525610Z K 7 svn:log V 80 Mark ofwbus as an early driver, so proper suspend/resume ordering is performed. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-05-11T23:22:32.410505Z K 7 svn:log V 528 Attempt to walk a fine line between current usage (/usr/ports which does an out-of-tree build without setting MAKESYSPATH) and recently added requirements (JIRA's building the modules in a non-standard layout). So, when MAKESYSPATH is defined, trust that it will do the right thing (to catch the JIRA use case). When it isn't defined, assume a standard FreeBSD tree and reach over to grab bsd.mkopt.mk (to fix the /usr/ports use case). Both camps cannot be appeased otherwise, so we have this kludge until it can be sorted out. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-05-12T01:47:45.539089Z K 7 svn:log V 46 s/JIRA/Jenkins/g in comments. I was confused. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2014-05-12T02:56:27.522081Z K 7 svn:log V 554 Repair some races in IPI handling: 1. Make sure IPI mask is set before sending the IPI 2. Operate atomically on PS3 PIC outstanding interrupt list 3. Make sure IPIs are EOI'ed before, not after, processing. Without this, a second IPI could be sent partway through processing the first one, get erroneously acknowledge by the EOI to the first, and be lost. In particular in the case of smp_rendezvous(), this can be fatal. In combination, this makes the PS3 boot SMP again. It probably also fixes some latent bugs elsewhere. MFC after: 2 weeks END K 10 svn:author V 8 truckman K 8 svn:date V 27 2014-05-12T04:27:10.200297Z K 7 svn:log V 298 MFC r265363 Avoid unsigned integer overflow which can cause rman_reserve_resource_bound() to return incorrect results. Continue the initial search until the first viable region is found. Add a comment to explain the search termination test. PR: kern/188534 Reviewed by: jhb (previous version) END K 10 svn:author V 8 truckman K 8 svn:date V 27 2014-05-12T04:30:53.956210Z K 7 svn:log V 298 MFC r265363 Avoid unsigned integer overflow which can cause rman_reserve_resource_bound() to return incorrect results. Continue the initial search until the first viable region is found. Add a comment to explain the search termination test. PR: kern/188534 Reviewed by: jhb (previous version) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2014-05-12T05:44:55.120515Z K 7 svn:log V 60 units(1): use common functions No need to replicate strdup END K 10 svn:author V 6 eadler K 8 svn:date V 27 2014-05-12T06:14:14.317820Z K 7 svn:log V 206 units(1): unbreak -f option, fix some style, increase compatibility. - Unbreak the -f option: it was missing a ':' - gunits -V spits out more information than just its version: attempt to do so as well. END K 10 svn:author V 8 truckman K 8 svn:date V 27 2014-05-12T07:05:46.712740Z K 7 svn:log V 298 MFC r265363 Avoid unsigned integer overflow which can cause rman_reserve_resource_bound() to return incorrect results. Continue the initial search until the first viable region is found. Add a comment to explain the search termination test. PR: kern/188534 Reviewed by: jhb (previous version) END K 10 svn:author V 3 pho K 8 svn:date V 27 2014-05-12T07:06:03.489667Z K 7 svn:log V 98 Added a new mmap()/mlock()/mprotect() test scenario. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 6 eadler K 8 svn:date V 27 2014-05-12T07:14:09.257312Z K 7 svn:log V 51 units(1): call el_end() Add missing el_end() call END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-05-12T09:05:07.119498Z K 7 svn:log V 170 Create driver file templates, kernel module Makefile and add initial version of register definitions for ISP1761 and SAF1761 compatible chips. Sponsored by: DARPA, AFRL END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-05-12T09:46:48.288109Z K 7 svn:log V 195 Disable TX checksum offload for UDP-Lite completely. It wasn't used for partial checksum coverage, but even for full checksum coverage it doesn't work. This was discussed with Kevin Lo (kevlo@). END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-05-12T10:19:31.551027Z K 7 svn:log V 430 MFC r265318: For schemes that do an automatic partition aligning move this code to separate function. MFC r265331: Prevent an unexpected shrinking on resizing due to alignment for MBR, PC98 and VTOC8 schemes. MFC r265333: Add better error description for case when we are doing resize and scheme-specific method returns EBUSY. MFC r265539: It is safe to allow shrinking, when aligned size is bigger than current. END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-05-12T11:14:07.437353Z K 7 svn:log V 430 MFC r265318: For schemes that do an automatic partition aligning move this code to separate function. MFC r265331: Prevent an unexpected shrinking on resizing due to alignment for MBR, PC98 and VTOC8 schemes. MFC r265333: Add better error description for case when we are doing resize and scheme-specific method returns EBUSY. MFC r265539: It is safe to allow shrinking, when aligned size is bigger than current. END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-05-12T12:04:44.737818Z K 7 svn:log V 354 MFC r256690: Add an automatic resize support to the GEOM_PART class. When parent provider has been resized, the scheme specific G_PART_RESIZE method does an update of scheme's metadata. But all changes are not saved to disk, until `gpart commit` will be called. MFC r265336: Add an advice what to do when partition was automatically resized. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-12T13:05:03.670535Z K 7 svn:log V 1047 Interrupts need to be disabled on entry to cpu_sleep() for ARM. Given that and the need to be in a critical section when switching to idleclock mode for event timers, use spinlock_enter()/exit() to achieve both needs. The ARM WFI (wait for interrupt) instruction blocks until an interrupt is asserted, and it will unblock even if interrupts are masked, and it will unblock immediately if an interrupt is already pending. It is necessary to execute it with interrupts disabled, otherwise the interrupt that should unblock it may occur and be serviced just prior to executing the instruction. At that point the system is inappropriately asleep until the next timer tick or some other random interrupt happens. In general, interrupts need to be disabled continuously from the time the decision is made that there is no work to be done and sleeping is needed until actually going to sleep, to avoid a race where handling a new interrupt changes the basis for deciding there is no work to be done. Submitted by: hps@ (in slightly different form) END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-12T13:08:37.179727Z K 7 svn:log V 25 Cleanup some style nits. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-12T13:33:12.216978Z K 7 svn:log V 119 Build modules in parallel. This has been tested by several people at various -j levels from 6 to 48 without problems. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2014-05-12T14:46:32.380954Z K 7 svn:log V 101 Put the correct value for the abi_nfdbits parameter of kern_select() for all supported Linuxulators. END K 10 svn:author V 7 davidcs K 8 svn:date V 27 2014-05-12T15:52:49.128415Z K 7 svn:log V 239 MFC r265703 Modify Copyright information and other strings to reflect Qlogic Corporation's purchase of Broadcom's NetXtreme business. Added clean option to Makefile Submitted by:David C Somayajulu (davidcs@freebsd.org) QLogic Corporation END K 10 svn:author V 7 davidcs K 8 svn:date V 27 2014-05-12T15:56:11.034427Z K 7 svn:log V 239 MFC r265703 Modify Copyright information and other strings to reflect Qlogic Corporation's purchase of Broadcom's NetXtreme business. Added clean option to Makefile Submitted by:David C Somayajulu (davidcs@freebsd.org) QLogic Corporation END K 10 svn:author V 7 davidcs K 8 svn:date V 27 2014-05-12T15:59:09.691285Z K 7 svn:log V 239 MFC r265703 Modify Copyright information and other strings to reflect Qlogic Corporation's purchase of Broadcom's NetXtreme business. Added clean option to Makefile Submitted by:David C Somayajulu (davidcs@freebsd.org) QLogic Corporation END K 10 svn:author V 7 davidcs K 8 svn:date V 27 2014-05-12T16:10:14.297601Z K 7 svn:log V 240 MFC r265703 Modify Copyright information and other strings to reflect Qlogic Corporation's purchase of Broadcom's NetXtreme business. Added clean option to Makefile Submitted by: David C Somayajulu (davidcs@freebsd.org) QLogic Corporation END K 10 svn:author V 5 markm K 8 svn:date V 27 2014-05-12T17:44:23.298696Z K 7 svn:log V 56 MFC - tracking commit. Merging r265873 through r265920. END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2014-05-12T17:55:24.729537Z K 7 svn:log V 1364 MFC 265555 dd mrsas(4) driver from LSI official support of newer MegaRAID SAS cards. LSI has been maintaining this driver outside of the FreeBSD tree. It overlaps support of ThunderBolt and Invader cards that mfi(4) supports. By default mfi(4) will attach to cards. If the tunable: hw.mfi.mrsas_enable=1 is set then mfi(4) will not probe and attach to these newer cards and allow mrsas(4) to attach. So by default this driver will not effect a FreeBSD system unless mfi(4) is removed from the kernel or the tunable is enabled. mrsas(4) attaches disks to the CAM layer so it depends on CAM and devices show up as /dev/daX. mfiutil(8) does not work with mrsas. The FreeBSD version of MegaCli and StorCli from LSI do work with mrsas. It appears that StorCli only works with mrsas. MegaCli appears to work with mfi(4) and mrsas(4). It would be good to add mfiutil(4) support to mrsas, emulations modes, kernel logging, device aliases to ease the transition between mfi(4) and mrsas(4). Style issues should be resolved by LSI when they get committers approved. The plan is get this driver in FreeBSD 9.3 to improve HW support. Thanks to LSI for developing, testing and working with FreeBSD to make this driver co-exist in FreeBSD. This improves the overall support of MegaRAID SAS. Submitted by: Kashyap Desai Sponsored by: LSI END K 10 svn:author V 8 truckman K 8 svn:date V 27 2014-05-12T17:56:52.827767Z K 7 svn:log V 122 Nuke a couple of unnecessary assigments. Nothing uses the values of rstart and rend after this point. MFC after: 1 week END K 10 svn:author V 8 skreuzer K 8 svn:date V 27 2014-05-12T17:58:17.031651Z K 7 svn:log V 48 Bump copyright date Approved by: hrs@ (mentor) END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-05-12T18:45:56.964025Z K 7 svn:log V 716 Upgrade our copy of llvm/clang to 3.4.1 release. This release contains mostly fixes, for the following upstream bugs: http://llvm.org/PR16365 http://llvm.org/PR17473 http://llvm.org/PR18000 http://llvm.org/PR18068 http://llvm.org/PR18102 http://llvm.org/PR18165 http://llvm.org/PR18260 http://llvm.org/PR18290 http://llvm.org/PR18316 http://llvm.org/PR18460 http://llvm.org/PR18473 http://llvm.org/PR18515 http://llvm.org/PR18526 http://llvm.org/PR18600 http://llvm.org/PR18762 http://llvm.org/PR18773 http://llvm.org/PR18860 http://llvm.org/PR18994 http://llvm.org/PR19007 http://llvm.org/PR19010 http://llvm.org/PR19033 http://llvm.org/PR19059 http://llvm.org/PR19144 http://llvm.org/PR19326 MFC after: 2 weeks END K 10 svn:author V 6 thomas K 8 svn:date V 27 2014-05-12T19:11:39.416339Z K 7 svn:log V 248 (NANO_CONFIG): New variable containing path of config file, so that the configuration can reference additional files relative to its own location. (NANO_MODULES): If set to "default", install all built modules. Reviewed by: imp MFC after: 1 week END K 10 svn:author V 3 ray K 8 svn:date V 27 2014-05-12T19:29:38.408319Z K 7 svn:log V 135 Update terminal sizes in any case when new vt(4) driver arrive. (Plus remove one unused newline) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2014-05-12T19:42:16.517195Z K 7 svn:log V 69 MFC r265285,265320: Documented the pget(9) system kernel interface. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2014-05-12T20:16:48.853642Z K 7 svn:log V 88 MFC r227784,r227786: Use the acquired reference to the vmspace, remove XXXRW comments. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2014-05-12T20:19:40.524039Z K 7 svn:log V 70 MFC r265285,r265320: Documented the pget(9) system kernel interface. END K 10 svn:author V 8 truckman K 8 svn:date V 27 2014-05-12T20:22:42.874353Z K 7 svn:log V 58 Be even more paranoid about overflow. Requested by: ache END K 10 svn:author V 3 des K 8 svn:date V 27 2014-05-12T20:48:04.987128Z K 7 svn:log V 70 MFH (r264966): add sysctl OIDs for actual swap zone size and capacity END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-05-12T21:21:32.283566Z K 7 svn:log V 170 Fix delete-old when WITH_TESTS is set. r265423 removed the WITHOUT_BMAKE option, which in turn broke a conditional in OptionalObsoleteFiles.inc that inspected MK_BMAKE. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-12T21:22:53.413861Z K 7 svn:log V 53 MFC r264822: Allow .WAIT to appear in SUBDIR= lists END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-12T21:40:03.564610Z K 7 svn:log V 43 MFC r260235: fixes to dockstar DTS source. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-12T22:15:57.569186Z K 7 svn:log V 65 MFC r259099: Fix a small error in calculating length of DELAY(). END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-12T22:19:37.180569Z K 7 svn:log V 63 Revert accidental commit that tagged along with an MFC commit. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-12T22:25:41.347795Z K 7 svn:log V 78 MFC r259739, r259743: Shorten DMTIMER_->DMT_, #define all register constants. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-12T22:30:10.068684Z K 7 svn:log V 77 MFC r259744, cleanups to move global vars into softc, use named values, etc. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-12T22:33:22.415579Z K 7 svn:log V 66 MFC r259750, r260245: Add PPS support to the am335x timer driver. END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-05-12T23:35:10.143507Z K 7 svn:log V 210 abort(3) the process in response to a VMEXIT_ABORT. This usually happens in response to an unhandled VM exit or an unexpected error so a core is useful. Remove unused macro VMEXIT_SWITCH. Reviewed by: grehan END K 10 svn:author V 7 yongari K 8 svn:date V 27 2014-05-13T05:07:03.069826Z K 7 svn:log V 84 Fix checksum computation. Previously it didn't include carry. Reviewed by: tuexen END K 10 svn:author V 7 yongari K 8 svn:date V 27 2014-05-13T05:19:29.943635Z K 7 svn:log V 384 Disable TX IP/TCP/UDP checksum offloading for RTL8168C/RTL8168CP. Previously only TX IP checksum offloading was disabled but it's reported that TX checksum offloading for UDP datagrams with IP options also generates corrupted frames. Reporter's controller is RTL8168CP but I guess RTL8168C also have the same issue since it shall share the same core. Reported and tested by: tuexen END K 10 svn:author V 3 alc K 8 svn:date V 27 2014-05-13T05:21:54.497846Z K 7 svn:log V 973 MFC r260567 Correctly update the count of stuck pages, "addl_page_shortage", in vm_pageout_scan(). There were missing increments in two less common cases. Don't conflate the count of stuck pages and the pageout deficit provided by vm_page_alloc{,_contig}(). Handle held pages consistently in the inactive queue scan. In the more common case, we did not move the page to the tail of the queue. Whereas, in the less common case, we did. There's no particular reason to move the page in the less common case, so remove it. Perform the calculation of the page shortage for the active queue scan a little earlier, before the active queue lock is acquired. The correctness of this calculation doesn't depend on the active queue lock being held. Eliminate a redundant variable, "pcount". Use the more descriptive variable, "maxscan", in its place. Apply a few nearby style fixes, e.g., eliminate stray whitespace and excess parentheses. END K 10 svn:author V 3 alc K 8 svn:date V 27 2014-05-13T05:26:43.005214Z K 7 svn:log V 1068 MFC r265418 Prior to r254304, a separate function, vm_pageout_page_stats(), was used to periodically update the reference status of the active pages. This function was called, instead of vm_pageout_scan(), when memory was not scarce. The objective was to provide up to date reference status for active pages in case memory did become scarce and active pages needed to be deactivated. The active page queue scan performed by vm_pageout_page_stats() was virtually identical to that performed by vm_pageout_scan(), and so r254304 eliminated vm_pageout_page_stats(). Instead, vm_pageout_scan() is called with the parameter "pass" set to zero. The intention was that when pass is zero, vm_pageout_scan() would only scan the active queue. However, the variable page_shortage can still be greater than zero when memory is not scarce and vm_pageout_scan() is called with pass equal to zero. Consequently, the inactive queue may be scanned and dirty pages laundered even though that was not intended by r254304. This revision fixes that. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2014-05-13T06:05:53.357445Z K 7 svn:log V 516 MFC r264212,r264213,r264248,r265776,r265811,r265909: - Add support for UDP-Lite protocol (RFC 3828) to IPv4 and IPv6 stacks. Tested with vlc and a test suite [1]. [1] http://www.erg.abdn.ac.uk/~gerrit/udp-lite/files/udplite_linux.tar.gz Reviewed by: jhb, glebius, adrian - Fix a logic bug which prevented the sending of UDP packet with 0 checksum. - Disable TX checksum offload for UDP-Lite completely. It wasn't used for partial checksum coverage, but even for full checksum coverage it doesn't work. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2014-05-13T06:09:01.279601Z K 7 svn:log V 61 MFC r264216, r265817, r265822: Add man page for udplite(4). END K 10 svn:author V 3 alc K 8 svn:date V 27 2014-05-13T13:20:23.303848Z K 7 svn:log V 601 On a fork allow read-only wired pages to be copy-on-write shared between the parent and child processes. Previously, we copied these pages even though they are read only. However, the reason for copying them is historical and no longer exists. In recent times, vm_map_protect() has developed the ability to copy pages when write access is added to wired copy-on-write pages. So, in this case, copy-on-write sharing of wired pages is not to be feared. It is not going to lead to copy-on-write faults on wired memory. Reviewed by: kib MFC after: 1 week Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-05-13T13:46:38.141407Z K 7 svn:log V 155 - Isochronous transfers should use the alternate next transfer descriptor upon receiving a short packet, in host and device mode. - Correct some comments. END K 10 svn:author V 6 thomas K 8 svn:date V 27 2014-05-13T15:46:52.822655Z K 7 svn:log V 85 Add mention of metadata version 7 in FreeBSD 10.0 Reviewed by: pjd MFC after: 1 day END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-05-13T16:40:27.092613Z K 7 svn:log V 357 Don't include the guest memory segments in the bhyve(8) process core dump. This has not added a lot of value when debugging bhyve issues while greatly increasing the time and space required to store the core file. Passing the "-C" option to bhyve(8) will change the default and dump guest memory in the core dump. Requested by: grehan Reviewed by: grehan END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-13T16:50:10.982061Z K 7 svn:log V 73 MFC r256792, r256793, r256799 (by nwhitehorn): Unify AIM and booke code. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-13T16:52:21.851154Z K 7 svn:log V 60 MFC r256798: Return BUS_PROBE_NOWILDCARD from fdtbus_probe. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-13T16:59:50.670938Z K 7 svn:log V 444 MFC r256814, r256816, r256818, r256846, r256855, r256864 (by nwhitehorn): - Handle 2GB of ram - Allow the OFW interrupt mapping code to work with PCI devices not enumerated by Open Firmware, as in the case of FDT. - Provide an interface for PCI bus drivers that need some of ofw_pci's metadata during attach. - Use standard ofw_bus helpers instead of reinventing the wheel. - Make hard-wired TLB allocations be at minimum one page. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-05-13T17:01:22.544505Z K 7 svn:log V 134 MFC r253472: Get the code compiling without INET and INET6 being defined. This is not possible in FreeBSD, but in the upstream code. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-05-13T17:03:43.790796Z K 7 svn:log V 159 MFC r253493: Allow the code to be compiled without warnings for any combination of INET, INET6 and SCTP_DEBUG defines. The issue was reported by Lally Singh. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-05-13T17:05:38.208627Z K 7 svn:log V 141 MFC r253858: Micro-optimization suggested in https://bugzilla.mozilla.org/show_bug.cgi?id=898234 by pchang9. While there simplify the code. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-05-13T17:09:50.893579Z K 7 svn:log V 385 MFC r254248, r254670: Make the features a 64-bit value instead of 32-bit. This will allow an easier integration of the support for NDATA. While there, do also some minor cleanups. Obtained from: rrs@ Make also the features of the association 64-bit. When exporting to xinpcb, just export the lower 32-bit. Using there also 64-bits will break the ABI and will be committed separetly. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-13T17:12:07.162953Z K 7 svn:log V 648 MFC r256870, r256898, r256899, r256900 (by nwhitehorn): Standards-conformance and code deduplication: - Use bus reference phandles in place of FDT offsets as IRQ domain keys - Unify the identical macio/fdt/mambo OpenPIC drivers into one - Be more forgiving (following ePAPR) about what we need from the device tree to identify an OpenPIC - Correctly map all IRQs into an interrupt domain - Set IRQ_*_CONFORM for interrupts on an unknown PIC type instead of failing attachment for that device. Allow lots of interrupts (useful on multi-domain platforms) and do not set device_quiet() on all devices attached under nexus(4). END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-13T17:18:48.728765Z K 7 svn:log V 451 MFC r256901, r256914 (by nwhitehorn): Catch up on 6 years of improvements in Open Firmware nexus devices by importing the sparc64 one. At least 90% of this code is MI and will be moved into /sys/dev/ofw at some point in the future. Ignore registers on devices where the reg property is malformed. Issue a warning if this happens under bootverbose. This prevents some strange-looking entries in dmesg for SMU devices on Apple G5 systems. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-05-13T17:18:59.254063Z K 7 svn:log V 210 MFC r255160: All changes affect only SCTP-AUTH: * Remove non working code related to SHA224. * Remove support for non-standardised HMAC-IDs using SHA384 and SHA512. * Prefer SHA256 over SHA1. * Minor cleanup. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-05-13T17:21:45.377250Z K 7 svn:log V 84 MFC r255162: Use uint16_t instead of in_port_t for consistency with the SCTP code. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-05-13T17:23:39.424882Z K 7 svn:log V 49 MFC r255190: Remove redundant field pr_sctp_on. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-05-13T17:25:39.119179Z K 7 svn:log V 118 MFC r255337: When computing the partial delivery point, take the receiver socket buffer size correctly into account. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-05-13T17:41:39.294450Z K 7 svn:log V 82 MFC r255695: Remove an unused variable and fix a memory leak in sctp_connectx(). END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-05-13T17:51:15.093277Z K 7 svn:log V 139 MFC r255434: Fix the aborting of association with the iterator using an empty user initiated error cause (using SCTP_ABORT|SCTP_SENDALL). END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-13T17:59:17.919846Z K 7 svn:log V 414 MFC r256932, r256938, r256966, r256953, r256967, r256969, r257015: Add a new function (OF_getencprop()) that undoes the transformation applied by encode-int. Specifically, it takes a set of 32-bit cell values and changes them to host byte order. Most non-string instances of OF_getprop() should be using this function, which is a no-op on big-endian platforms. Use the new function all over the place. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-13T18:00:41.380344Z K 7 svn:log V 214 MFC r256973, r256974 If the device tree directly contains the timebase frequency, use it. This property is required by ePAPR, but maintain the fallback to bus-frequency for compatibility. Allow 32 or 64 bits. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-13T18:06:26.550314Z K 7 svn:log V 1744 MFC r256994, r257016, r257055, r257059, r257060, r257075 Add two new interfaces to ofw_bus: - ofw_bus_map_intr() Maps an (iparent, IRQ) tuple to a system-global interrupt number in some platform dependent way. This is meant to be implemented as a replacement for [FDT_]MAP_IRQ() that is an MI interface that knows about the bus hierarchy. - ofw_bus_config_intr() Configures an interrupt (previously mapped) based on firmware sense flags. This replaces manual interpretation of the sense field in bus drivers and will, in a follow-up, allow that interpretation to be redirected to the PIC drivers where it belongs. This will eventually replace the tables in /sys/dev/fdt/fdt_ARCH.c The PowerPC/AIM code has been converted to use these globally, with an implementation in terms of MAP_IRQ() and powerpc_config_intr(), assuming OpenPIC, at the bus root in nexus(4). The ofw_bus_config_intr() will shortly be integrated into pic_if.m and bounced through nexus into the PIC tree. Factor out MI portions of the PowerPC nexus device into /sys/dev/ofw. The sparc64 driver will be modified to use this shortly. Allow PIC drivers to translate firmware sense codes for themselves. This is designed to replace the tables in dev/fdt/fdt_ARCH.c, but will not happen quite yet. Do not map IRQs twice. This fixes PowerPC/FDT systems with multiple PICs, which would try to treat the previously-mapped interrupts from fdt_decode_intr() as interrupt line numbers on the same parent PIC. Remove some of the code required for supporting ssm(4) on SPARC in favor of a more PowerPC/FDT-focused design. Whenever SPARC64 is integrated into this rework, this should be (trivially) revisited. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-13T18:08:15.136610Z K 7 svn:log V 240 MFC r257093: Be a little more suspicious of thermal sensors, which can have single crazy readings occasionally. One wild reading should not be enough to trigger a shutdown, so instead wait for several concerning readings in a row. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-13T18:14:31.222204Z K 7 svn:log V 346 MFC r257114, r257118 Use common OFW root code to set up fdtbus. This is an almost purely negative diff that should improve reliability somewhat. There should be no differences in behavior -- please report any that crop up. This has been tested on ARM and PPC systems. Make sure to get the right node when looking up #interrupt-cells. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-13T18:24:02.922454Z K 7 svn:log V 65 MFC r257115, r257116, r257117 Remove dead and duplicated code. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-13T19:09:00.263161Z K 7 svn:log V 410 MFC r257111, r257144, r257157, r257183 Test UARTs physical address instead of virtual. Be a bit more flexible in how we find the console from the properties on /chosen, following the list of allowed console properties in ePAPR. Also do not require that stdin be defined and equal to stdout: stdin is nonstandard (for ePAPR) and console in an unexpected place is after all better than no console. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-13T19:12:53.827514Z K 7 svn:log V 306 MFC r257162, r257175 The old trap.h (then trap_aim.h) actually had trap ID codes for Book-E CPUs. Use it universally. Book-E traps may also need revisiting due to the introduction of fixed-offset traps and the deprecation of IVORs in POWER ISA 2.06, but that's very much an issue for another day. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2014-05-13T21:22:04.899517Z K 7 svn:log V 114 Vendor import of tzdata2014c - Egypt goes to DST on 15 May 2014. Obtained from: ftp://ftp.iana.org/tz/releases/ END K 10 svn:author V 5 edwin K 8 svn:date V 27 2014-05-13T21:23:49.177464Z K 7 svn:log V 27 Tag of tzdata2014c sources END K 10 svn:author V 6 jilles K 8 svn:date V 27 2014-05-13T21:24:55.620898Z K 7 svn:log V 244 printf: Fix missing arguments for %u/%o/%x/%X after r265592. If a numeric argument is missing, zero should be assumed, for signed as well as unsigned conversions. This fixes the 'zero' regression tests. r265592 erroneously reverted r244407. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2014-05-13T21:25:59.354676Z K 7 svn:log V 68 MFV of 265975, tzdata2014c - Egypt will go into DST on 15 May 2014 END K 10 svn:author V 5 edwin K 8 svn:date V 27 2014-05-13T21:27:18.263733Z K 7 svn:log V 68 MFC of 265978, tzdata2014c - Egypt will go into DST on 15 May 2014 END K 10 svn:author V 5 edwin K 8 svn:date V 27 2014-05-13T21:29:19.237073Z K 7 svn:log V 69 MFC of 265978, tzdata2014c - Egypt will go into DST on 15 May 2014. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2014-05-13T21:30:09.236718Z K 7 svn:log V 69 MFC of 265978, tzdata2014c - Egypt will go into DST on 15 May 2014. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2014-05-13T21:31:13.050099Z K 7 svn:log V 69 MFC of 265978, tzdata2014c - Egypt will go into DST on 15 May 2014. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2014-05-13T22:35:06.376683Z K 7 svn:log V 60 MFC of tzdata2014c - Egypt will go into DST in 15 May 2014 END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-05-13T22:43:02.149351Z K 7 svn:log V 72 Document r265922, mrsas(4) merge. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-05-13T23:17:24.507814Z K 7 svn:log V 133 Fix OpenSSL NULL pointer deference vulnerability. Obtained from: OpenBSD Security: FreeBSD-SA-14:09.openssl Security: CVE-2014-0198 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-05-13T23:19:16.986293Z K 7 svn:log V 133 Fix OpenSSL NULL pointer deference vulnerability. Obtained from: OpenBSD Security: FreeBSD-SA-14:09.openssl Security: CVE-2014-0198 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-05-13T23:22:28.435187Z K 7 svn:log V 216 Fix OpenSSL NULL pointer deference vulnerability. [SA-14:09] Security: FreeBSD-SA-14:09.openssl Security: CVE-2014-0198 Fix data corruption with ciss(4). [EN-14:05] Errata: FreeBSD-EN-14:05.ciss Approved by: so END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-05-13T23:24:14.445592Z K 7 svn:log V 182 Add pkg bootstrapping, configuration and public keys. [EN-14:03] Improve build repeatability for kldxref(8). [EN-14:04] Fix data corruption with ciss(4). [EN-14:05] Approved by: so END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-05-13T23:24:32.901740Z K 7 svn:log V 137 Add pkg bootstrapping, configuration and public keys. [EN-14:03] Improve build repeatability for kldxref(8). [EN-14:04] Approved by: so END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-05-13T23:35:29.452210Z K 7 svn:log V 55 Improve build repeatability for kldxref(8). [EN-14:04] END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-13T23:56:51.888035Z K 7 svn:log V 74 Record missing merge info caused by an erroneous "helper" script I wrote. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-14T00:05:35.715395Z K 7 svn:log V 91 Record mergeinfo that was eaten by the dog. Yeah, that's my story and I'm sticking to it. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-05-14T00:37:11.328937Z K 7 svn:log V 21 Use tmpfs in builds. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-05-14T00:39:54.679189Z K 7 svn:log V 24 Patch for May 13 batch. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-05-14T00:50:31.549464Z K 7 svn:log V 156 Switch using the new $2b$ format by default, when bcrypt is used. MFC after: 2 weeks Relnotes: default Blowfish crypt(3) format have been changed to $2b$. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-14T00:51:26.184835Z K 7 svn:log V 1029 MFC r257161, r257169, r257178, r257190, r257191 Add pmap_mapdev_attr() and pmap_kenter_attr() interfaces. Fix concurrency issues with TLB1 updates and make pmap_kextract() search TLB1 mappings as well Interrelated improvements to early boot mappings: - Remove explicit requirement that the SOC registers be found except as an optimization (although the MPC85XX LAW drivers still require they be found externally, which should change). - Remove magic CCSRBAR_VA value. - Allow bus_machdep.c's early-boot code to handle non 1:1 mappings and systems not in real-mode or global 1:1 maps in early boot. - Allow pmap_mapdev() on Book-E to reissue previous addresses if the area is already mapped. Additionally have it check all mappings, not just the CCSR area. Add some extra sanity checking and checks to printf format specifiers. Bump initial TLB size. The kernel is not necessarily less than 16 MB Handle (in a slightly ugly way) ePAPR-type loaders that just place a device tree into r3. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-14T00:55:21.213558Z K 7 svn:log V 45 Record mergeinfo that got run over by a bus. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-14T01:16:05.790989Z K 7 svn:log V 385 MFC r257180, r257195, r257196, r257198, r257209, r257295 Add some extra sanity checking and checks to printf format specifiers. Try even harder to find a console before giving up. Make devices with registers into the KVA region work reliably. Turn on VM_KMEM_SIZE_SCALE on 32-bit as well as 64-bit PowerPC. Return NOKEY instead of 0 if there are no more key presses queued. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-14T01:35:43.722648Z K 7 svn:log V 182 MFC r257334, r257336, r257337, r257338, r257341, r257342, r257343, r257370, r257368, r257416 Hints-only devices should return BUS_PROBE_NOWILDCARD from their probe methods. END