ƒ°w222000 204 151 226 246 212 590 165 165 138 123 102 156 216 149 156 538 557 124 112 223 175 179 475 482 204 286 157 149 239 150 188 168 166 825 174 176 168 219 209 99 554 570 150 99 565 273 181 225 225 342 181 489 998 136 162 156 221 207 574 145 242 196 140 132 99 195 242 99 195 144 139 203 178 424 99 578 446 137 154 246 300 208 188 143 237 143 231 402 304 336 218 262 163 163 338 286 210 189 143 448 448 180 190 146 212 136 1510 99 137 195 428 379 361 1170 291 140 180 164 183 187 143 208 135 200 150 150 430 263 222 385 275 141 189 181 99 697 322 140 113 495 252 195 148 598 425 775 775 262 262 168 168 224 224 355 183 482 336 99 183 191 261 261 130 128 1213 141 150 147 537 187 328 120 161 148 425 121 162 133 191 139 150 329 229 267 815 239 369 342 124 137 124 97 165 198 194 261 343 223 99 836 214 360 278 99 151 K 10 svn:author V 6 sbruno K 8 svn:date V 27 2011-05-16T19:29:58.598579Z K 7 svn:log V 56 IFV to stable-7 in preparation to merge yahoo xen7 code END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-16T23:20:12.775030Z K 7 svn:log V 129 Merge r221278 from largeSMP project: idle_cpus_mask is just used in sched_4bsd, thus make it private for it. Tested by: several END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-16T23:35:14.533682Z K 7 svn:log V 149 Merge r221279,221280 from largeSMP project: pmc_mask doesn't need to use memory barriers. Reviewed by: fabient Tested by: several MFC after: 1 week END K 10 svn:author V 2 np K 8 svn:date V 27 2011-05-17T00:40:11.590825Z K 7 svn:log V 120 Add missing header. The test for VLAN_CAPABILITIES later in the file doesn't make sense without it. MFC after: 3 days END K 10 svn:author V 3 phk K 8 svn:date V 27 2011-05-17T06:36:32.297920Z K 7 svn:log V 497 Don't expect PAGE_SIZE to exist on all platforms (It is a pretty arbitrary choice of default size in the first place) Reverse the order of arguments to the internal static sbuf_put_byte() function to match everything else in this file. Move sbuf_putc_func() inside the kernel version of sbuf_vprintf where it belongs. sbuf_putc() incorrectly used sbuf_putc_func() which supress NUL characters, it should use sbuf_put_byte(). Make sbuf_finish() return -1 on error. Minor stylistic nits fixed. END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-05-17T07:08:53.336542Z K 7 svn:log V 73 MFC r221585: scsi_cd: silence READ_TOC errors in CDIOREADTOCHEADER ioctl END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-05-17T07:16:35.140685Z K 7 svn:log V 73 MFC r221585: scsi_cd: silence READ_TOC errors in CDIOREADTOCHEADER ioctl END K 10 svn:author V 3 hrs K 8 svn:date V 27 2011-05-17T07:40:13.442230Z K 7 svn:log V 46 Remove redundant keywords. Submitted by: wxs END K 10 svn:author V 3 uqs K 8 svn:date V 27 2011-05-17T08:12:59.087651Z K 7 svn:log V 31 Typos, wording and mdoc fixes. END K 10 svn:author V 3 uqs K 8 svn:date V 27 2011-05-17T08:13:10.127915Z K 7 svn:log V 10 Typo fix. END K 10 svn:author V 3 uqs K 8 svn:date V 27 2011-05-17T08:13:18.928505Z K 7 svn:log V 64 Whitespace and typo fixes. Found by: codespell Reviewed by: ru END K 10 svn:author V 3 uqs K 8 svn:date V 27 2011-05-17T08:13:27.643081Z K 7 svn:log V 123 ISO3166: Update for newsletters VI-7 and VI-8 from 2010 - Name change for SH - BQ, CW, and SX replace AN Reviewed by: ru END K 10 svn:author V 3 uqs K 8 svn:date V 27 2011-05-17T09:51:02.322892Z K 7 svn:log V 57 More thorough mdoc and language fixes. Submitted by: ru END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2011-05-17T10:38:44.750900Z K 7 svn:log V 60 Add missing section number for .Xr jail. MFC after: 3 days END K 10 svn:author V 2 ru K 8 svn:date V 27 2011-05-17T10:44:11.383746Z K 7 svn:log V 446 Revert change to "MF" I made in r189767. I bet that at the time of r189767 I checked with http://www.iso.org/iso/country_codes/iso_3166_code_lists.htm and "MF" was officially spelled in English as "Saint Martin" there, but now that "SX" exists (for "Sint Maarten (Dutch part)") (nice official "English" spelling!) they seem to have added a "(French part)" suffix to "MF". Since this is also in line with Newsletter VI-1 (2007-09-21), catch up. END K 10 svn:author V 3 phk K 8 svn:date V 27 2011-05-17T11:04:50.520373Z K 7 svn:log V 464 Use memset() instead of bzero() and memcpy() instead of bcopy(), there is no relevant difference for sbufs, and it increases portability of the source code. Split the actual initialization of the sbuf into a separate local function, so that certain static code checkers can understand what sbuf_new() does, thus eliminating on silly annoyance of MISRA compliance testing. Contributed by: An anonymous company in the last business I expected sbufs to invade. END K 10 svn:author V 2 ru K 8 svn:date V 27 2011-05-17T11:06:41.205320Z K 7 svn:log V 33 Added description for WITH_OFED. END K 10 svn:author V 2 ru K 8 svn:date V 27 2011-05-17T11:08:15.412542Z K 7 svn:log V 21 Regen for WITH_OFED. END K 10 svn:author V 2 ru K 8 svn:date V 27 2011-05-17T11:23:43.086380Z K 7 svn:log V 131 Renamed PCI_INTERFACE_XHCI to PCIP_SERIALBUS_USB_XHCI and moved it to . Reviewed by: hselasky MFC after: 3 days END K 10 svn:author V 2 ru K 8 svn:date V 27 2011-05-17T11:26:59.912948Z K 7 svn:log V 84 Document the supported hardware, somewhat. Reviewed by: hselasky MFC after: 3 days END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-17T11:52:53.140405Z K 7 svn:log V 84 Set this HAL capabilities flag correctly even though it isn't currently being used. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-17T11:56:50.463148Z K 7 svn:log V 379 Use the halMcastKeySrchSupport capability bit to selectively enable/disable the multicast key search support for AR5212, AR5416 and later. The general HAL routine ath_hal_getcapability() implement checking this but it's overridden by a check in ar5212_misc:ar5212GetCapability(). This restores the later functionality in case it's found to be broken in any of the 11n chipsets. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-05-17T12:47:38.046922Z K 7 svn:log V 381 Make the primary name of the OF console device /dev/ofwcons, and only alias it to the contents of the output property if it is defined. This avoids a panic when booting machines (QEMU) where the output-device property is not defined. Since output-device is free-form and potentially conflicts with other entries in /dev, I also am not sure we should be doing the aliasing at all. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2011-05-17T12:58:19.828221Z K 7 svn:log V 107 mdoc: - use a proper macro for interface name ipfw0. - add missing section number for bpf cross reference. END K 10 svn:author V 4 neel K 8 svn:date V 27 2011-05-17T13:47:32.290140Z K 7 svn:log V 192 Remove misleading macro definition (-DOLD_BINUTILS) from CFLAGS. At this point we require binutils from ports that understands how to assemble the VT-x instructions. Discussed with: grehan@ END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2011-05-17T14:46:28.701020Z K 7 svn:log V 61 Fix manual section number for netstat(1). MFC after: 5 days END K 10 svn:author V 2 jh K 8 svn:date V 27 2011-05-17T14:50:23.154638Z K 7 svn:log V 58 MFC r221390: Don't pass empty mount options to nmount(2). END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-17T15:03:39.932237Z K 7 svn:log V 143 Fix case, introduced in my previous commit. Pointy hat goes to: adrian, for having multiple build screens open and checking the wrong one. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2011-05-17T15:46:28.647318Z K 7 svn:log V 55 Fix whitespacing. Reported by scf@ MFC after: 1 week. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2011-05-17T15:57:31.582982Z K 7 svn:log V 93 Copy out the mtu when calling getsockopt() with SCTP_GET_PEER_ADDR_INFO. MFC after: 1 week. END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-05-17T16:13:59.422064Z K 7 svn:log V 77 Make compile without INET fixing an #ifdef. While here make function static. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-17T16:30:34.196911Z K 7 svn:log V 71 Fix the debugging code path to correctly support HAL_DEBUG_UNMASKABLE. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-05-17T16:39:08.589383Z K 7 svn:log V 732 Fix a race in the SMP rendezvous code. Specifically, the write by the last CPU to to finish the rendezvous action may become visible to different CPUs at different times. As a result, the CPU that initiated the rendezvous may exit the rendezvous and drop the lock allowing another rendezvous to be initiated on the same CPU or a different CPU. In that case the exit sentinel may be cleared before all CPUs have noticed causing those CPUs to hang forever. Workaround this by using a generation count to notice when this race occurs and to exit the rendezvous in that case. The problem was independently diagnosted by mlaier@ and avg@ as well. Submitted by: neel Reviewed by: avg, mlaier Obtained from: NetApp MFC after: 1 week END K 10 svn:author V 3 phk K 8 svn:date V 27 2011-05-17T17:37:58.707211Z K 7 svn:log V 82 Bump shlib version Instigate symbol versioning Pray that I don't break the build. END K 10 svn:author V 3 phk K 8 svn:date V 27 2011-05-17T18:24:59.785025Z K 7 svn:log V 84 Try to explain what sbufs do and add an example to show it. Clarify return values. END K 10 svn:author V 3 flz K 8 svn:date V 27 2011-05-17T19:11:47.595767Z K 7 svn:log V 76 Backout libinstall.a -> libpkg commit. Discussed with: erwin, brooks, bapt END K 10 svn:author V 3 phk K 8 svn:date V 27 2011-05-17T19:20:32.456698Z K 7 svn:log V 126 Ok, so we use different comment conventions in Symbol.map and Version.def "#notimpressed" as my twittering friends would say. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-05-17T21:03:34.828349Z K 7 svn:log V 113 mq_setattr(2): Add missing const to man page. The declaration in the header file is correct. MFC after: 1 week END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-17T22:03:01.556208Z K 7 svn:log V 4 MFC END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-05-17T22:07:45.027091Z K 7 svn:log V 461 Add support for "LED" enclosure management messages, defined by the AHCI. When supported by hardware, this allows to control per-port activity, locate and fault LEDs via the led(4) API for localization and status reporting purposes. Supporting AHCI controllers may transmit that information to the backplane controllers via SGPIO interface. Backplane controllers interpret received statuses in some way (IBPI standard) to report them using present indicators. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-17T22:14:00.950146Z K 7 svn:log V 473 Merge r221285 from largeSMP project: - Remove the following sysctl: kern.sched.ipiwakeup.onecpu kern.sched.ipiwakeup.htt2 Because they are absolutely obsolete. Probabilly the whole wakeup forward mechanism should be revisited for a better fitting in modern hw, in the future. - As map2 variable is no longer used rename map3 to map2 - Fix a string by making more informative the msg and removing the arguments passing. Reviewed by: julian Tested by: several END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-17T22:15:53.484956Z K 7 svn:log V 54 Remove an unused typedef. Tested by: sbruno, pluknet END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-17T22:27:35.953513Z K 7 svn:log V 4 MFC END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-05-17T22:36:16.704260Z K 7 svn:log V 471 Update CPUID bits to reflect AMD Bulldozer and Intel Sandy Bridge features. Note AMD dropped SSE5 extensions in order to avoid ISA overlap with Intel AVX instructions. The SSE5 bit was recycled as XOP extended instruction bit, CVT16 was deprecated in favor of F16C (half-precision float conversion instructions for AVX), and the remaining FMA4 (4-operand FMA instructions) gained a separate CPUID bit. Replace non-existent references with today's CPUID specifications. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-05-18T01:14:27.295062Z K 7 svn:log V 175 MFC: r221439 Add kernel support for NFSSVC_ZEROCLTSTATS and NFSSVC_ZEROSRVSTATS so that they can be used by nfsstat(1) to implement the "-z" option for the new NFS subsystem. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-05-18T01:26:08.142859Z K 7 svn:log V 84 MFC: r221440 Fix nfsstat.c so that the "-z" option works for the new NFS subsystem. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-05-18T01:36:42.721407Z K 7 svn:log V 127 MFC: r221309 Fix nfsstat.1 to indicate that "-z" now works for the new NFS subsystems after r221308. This is a content change. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-05-18T01:47:23.248860Z K 7 svn:log V 127 MFC: r221454 Modify nfsstat(1) so that it prints out the buffer cache stats in the same way for the new client as the old one. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-05-18T02:14:26.759582Z K 7 svn:log V 244 MFC: r221462 Add a comment noting that the NFS code assumes that the values of error numbers in sys/errno.h will be the same as the ones specified by the NFS RFCs and that the code needs to be fixed if error numbers are changed in sys/errno.h. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-18T07:20:30.659474Z K 7 svn:log V 86 Modify the sample rate control algorithm to only select/sample HT rates for HT nodes. END K 10 svn:author V 2 mm K 8 svn:date V 27 2011-05-18T07:37:02.870483Z K 7 svn:log V 397 Restore old (v15) behaviour for a recursive snapshot destroy. (zfs destroy -r pool/dataset@snapshot) To destroy all descendent snapshots with the same name the top level snapshot was not required to exist. So if the top level snapshot does not exist, check permissions of the parent dataset instead. Filed as Illumos Bug #1043 Reviewed by: delphij Approved by: pjd MFC after: together with v28 END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-05-18T07:40:12.670381Z K 7 svn:log V 905 usb: change to one-pass probing of device drivers This brings USB bus more in line with how newbus is supposed to be used. Also, because of the two-pass probing the following message was produced by devd in default configuration when almost any USB device was connected: Unknown USB device: vendor <> product <> bus <> This should be fixed now. Note that many USB device drivers pass some information from probe method to attach method via ivars. For this to continue working we rely on the fact that the subr_bus code calls probe method of a winning driver again before calling its attach method in the case where multiple drivers claim to support a device. This is done because device description is set in successful probe methods and we want to get a correct device description from a winning driver. So now this logic is re-used for setting ivars too. Reviewed by: hselasky MFC after: 1 month END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-05-18T08:26:59.124158Z K 7 svn:log V 45 Cleanup changes from the merge from openbsd. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2011-05-18T10:04:54.567854Z K 7 svn:log V 66 Release allocated memory in procstat_close(). Reviewed by: stass END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-18T11:28:23.602980Z K 7 svn:log V 61 This isn't needed any longer, it's defined in ah_internal.h. END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-05-18T11:38:36.318074Z K 7 svn:log V 128 usb: fix a missed use of use_generic in r222051 Submitted by: gcooper Pointyhat to: avg MFC after: 1 month X-MFC with: r222051 END K 10 svn:author V 2 ru K 8 svn:date V 27 2011-05-18T14:02:33.479092Z K 7 svn:log V 115 r221933 vanished support for "nocto" in boot.nfsroot.options loader tunable; fix it by redoing a merge of r221436. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-05-18T14:55:16.010019Z K 7 svn:log V 473 Rearrange the OF 32-bit call thunk for ppc64 to be in its own file instead of aim/locore64.S and make an equivalent thunk for 32-bit platforms to handle real mode. Add in similar stubs (untested) for RTAS calls and fix the SLOF memory hack in ofw_machdep.c to not break Apple machines with physical memory lists that are not in order. This rearranges a bunch of OF-related stuff, but still boots on: - POWER7 LPAR - IBM Cell simulator - iBook G4 - Powermac G3 - Xserve G5 END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-05-18T14:59:53.623594Z K 7 svn:log V 45 Kill some debugging code that snuck in here. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-05-18T15:07:36.119583Z K 7 svn:log V 141 Make sure the OF argument bounce page is not until below 4 GB but also below the real-mode boundary that that real-mode firmware can see it. END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-05-18T15:08:30.751434Z K 7 svn:log V 103 pick even better name for the panic thread macro Hopefully this is a final choice. Suggested by: mdf END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-05-18T15:09:48.938954Z K 7 svn:log V 48 smp rendezvous: remove unneeded memory barriers END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-18T15:50:12.243825Z K 7 svn:log V 36 Fix mismerge. Reported by: pluknet END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-18T16:01:29.429178Z K 7 svn:log V 4 MFC END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-05-18T16:07:24.423322Z K 7 svn:log V 103 MFC r221433: When checking existence of providers skip those which are orphaned. PR: kern/132273 END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-18T16:07:30.567747Z K 7 svn:log V 145 Merge part of r221322 from largeSMP project: Sync XEN support with i386 about the usage of ipi_send_cpu() Tested by: pluknet MFC after: 2 weeks END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-18T16:20:28.591609Z K 7 svn:log V 4 MFC END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-05-18T16:28:28.699650Z K 7 svn:log V 103 MFC r221433: When checking existence of providers skip those which are orphaned. PR: kern/132273 END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-18T16:41:38.246424Z K 7 svn:log V 48 Fix newly introduced code. Reported by: sbruno END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-18T16:42:01.264811Z K 7 svn:log V 43 Fix warning spit out. Reported by: sbruno END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-18T16:50:13.281619Z K 7 svn:log V 106 Revert r222069,222068 as they were intended to be committed to the largeSMP branch. Reported by: pluknet END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-18T16:56:36.473606Z K 7 svn:log V 82 Fix usage of cpumask that cannot be used like that anymore. Reported by: pluknet END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-05-18T17:06:11.932685Z K 7 svn:log V 331 Clean up a loose end from the conversion from gnu ar/ranlib to the BSD one. Without this, we don't have ar or randlib in the tool path, leading to much pain for some users. This pain is exposed by the external toolchain enhancements that I'm working on. Submitted by: John Hein (ages ago, and dropped on the floor by me: sorry) END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-18T17:18:44.449061Z K 7 svn:log V 4 MFC END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-05-18T17:39:28.627795Z K 7 svn:log V 477 As requested by many people, with final prodding from Jason Hall, fix this so that running make release causes make obj to be run before doing anything. This fixes a bug wherein, when run for the first time, and without -DNOSRC, make release would attempt to recursively tar up the src directory including its own output and enter an infinite loop. While here, make the cross-building stuff work a little more the way it should if only one of TARGET/TARGET_ARCH is specified. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-05-18T18:36:40.656925Z K 7 svn:log V 348 Add a sanity check for the existence of an "addr" option to both NFS clients. This avoids the crash reported by Sergey Kandaurov (pluknet@gmail.com) to the freebsd-fs@ list with subject "[old nfsclient] different nmount() args passed from mount vs mount_nfs" dated May 17, 2011. Tested by: pluknet at gmail.com (old nfs client) MFC after: 2 weeks END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-18T19:46:26.032412Z K 7 svn:log V 41 Fix compilation. Submitted by: andreast END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2011-05-18T19:49:39.707639Z K 7 svn:log V 59 Unbreak INET-less build. Reported by bz@ MFC after: 1 week END K 10 svn:author V 8 jpaetzel K 8 svn:date V 27 2011-05-18T20:29:07.047976Z K 7 svn:log V 148 Extracting optional components requires mounting devfs Submitted by: Kris Moore Approved by: kib (mentor) Sponsored by: iXsystems END K 10 svn:author V 8 jpaetzel K 8 svn:date V 27 2011-05-18T20:38:28.834511Z K 7 svn:log V 202 Wipeout the end of disks, home to things like gmirror metadata, backup GPT tables, and other potential evil. Submitted by: Kris Moore Approved by: kib (mentor) Sponsored by: iXsystems END K 10 svn:author V 4 benl K 8 svn:date V 27 2011-05-18T20:52:52.116664Z K 7 svn:log V 114 Fix clang warnings. Note: these were actually bugs (printf with no format string). Approved by: philip (mentor) END K 10 svn:author V 4 benl K 8 svn:date V 27 2011-05-18T20:57:23.612027Z K 7 svn:log V 95 Fix clang warning (why is there nowhere yyparse() is declared?). Approved by: philip (mentor) END K 10 svn:author V 4 benl K 8 svn:date V 27 2011-05-18T21:00:27.606499Z K 7 svn:log V 50 Fix clang warnings. Approved by: philip (mentor) END K 10 svn:author V 4 benl K 8 svn:date V 27 2011-05-18T21:04:29.761280Z K 7 svn:log V 143 Fix clang warnings. Note: possible minor security issues fixed (untrusted string used as printf format string). Approved by: philip (mentor) END K 10 svn:author V 4 benl K 8 svn:date V 27 2011-05-18T21:06:20.229616Z K 7 svn:log V 50 Fix clang warnings. Approved by: philip (mentor) END K 10 svn:author V 2 np K 8 svn:date V 27 2011-05-18T22:09:04.288792Z K 7 svn:log V 139 - Enable per-channel congestion notification. - Enable PCIe relaxed ordering for all egress queues and rx data buffers. MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-05-18T22:36:58.770622Z K 7 svn:log V 309 The CDP_ACTIVE flag is cleared at the beginning of destroy_devl(), and destroy_devl() drops dev_mtx. The protection against the race with dev_rel(), introduced in r163328, should be extended to cover destroy_devl() calls for the children of the destroyed dev. Reported and tested by: joerg MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-05-18T22:43:56.254334Z K 7 svn:log V 211 - Add support for AF_INET6 sockets for %S format character. - Use inet_ntop(3) instead of reimplementing it. - Use %hhu for unsigned char instead of casting it to unsigned int and using %u. MFC after: 1 week END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-05-19T01:35:52.888992Z K 7 svn:log V 238 MFC: r221467 Fix the new NFS client so that it handles the 64bit fields that are now in "struct statfs" for NFSv3 and NFSv4. Since the ffiles value is uint64_t on the wire, I clip the value to INT64_MAX to avoid setting f_ffree negative. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-05-19T01:56:46.552746Z K 7 svn:log V 120 MFC: r221473 Modify the NFS nfssvc(2) syscall so that it allows anyone to get the statistics for the new NFS subsystem. END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-05-19T05:13:25.093455Z K 7 svn:log V 169 Implement WITH{,OUT}_{GCC,BINUTILS} to provide finer-grained control over building gcc and binutils. They default to true, unless MK_TOOLCHAIN is no. Reviewed by: ru@ END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-05-19T07:03:42.012425Z K 7 svn:log V 71 MFC r221803,221809: dsp/pcm: allow to mmap both read and write buffers END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-05-19T07:09:13.034002Z K 7 svn:log V 71 MFC r221803,221809: dsp/pcm: allow to mmap both read and write buffers END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-05-19T11:41:12.387749Z K 7 svn:log V 245 Add support for the SIIG Cyber 2S PCIe adapter. It is based on an Oxford Semiconductor OX16PCI954 but uses only two ports with a non-default clock rate. PR: kern/152034 Tested by: Hans Fiedler hans of hermes louisville edu MFC after: 1 week END K 10 svn:author V 5 edwin K 8 svn:date V 27 2011-05-19T13:09:39.611798Z K 7 svn:log V 191 Put AN back after finding out that tzsetup(1) will complain that it doesn't exist. It will be removed again once the tzdata distribution files have been updated with the replacements for AN. END K 10 svn:author V 3 phk K 8 svn:date V 27 2011-05-19T13:42:19.922060Z K 7 svn:log V 117 When adding examples to man-pages, try to make them at least look like they might work. Prodded by: Vadim Goncharov END K 10 svn:author V 3 flz K 8 svn:date V 27 2011-05-19T14:07:32.103644Z K 7 svn:log V 97 portbuild: add missing check. Make sure portbuild.conf exists for the build before sourcing it. END K 10 svn:author V 4 benl K 8 svn:date V 27 2011-05-19T15:18:35.393689Z K 7 svn:log V 50 Fix clang warnings. Approved by: philip (mentor) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-05-19T17:18:13.343537Z K 7 svn:log V 351 MFC r221817: Explicitly clear 1000baseT control register for F1 PHY used in AR8132 FastEthernet controller. The PHY has no ability to establish a gigabit link. Previously only link parters which support down-shifting was able to establish link. This change should fix a long standing link establishment issue of AR8132. PR: kern/156935 END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-05-19T17:20:13.323928Z K 7 svn:log V 351 MFC r221817: Explicitly clear 1000baseT control register for F1 PHY used in AR8132 FastEthernet controller. The PHY has no ability to establish a gigabit link. Previously only link parters which support down-shifting was able to establish link. This change should fix a long standing link establishment issue of AR8132. PR: kern/156935 END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-05-19T17:22:48.734106Z K 7 svn:log V 88 Style fixes: - Sort forward declarations of structures. - Prefer uint64_t to u_int64_t. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2011-05-19T17:24:53.863543Z K 7 svn:log V 94 MFC r221509: Detect and set Atom's Tj(max) to 90 if it's not the 45nm D400/D500/N400 series. END K 10 svn:author V 2 np K 8 svn:date V 27 2011-05-19T19:37:41.278605Z K 7 svn:log V 55 Simplify t4_os_find_pci_capability. MFC after: 3 days END K 10 svn:author V 3 bcr K 8 svn:date V 27 2011-05-19T20:35:40.319277Z K 7 svn:log V 119 Fix typos in comments, no functional changes. Found by: codespell Reviewed by: alfred MFC after: 1 week END K 10 svn:author V 3 eri K 8 svn:date V 27 2011-05-19T21:16:46.027573Z K 7 svn:log V 44 Prevent allocationg memory with locks held. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2011-05-19T21:53:25.486107Z K 7 svn:log V 1413 Changes to allow the GENERIC+bhye kernel built from this branch to run as a 1/2 CPU guest on an 8.1 bhyve host. bhyve/inout.c inout.h fbsdrun.c - Rather than exiting on accesses to unhandled i/o ports, emulate hardware by returning -1 on reads and ignoring writes to unhandled ports. Support the previous mode by allowing a 'strict' parameter to be set from the command line. The 8.1 guest kernel was vastly cut down from GENERIC and had no ISA devices. Booting GENERIC exposes a massive amount of random touching of i/o ports (hello syscons/vga/atkbdc). bhyve/consport.c dev/bvm/bvm_console.c - implement a simplistic signature for the bvm console by returning 'bv' for an inw on the port. Also, set the priority of the console to CN_REMOTE if the signature was returned. This works better in an environment where multiple consoles are in the kernel (hello syscons) bhyve/rtc.c - return 0 for the access to RTC_EQUIPMENT (yes, you syscons) amd64/vmm/x86.c x86.h - hide a bunch more CPUID leaf 1 bits from the guest to prevent cpufreq drivers from probing. The next step will be to move CPUID handling completely into user-space. This will allow the full spectrum of changes from presenting a lowest-common-denominator CPU type/feature set, to exposing (almost) everything that the host can support. Reviewed by: neel Obtained from: NetApp END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-19T22:55:37.421343Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-05-19T23:13:08.367256Z K 7 svn:log V 41 Fix typo. Submitted by: brad at OpenBSD END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-05-19T23:18:42.142430Z K 7 svn:log V 102 In preparation for IPv6 support allow to specify multiple addresses to listen on. MFC after: 3 weeks END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-05-20T00:51:52.155782Z K 7 svn:log V 330 MFC: r221517 Change the new NFS server so that it returns 0 when the f_bavail or f_ffree fields of "struct statfs" are negative, since the values that go on the wire are unsigned and will appear to be very large positive values otherwise. This makes the handling of a negative f_bavail compatible with the old/regular NFS server. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-05-20T01:04:33.678453Z K 7 svn:log V 281 MFC: r221537 Set the initial value of maxfilesize to OFF_MAX in the new NFS client. It will then be reduced to whatever the server says it can support. There might be an argument that this could be one block larger, but since NFS is a byte granular system, I chose not to do that. END K 10 svn:author V 4 neel K 8 svn:date V 27 2011-05-20T02:08:05.362602Z K 7 svn:log V 267 Avoid unnecessary sign extension when promoted to a 64-bit integer. This was benign because the interruption info field is a 32-bit quantity and the hardware guarantees that the upper 32-bits are all zeros. But it did make reading the objdump output very confusing. END K 10 svn:author V 4 neel K 8 svn:date V 27 2011-05-20T03:23:09.031570Z K 7 svn:log V 1075 Fix a long standing bug in VMXCTX_GUEST_RESTORE(). There was an assumption by the "callers" of this macro that on "return" the %rsp will be pointing to the 'vmxctx'. The macro was not doing this and thus when trying to restore host state on an error from "vmlaunch" or "vmresume" we were treating the memory locations on the host stack as 'struct vmxctx'. This led to all sorts of weird bugs like double faults or invalid instruction faults. This bug is exposed by the -O2 option used to compile the kernel module. With the -O2 flag the compiler will optimize the following piece of code: int loopstart = 1; ... if (loopstart) { loopstart = 0; vmx_launch(); } else vmx_resume(); into this: vmx_launch(); Since vmx_launch() and vmx_resume() are declared to be __dead2 functions the compiler is free to do this. The compiler has no way to know that the functions return indirectly through vmx_setjmp(). This optimization in turn leads us to trigger the bug in VMXCTX_GUEST_RESTORE(). With this change we can boot a 8.1 guest on a 9.0 host. Reported by: jhb@ END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-05-20T06:49:43.653645Z K 7 svn:log V 198 fix build breakage by adjusting for API difference in r222092 (MFC of r221803,221809) This is a direct commit. Reported by: Jeremy Chadwick , tinderbox Pointyhat to: avg END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-05-20T07:51:46.651014Z K 7 svn:log V 43 MFC r221883 and r221605. Add new USB ID's. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-05-20T11:06:17.971484Z K 7 svn:log V 88 Rename proto_tcp4.c to proto_tcp.c in preparation for IPv6 support. MFC after: 2 weeks END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-05-20T11:09:02.903329Z K 7 svn:log V 72 Rename tcp4 to tcp in preparation for IPv6 support. MFC after: 3 weeks END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-05-20T11:10:39.112801Z K 7 svn:log V 91 Allow [ ] characters in strings. They might be used in IPv6 addresses. MFC after: 3 weeks END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-05-20T11:14:05.800853Z K 7 svn:log V 95 Now that hell is fully frozen it is good time to add IPv6 support to HAST. MFC after: 3 weeks END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-05-20T11:15:27.303467Z K 7 svn:log V 51 Rename ipv4/ipv6 to tcp4/tcp6. MFC after: 3 weeks END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-05-20T11:16:25.792726Z K 7 svn:log V 115 If no listen address is specified, bind by default to: tcp4://0.0.0.0:8457 tcp6://[::]:8457 MFC after: 3 weeks END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-05-20T11:21:39.939309Z K 7 svn:log V 43 Document IPv6 support. MFC after: 3 weeks END K 10 svn:author V 3 bcr K 8 svn:date V 27 2011-05-20T11:29:09.178396Z K 7 svn:log V 107 Correct typos in comments, no functional changes. Found by: codespell Reviewed by: kaiw MFC after: 1 week END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2011-05-20T12:40:31.113347Z K 7 svn:log V 54 MFC r222013: Add missing section number for .Xr jail. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2011-05-20T12:41:33.840088Z K 7 svn:log V 54 MFC r222013: Add missing section number for .Xr jail. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-05-20T12:48:39.539440Z K 7 svn:log V 334 MFC r220740: ktrace: Log the code for all signals (PSIG events). The code provides information on how the signal was generated. Formerly, the code was only logged for traps, much like only signal handlers for traps received a meaningful si_code before FreeBSD 7.0. In rare cases, no information is available and 0 is still logged. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-05-20T12:52:08.247432Z K 7 svn:log V 167 MFC r220756: kdump: Show code for signals with default action. This information is available as of kernel r222125. Trace files from older kernels will always have 0. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2011-05-20T14:07:08.028420Z K 7 svn:log V 125 Fix the description of the "paddr" keyword. It shows a process pointer just like a dublicating "uprocp". MFC after: 1 week END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-05-20T14:22:10.543261Z K 7 svn:log V 284 Add an RTAS (Runtime Abstraction Services) interface layer and an RTAS-based PCI bus driver. RTAS is tested and working on both 32 and 64-bit systems, but the RTAS PCI driver has been tested only on a 32-bit system (Powermac G3) due to lack of RTAS-enabled 64-bit hardware on my end. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-05-20T14:26:13.843529Z K 7 svn:log V 174 A small nit: RTAS (and this driver) support multi-domain PCI systems, so set the PCI domain to the PCI root bus unit number. This may be overkill, but is guaranteed to work. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2011-05-20T14:32:28.800517Z K 7 svn:log V 45 Spelling in P_HADTHREADS. MFC after: 1 week END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-20T14:53:16.791812Z K 7 svn:log V 93 Reintroduce the lazypmap infrastructure and convert it to using cpuset_t. Requested by: alc END K 10 svn:author V 3 alc K 8 svn:date V 27 2011-05-20T15:26:31.613141Z K 7 svn:log V 89 Eliminate a redundant #include. ("vm/vm_param.h" already includes "machine/vmparam.h".) END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-20T15:48:08.271719Z K 7 svn:log V 4 MFC END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-05-20T16:03:36.950175Z K 7 svn:log V 601 sh: Allow terminating a heredoc with a terminator at EOF without a newline. This is sometimes used with eval or old-style command substitution, and most shells other than ash derivatives allow it. It can also be used with scripts that violate POSIX's requirement on the application that they end in a newline (scripts must be text files except that line length is unlimited). Example: v=`cat <. END K 10 svn:author V 2 ru K 8 svn:date V 27 2011-05-20T17:43:38.361512Z K 7 svn:log V 57 MFC: r222019: Document the supported hardware, somewhat. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-05-20T18:27:13.258255Z K 7 svn:log V 501 Datasheet says vge(4) controllers support DAC but it seems that's not true on old PCI based controllers. DAC configuration is read from EEPROM in device reset phase and driver can override DAC configuration. However I guess there is an undocumented reason why EEPROM configuration does not enable DAC so do not blindly override DAC configuration. Recent PCIe based controllers are supposed to support 64bit DMA so allow 64bit DMA only on PCIe based controllers. PR: kern/157184 MFC after: 1 week END K 10 svn:author V 6 qingli K 8 svn:date V 27 2011-05-20T19:12:20.480988Z K 7 svn:log V 329 The statically configured (permanent) ARP entries are removed when an interface is brought down, even though the interface address is still valid. This patch maintains the permanent ARP entries as long as the interface address (having the same prefix as that of the ARP entries) is valid. Reviewed by: delphij MFC after: 5 days END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-05-20T20:26:16.373383Z K 7 svn:log V 678 MFC r221445: Add initial BCM57765 family support. The BCM57765 family seems to have similar hardware features of BCM5718 family except the number of receive return ring is 4. The BCM57765 family is known to support IEEE 802.3az EEE(Energy Efficient Ethernet) but this change does not include EEE support code. I hope EEE is implemented in near future. This change will support BCM57761, BCM57765, BCM57781, BCM57785, BCM57791 and BCM57795. All hardware offloading features are supported and suspend/resume also should work. Many thanks to Broadcom for continuing support of FreeBSD. Tested by: Paul Thornton (prt <> prt dot org) HW donated by: Broadcom END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-05-20T20:27:25.812003Z K 7 svn:log V 678 MFC r221445: Add initial BCM57765 family support. The BCM57765 family seems to have similar hardware features of BCM5718 family except the number of receive return ring is 4. The BCM57765 family is known to support IEEE 802.3az EEE(Energy Efficient Ethernet) but this change does not include EEE support code. I hope EEE is implemented in near future. This change will support BCM57761, BCM57765, BCM57781, BCM57785, BCM57791 and BCM57795. All hardware offloading features are supported and suspend/resume also should work. Many thanks to Broadcom for continuing support of FreeBSD. Tested by: Paul Thornton (prt <> prt dot org) HW donated by: Broadcom END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-05-20T20:29:50.407288Z K 7 svn:log V 165 MFC r221468: Enable Ethernet@WireSpeed for BCM5718/BCM57765 family. While I'm here inverse meaning of PHY flag as Ethernet@WireSpeed is enabled for most PHYs. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-05-20T20:31:36.413028Z K 7 svn:log V 165 MFC r221468: Enable Ethernet@WireSpeed for BCM5718/BCM57765 family. While I'm here inverse meaning of PHY flag as Ethernet@WireSpeed is enabled for most PHYs. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-05-20T22:09:40.330477Z K 7 svn:log V 75 MFC: r221102 Use ACPI-supplied CPU frequencies instead of estimated ones. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-05-20T22:20:23.944311Z K 7 svn:log V 75 MFC: r221102 Use ACPI-supplied CPU frequencies instead of estimated ones. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-05-20T22:22:56.105205Z K 7 svn:log V 130 MFC: r221188 Define "Hypervisor Present" bit. This bit is used by several hypervisors to identify CPUs running under emulation. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-05-20T22:24:26.998351Z K 7 svn:log V 130 MFC: r221188 Define "Hypervisor Present" bit. This bit is used by several hypervisors to identify CPUs running under emulation. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2011-05-20T22:36:17.093990Z K 7 svn:log V 258 Add a new knob to atkbd(4) to enable typematic rate detection on boot, which is now disabled by default. The detection is known to cause hangs on boot with some new Lenovo laptops on FreeBSD/amd64. Reported by: gnn Discussed with: jkim MFC after: 3 months END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-05-20T22:38:02.709325Z K 7 svn:log V 90 MFC: r222043 Update CPUID bits to reflect AMD Bulldozer and Intel Sandy Bridge features. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-05-20T22:55:18.846488Z K 7 svn:log V 386 sh: Implement the cd -e flag proposed for the next POSIX issue. This reflects failure to determine the pathname of the new directory in the exit status (1). Normally, cd returns successfully if it did chdir() and the call was successful. In POSIX, -e only has meaning with -P; because our -L is not entirely compliant and may fall back to -P mode, -e has some effect with -L as well. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-05-21T00:38:43.928916Z K 7 svn:log V 239 MFC r221548,221552: r221548: Do not increment collision counter if transmit have failed. Transmission error in tun(4) is queueing error(i.e. ENOBUFS) and it has nothing to do with collision. r221552: Fix white space nits and style END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-21T01:44:13.333079Z K 7 svn:log V 4 MFC END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-21T09:23:18.634633Z K 7 svn:log V 88 The Merlin analog register bank is from 0x7800 -> 0x78fc; fix the code to reflect this. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-05-21T14:52:26.845399Z K 7 svn:log V 96 sh: Add test for positional parameters with more than one digit. This also passes on stable/8. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-05-21T16:17:30.242052Z K 7 svn:log V 165 MFC: r221812 Some PHYs like the Level One LXT970 optionally can default to isolation after rest, in which case we may need to deisolate them. Tested by: nwhitehorn END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-05-21T16:17:39.858151Z K 7 svn:log V 165 MFC: r221812 Some PHYs like the Level One LXT970 optionally can default to isolation after rest, in which case we may need to deisolate them. Tested by: nwhitehorn END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2011-05-21T16:34:53.467979Z K 7 svn:log V 33 Fix a typo, it is MPDU not MDPU. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2011-05-21T16:41:41.716694Z K 7 svn:log V 31 Fix typo, it is MPDU not MDPU. END K 10 svn:author V 3 alc K 8 svn:date V 27 2011-05-21T17:43:43.036207Z K 7 svn:log V 1119 1. Prior to r214782, UMA did not support multipage allocations before uma_startup2() was called. Thus, setting the variable "booted" to true in uma_startup() was ok on machines with UMA_MD_SMALL_ALLOC defined, because any allocations made after uma_startup() but before uma_startup2() could be satisfied by uma_small_alloc(). Now, however, some multipage allocations are necessary before uma_startup2() just to allocate zone structures on machines with a large number of processors. Thus, a Boolean can no longer effectively describe the state of the UMA allocator. Instead, make "booted" have three values to describe how far initialization has progressed. This allows multipage allocations to continue using startup_alloc() until uma_startup2(), but single-page allocations may begin using uma_small_alloc() after uma_startup(). 2. With the aforementioned change, only a modest increase in boot pages is necessary to boot UMA on a large number of processors. 3. Retire UMA_MD_SMALL_ALLOC_NEEDS_VM. It has only been used between r182028 and r204128. Reviewed by: attilio [1], nwhitehorn [3] Tested by: sbruno END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-05-21T20:21:20.332430Z K 7 svn:log V 49 Recognize HIO_FLUSH requests. MFC after: 1 week END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-05-21T22:03:06.656250Z K 7 svn:log V 55 sh: Expand aliases after assignments and redirections. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-05-21T22:53:56.848991Z K 7 svn:log V 47 Remove a (likely) obsolete comment about RTAS. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-05-22T01:07:54.179740Z K 7 svn:log V 439 Add a lock flags argument to the VFS_FHTOVP() file system method, so that callers can indicate the minimum vnode locking requirement. This will allow some file systems to choose to return a LK_SHARED locked vnode when LK_SHARED is specified for the flags argument. This patch only adds the flag. It does not change any file system to use it and all callers specify LK_EXCLUSIVE, so file system semantics are not changed. Reviewed by: kib END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-05-22T02:13:55.996010Z K 7 svn:log V 87 IBM firmware is odd. Make RTAS initialization actually work correctly on SLOF systems. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-05-22T02:18:18.009468Z K 7 svn:log V 227 Add a driver for simple RTAS services. This supports the RTAS time of day clock interface, as well as power-off and reboot. Other potential features that could be added here are RTAS LED annunciator support, NVRAM access, etc. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-05-22T03:18:25.395029Z K 7 svn:log V 20 Fix a couple typos. END K 10 svn:author V 3 uqs K 8 svn:date V 27 2011-05-22T09:48:25.291971Z K 7 svn:log V 69 Update URLs and fix regex to work with current version of the files. END K 10 svn:author V 3 uqs K 8 svn:date V 27 2011-05-22T09:58:48.920434Z K 7 svn:log V 56 Fix typo in unused function name Submitted by: arundel END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-05-22T12:12:28.162729Z K 7 svn:log V 329 sh: Fix bss-based buffer overflow in . builtin. If the length of a directory in PATH together with the given filename exceeded FILENAME_MAX (which may happen even for pathnames that work), a static buffer was overflown. The static buffer is unnecessary, we can use the stalloc() stack. Obtained from: NetBSD MFC after: 1 week END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-05-22T12:15:14.038739Z K 7 svn:log V 26 sh: Add test for r222173. END K 10 svn:author V 3 uqs K 8 svn:date V 27 2011-05-22T14:03:21.013287Z K 7 svn:log V 70 Remove typos, tabs-after-spaces and EOL whitespace. Convert to UTF-8. END K 10 svn:author V 3 uqs K 8 svn:date V 27 2011-05-22T14:03:30.286377Z K 7 svn:log V 41 Re-encode files from ISO-8859-1 to UTF-8 END K 10 svn:author V 3 uqs K 8 svn:date V 27 2011-05-22T14:03:38.523383Z K 7 svn:log V 99 Fix a bunch of typos and a couple of whitespace nits. Helped by: codespell and vim's spellchecker END K 10 svn:author V 3 uqs K 8 svn:date V 27 2011-05-22T14:03:46.789495Z K 7 svn:log V 47 Fix some typos under bin/ Found by: codespell END K 10 svn:author V 3 uqs K 8 svn:date V 27 2011-05-22T14:23:48.438999Z K 7 svn:log V 58 Fix more typos to be a good example. Found by: codespell END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-05-22T15:01:02.484019Z K 7 svn:log V 228 MFC r221519,221813: Do not use Open Firmware to open the device and instead program its start on our own. This prevents hangs at boot when using a bm(4) NIC where the cable is not plugged in at boot time. Obtained from: NetBSD END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-05-22T15:14:21.395429Z K 7 svn:log V 128 MFC r221550: SMP has worked perfectly for a very long time on 32-bit PowerPC on both UP and SMP hardware. Enable it in GENERIC. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-05-22T15:24:56.148814Z K 7 svn:log V 171 sh: Remove obsolete token type TENDBQUOTE. This token type was related to Almquist's original version of backquotes that could not nest and fell into disuse fairly soon. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-05-22T16:32:44.905254Z K 7 svn:log V 722 On amd64, change clang's default triple to 'x86_64-unknown-freebsd9.0', similar to what we do for binutils. When clang's default triple starts with 'amd64-', it does not pass a proper -target-cpu option to its first stage. This can lead to problems, for example when structs are memcpy'd, and clang erroneously assumes they are 16-byte aligned. It will then use the 'movaps' SSE instruction to implement the copy, which results in a bus error if the struct is really 8-byte aligned. I encountered this issue when gcc's /usr/libexec/cc1 started crashing with SIGBUS, after rebuilding world with clang ToT, but it also affects the version of clang that we have in the tree. We were just lucky until now, apparently. :) END K 10 svn:author V 3 alc K 8 svn:date V 27 2011-05-22T17:46:16.235534Z K 7 svn:log V 146 Correct an error in r222163. Unless UMA_MD_SMALL_ALLOC is defined, startup_alloc() must be used until uma_startup2() is called. Reported by: jh END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-05-22T18:01:52.223670Z K 7 svn:log V 276 Start to usher INSTALL_NODEBUG hack out the door. Add new WITH{OUT,}_KERNEL_SYMBOLS (defaulting to WITH). In the fullness of time, likely around 2020, INSTALL_NODEBUG will be removed. For now, don't print a warning when using INSTALL_NODEBUG, but that will be coming soon. END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-05-22T18:09:51.467214Z K 7 svn:log V 249 Backwards compatibility hacks to allow kernels to be built via config wihtout updating world (good transition aide for -current, but also allows kernels to be built on -stable the old way too). This likely should go away around FreeBSD 10.0 or so. END K 10 svn:author V 3 alc K 8 svn:date V 27 2011-05-22T18:11:41.022150Z K 7 svn:log V 32 Eliminate duplicate #include's. END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-05-22T18:12:59.231061Z K 7 svn:log V 45 Add documentation for WITHOUT_KERNEL_SYMBOLS END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-05-22T18:23:17.267473Z K 7 svn:log V 32 Add the description properly... END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-05-22T18:34:11.115972Z K 7 svn:log V 6 regen END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-05-22T19:56:14.787103Z K 7 svn:log V 65 Add analogs to the -chrp-boot and -prep-boot options to mkisofs. END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2011-05-22T19:58:18.060175Z K 7 svn:log V 102 Update from Yahoo BSD 7 branch. This captures updates from FreeBSD -HEAD Obtained from: Yahoo! Inc. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-22T20:19:01.497020Z K 7 svn:log V 98 Fix a bug where the index cpu is just plain wrong, thus the kernel livelocks. Reported by: gonzo END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-22T20:24:36.427421Z K 7 svn:log V 164 Add a "safety belt" check for lsb setting. I don't think it is really necessary because the cpumask is known to be != 0, but it is just in case. Requested by: kib END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-22T20:29:47.997326Z K 7 svn:log V 246 Make cpusetobj_strprint() prepare the string in order to print the least significant cpuset_t word at the outmost right part of the string (more far from the beginning of it). This follows the natural build of bits rappresentation in the words. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-05-22T20:39:07.964830Z K 7 svn:log V 125 Fix the ufs/ffs file system so that it uses the lock flags argument added to VFS_FHTOVP() by r222167. Reviewed by: mckusick END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-22T20:41:10.502396Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-22T20:55:54.973332Z K 7 svn:log V 739 Merge r221614,221696,221737,221840 from largeSMP project branch: Rewrite atomic operations for powerpc in order to achieve the following: - Produce a type-clean implementation (in terms of functions arguments and returned values) for the primitives. - Fix errors with _long() atomics where they ended up with the wrong arguments to be accepted. - Follow the sys/type.h specifics that define the numbered types starting from standard C types. - Let _ptr() version to not auto-magically cast arguments, but leave the burden on callers, as _ptr() atomic is intended to be used relatively rarely. Fix cfi in order to support the latest point. In collabouration with: bde Tested by: andreast, nwhitehorn, jceel MFC after: 2 weeks END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-05-22T21:04:32.082504Z K 7 svn:log V 116 Fix the zfs file system so that it uses the lock flags argument added to VFS_FHTOVP() by r222167. Reviewed by: pjd END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-22T21:31:36.632412Z K 7 svn:log V 263 Merge r221901 from largeSMP project branch: Increase the size of cg_count in order to enable usage of > 127 CPUs. cg_children is also bumped in order to keep the structure naturally padded, even if this is not strictly necessary. Submitted and tested by: sbruno END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-22T21:35:03.231941Z K 7 svn:log V 181 Merge r221912 from largeSMP project branch: Fix a long-standing bug in cpuset_thread0() where only the first part of cs_mask is set full. Submitted by: anonymous MFC after: 1 week END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-22T21:46:55.097050Z K 7 svn:log V 4 MFC END K 10 svn:author V 4 benl K 8 svn:date V 27 2011-05-22T22:14:15.108371Z K 7 svn:log V 58 Fix clang compile warnings. Approved by: philip (mentor) END