ĦJ207369 160 984 149 448 250 369 506 431 127 153 363 1028 797 155 164 204 666 666 186 186 133 192 404 163 120 159 130 111 123 1121 129 261 161 128 159 204 132 204 595 170 130 273 520 636 144 185 129 237 222 408 238 151 156 432 1624 132 147 153 140 301 209 165 242 166 118 593 371 227 180 517 144 563 555 221 587 1692 179 227 247 144 296 821 231 182 174 562 159 561 240 125 850 168 316 354 234 188 532 412 180 142 317 275 142 275 1048 145 190 176 156 560 236 1450 221 337 418 293 598 463 170 325 227 602 277 1262 791 887 283 140 141 256 166 434 183 395 197 218 355 140 223 156 159 355 395 139 263 185 386 579 467 331 467 508 211 211 302 302 178 178 547 547 578 K 10 svn:author V 2 bz K 8 svn:date V 27 2010-04-29T11:52:42.161658Z K 7 svn:log V 892 MFP4: @176978-176982, 176984, 176990-176994, 177441 "Whitspace" churn after the VIMAGE/VNET whirls. Remove the need for some "init" functions within the network stack, like pim6_init(), icmp_init() or significantly shorten others like ip6_init() and nd6_init(), using static initialization again where possible and formerly missed. Move (most) variables back to the place they used to be before the container structs and VIMAGE_GLOABLS (before r185088) and try to reduce the diff to stable/7 and earlier as good as possible, to help out-of-tree consumers to update from 6.x or 7.x to 8 or 9. This also removes some header file pollution for putatively static global variables. Revert VIMAGE specific changes in ipfilter::ip_auth.c, that are no longer needed. Reviewed by: jhb Discussed with: rwatson Sponsored by: The FreeBSD Foundation Sponsored by: CK Software GmbH MFC after: 6 days END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-04-29T15:19:11.239809Z K 7 svn:log V 54 Decrement rxa_pad due to the addition of rxa_private. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-04-29T15:36:32.781100Z K 7 svn:log V 355 Fix a problem where hastd will stuck in recv(2) after sending request to secondary, which died between send(2) and recv(2). Do it by adding timeout to recv(2) for primary incoming and outgoing sockets and secondary outgoing socket. Reported by: Mikolaj Golub Tested by: Mikolaj Golub MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-04-29T15:42:24.197485Z K 7 svn:log V 157 - Check if the worker process was killed by signal and restart it. - Improve logging. Pointed out by: Garrett Cooper MFC after: 3 days END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-04-29T15:47:31.315756Z K 7 svn:log V 276 MFamd64/i386 r207205 Clearing a page table entry's accessed bit and setting the page's PG_REFERENCED flag in pmap_protect() can't really be justified, so don't do it. Moreover, on ia64, don't set the page's dirty field unless pmap_protect() is removing write access. END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-04-29T16:18:45.254675Z K 7 svn:log V 413 Simplify the inner loop of vm_pageout_object_deactivate_pages(). Rather than checking each page for PG_UNMANAGED, check the vm object's type. Only OBJT_PHYS can have unmanaged pages. Eliminate a pointless counter. The vm object is locked, that lock is never released by the inner loop, and the set of pages contained by the vm object is not changed by the inner loop. Therefore, the counter serves no purpose. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-04-29T17:28:07.434289Z K 7 svn:log V 334 Preserve unknown bits of RX MAC control register when driver programs RX filter configuration. It seems RX MAC control register is one of key registers to get various offloading features as well as performance. Blindly clearing unrelated bits can result in unexpected results. Tested by: xclin cs dot nctu dot edu dot tw > END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-04-29T17:30:21.634295Z K 7 svn:log V 31 Remove wrong link state chage. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-04-29T17:34:01.772540Z K 7 svn:log V 57 Explicitly marks SiS190 to differentiate it from SiS191. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-04-29T17:51:06.459897Z K 7 svn:log V 266 Please welcome Martin Matuska (mm@) to src/ committer's rank. I'll be his mentor. Martin have some in-progress ZFS work that is intended for MFC to -STABLE branches. Being working on ZFS with Pawel and me for a while, he got the usual charge. Approved by: core@ END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-04-29T18:00:42.362544Z K 7 svn:log V 931 Enable FCS stripping and padding 10 bytes bit of RX MAC control register. Due to lack of SiS190 controller, I'm not sure whether this is also applicable to SiS190 so this feature is only activated on SiS191 controller. The controller can pad 10 bytes before DMAing a received frame to RX buffer and received bytes include the padded bytes. This padding is very useful on strict-alignment architectures because driver does not have to copy received frame to align IP header on 4 bytes boundary. It also gives better RX performance on non-strict alignment architectures. Special thanks to xclin to give me valuable register information. Without his enthusiastic trial and errors this wouldn't be even possible. While I'm here tighten validity check of received frame. Controller clears RDS_CRCOK bit when it received bad CRC frames. xclin found that using loop back testing. Tested by: xclin cs dot nctu dot edu dot tw > END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-04-29T18:14:14.385463Z K 7 svn:log V 700 Enable VLAN hardware tag insertion/stripping. Due to lack of SiS190 controller, I'm not sure whether this is also applicable to SiS190 so this feature is only activated on SiS191 controller. In theory, controller reinitialization is not needed when VLAN tag configuration is changed, but xclin said controller was not stable whenever toggling VLAN tag bit. To address that, sge(4) reinitialize controller for VLAN configuration which seems to work as expected. VLAN tag information for TX/RX descriptor and configure bit of RxMacControl register was found by xclin. Submitted by: xclin cs dot nctu dot edu dot tw > (initial version) Tested by: xclin cs dot nctu dot edu dot tw > END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-04-29T18:21:27.370984Z K 7 svn:log V 59 Now sge(4) supports hardware VLAN tag insertion/stripping. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-04-29T18:32:14.047149Z K 7 svn:log V 68 bwn(4) will first appear in FreeBSD 8.1-RELEASE. MFC after: 1 week END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-04-29T18:37:56.395960Z K 7 svn:log V 107 Add FreeBSD 8.1 to known list as it's being referenced by a couple of manpages already. MFC after: 3 days END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2010-04-29T19:06:43.134528Z K 7 svn:log V 570 This is an MFC of 205847 Change how multipath labels are created and managed. This makes it easier to support various storage boxes which really aren't active-active. We only write the label on the *first* provider. For all other providers we just "add" the disk. This also allows for an "add" verb. A usage implication is that you should specificy the currently active storage path as the first provider. Note that this does not add RDAC-like functionality, but better allows for autovolumefailover configurations (additional checkins elsewhere will support this). END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2010-04-29T19:07:58.821303Z K 7 svn:log V 570 This is an MFC of 205847 Change how multipath labels are created and managed. This makes it easier to support various storage boxes which really aren't active-active. We only write the label on the *first* provider. For all other providers we just "add" the disk. This also allows for an "add" verb. A usage implication is that you should specificy the currently active storage path as the first provider. Note that this does not add RDAC-like functionality, but better allows for autovolumefailover configurations (additional checkins elsewhere will support this). END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2010-04-29T19:11:25.737363Z K 7 svn:log V 91 This is an MFC of 205932. nit: xpt_bus_deregister has to be called with the sim lock held. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2010-04-29T19:13:42.017564Z K 7 svn:log V 91 This is an MFC of 205932. nit: xpt_bus_deregister has to be called with the sim lock held. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2010-04-29T20:08:49.023770Z K 7 svn:log V 39 hold page lock when doing vm_page_hold END K 10 svn:author V 6 philip K 8 svn:date V 27 2010-04-29T21:22:21.157032Z K 7 svn:log V 97 Take bushman's commit bit into safekeeping per his request (a while ago now). Approved by: core END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-04-29T21:55:20.775567Z K 7 svn:log V 311 Default connection timeout is way too long. To make it shorter we have to make socket non-blocking, connect() and if we get EINPROGRESS, we have to wait using select(). Very complex, but I know no other way to define connection timeout for a given socket. Reported by: hiroshi@soupacific.com MFC after: 3 days END K 10 svn:author V 7 davidch K 8 svn:date V 27 2010-04-29T22:00:57.380354Z K 7 svn:log V 67 - Pass flow control settings back to bce(4). MFC after: Two weeks END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-04-29T22:03:09.687877Z K 7 svn:log V 23 Remove unused include. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2010-04-29T22:13:27.380712Z K 7 svn:log V 65 - define PDRSHIFT for !x86 - add page lock assert in dirty check END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2010-04-29T22:16:08.391416Z K 7 svn:log V 36 PMAP_LOCK_ASSERT not always defined END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2010-04-29T22:24:52.337877Z K 7 svn:log V 17 add retry target END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2010-04-29T22:30:59.943051Z K 7 svn:log V 29 pmap argument is pm not pmap END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2010-04-29T22:40:12.380030Z K 7 svn:log V 1023 MFC r207020, r207027, r207072. Change usb devd events from fake attach to a notify. The ugen device is not a proper device_t so it faked the devctl event to appear like one, this is now a notify which allows more information to be passed. We notify for both the device attach/detach and for each usb interface. A devd rule can now match on the interface properties, including composite devices which may have a uvideo interface and also usound and possibly uhid too. An example to match a umass device with a scsi subclass and BBB protocol would be notify 100 { match "system" "USB"; match "subsystem" "INTERFACE"; match "type" "ATTACH"; match "intclass" "0x08"; match "intsubclass" "0x06"; match "intprotocol" "0x50"; action ... }; The old attach devctl event has been retained for the moment to make merging to 8.1 easier. This was never compatible with 7.x or earlier due to the ugen regex change needed. Document the new USB notification types. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2010-04-29T22:42:18.997509Z K 7 svn:log V 35 add page lock hold support to ia64 END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2010-04-29T22:44:04.983538Z K 7 svn:log V 164 MFC r207077 Change USB_DEBUG to #ifdef and allow it to be turned off. Previously this had the illusion of a tunable setting but was always turned on regardless. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2010-04-29T22:47:01.563135Z K 7 svn:log V 65 MFC r207078 Use SX_DUPOK rather than making the string unique. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2010-04-29T22:48:16.716055Z K 7 svn:log V 34 add gen_count and retries to pmap END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2010-04-29T22:48:19.888289Z K 7 svn:log V 63 MFC r207079 Properly name the sxlocks, mutexes and condvars. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2010-04-29T22:49:21.035915Z K 7 svn:log V 107 MFC r207080 Use a more obvious prefix for the USB control (endpoint 0) transfers rather than default_*. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2010-04-29T22:51:18.713193Z K 7 svn:log V 36 usb_controller.c requires opt_ddb.h END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-04-29T23:22:38.684043Z K 7 svn:log V 106 Checkpoint trivial IO port and memory allocation/mapping. Just enough to do some mapping and then panic. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2010-04-29T23:48:09.158696Z K 7 svn:log V 497 MFC: r207082 When the experimental NFS client is handling an NFSv4 server reboot with delegations enabled, the recovery could fail if the renew thread is trying to return a delegation, since it will not do the recovery. This patch fixes the above by having nfscl_recalldeleg() fail with the I/O operations returning EIO, so that they will be attempted later. Most of the patch consists of adding an argument to various functions to indicate the delegation recall case where this needs to be done. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-04-30T00:06:49.785331Z K 7 svn:log V 73 Actually initialize the IRQ rman, even though I'm not populating it yet. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2010-04-30T00:30:29.195766Z K 7 svn:log V 36 convert xen's pmap_extract_and_hold END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-04-30T00:34:00.326476Z K 7 svn:log V 176 Both RX_GMF_LP_THR and RX_GMF_UP_THR must be 16 bits register. If it is 8bits register then RX FIFO size can't exceed 2KB which is not true for almost all Yukon II controller. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2010-04-30T00:46:43.455510Z K 7 svn:log V 425 On Alan's advice, rather than do a wholesale conversion on a single architecture from page queue lock to a hashed array of page locks (based on a patch by Jeff Roberson), I've implemented page lock support in the MI code and have only moved vm_page's hold_count out from under page queue mutex to page lock. This changes pmap_extract_and_hold on all pmaps. Supported by: Bitgravity Inc. Discussed with: alc, jeffr, and kib END K 10 svn:author V 7 davidch K 8 svn:date V 27 2010-04-30T02:35:46.973185Z K 7 svn:log V 539 - Enable flow control. - Print device details only when verbose boot is enabled. - Add debug output for shared memory access. - Add debug statistics (checksum offload & VLAN frame counters). - Modify TX path to update consumer index for each frame completed rather than updating the consumer index only once for a group of frames to improve small packet performance. - Print driver/firmware pulse messages only when verbose boot is enabled. - Add debug sysctl to clear statistics. - Fix more style(9) violations. MFC after: 2 weeks END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2010-04-30T02:46:49.481133Z K 7 svn:log V 50 don't allow unsynchronized free in vm_page_unhold END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-04-30T03:04:09.323510Z K 7 svn:log V 88 Set up interrupt routing for Lanner boards. This brings us to our next exciting crash. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-04-30T03:06:53.284366Z K 7 svn:log V 32 Also adjust mapping for slot 9. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2010-04-30T03:10:53.561341Z K 7 svn:log V 141 Do not set IO_NODELOCKED while writing to vnodes as our consumers do not lock the vnodes. Obtained from: Juniper Networks Reviewed by: jhb END K 10 svn:author V 6 alfred K 8 svn:date V 27 2010-04-30T03:13:24.754532Z K 7 svn:log V 126 Don't leak core_buf or gzfile if doing a compressed core file and we hit an error condition. Obtained from: Juniper Networks END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-04-30T03:14:47.546991Z K 7 svn:log V 310 Use the right bus overrides for the generic bus space until I can be bothered to put an Octeon-specific one in place. We need to be able to access 64-bit addresses via bus_space, but we don't need to do everything with 64-bit accesses. That's just the uart code, which seems to use its own bus space anyway. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2010-04-30T03:15:00.415534Z K 7 svn:log V 142 Avoid allocating MAXHOSTNAMELEN bytes on the stack in expand_name(), use the heap instead. Obtained from: Juniper Networks Reviewed by: jhb END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2010-04-30T03:26:12.022902Z K 7 svn:log V 57 merge 194209 in to the i386/xen pmap requested by: alc@ END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-04-30T03:35:05.894249Z K 7 svn:log V 59 Add start address to base address when setting bus handle. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-04-30T04:21:22.446761Z K 7 svn:log V 338 - Use the path to the filesystem mountpoint to look up the statfs structure so that we correctly reload. Note that tunefs doesn't properly detect the need to reload if the disk device is specified for a read-only mounted filesystem. - Lessen the contiguity requirement for the journal so that it is more likely to succeed. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-04-30T05:44:54.077639Z K 7 svn:log V 1522 Mega-patch to support last-generation PCI-Express-based PowerMacs. This accomplishes several things, and, after appropriate review, will be split into several corresponding patches before being committed to HEAD. - Add multiple cascaded PIC support. This is required to support devices attached to the U3 PIC on previous Powermac G5s, and should simplify ISA IRQ attachment on PowerPC systems with ISA buses (untested). This requires changes in the use of the OFW interrupt map lookup code, and so also affects sparc64. - Connect the I2C bus and OpenPIC in the U3/U4 northbridge. This portion of the patch was contributed by Andreas Tobler. - Split the Uninorth support into two files: one for Uninorth's PCI bits and one for the Uninorth system controller bits. Most of this work is also due to Andreas Tobler. - Rewrite cpcht(4) completely in order to expose directly the underlying HT bridge and many PCI bridges it has internally. This allows direct access to the IO-APIC in the midbridge. - Coordinate the U4 PIC's interrupt setup with the remote IO-APIC in the HT2000 south bridge. Current status on PowerMac 11,2 is that it will boot multiuser SMP over the network. cpufreq(4) is a bit dodgy, and USB, SATA, and SMU are non-functional. It is possible that the USB and SATA problems are artifacts of the cpcht rewrite and so the brokenness may have propagated to all other G5 systems. Users of this branch should upgrade with caution. Thanks to Andreas Tobler and Justin Hibbits for code and experimentation. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2010-04-30T06:31:38.359902Z K 7 svn:log V 38 delete branch to make way for refresh END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2010-04-30T06:32:37.066503Z K 7 svn:log V 53 new branch for merging incremental page lock support END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2010-04-30T06:43:35.900904Z K 7 svn:log V 59 Peel the page queue mutex away from vm_page_{wire, unwire} END K 10 svn:author V 5 trasz K 8 svn:date V 27 2010-04-30T07:09:13.156734Z K 7 svn:log V 46 Avoid undefined behaviour. Reviewed by: zec@ END K 10 svn:author V 2 mm K 8 svn:date V 27 2010-04-30T07:48:29.368579Z K 7 svn:log V 209 Fix improper pool write throughput calculation. OpenSolaris onnv revision: 9366:17553395a745 PR: kern/146108 Approved by: pjd, delphij (mentor) Obtained from: OpenSolaris, Bug ID 6817339 MFC after: 2 weeks END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-04-30T07:56:21.493591Z K 7 svn:log V 116 Report PMP absence using target 15, same as for precence (not a wildcard), to not confuse target ID checks at SIMs. END K 10 svn:author V 5 wilko K 8 svn:date V 27 2010-04-30T08:02:08.077596Z K 7 svn:log V 71 Update email address for commit messages Approved by: core (well, me) END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-04-30T08:02:12.887786Z K 7 svn:log V 149 Add Target/LUN ID checks and deny access to targets 1-14 when PMP absent. Enforce PMA bit clearing when PMP detached to avoid further scan timeouts. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-04-30T08:22:47.706561Z K 7 svn:log V 74 Add Target/LUN ID checks and deny access to targets 1-14 when PMP absent. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-04-30T08:37:00.886139Z K 7 svn:log V 26 Add Target/LUN ID checks. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-04-30T08:57:03.783403Z K 7 svn:log V 500 Revert r198705. As scottl@ noticed, max_target/max_lun was intended to be only a hint for existing bus scanner. Some FC/SAS SIMs report fake values there, that are smaller then maximum supported IDs. In that case this check makes impossible manual scan outside hinted range. For ATA/SATA SIMs respective check was instead implemented at SIM level. Newer SCSI SIMs expected to have these checks at driver or firmware level. Some older SCSI SIMs have no this check and the issues will get back there. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-04-30T13:43:20.385021Z K 7 svn:log V 270 Fix SATA on PowerMac 11,2 by disabling interrupt configuration in the remote IO-APIC so it does get set to edge triggered, which was a hack to deal with the (similar) way the K2 OpenPIC was connected to HT interrupts in earlier pure HT1000 systems. USB is still borked. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-04-30T13:54:18.178598Z K 7 svn:log V 126 On SMP G5 systems, sometimes the power-mode-data property is only found on CPU 0. This fixes cpufreq attach on PowerMac 11,2. END K 10 svn:author V 6 philip K 8 svn:date V 27 2010-04-30T15:12:30.075353Z K 7 svn:log V 85 Fix typo in usage message. Add -n to the list of valid arguments. MFC after: 1 day END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-04-30T15:22:52.093613Z K 7 svn:log V 424 MFamd64/i386 r207205 Clearing a page table entry's accessed bit and setting the page's PG_REFERENCED flag in pmap_protect() can't really be justified, so don't do it. Additionally, two changes that make this pmap behave like the others do: Change pmap_protect() such that it calls vm_page_dirty() only if the page is managed. Change pmap_remove_write() such that it doesn't clear a page table entry's accessed bit. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-04-30T16:20:14.114362Z K 7 svn:log V 52 Unlock page lock instead of recursively locking it. END K 10 svn:author V 3 zml K 8 svn:date V 27 2010-04-30T16:29:05.610305Z K 7 svn:log V 470 Handle taskqueue_drain(9) correctly on a threaded taskqueue: taskqueue_drain(9) will not correctly detect whether a task is currently running. The check is against a field in the taskqueue struct, but for a threaded queue with more than one thread, multiple threads can simultaneously be running a task, thus stomping over the tq_running field. Submitted by: Matthew Fleming Reviewed by: jhb Approved by: dfr (mentor) END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-04-30T17:08:27.942071Z K 7 svn:log V 457 MFC r206763-206767: r206763: Fix comment about ipw_assoc and remove some whitespaces; no functional changes. r206764: Pass correct RSSI to ieee80211_input*(). r206765: - Make ipw usable again by moving directly into ASSOC state. - No need to manually switch to RUN state, assoc response takes care of that. r206766: Use iv_appie_wpa, with this commit WPA works again. r206767: Remove IPW_LOCK_DECL and fix various LORs. Approved by: rpaulo (mentor) END K 10 svn:author V 3 rrs K 8 svn:date V 27 2010-04-30T17:12:20.437889Z K 7 svn:log V 128 Bug in the memory mapping module. The wrong physaddr was being used in the macro (1 should be used not 2)... Obtained from: JC END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-04-30T18:04:46.412659Z K 7 svn:log V 490 Disable non-ASF packet flushing on Yukon Extreme as vendor's driver does. Without this change, Yukon Extreme seems to generate lots of RX FIFO overruns even though controller has available RX buffers. These excessive RX FIFO overruns generated lots of pause frames which in turn killed devices plugged into switch. It seems there is still occasional RX frame corruption on Yukon Extreme but this change seems to fix the pause frame storm. Reported by: jhb Tested by: jhb MFC after: 5 days END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-04-30T18:13:11.976131Z K 7 svn:log V 1593 MFC r206443-206446, 206474-206477, 207001 r206443: Small whitespace cleanup. r206444 [1]: - Rename bluetooth coexistence flags, no binary change. - Enable DC calibration and crystal calibration on Centrino Advanced-N 6250 parts. - Workaround for a HW bug (does not affect 4965AGN) that may sporadically affect latency under some rare circumstances. From a similar commit to iwlwifi. - Update sensitivity settings for 5000 series to workaround a performance bug in the DSP (1000 is not affected so we keep the old values for 5000). - Update sensitivity settings for 6000 series. - Set differential gains on 6250 too (but use a 1.0 factor, not 1.5). - Init OFDM sensitivity with min value (which depends on the chip) instead of hardcoding it to 90. - Read calibration version from ROM and set IWN_GP_DRIVER_CALIB_VER6 bit on 6x50 if version >= 6. r206445 [2]: iwn4965_set_txpower() uses maxpwr from EEPROM to calculate the power to set, it make sense to actually initialize that array. This fixes some issues with 4965 adapters where the TX power is crucial. This got lost somewhere while merging with the OpenBSD code. r206446: Update firmware for the 6000 series Intel cards to version 9.193.4.1. r206474: Add some missing protoypes. r206475: iwn5000_reset_sched() is not used; #ifdef it. r206476: Hook ieee80211_media_change() to ieee80211_vap_attach(). r206477: Declare all functions as static. r207001 [3]: Use correct bus_dma_tag_t for TX frames. Approved by: rpaulo (mentor) Obtained from: Openbsd [1], [2] Reported by: Andreas Nilsson [3] END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-04-30T18:39:07.972052Z K 7 svn:log V 82 Remove 2 empty files, leftovers from previous MFCs. Approved by: rpaulo (mentor) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-04-30T18:58:55.069382Z K 7 svn:log V 130 Add basic support for Marvell 88E8059 Yukon Optima. Tested by: James LaLagna < jameslalagna <> gmail dot com > MFC after: 5 days END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-04-30T19:01:55.540685Z K 7 svn:log V 150 Add Marvell PHYG65G Gigabit PHY which is found on 88E8059 Yukon Optima. Tested by: James LaLagna < jameslalagna <> gmail dot com > MFC after: 5 days END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-04-30T19:05:01.425559Z K 7 svn:log V 48 Marvell 88E8059(Yukon Optima) is now supported. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2010-04-30T19:40:37.145196Z K 7 svn:log V 201 - don't check hold_count without the page lock held - don't leak the page lock if m->object is NULL (assuming that that check will in fact even be valid when m->object is protected by the page lock) END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-04-30T19:52:35.731513Z K 7 svn:log V 725 telnet: Fix infinite loop if local output generates SIGPIPE. Instead of catching SIGPIPE and jumping out of the signal handler with longjmp, ignore it and handle write errors to the local output by exiting from there. I have changed the error message to mention the local output instead of NetBSD's wrong "Connection closed by foreign host". Write errors to the network were already handled by exiting immediately and this now applies to EPIPE too. The code assumed that SIGPIPE could only be generated by the network connection; if it was generated by the local output, it would longjmp out of the signal handler and write an error message which caused another SIGPIPE. PR: 19773 Obtained from: NetBSD MFC after: 1 week END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2010-04-30T21:20:14.718558Z K 7 svn:log V 136 - acquire the page lock in vm_contig_launder_page before checking page fields - release page queue lock before calling vm_pageout_flush END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2010-04-30T21:21:21.320744Z K 7 svn:log V 88 don't call vm_pageout_flush with the page queue mutex held Reported by: Michael Butler END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2010-04-30T22:31:37.779705Z K 7 svn:log V 80 push up dropping of the page queue lock to avoid holding it in vm_pageout_flush END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-04-30T22:33:49.184135Z K 7 svn:log V 470 Remove WNOHANG flag from wait3(). Because script(1) now reliably terminates when the TTY is closed, it may be the case that the call to wait3() occurs just before the child process exits. This causes error codes to be ignored. Just change script(1) to use waitpid() instead of wait3(). This makes it more portable and prevents the need for a loop, since waitpid() only returns a specified process. PR: bin/146189 Tested by: amdmi3@, older version MFC after: 2 weeks END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-05-01T00:36:40.491168Z K 7 svn:log V 66 Do not initialize mutex and return error if it cannot map memory. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2010-05-01T00:50:51.165179Z K 7 svn:log V 463 MFC: r207170 An NFSv4 server will reply NFSERR_GRACE for non-recovery RPCs during the grace period after startup. This grace period must be at least the lease duration, which is typically 1-2 minutes. It seems prudent for the experimental NFS client to wait a few seconds before retrying such an RPC, so that the server isn't flooded with non-recovery RPCs during recovery. This patch adds an argument to nfs_catnap() to implement a 5 second delay for this case. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-05-01T01:05:07.146891Z K 7 svn:log V 146 Reduce MD code further. At least, it compiles on ia64 now (but it is not connected to build). The idea/code was shamelessly taken from r207329. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-05-01T01:56:33.577712Z K 7 svn:log V 28 Fix PMAP_LMEM_MAP2, per JC. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-05-01T02:49:16.005748Z K 7 svn:log V 755 Expand on an idea provided by mandree@ to use 'pkg_version -I' to quickly check what ports are out of date, and incorporate that check into the --index option. Feedback from users seems to indicate that this is what they expected the option did anyway, so the minor change to the feature does not seem to be a POLA violation, especially since INDEX support is still relatively new. Add the --index-first option to do what --index used to do in case anyone cares. Add a bunch more error checking for incompatible command line options. Add a new cross_idx() to handle checking the 3 --index* options and consolidate some of the old tests that were all relative to -G. We want to test the .bz2 version of INDEX to see if it's newer, and unzip it if it is. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-05-01T02:53:43.802187Z K 7 svn:log V 74 Document the new working of the --index option, and the new --index-first END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2010-05-01T03:41:21.967194Z K 7 svn:log V 221 Update locking comment above vm_page: - re-assign page queue lock "Q" - assign page lock "P" - update several uncommented fields - observe that hold_count is now protected by the page lock "P" END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-05-01T07:25:28.277663Z K 7 svn:log V 261 sparc64, and possibly other architectures, pads the length of the section holding the config file to sh_addralign bytes using NULs. This bogusly triggers an assert. Break out of the loop when we hit an NUL within that many bytes of the end. MFC after: 3 days END K 10 svn:author V 5 edwin K 8 svn:date V 27 2010-05-01T09:05:06.333050Z K 7 svn:log V 139 Improve usage of tunefs: Document -j switch in usage() to reflect recent SUJ work. Submitted by: Alastair Hogge MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-05-01T13:15:35.067524Z K 7 svn:log V 96 Remove debugging code that was not used once since commit. Suggested by: bde MFC after: 1 week END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-05-01T14:29:33.468241Z K 7 svn:log V 436 MFC r206773: ln: Do not delete a file by hardlinking it to itself. Two pathnames refer to the same directory entry iff the directories match and the final components' names match. Example: (assuming file1 is an existing file) ln -f file1 file1 This now fails while leaving file1 intact. It used to delete file1 and then complain it cannot be linked because it is gone. With -i, this error is detected before the question is asked. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-05-01T14:33:26.192399Z K 7 svn:log V 316 MFC r207021: ln: Allow a trailing slash when creating a link to a directory. In the 'ln source... directory' synopsis, the basename of each source determines the name of the created link. Determine this using basename(3) instead of strrchr(..., '/') which is incorrect if the pathname ends in a slash. PR: 121568 END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-05-01T14:36:04.775747Z K 7 svn:log V 85 MFC r207153: stat: Allow -f %Sf to display the file flags symbolically. PR: 124349 END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-05-01T14:41:37.067911Z K 7 svn:log V 47 MFC r207166: builtin(1): Mention [ sh builtin. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-05-01T14:46:17.966845Z K 7 svn:log V 224 Extract thread_lock()/ruxagg()/thread_unlock() fragment into utility function ruxagg_tlock(). Convert the definition of kern_getrusage() to ANSI C. Submitted by: Alexander Krizhanovsky MFC after: 1 week END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-05-01T14:49:20.594519Z K 7 svn:log V 179 MFC r207168: builtin(1): Add missing escaping for !, . and : in the table. This caused these commands to look differently (not bold) from the other commands in the table (bold). END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-05-01T14:57:35.802776Z K 7 svn:log V 47 MFC r207166: builtin(1): Mention [ sh builtin. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-05-01T15:00:00.531913Z K 7 svn:log V 179 MFC r207168: builtin(1): Add missing escaping for !, . and : in the table. This caused these commands to look differently (not bold) from the other commands in the table (bold). END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-05-01T16:36:14.957224Z K 7 svn:log V 955 The Atheros AR71xx CPUs, when paired with the AR5212 parts, has a bug that generates a fatal bus trap. Normally, the chips are setup to do 128 byte DMA bursts, but when on this CPU, they can only safely due 4-byte DMA bursts due to this bug. Details of the exact nature of the bug are sketchy, but some can be found at https://forum.openwrt.org/viewtopic.php?pid=70060 on pages 4, 5 and 6. There's a small performance penalty associated with this workaround, so it is only enabled when needed on the Atheros AR71xx platforms. Unfortunately, this condition is impossible to detect at runtime without MIPS specific ifdefs. Rather than cast an overly-broad net like Linux/OpenWRT dues (which enables this workaround all the time on MIPS32 platforms), we put this option in the kernel for just the affected machines. Sam didn't like this aspect of the patch when he reviewed it, and I'd love to hear sane proposals on how to fix it :) Reviewed by: sam@ END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-05-01T16:38:40.836041Z K 7 svn:log V 53 Put the -current debugging options back into AR71XX. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-05-01T16:39:46.923299Z K 7 svn:log V 98 Enable AH_RXCFG_SDMAMW_4BYTES option. See NOTES file for why this is workaround (WAR) is needed. END K 10 svn:author V 3 zec K 8 svn:date V 27 2010-05-01T18:34:50.514264Z K 7 svn:log V 84 Remove a redundant variable assignment. Reviewed by: bz, rwatson MFC after: 3 days END K 10 svn:author V 6 emaste K 8 svn:date V 27 2010-05-01T18:56:45.733793Z K 7 svn:log V 61 Search beyond the first 1/8th of inodes. Submitted by: jeff END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-05-01T19:00:33.343388Z K 7 svn:log V 467 MFC r207068,r207334: r207068: Allow to modify directory's content even if the ZFS_NOUNLINK (SF_NOUNLINK, sunlnk) flag is set. We only deny dirctory's removal or rename. PR: kern/143343 Reported by: marck r207334: Backport fix for 'zfs_znode_dmu_init: existing znode for dbuf' panic from OpenSolaris. PR: kern/144402 Reported by: Alex Bakhtin Tested by: Alex Bakhtin Obtained from: OpenSolaris, Bug ID 6895088 END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-05-01T19:12:37.306966Z K 7 svn:log V 143 MFC r207070: Fix compilation with WITHOUT_CRYPT or WITHOUT_OPENSSL options. Reported by: Andrei V. Lavreniyuk END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-05-01T19:16:08.930401Z K 7 svn:log V 1356 MFC r207070,r207343,r207345,r207347,r207348,r207371,r207372,r207390: r207070: Fix compilation with WITHOUT_CRYPT or WITHOUT_OPENSSL options. Reported by: Andrei V. Lavreniyuk r207343: Don't assume that "resource" property is in metadata. Reported by: Mikolaj Golub r207345: Use WEXITSTATUS() to obtain real exit code. r207347: Mark temporary issues as such. r207348: Restart worker thread only if the problem was temporary. In case of persistent problem we don't want to loop forever. r207371: Fix a problem where hastd will stuck in recv(2) after sending request to secondary, which died between send(2) and recv(2). Do it by adding timeout to recv(2) for primary incoming and outgoing sockets and secondary outgoing socket. Reported by: Mikolaj Golub Tested by: Mikolaj Golub r207372: - Check if the worker process was killed by signal and restart it. - Improve logging. Pointed out by: Garrett Cooper r207390: Default connection timeout is way too long. To make it shorter we have to make socket non-blocking, connect() and if we get EINPROGRESS, we have to wait using select(). Very complex, but I know no other way to define connection timeout for a given socket. Reported by: hiroshi@soupacific.com END K 10 svn:author V 2 mm K 8 svn:date V 27 2010-05-01T19:53:15.554205Z K 7 svn:log V 129 Change description of tunable group vfs.zfs.txg to be more understandable. Approved by: pjd, delphij (mentor) MFC after: 3 days END K 10 svn:author V 2 mm K 8 svn:date V 27 2010-05-01T20:44:37.137369Z K 7 svn:log V 245 Add sysctl and loader tunable vfs.zfs.txg.write_limit_override. This tunable improves fine-tuning of ZFS write throttling. PR: kern/146108 Suggested by: Nikolay Denev Approved by: pjd, delphij (mentor) MFC after: 2 weeks END K 10 svn:author V 6 rstone K 8 svn:date V 27 2010-05-01T21:59:06.308247Z K 7 svn:log V 322 When configuring hwpmc to use the EXT_SNOOP event, only send a default cachestate qualifier on the Atom processor. Other Intel processors do not accept a cachestate qualifier and currently hwpmc will return EINVAL if you try to use the EXT_SNOOP event on those processors Approved by: jkoshy (mentor) MFC after: 2 weeks END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-05-01T22:00:28.851527Z K 7 svn:log V 197 pathchk: Add the new POSIX -P option. This option checks for empty pathnames and components starting with '-'. Our -p option also checks for the latter, which remains the case. MFC after: 1 week END K 10 svn:author V 6 rstone K 8 svn:date V 27 2010-05-01T22:04:58.257636Z K 7 svn:log V 502 When configuring a system-wide couting PMC, hwpmc was incorrectly logging process mappings for that PMC. Nothing ever reads pmc logs out of a counting PMC, so the log buffers were leaked when the PMC was deconfigured. The process mappings are only useful for sampling PMCs anyway, so only log the mappings if the PMC is a sampling PMC. This bug would cause allocating sample-mode PMCs to fail with ENOMEM after allocating several counting-mode PMCs. Approved by: jkoshy (mentor) MFC after: 2 weeks END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-05-01T22:10:45.315282Z K 7 svn:log V 367 pathchk(1): Fix the example so it allows arbitrary pathnames. Spaces and various other characters in pathnames are not passed through literally by xargs in its default mode. Instead, use find . -exec ... {} + Although the -- argument is not strictly required here, add it anyway to avoid surprises when modifying the code to find -f -somedir ... MFC after: 1 week END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-05-01T23:25:53.932618Z K 7 svn:log V 74 MFC r207176: ifp->if_ipackets++ when RX packet interrupts are occurred. END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-05-02T01:25:03.140106Z K 7 svn:log V 232 Correct an error of omission in r206819. If VMFS_TLB_ALIGNED_SPACE is specified to vm_map_find(), then retry the vm_map_findspace() if vm_map_insert() fails because the aligned space is already partly used. Reported by: Neel Natu END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-05-02T02:00:20.826199Z K 7 svn:log V 126 With multiple interrupt controllers, we can have more than INTR_VECTORS interrupts in a system. Submitted by: Andreas Tobler END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-05-02T03:28:29.300971Z K 7 svn:log V 507 In a couple places where default value setting is overly complex (including a couple of the places related to the recent ro_upg_port changes) simplify the code. When checking stat(1) for the INDEX updates we really want to check the time when the file was last modified for pedantic value, although in this scenario the practical effect was the same. In --check-port-dbdir we now need to check if the values in the loop are directories, since origin_from_pdb() now emits an error if it can't find ORIGIN. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-05-02T04:16:39.380544Z K 7 svn:log V 184 Add xpt_schedule_dev_sendq() call, lost at r203108. It is not needed in usual operation, but required in some conditions to make queue running after being shrinked. MFC after: 3 days END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-05-02T06:14:36.075626Z K 7 svn:log V 1168 MFC r207260: Move checking the version up from Makefile generation to just after we've parsed the config file. Makefile generation is too late if we've introduce changes to the syntax of the metafiles to warn about version skew, since we have to try to parse them and we get an parse error that's rather baffling to the user rather than a 'your config is too old, upgrade' which we should get. We have to defer doing it until after we've read the user's config file because we define machinename there. The version required to compile the kernel is encoded in Makefile.machinename. There's no real reason for this to be the case, but changing it now would introduce some logistical issues that I'd rather avoid for the moment. I intend to revisit this if we're still using config in FreeBSD 10. This also means that we cannot introduce any config metafile changes that result in a syntax error or other error for the user until 9.0 is released. Otherwise, we break the upgrade path, or at least reduce the usefulness of the error messages we generate. # This implies that the config file option mapping will need to be redone. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-05-02T06:18:08.170639Z K 7 svn:log V 698 MFC r207263: Redo how we add compat options so as to be compatible with old versions of config. Remove support for the syntax OLD = NEW form the options file, and instead have a new file $S/conf/options-compat. This file will be parsed as OLD NEW on each line. Bump version of config. Since nothing in -current ever used this, there's no hazards for current users, so I'm not bumping the version in the Makefiles.$MACHINE. No need, really, for this version bump in -current, but this was introduced into -stable before I realized the version check was ineffective there, so the verison bump doesn't hurt here and keeps the two branches in sync, versionwise, after the MFC. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-05-02T06:18:57.657475Z K 7 svn:log V 794 MFC r207265: Require the option that's mapped be listed in the options file. This will allow people with old config options to either have it just work (if config is new enough), or get a version error (if their config is about 7.0 or newer) rather than getting a cryptic error about duplicated options in the options file, or getting an error about an unknown option, at which point they'd update their config file only to learn they need a new config, only to learn they didn't really need to update their config file... All this because our version checking was in the wrong place for the past decade... # hopefully this is the last change, and we'll be able to config with an # 8.0 GENERIC file on stable/8 after I merge this change and add the # compat options. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-05-02T06:20:42.072670Z K 7 svn:log V 190 Move to the new way of specifying compat options. The backs out the FOO = BAR form, in favor of listing the mapping in a separate file for more compatibility with older versions of config. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-05-02T06:23:15.587692Z K 7 svn:log V 48 Ooops. Bump the version to 600009, not 600008. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-05-02T06:24:17.688355Z K 7 svn:log V 49 Revert 207494: it was only for testing purposes. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-05-02T06:34:13.005353Z K 7 svn:log V 163 Comment on new config version that's now required for amd64 and ia64. Comment on the confusing error message from Apr 17th-May 2nd generated by config(8) as well. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-05-02T11:36:27.842824Z K 7 svn:log V 74 Add -d and -f arguments to `camcontrol cmd`, to execute DMA ATA commands. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-05-02T12:07:47.315486Z K 7 svn:log V 341 Make SATA XPT negotiate and enable some additional SATA features, such as: - device initiated power management (some devices support only this way); - Automatic Partial to Slumber Transition (more power saving); - DMA auto-activation (expected to slightly improve performance). More features could be added later, when hardware supports. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-05-02T12:08:15.309584Z K 7 svn:log V 88 Add a hack for SPARC64 V CPUs, which set some undocumented bits in the first data word. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-05-02T12:38:59.475625Z K 7 svn:log V 299 MFC r207187: kvm(3): Mention that some of the functions use sysctl(3) instead of kmem. Additionally, because of sysctl(3) use (which is generally good), behaviour for crash dumps differs slightly from behaviour for live kernels and this will probably never be fixed entirely, so weaken that claim. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-05-02T12:39:29.122612Z K 7 svn:log V 104 MFC r206604: For early ALI chips do not announce I/O sizes that require unsupported 48bit DMA commands. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-05-02T12:40:54.456598Z K 7 svn:log V 125 MFC r207221: Mark ATA channel as idle on timeout in non-ATA_CAM mode. This should fix possible duplicate request completion. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-05-02T12:43:18.021188Z K 7 svn:log V 259 MFC r207188: symlink(7): The ownership of symlinks is used by the system, in at least three ways, so do not say it is ignored: * who may delete/rename a symlink in a sticky directory * who may do lchflags(2)/lchown(2)/lchmod(2) * whose inode quota is charged END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-05-02T12:44:11.313975Z K 7 svn:log V 48 MFC r205358: Enable MSI by default for SiI3124. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-05-02T12:45:22.965674Z K 7 svn:log V 130 MFC r206652: Explicitly enable PCI busmastering on attach. Now SiI3124 with siis(4) successfully works on sparc64 (SunBlade 100). END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-05-02T12:50:29.510893Z K 7 svn:log V 64 MFC r207222: Move PI_TAG_ABLE check from ada driver to ATA XPT. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-05-02T13:36:23.509215Z K 7 svn:log V 64 MFC r207189: symlink(7): Add lpathconf(2) and *at system calls. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-05-02T13:38:08.649798Z K 7 svn:log V 259 MFC r207188: symlink(7): The ownership of symlinks is used by the system, in at least three ways, so do not say it is ignored: * who may delete/rename a symlink in a sticky directory * who may do lchflags(2)/lchown(2)/lchmod(2) * whose inode quota is charged END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-05-02T13:53:08.672122Z K 7 svn:log V 299 MFC r207187: kvm(3): Mention that some of the functions use sysctl(3) instead of kmem. Additionally, because of sysctl(3) use (which is generally good), behaviour for crash dumps differs slightly from behaviour for live kernels and this will probably never be fixed entirely, so weaken that claim. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-05-02T14:46:05.698260Z K 7 svn:log V 47 Enable PCI busmastering explicitly to be sure. END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-05-02T15:55:29.404208Z K 7 svn:log V 171 MFC r206989: Avoid memory access after free. Use the (shortend) copy for the ipsec mtu lookup as well. PR: kern/145736 Submitted by: Peter Molnar (peter molnar.cc) END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-05-02T15:58:25.305690Z K 7 svn:log V 94 MFC r207116: Remove one zero from the double-0. This code doesn't have a license to kill. END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-05-02T16:32:41.277074Z K 7 svn:log V 294 MFC r207276: Make sure IPv6 source address selection does not change interface addresses while walking the IPv6 address list if in the jail case something is connecting to ::1. Reported by: Pieter de Boer (pieter thedarkside.nl) Tested by: Pieter de Boer (pieter thedarkside.nl) END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-05-02T16:36:15.550722Z K 7 svn:log V 487 MFC r207277: Enhance the historic behaviour of raw sockets and jails in a way that we allow all possible jail IPs as source address rather than forcing the "primary". While IPv6 naturally has source address selection, for legacy IP we do not go through the pain in case IP_HDRINCL was not set. People should bind(2) for that. This will, for example, allow ping(|6) -S to work correctly for non-primary addresses. Reported by: (ten 211.ru) Tested by: (ten 211.ru) END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-05-02T16:38:57.197387Z K 7 svn:log V 371 MFC: r206448 Do as the comment suggests and determine the bus space based on the last bus we actually mapped at rather than always based on the last bus we encountered while moving upward in the tree. Otherwise we might use the wrong bus space in case the bridge directly underneath the nexus doesn't require mapping, i.e. was skipped as it's the case for ssm(4) nodes. END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-05-02T16:39:15.048234Z K 7 svn:log V 239 MFC r207278: MFP4: @177254 Add missing CURVNET_RESTORE() calls for multiple code paths, to stop leaking the currently cached vnet into callers and to the process. Sponsored by: The FreeBSD Foundation Sponsored by: CK Software GmbH END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-05-02T16:40:18.376250Z K 7 svn:log V 371 MFC: r206448 Do as the comment suggests and determine the bus space based on the last bus we actually mapped at rather than always based on the last bus we encountered while moving upward in the tree. Otherwise we might use the wrong bus space in case the bridge directly underneath the nexus doesn't require mapping, i.e. was skipped as it's the case for ssm(4) nodes. END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-05-02T16:44:06.154657Z K 7 svn:log V 415 This change addresses the race condition that was introduced by the previous revision, r207450, to this file. Specifically, between dropping the page queues lock in vm_contig_launder() and reacquiring it in vm_contig_launder_page(), the page may be removed from the active or inactive queue. It could be wired, freed, cached, etc. None of which vm_contig_launder_page() is prepared for. Reviewed by: kib, kmacy END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-05-02T16:45:08.206031Z K 7 svn:log V 115 MFC: r206449 Unlike the sun4v variant, the sun4u version of SUNW,set-trap-table actually only takes one argument. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-05-02T16:45:09.697116Z K 7 svn:log V 115 MFC: r206449 Unlike the sun4v variant, the sun4u version of SUNW,set-trap-table actually only takes one argument. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-05-02T16:46:20.015071Z K 7 svn:log V 206 MFC: r206450 Correct the DCR_IPE macro to refer to the right bit. Also improve the associated comment as besides US-IV+ these bits are only available with US-III++, i.e. the 1.2GHz version of the US-III+. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-05-02T16:46:22.055261Z K 7 svn:log V 206 MFC: r206450 Correct the DCR_IPE macro to refer to the right bit. Also improve the associated comment as besides US-IV+ these bits are only available with US-III++, i.e. the 1.2GHz version of the US-III+. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-05-02T16:47:50.741348Z K 7 svn:log V 83 MFC: r206480 Update for UltraSPARC-IV{,+} and SPARC64 V, VI, VII and VIIIfx CPUs. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-05-02T16:47:54.607802Z K 7 svn:log V 83 MFC: r206480 Update for UltraSPARC-IV{,+} and SPARC64 V, VI, VII and VIIIfx CPUs. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-05-02T16:52:23.072986Z K 7 svn:log V 451 MFC: r206490, r206492 While SPARC V9 allows tininess to be detected either before or after rounding (impl. dep. #55), the SPARC JPS1 responsible for SPARC64 and UltraSPARC processors defines that in all cases tininess is detected before rounding therefore rounding up to the smallest normalized number should set the underflow flag. This change is needed for using SoftFloat on sparc64 for reference purposes. PR: 144900 Submitted by: Peter Jeremy END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-05-02T16:52:24.303332Z K 7 svn:log V 451 MFC: r206490, r206492 While SPARC V9 allows tininess to be detected either before or after rounding (impl. dep. #55), the SPARC JPS1 responsible for SPARC64 and UltraSPARC processors defines that in all cases tininess is detected before rounding therefore rounding up to the smallest normalized number should set the underflow flag. This change is needed for using SoftFloat on sparc64 for reference purposes. PR: 144900 Submitted by: Peter Jeremy END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-05-02T16:55:10.829803Z K 7 svn:log V 482 MFC: r207151 Add a TestFloat based test suite for floating-point implementations currently supporting sparc64. After a `make depend all` there are three programs; testsoftfloat for testing against the SoftFloat in src/lib/libc/softfloat for reference purposes, testemufloat for testing the emulator source in src/lib/libc/sparc64/fpu and testfloat for testing with the installed libc. Support for other architectures can be added as needed. PR: 144900 Submitted by: Peter Jeremy END