ƒ´a235000 176 200 331 140 296 233 312 401 447 214 246 161 331 140 683 3400 419 122 305 184 139 167 230 138 116 648 139 125 144 141 1053 155 131 111 231 185 453 200 140 150 118 357 508 523 355 170 171 171 416 416 416 227 1279 140 1324 573 400 400 241 535 206 314 204 234 1048 280 99 208 238 155 163 194 159 145 276 211 178 154 133 108 155 117 203 224 224 224 244 244 244 209 209 209 138 224 224 262 250 135 503 497 156 119 115 348 723 723 126 273 370 145 131 294 241 526 140 275 211 155 260 388 302 164 1857 317 202 165 275 275 230 193 202 242 353 231 561 430 301 224 474 146 691 196 691 374 181 271 208 232 269 232 224 184 1174 252 133 576 155 204 606 156 105 606 127 384 232 167 144 129 240 224 235 274 202 172 127 199 197 K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-05-04T15:05:30.617196Z K 7 svn:log V 102 MFC r233774: Fix compiler warnings, mostly signed issues, when USB modules are compiled with WARNS=9. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-05-04T15:10:49.142144Z K 7 svn:log V 233 MFC r234803 and r234961: Add support for Multi-TT mode of modern USB HUBs. This will give you more bandwidth for isochronous FULL speed applications connected through a High Speed HUB. This patch has been tested with XHCI and EHCI. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-05-04T15:13:25.383474Z K 7 svn:log V 43 MFC r234541: Add new USB ID to u3g driver. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-05-04T15:18:00.697232Z K 7 svn:log V 198 MFC r234636 and r234655: Improve support for USB packet filtering also when reading dumps, and allow filtered data to be dumped to a binary file. Add missing and probably also mandatory -h option. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-05-04T15:27:18.070710Z K 7 svn:log V 135 MFC r233667, r234687, r234491, r234193, r233424: Fix some compile warnings. Fix some mdoc issues. Add missing LibUSB 1.0 API function. END K 10 svn:author V 8 jpaetzel K 8 svn:date V 27 2012-05-04T15:31:35.788473Z K 7 svn:log V 214 Use a unique zpool name during install, in the case of having another PC-BSD / FreeBSD zpool on the system for another install. Submitted by: kmoore Obtained from: PC-BSD MFC after: 3 days Sponsored by: iXsystems END K 10 svn:author V 8 jpaetzel K 8 svn:date V 27 2012-05-04T15:36:51.584687Z K 7 svn:log V 303 Add powerpc / powerpc64 support to pc-sysinstall. This patch will autodetect if on powerpc and use the APM gpart GEOM class automaticaly. At this time support for full disk installation is the only supported scheme. Submitted by: kmoore Obtained from: PC-BSD MFC after: 3 days Sponsored by: iXsystems END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-05-04T15:38:47.019983Z K 7 svn:log V 349 MFC r233662, r233677 and r233678: Writing zero to BAR actually does not disable it and it is even harmful as hselasky found out. Historically, this code was originated from (OLDCARD) CardBus driver and later leaked into PCI driver when CardBus was newbus'ified and refactored with PCI driver. However, it is not really necessary even for CardBus. END K 10 svn:author V 8 jpaetzel K 8 svn:date V 27 2012-05-04T15:39:41.544059Z K 7 svn:log V 116 Add bootcamp bootloader stamp Submitted by: kmoore Obtained from: PC-BSD MFC after: 3 days Sponsored by: iXsystems END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-05-04T15:49:08.276640Z K 7 svn:log V 150 Add support for SCTP_STREAM_CHANGE_EVENT, SCTP_ASSOC_RESET_EVENT as required by RFC 6525. This also fixes SCTP_STREAM_RESET_EVENT. MFC after: 3 days END K 10 svn:author V 2 jh K 8 svn:date V 27 2012-05-04T15:51:23.397149Z K 7 svn:log V 70 MFC r233875: Add a check for unsupported file flags to ufs_setattr(). END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-05-04T15:55:31.427608Z K 7 svn:log V 233 MFC r234803 and r234961: Add support for Multi-TT mode of modern USB HUBs. This will give you more bandwidth for isochronous FULL speed applications connected through a High Speed HUB. This patch has been tested with XHCI and EHCI. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-05-04T15:57:05.403494Z K 7 svn:log V 43 MFC r234541: Add new USB ID to u3g driver. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2012-05-04T16:00:22.842361Z K 7 svn:log V 582 Fix final bugs in memory barriers on PowerPC: - Use isync/lwsync unconditionally for acquire/release. Use of isync guarantees a complete memory barrier, which is important for serialization of bus space accesses with mutexes on multi-processor systems. - Go back to using sync as the I/O memory barrier, which solves the same problem as above with respect to mutex release using lwsync, while not penalizing non-I/O operations like a return to sync on the atomic release operations would. - Place an acquisition barrier around thread lock acquisition in cpu_switchin(). END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2012-05-04T16:00:39.421037Z K 7 svn:log V 3301 First fix pr 167226: ThunderBolt cannot read sector >= 2^32 or 2^21 with supplied patch. Second the bigger change, fix RAID operation on ThunderBolt base card such as physically removing a disk from a RAID and replacing it. The current situation is the RAID firmware effectively hangs waiting for an acknowledgement from the driver. This is due to the firmware support of the driver actually accessing the RAID from under the firmware. This is an interesting feature that the FreeBSD driver does not use. However, when the firmare detects the driver has attached it then expects the driver will synchronize LD's with the firmware. If the driver does not sync. then the management part of the firmware will hang waiting for it so a pulled driver will listed as still there. The fix for this problem isn't extremely difficult. However, figuring out why some of the code was the way it was and then redoing it was involved. Not have a spec. made it harder to try to figure out. The existing driver would send a MFI_DCMD_LD_MAP_GET_INFO command in write mode to acknowledge a LD state change. In read mode it gets the RAID map from the firmware. The FreeBSD driver doesn't do that currently. It could be added in the future with the appropriate structures. To simplify things, get the current LD state and then build the MFI_DCMD_LD_MAP_GET_INFO/write command so that it sends an acknowledgement for each LD. The map would probably state which LD's changed so then the driver could probably just acknowledge the LD's that changed versus all. This doesn't seem to be a problem. When a MFI_DCMD_LD_MAP_GET_INFO/write command is sent to the firmware, it will complete later when a change to the LD's happen. So it is very much like an AEN command returning when something happened. When the MFI_DCMD_LD_MAP_GET_INFO/write command completes, we refire the sync'ing of the LD state. This needs to be done in as an event so that MFI_DCMD_LD_GET_LIST can wait for that command to complete before issuing the MFI_DCMD_LD_MAP_GET_INFO/write. The prior code didn't use the call-back function and tried to intercept the MFI_DCMD_LD_MAP_GET_INFO/write command when processing an interrupt. This added a bunch of code complexity to the interrupt handler. Using the call-back that is done for other commands got rid of this need. So the interrupt handler is greatly simplified. It seems that even commands that shouldn't be acknowledged end up in the interrupt handler. To deal with this, code was added to check to see if a command is in the busy queue or not. This might have contributed to the interrupt storm happening without MSI enabled on these cards. Note that MFI_DCMD_LD_MAP_GET_INFO/read returns right away. It would be interesting to see what other complexity could be removed from the ThunderBolt driver that really isn't needed in our mode of operation. Letting the RAID firmware do all of the I/O to disks is a lot faster since it can use its caches. It greatly simplifies what the driver has to do and potential bugs if the driver and firmware are not in sync. Simplify the aen_abort/cm_map_abort and put it in the softc versus in the command structure. This should get merged to 9 before the driver is merged to 8. PR: 167226 Submitted by: Petr Lampa MFC after: 3 days END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-05-04T16:18:57.813017Z K 7 svn:log V 321 MFC r231835, r234636 and r234655: Add support for filtering USB devices and USB endpoints to the usbdump utility when making software USB traces. Improve support for USB packet filtering also when reading dumps, and allow filtered data to be dumped to a binary file. Add missing and probably also mandatory -h option. END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2012-05-04T16:22:13.132343Z K 7 svn:log V 25 Some style improvements. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-05-04T16:25:35.026764Z K 7 svn:log V 207 MFC r228235, r228236, r233667, r234687, r234491, r234193, and r233424: Minor code simplification. No functional change. Fix some compile warnings. Fix some mdoc issues. Add missing LibUSB 1.0 API function. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2012-05-04T16:53:43.152970Z K 7 svn:log V 90 change serialization on the cam freeze queue to avoid losing races with the socket upcall END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2012-05-04T17:02:34.039178Z K 7 svn:log V 45 queue freeze count may not be zero initially END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2012-05-04T17:12:31.154146Z K 7 svn:log V 73 check that the queue wasn't already frozen while we didn't hold the lock END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-05-04T17:18:02.577306Z K 7 svn:log V 134 Add support for the SCTP_ENABLE_STREAM_RESET socket option to getsockopt(). This improves the support of RFC 6525. MFC after: 3 days END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2012-05-04T18:12:53.552264Z K 7 svn:log V 44 unfreeze and run queue from isc_out context END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2012-05-04T18:23:03.837326Z K 7 svn:log V 22 use cam_flags for cam END K 10 svn:author V 4 jkim K 8 svn:date V 27 2012-05-04T18:24:38.709623Z K 7 svn:log V 554 Use MADT to match ACPI Processor objects to CPUs. MADT and DSDT/SSDTs may list CPUs in different orders, especially for disabled logical cores. Now we match ACPI IDs from the MADT with Processor objects, strictly order CPUs accordingly, and ignore disabled cores. This prevents us from executing methods for other CPUs, e. g., _PSS for disabled logical core, which may not exist. Unfortunately, it is known that there are a few systems with buggy BIOSes that do not have unique ACPI IDs for MADT and Processor objects. To work around these problems END K 10 svn:author V 7 delphij K 8 svn:date V 27 2012-05-04T18:29:32.864494Z K 7 svn:log V 43 Vendor import of netcat as of OPENBSD_5_1. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2012-05-04T18:30:40.148584Z K 7 svn:log V 29 Tag netcat from OpenBSD 5.1. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2012-05-04T18:32:17.439784Z K 7 svn:log V 50 always schedule a release from the socket callout END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2012-05-04T18:36:00.947916Z K 7 svn:log V 47 clear cam flags before calling in to ic_action END K 10 svn:author V 4 jkim K 8 svn:date V 27 2012-05-04T18:54:51.827412Z K 7 svn:log V 959 Complete commit message for r235024: Use MADT to match ACPI Processor objects to CPUs. MADT and DSDT/SSDTs may list CPUs in different orders, especially for disabled logical cores. Now we match ACPI IDs from the MADT with Processor objects, strictly order CPUs accordingly, and ignore disabled cores. This prevents us from executing methods for other CPUs, e. g., _PSS for disabled logical core, which may not exist. Unfortunately, it is known that there are a few systems with buggy BIOSes that do not have unique ACPI IDs for MADT and Processor objects. To work around these problems, 'debug.acpi.cpu_unordered' tunable is added. Set this to a non-zero value to restore the old behavior. Many thanks to jhb for pointing me to the right direction and the manual page change. Reported by: Harris, James R (james dot r dot harris at intel dot com) Tested by: Harris, James R (james dot r dot harris at intel dot com) Reviewed by: jhb MFC after: 1 month END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2012-05-04T18:57:45.532416Z K 7 svn:log V 61 unfreeze queue without running scheduler if freeze count > 0 END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2012-05-04T19:26:03.233651Z K 7 svn:log V 37 unfreeze queue in completion handler END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2012-05-04T19:44:58.803956Z K 7 svn:log V 17 don't use upcall END K 10 svn:author V 2 ae K 8 svn:date V 27 2012-05-04T19:49:24.014929Z K 7 svn:log V 139 Don't ignore start offset value when user specifies it together with alignment. PR: bin/167567 Tested by: Warren Block MFC after: 1 week END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-05-04T20:31:27.005857Z K 7 svn:log V 90 Fix a couple of sc_ac2q[] mappings that were using the TID, not the AC. PR: kern/167588 END K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-05-04T20:45:53.459234Z K 7 svn:log V 357 MFC r234057: sem_open: Make sure to fail an O_CREAT|O_EXCL open, even if that semaphore is already open in this process. If the named semaphore is already open, sem_open() only increments a reference count and did not take the flags into account (which otherwise happens by passing them to open()). Add an extra check for O_CREAT|O_EXCL. PR: kern/166706 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2012-05-04T21:00:32.521985Z K 7 svn:log V 103 Add ToS definitions for DiffServ Codepoints as per RFC2474. Obtained from: OpenBSD MFC after: 2 weeks END K 10 svn:author V 7 delphij K 8 svn:date V 27 2012-05-04T21:03:39.238593Z K 7 svn:log V 44 Merge from OpenBSD 5.1. MFC after: 3 weeks END K 10 svn:author V 7 delphij K 8 svn:date V 27 2012-05-04T21:06:53.313067Z K 7 svn:log V 54 Update FREEBSD-vendor to reflect the current version. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-05-04T22:48:44.923078Z K 7 svn:log V 23 Sync with head@235038. END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2012-05-04T22:54:54.694251Z K 7 svn:log V 259 Fix the returns in mfi_tbolt_sync_map_info. I forgot to change them to cleanup and goto out when acknowledging the LD's. Check for failure on malloc. Remove a couple of extra lines and remove the spurious return. Prompted by: Petr Lampa MFC after: 3 days END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-05-04T23:16:29.756877Z K 7 svn:log V 412 Don't assume we have legacy PICs (i.e. 8259A in cascade) at the legacy I/O port addresses. Even if we do, this is hardly the place to mask interrupts. It's not clear that this was at all needed. The code came with CVS revision 1.2 of nexus.c when interrupt support was first added. What is known is that ia64 has always been designed around the IOSAPIC, and that doing I/O like this prevents Altix from booting. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-05-04T23:33:40.038951Z K 7 svn:log V 427 Restore the existing bus_dma implementation. I'll be creating a new interface on the side so that I don't have to worry about breaking everything. Also, drivers can be migrated over time with proper testing if and when the new interface pans out. The current API uses the bus_dma prefix. The new one will use the busdma prefix. This also works for source files, with 1 exception: */*/busdma_machdep.c. I think I can manage... END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-05-04T23:45:34.418931Z K 7 svn:log V 256 Fix off-by-one error in sati_inquiry_block_device_translate_data(). Bug would result in INQUIRY VPD 0x81 to SATA devices to return only 63 bytes of data instead of 64 during SCSI/ATA translation. Sponsored by: Intel Approved by: scottl MFC after: 1 week END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-05-05T00:08:05.262920Z K 7 svn:log V 75 Start afresh with busdma_tag_create. Commit the skeleton to build history. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-05-05T00:28:08.366377Z K 7 svn:log V 79 MFC r234769: Fix several memory and lock leaks on the out of memory condition. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-05-05T00:30:43.763447Z K 7 svn:log V 79 MFC r234769: Fix several memory and lock leaks on the out of memory condition. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2012-05-05T02:52:41.139847Z K 7 svn:log V 323 MFC r234775: As cron(8) is started with '-s' by default, timezones that observe DST should not need to worry about scheduling jobs when the DST time changes. Rather than removing the BUGS section in crontab(5) regarding this, note that disabling '-s' may still cause jobs to be executed twice or not at all. PR: 166318 END K 10 svn:author V 3 gjb K 8 svn:date V 27 2012-05-05T02:53:02.591574Z K 7 svn:log V 323 MFC r234775: As cron(8) is started with '-s' by default, timezones that observe DST should not need to worry about scheduling jobs when the DST time changes. Rather than removing the BUGS section in crontab(5) regarding this, note that disabling '-s' may still cause jobs to be executed twice or not at all. PR: 166318 END K 10 svn:author V 3 gjb K 8 svn:date V 27 2012-05-05T02:53:19.219747Z K 7 svn:log V 323 MFC r234775: As cron(8) is started with '-s' by default, timezones that observe DST should not need to worry about scheduling jobs when the DST time changes. Rather than removing the BUGS section in crontab(5) regarding this, note that disabling '-s' may still cause jobs to be executed twice or not at all. PR: 166318 END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-05-05T07:15:34.815271Z K 7 svn:log V 134 Big endian arm boxes need to have a uname -m of armeb, not arm, so that the bootstrap from source works correctly. MFC after: 4 days END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-05-05T07:55:50.707408Z K 7 svn:log V 1181 Merge 234342 from head: When we receive an ICMP unreach need fragmentation datagram, we take proposed MTU value from it and update the TCP host cache. Then tcp_mss_update() is called on the corresponding tcpcb. It finds the just allocated entry in the TCP host cache and updates MSS on the tcpcb. And then we do a fast retransmit of what we have in the tcp send buffer. This sequence gets broken if the TCP host cache is exausted. In this case allocation fails, and later called tcp_mss_update() finds nothing in cache. The fast retransmit is done with not reduced MSS and is immidiately replied by remote host with new ICMP datagrams and the cycle repeats. This ping-pong can go up to wirespeed. To fix this: - tcp_mss_update() gets new parameter - mtuoffer, that is like offer, but needs to have min_protoh subtracted. - tcp_mtudisc() as notification method renamed to tcp_mtudisc_notify(). - tcp_mtudisc() now accepts not a useless error argument, but proposed MTU value, that is passed to tcp_mss_update() as mtuoffer. Reported by: az Reported by: Andrey Zonov Reviewed by: andre (previous version of patch) END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2012-05-05T09:34:35.429697Z K 7 svn:log V 44 Fix mount mutex handling missed in r234386. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-05-05T10:05:13.316964Z K 7 svn:log V 1226 Merge 234342 from head: When we receive an ICMP unreach need fragmentation datagram, we take proposed MTU value from it and update the TCP host cache. Then tcp_mss_update() is called on the corresponding tcpcb. It finds the just allocated entry in the TCP host cache and updates MSS on the tcpcb. And then we do a fast retransmit of what we have in the tcp send buffer. This sequence gets broken if the TCP host cache is exausted. In this case allocation fails, and later called tcp_mss_update() finds nothing in cache. The fast retransmit is done with not reduced MSS and is immidiately replied by remote host with new ICMP datagrams and the cycle repeats. This ping-pong can go up to wirespeed. To fix this: - tcp_mss_update() gets new parameter - mtuoffer, that is like offer, but needs to have min_protoh subtracted. - tcp_mtudisc() as notification method renamed to tcp_mtudisc_notify(). - tcp_mtudisc() now accepts not a useless error argument, but proposed MTU value, that is passed to tcp_mss_update() as mtuoffer. Reported by: az Reported by: Andrey Zonov Reviewed by: andre (previous version of patch) Tested by: Andrey Zonov END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-05-05T11:26:08.726537Z K 7 svn:log V 480 Work around a situation where symlook_obj() could be called for the object for which digest_dynamic1() was not done yet. Just return EINVAL and do not try to dereference NULL buckets hash array. This seems to happen on ia64 for rtld object itself, where the R_IA_64_FPTR64LSB relocations require symbol lookup. The dynamic linker itself does not rely on identity of the C-level function pointers (i.e. function descriptors). Reported and reviewed by: marcel MFC after: 8 days END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2012-05-05T11:33:48.384799Z K 7 svn:log V 302 MFC r234572 Do not require radix write lock to be held while dumping route table via sysctl(4) interface. This permits router not to stop forwarding packets while route table is being written to user-supplied buffer. Reported by: Pawel Tyll Approved by: kib(mentor) END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2012-05-05T11:34:27.010328Z K 7 svn:log V 302 MFC r234572 Do not require radix write lock to be held while dumping route table via sysctl(4) interface. This permits router not to stop forwarding packets while route table is being written to user-supplied buffer. Reported by: Pawel Tyll Approved by: kib(mentor) END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-05-05T14:06:15.856579Z K 7 svn:log V 145 Do error checking for the SCTP_RESET_STREAMS, SCTP_RESET_ASSOC, and SCTP_ADD_STREAMS socket options as specified by RFC 6525. MFC after: 3 days END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-05-05T15:35:22.981980Z K 7 svn:log V 442 Make sure a few new internal clang headers get installed, I missed these in the last import. They are sometimes needed when you want to use advanced instructions. Also, add clang's internal stdalign.h header to ObsoleteFiles.inc, since it is redundant: we already have a stdalign.h header in /usr/include. Pointy hat to: dim PR: kern/167574 Submitted by: jkim Reported by: Oliver Hartmann MFC after: 2 weeks END K 10 svn:author V 4 bapt K 8 svn:date V 27 2012-05-05T16:37:14.705336Z K 7 svn:log V 112 open the resolved path fix debug message Submitted by: John Marino Approved by: des (mentor) END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2012-05-05T16:41:17.718797Z K 7 svn:log V 213 MFC r230993,230994,230995,230999,231003,231026,231046,231149,231908: Reduce code duplication in Open Firmware based PCI bus drivers, implement infrastructure for NEW_PCIB, and switch to using NEW_PCIB by default. END K 10 svn:author V 6 issyl0 K 8 svn:date V 27 2012-05-05T16:50:12.964105Z K 7 svn:log V 108 - Add my mentor/mentee relationship to committers-doc.dot. (where me = issyl0) Approved by: gabor (mentor) END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-05-05T17:20:12.063052Z K 7 svn:log V 141 I need to change uname -p, not uname -m, so back this out. Also, fix a couple of style(9) issues while I'm here. Submitted by: nathanw, bde END K 10 svn:author V 8 netchild K 8 svn:date V 27 2012-05-05T19:42:38.953249Z K 7 svn:log V 950 - >500 static DTrace probes for the linuxulator - DTrace scripts to check for errors, performance, ... they serve mostly as examples of what you can do with the static probe;s with moderate load the scripts may be overwhelmed, excessive lock-tracing may influence program behavior (see the last design decission) Design decissions: - use "linuxulator" as the provider for the native bitsize; add the bitsize for the non-native emulation (e.g. "linuxuator32" on amd64) - Add probes only for locks which are acquired in one function and released in another function. Locks which are aquired and released in the same function should be easy to pair in the code, inter-function locking is more easy to verify in DTrace. - Probes for locks should be fired after locking and before releasing to prevent races (to provide data/function stability in DTrace, see the man-page of "dtrace -v ..." and the corresponding DTrace docs). END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-05-05T20:07:33.348123Z K 7 svn:log V 184 Honor SCTP_ENABLE_STREAM_RESET socket option when processing incoming requests. Fix also the provided result in the response and use names as specified in RFC 6525. MFC after: 3 days END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-05-05T21:40:32.877093Z K 7 svn:log V 4 MFC END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-05-05T21:41:16.000536Z K 7 svn:log V 112 Provide the flags in the SCTP stream reconfig related notification as specified in RFC 6525. MFC after: 3 days END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-05-05T22:44:08.716528Z K 7 svn:log V 140 Add support for the "return on close" case for NFSv4.1 PNFS layouts. The layouts can just be deleted, under the "forgetful client" concept. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2012-05-05T23:51:24.025933Z K 7 svn:log V 59 Fix mis-merged line, move SC_LOOKUP() call to upper level. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-05-06T05:49:23.498992Z K 7 svn:log V 71 Fix `gmultipath configure` for big-endian machines. MFC after: 1 week END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2012-05-06T05:58:56.330942Z K 7 svn:log V 97 Get the memory size from the gxemul mp device. Don't dump the environment if it is not present. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-05-06T06:25:17.113790Z K 7 svn:log V 67 Add description for GEOM RAID tunables/sysctls. MFC after: 1 week END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-05-06T07:20:48.038588Z K 7 svn:log V 53 Fix the MACHINE_ARCH for big endian arm to be armeb. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2012-05-06T08:28:08.943221Z K 7 svn:log V 178 Add a driver for the GXemul test machine's disk controller and disk devices. Prefer it to using an md device in the GXEMUL kernel configuration. Requested by: rwatson, theraven END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-05-06T08:31:57.191478Z K 7 svn:log V 116 MFC r231929: If nested scheme allows dump kernel to its partition, we may allow dump for the parent partition too. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-05-06T11:02:53.589932Z K 7 svn:log V 83 Add support for SCTP_SEND_FAILED_EVENT as required by RFC 6458. MFC after: 3 days END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-05-06T11:32:36.684534Z K 7 svn:log V 62 Add support for RAID5R. Slightly improve support for RAIDMDF. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-05-06T11:37:41.669437Z K 7 svn:log V 38 Remove debug code. MFC after: 3 days END K 10 svn:author V 3 uqs K 8 svn:date V 27 2012-05-06T11:41:00.296835Z K 7 svn:log V 16 Fix make depend END K 10 svn:author V 5 trasz K 8 svn:date V 27 2012-05-06T11:48:37.379923Z K 7 svn:log V 61 Fix offset calculation to actually rewrite the _last_ block. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-05-06T12:55:20.546703Z K 7 svn:log V 25 Plug small memory leaks. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-05-06T13:09:13.377464Z K 7 svn:log V 107 Add support for the sac_info field in struct sctp_assoc_change as required by RFC 6458. MFC after: 3 days END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-05-06T14:10:56.587512Z K 7 svn:log V 128 MFC r234819: Allow users of gprof to get per run output files (using the pid) PR: bin/99800 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-05-06T14:11:25.214978Z K 7 svn:log V 128 MFC r234819: Allow users of gprof to get per run output files (using the pid) PR: bin/99800 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-05-06T14:11:51.229040Z K 7 svn:log V 128 MFC r234819: Allow users of gprof to get per run output files (using the pid) PR: bin/99800 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-05-06T14:15:32.856725Z K 7 svn:log V 148 MFC r234821: Add support for: Olympus FE-210 camera LG UP3S MP3 player Laser MP3-2GA13 MP3 PR: usb/119201 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-05-06T14:15:52.635395Z K 7 svn:log V 148 MFC r234821: Add support for: Olympus FE-210 camera LG UP3S MP3 player Laser MP3-2GA13 MP3 PR: usb/119201 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-05-06T14:16:18.397298Z K 7 svn:log V 148 MFC r234821: Add support for: Olympus FE-210 camera LG UP3S MP3 player Laser MP3-2GA13 MP3 PR: usb/119201 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-05-06T14:22:30.738340Z K 7 svn:log V 113 MFC r234820: pread(2) might fail with EBUSY, so document it PR: docs/167201 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-05-06T14:23:01.534982Z K 7 svn:log V 113 MFC r234820: pread(2) might fail with EBUSY, so document it PR: docs/167201 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-05-06T14:23:19.183715Z K 7 svn:log V 113 MFC r234820: pread(2) might fail with EBUSY, so document it PR: docs/167201 Approved by: cperciva (implicit) END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-05-06T14:50:54.026997Z K 7 svn:log V 43 Address clang warnings. MFC after: 3 days END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-05-06T15:55:01.210795Z K 7 svn:log V 131 MFC r234601: Add sos@ copyrights to RAID metadata modules, respecting his efforts in decoding metadata formats in ataraid(4) code. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-05-06T15:56:07.282597Z K 7 svn:log V 131 MFC r234601: Add sos@ copyrights to RAID metadata modules, respecting his efforts in decoding metadata formats in ataraid(4) code. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2012-05-06T16:01:58.682520Z K 7 svn:log V 164 Don't call strcmp with a NULL pointer. In particular, on the AM335x, which comes up with no memory mapped to low addresses, dereferencing the NULL causes a crash. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2012-05-06T16:32:28.900673Z K 7 svn:log V 152 Ooops. Back out changes to main.c from r235094. This change is specific to BeagleBone; I need to figure out how to generalize this before committing. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-05-06T16:41:27.013367Z K 7 svn:log V 43 Remove some hardcoded constants from code. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-05-06T17:31:29.880431Z K 7 svn:log V 407 Add device_get_busdma_tag() and device_set_busdma_tag() for 2 reasons: 1. It allows us to keep track of the tags that are being created for a device, and 2. It allows us to implement inheritance of constraints within newbus and without using bus_get_dma_tag() for now. These functions are in part the result of building busdma/mi alongside the existing bus_dma implementation. They may not stay. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-05-06T18:23:19.415961Z K 7 svn:log V 401 Implement busdma_tag_create(). This uses device_get_busdma_tag() and device_set_busdma_tag() to obtain newbus inherited constraints and to link the tag to the device. Bus inheritance should be a newbus KOBJ method so that devices/busses can control which of their tags is to be used as a base for inheritance. For now, this suffices. I don't want to have busdma/mi reach too deep or extend too wide. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-05-06T18:34:31.353270Z K 7 svn:log V 64 Add definition for the -z nodefaultlib flag. MFC after: 3 days END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2012-05-06T19:01:18.246184Z K 7 svn:log V 23 Fix r234821 mis-merge. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2012-05-06T19:03:36.901142Z K 7 svn:log V 19 OpenBSD 5.1 added. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-05-06T19:34:55.136696Z K 7 svn:log V 252 Add global option "MPT_USE_BUSDMA" to have mpt(4) use busdma/mi instead of bus_dma. mpt(4) is the SCSI controller driver under VMWare Fusion, which makes for a convenient prototyping environment. Hook up to busdma_tag_create(). Everything else fails. END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-05-06T20:26:22.181508Z K 7 svn:log V 631 MFC r233113: Hide kernel option ROUTETABLES evaluations in the implementation rather than the header file. With this also move RT_MAXFIBS and RT_NUMFIBS into the implemantion to avoid further usage in other code. rt_numfibs is all that should be needed. This allows users to change the number of FIBs from 1..RT_MAXFIBS(16) dynamically using the tunable without the need to change the kernel config for the maximum anymore. This means that the multi-FIB feature is now fully available with GENERIC kernels. The kernel option ROUTETABLES can still be used to set the default numbers of FIBs in absence of the tunable. END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-05-06T20:26:28.369269Z K 7 svn:log V 631 MFC r233113: Hide kernel option ROUTETABLES evaluations in the implementation rather than the header file. With this also move RT_MAXFIBS and RT_NUMFIBS into the implemantion to avoid further usage in other code. rt_numfibs is all that should be needed. This allows users to change the number of FIBs from 1..RT_MAXFIBS(16) dynamically using the tunable without the need to change the kernel config for the maximum anymore. This means that the multi-FIB feature is now fully available with GENERIC kernels. The kernel option ROUTETABLES can still be used to set the default numbers of FIBs in absence of the tunable. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-05-06T20:37:02.179417Z K 7 svn:log V 31 Implement busdma_tag_derive(). END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-05-06T20:40:18.729626Z K 7 svn:log V 177 Add the mpt_dma_tag_derive macro and use it when deriving from the parent tag. This will use busdma_tag_derive for busdma/mi and is identical to mpt_dma_tag_create for bus_dma. END K 10 svn:author V 4 stas K 8 svn:date V 27 2012-05-06T20:46:04.784508Z K 7 svn:log V 276 - Change kfd rc script to be more conformant with rcNG conventions: o change rcname to kfd; o move mandatory options to command_args; o add missing "shutdown" keyword; o fix require line. Kfd doesn't really need to be started before daemons. Suggested by: dougb END K 10 svn:author V 4 stas K 8 svn:date V 27 2012-05-06T21:05:58.036979Z K 7 svn:log V 52 - Document kfd(8) rc.conf variables in the manpage. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-05-06T22:26:47.887154Z K 7 svn:log V 36 Revert busdma_swi_pending to u_int. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-05-06T22:30:45.335165Z K 7 svn:log V 198 Add global option "ISP_USE_BUSDMA" to have isp(4) use busdma/mi instead of bus_dma. isp(4) is the SCSI controller driver for the SGI Altix 350. Enable the option for the ALTIX kernel configuration. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-05-06T22:36:10.782655Z K 7 svn:log V 145 Hook isp(4) up to busdma/mi is ISP_USE_BUSDMA is set. For now, only busdma_tag_create() and busdma_tag_derive() are used. Everything else fails. END K 10 svn:author V 4 bapt K 8 svn:date V 27 2012-05-06T22:50:07.081712Z K 7 svn:log V 432 MFC r234313 r234315 r234322 r234351 r234870 bootstrap tool for pkgng. it respects PACKAGESITE, PACKAGEROOT, and a new environment variable ABI (if a user want to use a different API from the base one for its packages) it has no man page on purpose to avoid hidding the pkg(8) man page from the pkgng package. for now uses pkgbeta.FreeBSD.org as default mirror to find its package it respects MK_PKGTOOLS Approved by: des (mentor) END K 10 svn:author V 7 dmarion K 8 svn:date V 27 2012-05-06T23:03:19.120896Z K 7 svn:log V 44 Fix cpsw driver on beaglebone after r234858 END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-05-06T23:17:07.095546Z K 7 svn:log V 179 The isp(4) driver derives a tag when maxsz is smaller than maxsegsz. Compensate for this behaviour to keep things simple. A segment size is equally bounded to the total DMA size. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-05-07T00:39:47.726110Z K 7 svn:log V 115 Create a tag to bound the address range. On the Altix, we only have 36-bits in a physical memory address per node. END K 10 svn:author V 4 stas K 8 svn:date V 27 2012-05-07T02:50:52.545971Z K 7 svn:log V 62 - Bump the manpage date after kfd addition. Reported by: gjb END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2012-05-07T04:15:46.319302Z K 7 svn:log V 162 Add a trivial driver for the GXemul Ethernet device. Probably quite buggy and certainly non-optimal, but enough for basic networking use. Requested by: rwatson END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2012-05-07T04:36:48.159586Z K 7 svn:log V 290 Add basic SMP support for GXemul. Ideally we would have some way to override some of the IPI mechanisms used by the common MIPS SMP code so we could use the multicast IPI facilities, on GXemul as well as on several real hardware platforms, and the ability to have multiple hard IPI types. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-05-07T04:56:26.415482Z K 7 svn:log V 205 Restore jumbo frame configuration which was broken in r218423. Submitted by: Andrey Zonov zonov dot org > (initial version) Tested by: Andrey Zonov zonov dot org > MFC after: 1 week END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-05-07T05:28:49.466717Z K 7 svn:log V 69 o Implement busdma_mem_alloc(). o Use M_NOWAIT to allocate tags. END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-05-07T07:04:41.842135Z K 7 svn:log V 1760 MFC: r225203 (partial) Attempt to make break-to-debugger and alternative break-to-debugger more accessible: (1) Always compile in support for breaking into the debugger if options KDB is present in the kernel. (2) Disable both by default, but allow them to be enabled via tunables and sysctls debug.kdb.break_to_debugger and debug.kdb.alt_break_to_debugger. (3) options BREAK_TO_DEBUGGER and options ALT_BREAK_TO_DEBUGGER continue to behave as before -- only now instead of compiling in break-to-debugger support, they change the default values of the above sysctls to enable those features by default. Current kernel configurations should, therefore, continue to behave as expected. (4) Migrate alternative break-to-debugger state machine logic out of individual device drivers into centralised KDB code. This has a number of upsides, but also one downside: it's now tricky to release sio spin locks when entering the debugger, so we don't. However, similar logic does not exist in other device drivers, including uart. (5) dcons requires some special handling; unlike other console types, it allows overriding KDB's own debugger selection, so we need a new interface to KDB to allow that to work. GENERIC kernels will now support break-to-debugger as long as appropriate boot/run-time options are set, which should improve the debuggability of kernels significantly. MFC: r225214 (partial) Follow up to r225203 refining break-to-debugger run-time configuration improvements: (1) Implement new model in previously missed at91 UART driver (2) Move BREAK_TO_DEBUGGER and ALT_BREAK_TO_DEBUGGER from opt_comconsole.h to opt_kdb.h (spotted by np) (3) Garbage collect now-unused opt_comconsole.h END K 10 svn:author V 3 jlh K 8 svn:date V 27 2012-05-07T09:00:30.831477Z K 7 svn:log V 224 Introduce the ${SHLIB_LDSCRIPT} variable to have an ld(1) script instead of a symlink for .so files. Reviewed by: kib, kan (previous version), dim Approved by: kib (mentor) Silence from: -hackers@ MFC after: 1 week END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-05-07T10:46:26.274696Z K 7 svn:log V 106 MFC r234832: Add support for missing gauth_number_of_chunks field. This Bug was found by Irene Ruengeler. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-05-07T10:50:26.868970Z K 7 svn:log V 70 MFC r234951: Fix another RFC 6458 issue. Spotted by Irene Ruengeler. END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-05-07T12:19:49.275780Z K 7 svn:log V 179 MFC r234131: Return EBADF instead of EMFILE from dup2 when the second argument is outside the range of valid file descriptors PR: kern/164970 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-05-07T12:20:26.824083Z K 7 svn:log V 179 MFC r234131: Return EBADF instead of EMFILE from dup2 when the second argument is outside the range of valid file descriptors PR: kern/164970 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-05-07T12:33:17.836740Z K 7 svn:log V 134 Undo MFC r234131: The kernel change can't be MFCed so undo the documentation MFC. PR: kern/164970 Approved by: cperciva (implicit) END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-05-07T14:07:13.227141Z K 7 svn:log V 96 Add missing LibUSB 1.0 API function: libusb_get_string_descriptor(). Reported by: Xiaofan Chen END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-05-07T15:03:42.001562Z K 7 svn:log V 109 zfsboottest.sh: gracefully handle default value of bootfs property Reported by: theraven MFC after: 10 days END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-05-07T15:06:07.330723Z K 7 svn:log V 149 zfsboottest.sh: correctly check and suggest value of vfs.root.mountfrom ... it was missing "zfs:" prefix. Reported by: theraven MFC after: 10 days END K 10 svn:author V 2 jh K 8 svn:date V 27 2012-05-07T15:30:53.615597Z K 7 svn:log V 261 MFC r234104: Apply changes from r233787 to ext2fs: - Use more natural ip->i_flags instead of vap->va_flags in the final flags check. - Style improvements. No functional change intended. MFC r234139: Restore the blank line incorrectly removed in r234104. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-05-07T15:41:31.043433Z K 7 svn:log V 138 Display dropped transmit packets in the daily network interface output. PR: conf/165956 Submitted by: Jeremy Chadwick MFC after: 1 week END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-05-07T17:13:36.652317Z K 7 svn:log V 468 Revert r234656, and apply a proper fix for binutils PR 10474, which caused linking clang on 32-bit PowerPC to fail with "relocation truncated to fit: R_PPC_REL24" errors. Original diffs (relicensed under GPLv2 with permission from author): http://sourceware.org/git/?p=binutils.git;a=commit;h=1fd262ff7d7ea5adf4894c6b960e092e7e43e3cd http://sourceware.org/git/?p=binutils.git;a=commit;h=053c49fbff58bd33bd0d12200ea61302f92caceb Tested by: andreast MFC after: 1 week END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-05-07T18:30:22.274630Z K 7 svn:log V 334 Re-enable this particular DELAY() for now, at least until the TX and RX PCU stop/drain routines have been thoroughly debugged. It's also very likely that I should add hooks back up to the interface glue (if_ath_pci / if_ath_ahb) to do any relevant bus flushes that are required. A WMAC DDR flush may be required for the AR9130 SoC. END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2012-05-07T19:17:09.554690Z K 7 svn:log V 203 MFC r235014: Rebuild fix and LBA calculation fix for ThunderBolt based cards. MFC r235016: Some style improvements. MFC r235040: Fix the returns in mfi_tbolt_sync_map_info that I added. PR: 167226 END K 10 svn:author V 3 jwd K 8 svn:date V 27 2012-05-08T03:39:44.953710Z K 7 svn:log V 131 Use the common api helper routine instead of freeing the namei buffer directly. Approved by: rmacklem (mentor) MFC after: 1 month END K 10 svn:author V 3 uqs K 8 svn:date V 27 2012-05-08T08:19:07.903545Z K 7 svn:log V 381 Sync traceroute(8) with head. Merges r215937,216184 and r211062,215880,220968: - Remove unused traceroute(8) contrib code from head - make WARNS=3 clean - fix an operator precedence bug for TCP tracerouting - Remove unneeded struct timezone passed to gettimeofday(). - Remove clause 3 and 4 from TNF licenses. - Check return code of setuid() in traceroute. Requested by: tuexen END K 10 svn:author V 3 ume K 8 svn:date V 27 2012-05-08T15:18:35.798208Z K 7 svn:log V 54 Add -a and -A option to the usage. MFC after: 1 week END K 10 svn:author V 3 jlh K 8 svn:date V 27 2012-05-08T16:36:32.649749Z K 7 svn:log V 598 MFC r234772: Import stdbuf(1) and the shared library it relies on. This tool changes the default buffering behaviour of standard stdio streams. It only works on dynamic binaries. To make it work for static ones it would require cluttering stdio because there no single entry point. PR: 166660 Reviewed by: current@, jhb Approved by: kib (mentor) MFC after: 1 week MFC r234773: Fix small documentation mistakes. Submitted by: brueffer Approved by: kib (mentor) MFC r234779: Use standard getopt(3) error message. Submitted by: jilles Approved by: kib (mentor) END K 10 svn:author V 3 gjb K 8 svn:date V 27 2012-05-08T18:56:21.805554Z K 7 svn:log V 103 General mdoc(7) and typo fixes. PR: 167713 Submitted by: Nobuyuki Koganemaru (kogane!jp.freebsd.org) END K 10 svn:author V 3 jlh K 8 svn:date V 27 2012-05-08T19:33:31.252097Z K 7 svn:log V 598 MFC r234772: Import stdbuf(1) and the shared library it relies on. This tool changes the default buffering behaviour of standard stdio streams. It only works on dynamic binaries. To make it work for static ones it would require cluttering stdio because there no single entry point. PR: 166660 Reviewed by: current@, jhb Approved by: kib (mentor) MFC after: 1 week MFC r234773: Fix small documentation mistakes. Submitted by: brueffer Approved by: kib (mentor) MFC r234779: Use standard getopt(3) error message. Submitted by: jilles Approved by: kib (mentor) END K 10 svn:author V 3 jlh K 8 svn:date V 27 2012-05-08T19:43:32.588044Z K 7 svn:log V 281 Always define LD_32_PRELOAD so it works for 32 bits binaries on 64 bits platforms. Let rtld(1) decide if it needs to honor it or not. While here, fix a small bug in error reporting when asprintf(3) returns an error. Submitted by: kib Reviewed by: kib (mentor) MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-05-08T19:47:52.776401Z K 7 svn:log V 89 Plug a leak. Submitted by: Greg Bednarek MFC after: 1 week END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2012-05-08T21:09:03.649779Z K 7 svn:log V 174 The DEVICE_POLLING dereference of sc->tsec_ifp needs to be checked for null first or this will panic. Condense three blocks that check sc->tsec_ifp into one while I am here. END K 10 svn:author V 7 davidch K 8 svn:date V 27 2012-05-08T22:38:46.868182Z K 7 svn:log V 111 - Rename sysctl "loose_rx_mtu" to "strict_rx_mtu" to match code usage. Submitted by: davidch MFC after: 1 day END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-05-09T00:56:08.500798Z K 7 svn:log V 136 Partial MFC r234935: Prefer the use of csup to cvsup when talking about the binary. PR: docs/167459 Approved by: cperciva (implicit) END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2012-05-09T00:56:11.603157Z K 7 svn:log V 172 Do not reinitialise the interface if it is already running, this prevents the bootp+nfs code from working as it calls init on each dhcp send and rx fails to start in time. END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-05-09T00:56:26.836818Z K 7 svn:log V 136 Partial MFC r234935: Prefer the use of csup to cvsup when talking about the binary. PR: docs/167459 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-05-09T00:56:51.370907Z K 7 svn:log V 128 MFC r234935: Prefer the use of csup to cvsup when talking about the binary. PR: docs/167459 Approved by: cperciva (implicit) END K 10 svn:author V 6 brooks K 8 svn:date V 27 2012-05-09T01:37:48.771333Z K 7 svn:log V 89 The DDB_CTF has little or nothing to do with the debugger so move it next KDTRACE_HOOKS. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-05-09T01:55:23.601124Z K 7 svn:log V 1076 Implement basic remote PHY support. Remote PHY allows the controller to perform MDIO type accesses to a remote transceiver using message pages defined through MRBE(multirate backplane ethernet). It's used in blade systems(e.g Dell Blade m610) which are connected to pass-through blades rather than traditional switches. This change directly manipulates firmware's mailboxes to control remote PHY such that it does not use mii(4). Alternatively, as David said, it could be implemented in brgphy(4) by creating a fake PHY and let brgphy(4) do necessary mii accesses and bce(4) can implement mailbox accesses based on the type of brgphy(4)'s mii accesses. Personally, I think it would make brgphy(4) hard to maintain since it would have to access many bce(4) registers in brgphy(4). Given that there are users who are suffering from lack of remote PHY support, it would be better to get working system rather than waiting for complete/perfect implementation. Tested by: Jan Winter ( jan.winter <> kantarmedia dot de ) Reviewed by: davidch (initial version) MFC after: 2 weeks END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-05-09T04:54:50.758431Z K 7 svn:log V 159 Make is part of the bootstrap path, so we need to guard against this not being defined. Otherwise we don't make a new make when the old make is incompatible. END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-05-09T07:55:42.700900Z K 7 svn:log V 41 sys/boot: add common CTASSERT definition END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-05-09T08:04:29.847128Z K 7 svn:log V 483 btxldr: future-proof argument passing from boot1/2-ish to loader Place the arguments at a fixed offset of 0x800 withing the argument area (of size 0x1000). Allow variable size extended arguments first of which should be a size of the extended arguments (including the size parameter). Consolidate all related definitions in a new i386/common/bootargs.h header. Many thanks to jhb and bde for their guidance and reviews. Reviewed by: jhb, bde Approved by: jhb MFC after: 1 month END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-05-09T08:05:50.652933Z K 7 svn:log V 63 i386 boot: consolidate MAXBDDEV definition MFC after: 1 month END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-05-09T08:07:08.007645Z K 7 svn:log V 111 i386 zfsloader: rename LIBZFS to LIBZFSBOOT ... to avoid name clash with the other libzfs MFC after: 1 month END K 10 svn:author V 3 pho K 8 svn:date V 27 2012-05-09T08:18:22.046516Z K 7 svn:log V 513 MFC: r234932 Added D_TRACKCLOSE to sndstat_cdevsw to fix the situation when another process is in open() or stat() for the device node, then close() from the owning process does not result in cdevsw close method call. This fixes the pemanent "Device busy" seen. Changed the sndstat_lock from mutex to sx. This allows to extend the region covered by the lock, to include the uiomove() call in sndstat_read() and bufptr increment. This fixes the "panic: sbuf_put_byte called with finished or corrupt sbuf" seen. END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-05-09T08:23:24.285597Z K 7 svn:log V 64 r235154 followup: add stddef.h for offsetof MFC after: 1 month END K 10 svn:author V 4 gber K 8 svn:date V 27 2012-05-09T08:46:43.906631Z K 7 svn:log V 12 IFC @235156 END K 10 svn:author V 3 pho K 8 svn:date V 27 2012-05-09T10:05:02.473036Z K 7 svn:log V 513 MFC: r234932 Added D_TRACKCLOSE to sndstat_cdevsw to fix the situation when another process is in open() or stat() for the device node, then close() from the owning process does not result in cdevsw close method call. This fixes the pemanent "Device busy" seen. Changed the sndstat_lock from mutex to sx. This allows to extend the region covered by the lock, to include the uiomove() call in sndstat_read() and bufptr increment. This fixes the "panic: sbuf_put_byte called with finished or corrupt sbuf" seen. END K 10 svn:author V 3 pho K 8 svn:date V 27 2012-05-09T10:48:40.145257Z K 7 svn:log V 35 Added regression test for sndstat. END K 10 svn:author V 5 jceel K 8 svn:date V 27 2012-05-09T11:01:39.437965Z K 7 svn:log V 289 Initial LPC32x0 support. Includes DTS file for Embedded Artists EA3250 board. Peripherals currently supported: - Serial ports - Interrupt controller - Timers - Ethernet - USB host - Framebuffer (in conjunction with SSD1289 LCD controller) - RTC - SPI - GPIO Approved by: cognet (mentor) END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-05-09T13:08:26.045234Z K 7 svn:log V 136 MFC r234701: Fix a bug in the TCP tracerouting which resulted in not accepting any incoming packets. So all packets seemed to be lost. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-05-09T13:42:52.936895Z K 7 svn:log V 72 MFC r234995: Use SCTP_PRINTF() instead of printf() in all SCTP sources. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-05-09T13:47:21.049413Z K 7 svn:log V 49 MFC r234996: Call panic() only under INVARIANTS. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-05-09T13:52:24.008505Z K 7 svn:log V 34 MFC r234997: Remove debug output. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-05-09T13:57:11.748127Z K 7 svn:log V 144 MFC r235009: Add support for SCTP_STREAM_CHANGE_EVENT, SCTP_ASSOC_RESET_EVENT as required by RFC 6525. This also fixes SCTP_STREAM_RESET_EVENT. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-05-09T14:00:58.010390Z K 7 svn:log V 128 MFC r235021: Add support for the SCTP_ENABLE_STREAM_RESET socket option to getsockopt(). This improves the support of RFC 6525. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-05-09T14:03:50.127018Z K 7 svn:log V 139 MFC r235057: Do error checking for the SCTP_RESET_STREAMS, SCTP_RESET_ASSOC, and SCTP_ADD_STREAMS socket options as specified by RFC 6525. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-05-09T14:07:12.438268Z K 7 svn:log V 178 MFC r235064: Honor SCTP_ENABLE_STREAM_RESET socket option when processing incoming requests. Fix also the provided result in the response and use names as specified in RFC 6525. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-05-09T14:12:08.242584Z K 7 svn:log V 106 MFC r235066: Provide the flags in the SCTP stream reconfig related notification as specified in RFC 6525. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-05-09T14:15:59.447807Z K 7 svn:log V 77 MFC r235075: Add support for SCTP_SEND_FAILED_EVENT as required by RFC 6458. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-05-09T14:19:06.819712Z K 7 svn:log V 32 MFC r235077: Remove debug code. END K 10 svn:author V 4 gber K 8 svn:date V 27 2012-05-09T14:24:39.605288Z K 7 svn:log V 105 nandfs: man pages style fix Obtained from: Semihalf Supported by: FreeBSD Foundation, Juniper Networks END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-05-09T14:25:15.171749Z K 7 svn:log V 101 MFC r235081: Add support for the sac_info field in struct sctp_assoc_change as required by RFC 6458. END