ƒ´g241334 171 839 839 377 421 421 421 250 213 200 222 855 146 139 710 710 170 303 139 279 1036 159 136 241 259 171 168 179 1795 261 265 128 274 386 271 569 121 126 329 597 348 394 409 387 387 1202 361 276 361 276 271 271 271 205 205 559 168 154 236 544 441 150 406 210 184 159 406 149 488 238 368 300 272 823 262 417 182 324 128 122 324 276 290 272 313 237 177 177 177 235 235 235 215 215 183 292 292 511 175 477 166 288 1666 1925 320 1128 132 295 186 325 294 452 234 262 268 133 127 149 303 277 110 313 158 256 157 147 156 155 155 230 167 123 179 163 300 188 397 204 209 255 255 255 361 361 361 297 112 203 176 166 423 131 194 179 239 252 292 173 145 730 223 158 241 375 254 301 354 119 243 191 348 398 K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-10-07T21:32:41.938500Z K 7 svn:log V 746 MFC 239955-239957: Cleanups and fixes for building firmware modules into a kernel: - Add common rules for building firmware object files (NORMAL_FW to run uudecode, and NORMAL_FWO to use ld to build the .fwo file) and use those instead of explicit ld/uudecode invocations in sys/conf/files. Apart from increasing readability, this makes it possible to adjust the flags used for firmware objects in one place. - Similar to how r171350 fixed linking of kernel modules containing firmware objects by adding --no-warn-mismatch to the linker flags, add --no-warn-mismatch when linking firmware objects (*.fwo) as well as to the link of the main kernel file. This permits firmware modules to be statically linked into an ia64 kernel. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-10-07T21:33:04.612104Z K 7 svn:log V 746 MFC 239955-239957: Cleanups and fixes for building firmware modules into a kernel: - Add common rules for building firmware object files (NORMAL_FW to run uudecode, and NORMAL_FWO to use ld to build the .fwo file) and use those instead of explicit ld/uudecode invocations in sys/conf/files. Apart from increasing readability, this makes it possible to adjust the flags used for firmware objects in one place. - Similar to how r171350 fixed linking of kernel modules containing firmware objects by adding --no-warn-mismatch to the linker flags, add --no-warn-mismatch when linking firmware objects (*.fwo) as well as to the link of the main kernel file. This permits firmware modules to be statically linked into an ia64 kernel. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-10-07T23:45:19.491462Z K 7 svn:log V 281 Migrate the TID TXQ accesses to a new set of macros, rather than reusing the ATH_TXQ_* macros. * Introduce the new macros; * rename the TID queue and TID filtered frame queue so the compiler tells me I'm using the wrong macro. These should correspond 1:1 to the existing code. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-10-08T05:50:58.551334Z K 7 svn:log V 326 MFC r241218: Remove references to CVS so that people will stop bringing it up For -p: The localtime update should have been excluded in the first place The make.conf comparison has been OBE for some time now, and there is no src.conf equivalent to share/examples/make.conf, so remove the whole thing. Update copyright END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-10-08T05:51:26.204753Z K 7 svn:log V 326 MFC r241218: Remove references to CVS so that people will stop bringing it up For -p: The localtime update should have been excluded in the first place The make.conf comparison has been OBE for some time now, and there is no src.conf equivalent to share/examples/make.conf, so remove the whole thing. Update copyright END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-10-08T05:51:47.388257Z K 7 svn:log V 326 MFC r241218: Remove references to CVS so that people will stop bringing it up For -p: The localtime update should have been excluded in the first place The make.conf comparison has been OBE for some time now, and there is no src.conf equivalent to share/examples/make.conf, so remove the whole thing. Update copyright END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-10-08T07:01:07.508929Z K 7 svn:log V 153 Fix typo. Check against number of allocated MSI-X vectors. There is no ale(4) controller that supports MSI-X so this is not real issue. PR: kern/171825 END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-10-08T07:13:45.609204Z K 7 svn:log V 116 Limit applying TX data corruption and FIFO workaround to BCM5719 A0. It's believed BCM5720 does not have the issue. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-10-08T07:21:32.982962Z K 7 svn:log V 103 No reason to play with IP header before calling sctp_delayed_cksum() with offset beyond the IP header. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-10-08T07:33:43.366628Z K 7 svn:log V 125 Rework device detach. While here, move driver lock/callout initialization to the beginning of device attach for readability. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-10-08T08:03:58.952759Z K 7 svn:log V 758 After r241245 it appeared that in_delayed_cksum(), which still expects host byte order, was sometimes called with net byte order. Since we are moving towards net byte order throughout the stack, the function was converted to expect net byte order, and its consumers fixed appropriately: - ip_output(), ipfilter(4) not changed, since already call in_delayed_cksum() with header in net byte order. - divert(4), ng_nat(4), ipfw_nat(4) now don't need to swap byte order there and back. - mrouting code and IPv6 ipsec now need to switch byte order there and back, but I hope, this is temporary solution. - In ipsec(4) shifted switch to net byte order prior to in_delayed_cksum(). - pf_route() catches up on r241245 changes to ip_output(). END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-10-08T10:34:49.802267Z K 7 svn:log V 52 Remove my pre-commit review request for mergemaster END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-10-08T10:43:59.338282Z K 7 svn:log V 45 Good night. :) Approved by: core (implicit) END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-10-08T12:59:09.138719Z K 7 svn:log V 612 MFC: r240902 Attila Bogar reported a bug in mountd when multiple export entries with different security flavors are in the exports(5) file. For that case, mountd replies with the security flavors of the last entry and not the correct one for the client host. This patch fixes that by storing separate copies of the flavors for each host/net case, plus a default one for the case where no hosts/nets are specified on an entry in the exports(5) file. Unlike the patch in the PR, it replies with the security flavors for the entry instead of merging the security flavors for all the entries and replying with that. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-10-08T13:14:00.368055Z K 7 svn:log V 612 MFC: r240902 Attila Bogar reported a bug in mountd when multiple export entries with different security flavors are in the exports(5) file. For that case, mountd replies with the security flavors of the last entry and not the correct one for the client host. This patch fixes that by storing separate copies of the flavors for each host/net case, plus a default one for the case where no hosts/nets are specified on an entry in the exports(5) file. Unlike the patch in the PR, it replies with the security flavors for the entry instead of merging the security flavors for all the entries and replying with that. END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-10-08T13:45:40.073498Z K 7 svn:log V 78 ip6_ipsec_output: fix a typo in r241344 Acting as a remote drone of glebius. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-10-08T14:05:00.108855Z K 7 svn:log V 207 MFC r240974: atrun: Do not assume that MAXLOGNAME <= 100. The reserved space for fmt was exactly sufficient for a two-digit value of MAXLOGNAME - 1. PR: bin/171815 Submitted by: Jeremy Huddleston Sequoia END K 10 svn:author V 6 obrien K 8 svn:date V 27 2012-10-08T14:08:13.591091Z K 7 svn:log V 44 Restrict the module to varied environments. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-10-08T16:00:33.822198Z K 7 svn:log V 183 MFC r240973: find: Do not pass fd to save current directory to child processes. This removes one of the two wrongly passed file descriptors. The other one appears to be from fts(3). END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-10-08T16:57:05.147374Z K 7 svn:log V 943 In a few places, like the implementation of ptrace(), a thread may call upon pmap_enter() to create a mapping within a different address space, i.e., not the thread's own address space. On i386, this entails the creation of a temporary mapping to the affected page table page (PTP). In general, pmap_enter() will read from this PTP, allocate a PV entry, and write to this PTP. The trouble comes when the system is short of memory. In order to allocate a new PV entry, an older PV entry has to be reclaimed. Reclaiming a PV entry involves destroying a mapping, which requires access to the affected PTP. Thus, the PTP mapped at the beginning of pmap_enter() is no longer mapped at the end of pmap_enter(), which leads to pmap_enter() modifying the wrong PTP. To address this problem, pmap_pv_reclaim() is changed to use an alternate method of mapping PTPs. Update a related comment. Reported by: pho Diagnosed by: kib MFC after: 5 days END K 10 svn:author V 6 brooks K 8 svn:date V 27 2012-10-08T17:25:12.072220Z K 7 svn:log V 64 We've imported NetBSD's pwcache so we don't been a compat copy. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2012-10-08T17:27:54.695832Z K 7 svn:log V 41 Remove definitions forgotten in r241354. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-10-08T18:33:08.677081Z K 7 svn:log V 148 Add several asserts to i386 pmap, which mostly state that pv entry shall have corresponding pte. Reviewed by: alc Tested by: pho MFC after: 3 days END K 10 svn:author V 6 brooks K 8 svn:date V 27 2012-10-08T22:22:05.280437Z K 7 svn:log V 163 Add a new internal library libnetbsd which contains the shims required to build NetBSD's makefs, mtree, and install. I've not yet moved strsuftoll() from makefs. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2012-10-08T22:38:15.747925Z K 7 svn:log V 76 Add strsuftoll to libnetbsd rather than storing it in the makefs directory. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-10-08T22:58:28.587852Z K 7 svn:log V 72 Catch up with r241245 and do not return packet back in host byte order. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-10-08T23:02:32.729534Z K 7 svn:log V 83 Any pfil(9) hooks should be called with already set VNET context. Reviewed by: bz END K 10 svn:author V 6 dteske K 8 svn:date V 27 2012-10-08T23:02:35.071615Z K 7 svn:log V 1698 Add an echo to say we're "Booting..." when the overloaded "boot" Ficl word is executed to better differentiate between loader-specific errors and kernel- specific errors (if ever any of either). This type of functionality hasn't been required before the introduction of the advanced menu system (r222417). Adding this functionality will help different- iate errors at the loader-level such as a BTX halt caused by heap exhaustion and errors that may be involved with executing the kernel (wrong architecture for example). A user can learn that messages before "Booting..." are related to the loader(8) environment and it's Forth-ilk, while those after are not related to loader(8) -- the point that loader(8) has ``left the building''. This patch also includes a man-page update to color.4th(8) as the color logic moves to a lower-level (from being included by beastie.4th to being included by loader.4th). After noticing a delay between execution of the overloaded "boot" FICL word and the display of text on-screen, gcooper confirmed that the introduction of a builtin memory test (disabled by adding hw.memtest.tests="0" to loader.conf(5)) was the cause of the delay. This patch adds an echo to produce "Booting..." when the overloaded "boot" word is executed (this includes from the interactive command-prompt on all arches, from the menu system on arches that run the beastie menu, and even those arches that run the menu but disable it by setting beastie_disable="YES" in loader.conf(5)). When loader_color="YES" in loader.conf(5), the same message is produced but in white text on a blue background (only the letters produced have this background -- opposed to perhaps the entire line). END K 10 svn:author V 4 neel K 8 svn:date V 27 2012-10-08T23:41:26.696851Z K 7 svn:log V 167 Allocate memory pages for the guest from the host's free page queue. It is no longer necessary to hard-partition the memory between the host and guests at boot time. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2012-10-09T01:31:03.837863Z K 7 svn:log V 169 Make the "Options:" separator-text configurable by setting $menu_optionstext. Reviewed by: eadler, adrian (co-mentor) Approved by: adrian (co-mentor) MFC after: 3 days END K 10 svn:author V 6 obrien K 8 svn:date V 27 2012-10-09T02:52:56.926174Z K 7 svn:log V 33 Update MAKE_VERSION for r237100. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2012-10-09T03:11:15.976046Z K 7 svn:log V 178 Fix an oversight that cyclic menu items actually are zero-based and can accommodate 10 different states. Reviewed by: eadler, adrian (co-mentor) Approved by: adrian (co-mentor) END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2012-10-09T03:41:59.067636Z K 7 svn:log V 290 MFC r240879 This patch fixes a nit in the em, lem, and igb driver statistics. Increment adapter->dropped_pkts instead of if_ierrors because if_ierrors is overwritten by hw stats collection. Submitted by: Andrew Boyer Reviewed by: Jack F Vogel END K 10 svn:author V 6 dteske K 8 svn:date V 27 2012-10-09T03:54:53.346727Z K 7 svn:log V 175 Fix a typo (s/prefix/suffix/) and comment. NOTE: This is in an unused portion of the menu framework. Reviewed by: eadler, adrian (co-mentor) Approved by: adrian (co-mentor) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2012-10-09T05:06:30.447082Z K 7 svn:log V 473 MF9: r237100: MFC r236338, r236339, r236346, r236347, r236365, & r236977 * Deprecate the FreeBSD 10's make's ":U" (to-upper case) and ":L" (to-lower case) modifiers for ":tu" and ":tl". * make it easier to test newly-built make. * Add "-V '${VAR}'" variable expansion from Portable Berkeley Make. * regression test for '-V' command line option and the :t[lu] modifiers. MF9: r241364: Update MAKE_VERSION for r237100. MFC: r201225: add missing `void' keyword. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2012-10-09T06:15:16.408140Z K 7 svn:log V 27 Fix typo: s/unknow/unknown END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2012-10-09T08:27:40.473312Z K 7 svn:log V 32 Prefer NULL over 0 for pointers END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-10-09T12:22:43.790131Z K 7 svn:log V 232 Reverts r234074,234105,234564,234723,234989,235231-235232 and part of r234247. Use, instead, the static intializer introduced in r239923 for x86 and sparc64 intr_cpus, unwinding the code to the initial version. Reviewed by: marius END K 10 svn:author V 6 obrien K 8 svn:date V 27 2012-10-09T13:21:08.360445Z K 7 svn:log V 501 MF8: r241368: MF9: r237100: MFC r236338, r236339, r236346, r236347, r236365, & r236977 * Deprecate the FreeBSD 10's make's ":U" (to-upper case) and ":L" (to-lower case) modifiers for ":tu" and ":tl". * make it easier to test newly-built make. * Add "-V '${VAR}'" variable expansion from Portable Berkeley Make. * regression test for '-V' command line option and the :t[lu] modifiers. MF9: r241364: Update MAKE_VERSION for r237100. MFC: r201225: add missing `void' keyword. END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-10-09T14:25:14.968002Z K 7 svn:log V 252 Remove undefined behavior from sranddev() and srandomdev(). This doesn't actually work with any modern C compiler: In particular, both clang and modern gcc verisons silently elide any xor operation with 'junk'. Approved by: secteam MFC after: 3 days END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-10-09T14:32:30.886490Z K 7 svn:log V 297 Add an unified macro to deny ability from the compiler to reorder instruction loads/stores at its will. The macro __compiler_membar() is currently supported for both gcc and clang, but kernel compilation will fail otherwise. Reviewed by: bde, kib Discussed with: dim, theraven MFC after: 2 weeks END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-10-09T17:06:31.809844Z K 7 svn:log V 316 Cast vendor-specific spell on VIA VT1818S codecs alike to VT1708S to make analog input loopback and dual-stream playback work by enabling signal mixing by nid 22, as it should be according to info returned by the CODEC. Otherwise pin nid 28 receives only signal from DAC nid 16. PR: kern/169124 MFC after: 1 week END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2012-10-09T18:02:05.542355Z K 7 svn:log V 291 MFC r240879 This patch fixes a nit in the em, lem, and igb driver statistics. Increment adapter->dropped_pkts instead of if_ierrors because if_ierrors is overwritten by hw stats collection. Submitted by: Andrew Boyer Reviewed by: Jack F Vogel END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2012-10-09T18:02:09.870014Z K 7 svn:log V 291 MFC r240879 This patch fixes a nit in the em, lem, and igb driver statistics. Increment adapter->dropped_pkts instead of if_ierrors because if_ierrors is overwritten by hw stats collection. Submitted by: Andrew Boyer Reviewed by: Jack F Vogel END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-10-09T18:45:08.496034Z K 7 svn:log V 1108 MFC 201279,201280,201286,213907,214146,220195,222753,223371,225515,235833: Various fixes to managing PCI BARs including proper support for managing PCI ROM BARs: - Teach the PCI bus driver to handle PCIR_BIOS BARs properly and remove special handling for the PCIR_BIOS decoding enable bit from the cardbus driver. The PCIR_BIOS BAR does include type bits like other BARs. Instead, it is always a 32-bit non-prefetchable memory BAR where the low bit is used as a flag to enable decoding. - Explicitly track the state of all known BARs for each PCI device. The PCI bus driver will now remember the size of a BAR obtained during the initial bus scan and use that size when doing lazy resource allocation rather than resizing the BAR. The bus driver will now also report unallocated BARs to userland for display by 'pciconf -lb'. - Add a constant for the offset of the ROM BIOS BAR in PCI-PCI bridges and properly handle ROM BIOS BARs in PCI-PCI bridges. The PCI bus now also properly handles the lack of a ROM BIOS BAR in a PCI-Cardbus bridge. Tested by: John Kozubik john kozubik com END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-10-09T19:53:15.691501Z K 7 svn:log V 262 MFC r240900: Specify MTX_RECURSE for the controller's io_lock. Without it, tws(4) immediately panics on boot with INVARIANTS enabled. The driver already clearly expects to be able to recurse on this mutex - the main I/O path is always recursing on this lock. END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-10-09T19:55:12.500659Z K 7 svn:log V 177 MFC r240901: Use CAM_SEL_TIMEOUT and CAM_DEV_NOT_THERE to report missing targets or LUNs respectively. This removes a huge number of error messages from CAM during bus scans. END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-10-09T19:57:18.194926Z K 7 svn:log V 262 MFC r240900: Specify MTX_RECURSE for the controller's io_lock. Without it, tws(4) immediately panics on boot with INVARIANTS enabled. The driver already clearly expects to be able to recurse on this mutex - the main I/O path is always recursing on this lock. END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-10-09T19:59:22.244017Z K 7 svn:log V 177 MFC r240901: Use CAM_SEL_TIMEOUT and CAM_DEV_NOT_THERE to report missing targets or LUNs respectively. This removes a huge number of error messages from CAM during bus scans. END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-10-09T20:05:19.938650Z K 7 svn:log V 172 MFC r240695: Add constants for programming interfaces for NVM/solid state storage controller sub-class code. Reference: PCI Code and ID Assignment Specification Rev 1.2 END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-10-09T20:06:16.337238Z K 7 svn:log V 172 MFC r240695: Add constants for programming interfaces for NVM/solid state storage controller sub-class code. Reference: PCI Code and ID Assignment Specification Rev 1.2 END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-10-09T20:07:24.716548Z K 7 svn:log V 172 MFC r240695: Add constants for programming interfaces for NVM/solid state storage controller sub-class code. Reference: PCI Code and ID Assignment Specification Rev 1.2 END K 10 svn:author V 4 neel K 8 svn:date V 27 2012-10-10T00:06:31.637281Z K 7 svn:log V 111 Grab the softc from the ACPI host-pci bridge device instead of from the pci endpoint device. Reviewed by: jhb END K 10 svn:author V 4 neel K 8 svn:date V 27 2012-10-10T00:11:06.924549Z K 7 svn:log V 111 Grab the softc from the ACPI host-pci bridge device instead of from the pci endpoint device. Reviewed by: jhb END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-10-10T01:24:02.552677Z K 7 svn:log V 462 If the maximum payload size is 256 bytes or more, set the DMA write water mark to 256 bytes. Otherwise controller will encounter DMA write under run errors and would result in RX DMA hang. If the maximum payload size is 128 bytes, the water mark is set to 128 bytes as usual. While here, set maximum read request size to 2048 for BCM5719/BCM5720. For other PCIe devices, use 4096. And reprogram the maximum read request size whenever device reset is performed. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-10-10T01:59:53.238943Z K 7 svn:log V 72 On PHY write error use hex number to show the value. Add more comments. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-10-10T02:21:36.099628Z K 7 svn:log V 58 Honor PHY type fiber for BCM5717/BCM5718/BCM5719/BCM5720. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-10-10T02:35:10.040365Z K 7 svn:log V 139 Do not force PCIe 1.0a mode in device reset on BCM5717 and newer controllers. BCM5785 does not require PCI 1.0a mode as well during reset. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-10-10T04:38:29.442945Z K 7 svn:log V 447 Fix a long standing VCPU reset sequence bug on BCM5906. The VCPU(Virtual CPU) of BCM5906 is used to provide a mechanism to control the bootcode execution and to pick up configuration data stored inside the EEPROM. The bootcode of BCM5906 will check the BGE_VCPU_STATUS_DRV_RESET bit to decide which booting procedure to choose. Data sheet indicates the VCPU of BCM5906 should set BGE_VCPU_STATUS_DRV_RESET bit *before* VCPU reset or global reset. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-10-10T05:43:04.655050Z K 7 svn:log V 344 Remove unnecessary delay. I don't see any comments in data sheet that requires 10ms delay after device reset. Because that code was there from day 1, I guess it was added to give enough settlement time after updating BGE_MAC_MODE register. The recommended delay time for BGE_MAC_MODE after updating is 40us and it was already done in r241219. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2012-10-10T08:36:38.591909Z K 7 svn:log V 56 Revert previous commit... Pointyhat to: kevlo (myself) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-10-10T14:47:46.766583Z K 7 svn:log V 313 - Fix the error message when a dependency string is not provided to reference a missing dependency rather than a missing compile command. - Don't append a newline to the auto-generated compile command. The compile command has a newline appended when it is later output to the Makefile. MFC after: 2 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-10-10T16:07:23.469196Z K 7 svn:log V 117 WITH_CTF is now a "normal" build option (WITHOUT_CTF is supported and MK_CTF is used internally). Reviewed by: fjoe END K 10 svn:author V 2 np K 8 svn:date V 27 2012-10-10T16:52:39.473715Z K 7 svn:log V 93 Remove unused item. cxgbe's rx queue's lock was removed a long time ago. MFC after: 3 days END K 10 svn:author V 2 np K 8 svn:date V 27 2012-10-10T16:54:14.365767Z K 7 svn:log V 68 There is no need to report the same error twice. MFC after: 3 days END K 10 svn:author V 2 np K 8 svn:date V 27 2012-10-10T17:13:46.057767Z K 7 svn:log V 314 Add a driver ioctl to read a byte from any device on a port's i2c bus. This lets userspace read arbitrary information from the SFP+ modules etc. on this bus. Reading multiple bytes in the same transaction isn't possible right now. I'll update the driver once the chip's firmware supports this. MFC after: 3 days END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-10-10T17:15:34.940366Z K 7 svn:log V 57 MFi386 r241356 Add several asserts. MFC after: 3 days END K 10 svn:author V 2 np K 8 svn:date V 27 2012-10-10T17:29:51.876018Z K 7 svn:log V 396 Add an "i2c" subcommand to cxgbetool. You can use this to read information from the transceivers connected to the ports of a cxgbe(4) based card. # cxgbetool t4nex0 i2c [] For example: # cxgbetool t4nex0 i2c 0 0xa0 3 0x10 [16] (As per SFF-8472 the SFP+ module is at 0xa0 and bit 4 in the value at address 3 indicates it's a 10Gbase-SR module, which it is.) END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-10-10T17:51:23.713571Z K 7 svn:log V 145 Add checks for ata_sata_scr_read() return statuses. It is mostly to silence Clang Static Analyzer warnings as errors there are usually unlikely. END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-10-10T18:01:56.002805Z K 7 svn:log V 269 Add support for locate LED. While here, change ISCI_LED to ISCI_PHY since conceptually the hardware ties the LEDs to a phy and the LEDs for a given phy cannot be controlled independently. Submitted by: Paul Maulberger (with modifications) END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-10-10T18:10:11.357958Z K 7 svn:log V 207 Remove 'periph == NULL' check from bunch of periph drivers. This condition can never be true as functions are called from single place and the checks just pollute the code and confuse Clang Static Analyzer. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-10-10T18:34:15.859153Z K 7 svn:log V 179 Really handle xpt_compile_path() error in xpt_bus_register() instead of print error message and probably crash just after it on NULL dereference. Found by: Clang Static Analyzer END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2012-10-10T19:06:11.793132Z K 7 svn:log V 725 Do not check if found IPv4 rte is dynamic if net.inet.icmp.drop_redirect is enabled. This eliminates one mtx_lock() per each routing lookup thus improving performance in several cases (routing to directly connected interface or routing to default gateway). Icmp redirects should not be used to provide routing direction nowadays, even for end hosts. Routers should not use them too (and this is explicitly restricted in IPv6, see RFC 4861, clause 8.2). Current commit changes rnh_machaddr function to 'stock' rn_match (and back) for every AF_INET routing table in given VNET instance on drop_redirect sysctl change. This change is part of bigger patch eliminating rte locking. Sponsored by: Yandex LLC MFC after: 2 weeks END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-10-10T19:07:56.440907Z K 7 svn:log V 169 MFC r241163: Pull in r164717 from upstream clang trunk: Allow -MF to be used in combination with -E -M or -E -MM. This should help with building the lang/ghc port. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2012-10-10T19:08:46.133378Z K 7 svn:log V 324 rpc: fix __rpc_getconfip __rpc_getconfip is supposed to return the first netconf entry supporting tcp or udp, respectively. The code will currently return the *last* entry, plus it will leak memory when there is more than one such entry. Tested by: David Wolfskill Obtained from: Bull GNU/linux NFSv4 Project (libtirpc) END K 10 svn:author V 2 np K 8 svn:date V 27 2012-10-10T19:27:40.562946Z K 7 svn:log V 91 Add a driver ioctl to clear a port's MAC statistics. Submitted by: gnn@ MFC after: 3 days END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-10-10T19:32:40.893863Z K 7 svn:log V 231 There are SCSI conditions that are not an errors. In those cases cderror() returns zero while request status is not CAM_REQ_CMP. That could cause partial device attach or other unexpected results. Found by: Clang Static Analyzer END K 10 svn:author V 7 delphij K 8 svn:date V 27 2012-10-10T19:42:37.042006Z K 7 svn:log V 32 Vendor import of BIND 9.8.3-P4. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2012-10-10T19:43:45.374364Z K 7 svn:log V 26 Tag the 9.8.3-P4 release. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-10-10T19:46:46.553019Z K 7 svn:log V 231 panic() with reasonable message instead of returning zero frequency causing division by zero later if event timer's minimal period is above one second. For now it is just a theoretical possibility. Found by: Clang Static Analyzer END K 10 svn:author V 7 delphij K 8 svn:date V 27 2012-10-10T19:47:52.401128Z K 7 svn:log V 179 Upgrade to 9.8.3-P4: Prevents a lockup when queried a deliberately constructed combination of records. [CVE-2012-5166] For more information: https://kb.isc.org/article/AA-00801 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2012-10-10T19:50:15.223430Z K 7 svn:log V 193 MFC r241414: Upgrade to 9.8.3-P4: Prevents a lockup when queried a deliberately constructed combination of records. [CVE-2012-5166] For more information: https://kb.isc.org/article/AA-00801 END K 10 svn:author V 2 np K 8 svn:date V 27 2012-10-10T20:09:19.729606Z K 7 svn:log V 180 Add a "clearstats" subcommand to cxgbetool that lets you clear the MAC statistics for any port. For example: # cxgbetool t4nex0 clearstats 0 Submitted by: gnn@ MFC after: 3 days END K 10 svn:author V 7 delphij K 8 svn:date V 27 2012-10-10T20:37:57.956185Z K 7 svn:log V 216 MFC r241414: Upgrade to 9.8.3-P4: Prevents a lockup when queried a deliberately constructed combination of records. [CVE-2012-5166] For more information: https://kb.isc.org/article/AA-00801 Approved by: re (kib) END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-10-10T20:41:37.722261Z K 7 svn:log V 144 NULL-ify last previously used pointer instead of last possible pointer. This should be only a cosmetic change. Found by: Clang Static Analyzer END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-10-10T21:20:34.399837Z K 7 svn:log V 82 MFC r241117: add SG state type PR: bin/171664 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-10-10T21:20:34.551502Z K 7 svn:log V 82 MFC r241117: add SG state type PR: bin/171664 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-10-10T21:20:34.691500Z K 7 svn:log V 82 MFC r241117: add SG state type PR: bin/171664 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-10-10T21:21:53.820689Z K 7 svn:log V 139 MFC r241118: Implement the Sun/GNU extension of using a default prefix when no arguments are supplied. Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-10-10T21:21:54.288267Z K 7 svn:log V 139 MFC r241118: Implement the Sun/GNU extension of using a default prefix when no arguments are supplied. Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-10-10T21:21:54.444968Z K 7 svn:log V 139 MFC r241118: Implement the Sun/GNU extension of using a default prefix when no arguments are supplied. Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-10-10T21:27:29.913088Z K 7 svn:log V 119 MFC r241119: Provide a generic way to disable devices at boot time PR: kern/119202 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-10-10T21:27:30.470319Z K 7 svn:log V 119 MFC r241119: Provide a generic way to disable devices at boot time PR: kern/119202 Approved by: cperciva (implicit) END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-10-10T21:29:00.774631Z K 7 svn:log V 91 Pull in r163710 from upstream llvm trunk: Add support for AMD Geode. MFC after: 3 days END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-10-10T21:30:26.034227Z K 7 svn:log V 196 MFC r241134: Fix alignment related warnings reported by gcc Switch from old style arguments to modern C remove WARNS as a result tested with "make universe" Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-10-10T21:30:26.163559Z K 7 svn:log V 196 MFC r241134: Fix alignment related warnings reported by gcc Switch from old style arguments to modern C remove WARNS as a result tested with "make universe" Approved by: cperciva (implicit) END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-10-10T21:37:21.063907Z K 7 svn:log V 418 Pull in r164132 from upstream llvm trunk: When creating MCAsmBackend pass the CPU string as well. In X86AsmBackend store this and use it to not emit long nops when the CPU is geode which doesnt support them. Fixes PR11212. Pull in r164133 from upstream clang trunk: Follow up on llvm r164132. This should prevent illegal instructions when building world on Geode CPUs (e.g. Soekris). MFC after: 3 days END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-10-10T21:38:17.032500Z K 7 svn:log V 77 Add man pages for nvme(4) and nvd(4). Sponsored by: Intel Reviewed by: joel END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-10-10T22:02:11.709953Z K 7 svn:log V 384 - Remove ancient checks for sim->softc == NULL. It can't be NULL, as it is set not-NULL during SIM registration and set to UMASS_GONE on destruction. Debug messages there look broken for at least 9 years, as they dereference softc value that was just checked to be equal to NULL. - Remove magic pointer value UMASS_GONE and use simple NULL instead. Found by: Clang Static Analyzer END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-10-10T23:28:58.070079Z K 7 svn:log V 68 Put the nvme_qpair mutex on its own cacheline. Sponsored by: Intel END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-10-10T23:35:16.742041Z K 7 svn:log V 189 Count number of times each queue pair's interrupt handler is invoked. Also add sysctls to query and reset each queue pair's stats, including the new count added here. Sponsored by: Intel END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-10-11T01:32:51.767835Z K 7 svn:log V 1568 Merge r241129: There is a complex race in in_pcblookup_hash() and in_pcblookup_group(). Both functions need to obtain lock on the found PCB, and they can't do classic inter-lock with the PCB hash lock, due to lock order reversal. To keep the PCB stable, these functions put a reference on it and after PCB lock is acquired drop it. If the reference was the last one, this means we've raced with in_pcbfree() and the PCB is no longer valid. This approach works okay only if we are acquiring writer-lock on the PCB. In case of reader-lock, the following scenario can happen: - 2 threads locate pcb, and do in_pcbref() on it. - These 2 threads drop the inp hash lock. - Another thread comes to delete pcb via in_pcbfree(), it obtains hash lock, does in_pcbremlists(), drops hash lock, and runs in_pcbrele_wlocked(), which doesn't free the pcb due to two references on it. Then it unlocks the pcb. - 2 aforementioned threads acquire reader lock on the pcb and run in_pcbrele_rlocked(). One gets 1 from in_pcbrele_rlocked() and continues, second gets 0 and considers pcb freed, returns. - The thread that got 1 continutes working with detached pcb, which later leads to panic in the underlying protocol level. To plumb that problem an additional INPCB flag introduced - INP_FREED. We check for that flag in the in_pcbrele_rlocked() and if it is set, we pretend that that was the last reference. Discussed with: rwatson, jhb Reported by: Vladimir Medvedkin END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-10-11T05:48:04.629850Z K 7 svn:log V 1827 Rework controller reset procedure. Previously driver saved BGE_PCI_PCISTATE register before issuing global reset. After issuing reset, it reads BGE_PCI_PCISTATE register again and compares the saved register value and current value. It was used to know whether the global reset operation was completed or not. Unfortunately, this logic caused several issues on recent BCM5717/ 5718/5719 and BCM5720 controllers. It seems APE firmware accesses some registers while global reset is in progress such that reading BGE_PCI_PCISTATE register after reset does not yield old pre-reset state value. This resulted in consuming too much time in global reset and sometimes it couldn't successfully complete reset. The BGE_MISCCFG_RESET_CORE_CLOCKS of BGE_MISC_CFG register is self-clearing bit so driver is able to know the reset completion. But the core-lock reset will disable indirect/flat/standard access modes such that driver cannot poll BGE_MISCCFG_RESET_CORE_CLOCKS bit of BGE_MISC_CFG register. So just wait enough time for core-clock reset to complete. Data sheet says driver should wait 100us for PCI/PCI-X devices and 100ms for PCIe devices. I chose 1ms for PCI/PCI-X since this value was used for many years in bge(4). For PCIe devices, use 100ms as recommended by data sheet. bge_chipinit() also cleared BGE_MAC_MODE register which shall clear firmware configured mode information. I think this will result in losing ASF/IPMI link in device attachment. Let bge_reset() honor firmware configured BGE_MAC_MODE register and don't announce driver is UP in bge_reset(). Firmware should have control over driver until it's fully initialized by driver. While I'm here, enable workaround for PCI-X BCM5704 A0 in bge_reset(). This will prevent internal arbitration logic from switching to the other DMA engine after a retry cycle. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-10-11T06:07:48.447727Z K 7 svn:log V 223 For 5717C/5719C/5720C and 57765 PHYs, do not perform any special handling(jumbo, wire speed etc) in brgphy_reset(). Touching BRGPHY_MII_AUXCTL register seems to confuse APE firmware such that it couldn't establish a link. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-10-11T06:43:43.089647Z K 7 svn:log V 1030 Add APE firmware support and improve firmware handshake procedure. This change will enable IPMI access on 5717/5718/5719/5720 and 5761 controllers. Because ASF is not available when APE firmware is present, bge_allow_asf tunable is ignored when driver detects APE firmware. Also bge(4) no longer performs two resets(one blind reset and the other reset with firmware in mind) in device attach. Now bge(4) performs a reset with enough information in bge_reset(). The APE firmware also needs special handling to make suspend/resume work but it was not implemented yet. With this change, bge(4) should work on any 5717/5718/5719/5720 controllers. Special thanks to Mike Hibler at Emulab who setup remote debugging on Dell R820. Without his help I couldn't be able to address several issues happened on Dell Rx20 systems. And many thanks to Broadcom for continuing to support FreeBSD! Submitted by: davidch (initial version) H/W donated by: Broadcom Tested by: many Tested on: Del R820/R720/R620/R420/R320 and HP Proliant DL 360 G8 END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2012-10-11T07:39:51.412254Z K 7 svn:log V 36 Apply some style. Checked with md5. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2012-10-11T07:54:29.783506Z K 7 svn:log V 198 Decode the first two fstab fields with strunvis(3). This allows having spaces in devices and mount paths, encoded as \s or \040. PR: bin/117687 Submitted by: Martin Kammerhofer Discussed on: arch END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2012-10-11T08:18:28.218427Z K 7 svn:log V 90 Fix my last commit. Only call strunvis after properly checking the argument is not NULL. END K 10 svn:author V 5 peter K 8 svn:date V 27 2012-10-11T08:44:15.392185Z K 7 svn:log V 230 Pull in the old access.doc_src file from CVS that was forgotten in the cvs->svn conversion 4 years ago. This is not a commit-bit file as such - it just sends commit/developer mail to doc committers. Approved by: core (implicit) END K 10 svn:author V 5 erwin K 8 svn:date V 27 2012-10-11T13:25:09.922621Z K 7 svn:log V 199 Update to 9.6-ESV-R7-P4 Prevents a lockup when queried a deliberately constructed combination of records. [CVE-2012-5166] For more information: https://kb.isc.org/article/AA-00801 Approved by: bz END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-10-11T15:21:07.488025Z K 7 svn:log V 359 Increase device CCB queue array size by CAM_RL_VALUES - 1 (4) elements. It is required to store extra recovery requests in case of bus resets. On ATA/SATA this fixes assertion panics on HEAD with INVARIANTS enabled or possible memory corruptions otherwise if timeout/reset happens when device CCB queue is already full. Reported by: gibbs@ MFC after: 1 week END K 10 svn:author V 5 gabor K 8 svn:date V 27 2012-10-11T15:49:42.645160Z K 7 svn:log V 139 MFC r241096: - Rename files to track the XML migration in the doc tree and make the release notes build again Approved by: re (hrs) END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2012-10-11T16:15:18.761878Z K 7 svn:log V 164 Add NG_NETFLOW_V9INFO_TYPE command to be able to request netflowv9-specific data. Submitted by: Dmitry Luhtionov MFC after: 2 weeks END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-10-11T17:32:03.489258Z K 7 svn:log V 171 - Fix grammar [1]. - Remove /dev/fuseN occurrences and use correct /dev/fuse one. [1] Submitted by: Kevin Oberman Reviewed by: gjb (partially) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2012-10-11T18:01:31.331475Z K 7 svn:log V 37 Vendor import of BIND 9.6-ESV-R7-P4. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2012-10-11T18:05:20.574427Z K 7 svn:log V 31 Tag the 9.6-ESV-R7-P4 release. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2012-10-11T18:11:38.001354Z K 7 svn:log V 53 Record mergeinfo for r241443 to ease future imports. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2012-10-11T18:41:32.453097Z K 7 svn:log V 207 Exclude potential circular symlink when creating src tarball. Normal release builds are not affected by this but it can happen if using these release bits against a work tree. Sponsored by: ADARA Networks END K 10 svn:author V 4 neel K 8 svn:date V 27 2012-10-11T19:28:07.997629Z K 7 svn:log V 183 Deliver the MSI to the correct guest virtual cpu. Prior to this change the MSI was being delivered unconditionally to vcpu 0 regardless of how the guest programmed the MSI delivery. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-10-11T19:39:45.039170Z K 7 svn:log V 14 MFC @ r238400 END K 10 svn:author V 4 neel K 8 svn:date V 27 2012-10-11T19:39:54.913636Z K 7 svn:log V 219 Fix warnings generated by 'debug.witness.watch' during VM creation and destruction for calling malloc() with M_WAITOK while holding a mutex. Do not allow vmm.ko to be unloaded until all virtual machines are destroyed. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-10-11T19:57:11.946087Z K 7 svn:log V 66 Don't duplicate path/ccb allocation code, use existing functions. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-10-11T20:14:11.487420Z K 7 svn:log V 163 Use separate malloc buckets for CAM devices, CCBs and paths. This will make it easier to track down the source of any use after free problems. Submitted by: ken@ END K 10 svn:author V 5 peter K 8 svn:date V 27 2012-10-11T20:46:04.967935Z K 7 svn:log V 63 Point freebsd.org cluster machines to mx1 for their smarthost. END K 10 svn:author V 5 peter K 8 svn:date V 27 2012-10-11T20:48:45.822596Z K 7 svn:log V 53 Point freebsd.org nullclient cluster machines to mx1 END K 10 svn:author V 5 peter K 8 svn:date V 27 2012-10-11T20:50:59.776730Z K 7 svn:log V 62 Switch freebsd.org nullhost cluster machines from hub to mx1. END K 10 svn:author V 5 peter K 8 svn:date V 27 2012-10-11T20:52:23.071365Z K 7 svn:log V 61 Switch freebsd.org nullhost cluster machines from hub to mx1 END K 10 svn:author V 5 peter K 8 svn:date V 27 2012-10-11T20:53:11.517821Z K 7 svn:log V 61 Switch freebsd.org nullhost cluster machines from hub to mx1 END K 10 svn:author V 2 np K 8 svn:date V 27 2012-10-11T21:15:54.514770Z K 7 svn:log V 138 MFC r233850: - Remove redundant call to pr_ctloutput from code that handles SO_SETFIB. - Add a check for errors during copyin while here. END K 10 svn:author V 3 ray K 8 svn:date V 27 2012-10-11T21:19:42.772755Z K 7 svn:log V 75 Fix tiypo. Submitted by: Luiz Otavio O Souza Approved by: adrian (mentor) END K 10 svn:author V 6 emaste K 8 svn:date V 27 2012-10-11T21:24:07.947804Z K 7 svn:log V 28 Make local function static. END K 10 svn:author V 2 np K 8 svn:date V 27 2012-10-11T21:29:11.856905Z K 7 svn:log V 88 MFC r240443: Update interface to firmware 1.6.2 and include the firmware in the driver. END K 10 svn:author V 2 np K 8 svn:date V 27 2012-10-11T22:30:10.194640Z K 7 svn:log V 72 MFC r240451: Allow cxgbe to be built into a kernel with "device cxgbe." END K 10 svn:author V 2 np K 8 svn:date V 27 2012-10-11T22:46:20.904891Z K 7 svn:log V 208 MFC r240452-240453. r240452: Use native FreeBSD facilities everywhere except the shared code in common/ r240453: Install interrupt handlers early, during attach, for the reason explained in r239913 by jhb. END K 10 svn:author V 2 np K 8 svn:date V 27 2012-10-11T23:02:35.336849Z K 7 svn:log V 97 MFC r239624: Allow nmbjumbop, nmbjumbo9, and nmbjumbo16 to be set directly via loader tunables. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2012-10-11T23:03:42.451983Z K 7 svn:log V 301 Patch from Bryan to fix a virtqueue issue: virtqueue: Fix non-indirect virtqueues We really must walk the entire descriptor chain in order to append the to be free'd chain to the existing free chain. Submitted by: Bryan Venteicher (bryanv@daemoninthecloset.org) Reported by: cognet END K 10 svn:author V 6 grehan K 8 svn:date V 27 2012-10-11T23:41:18.109989Z K 7 svn:log V 108 Virtio SCSI driver Submitted by: Bryan Venteicher bryanv at daemoninthecloset dot org Reviewed by: grehan END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2012-10-12T01:31:02.930280Z K 7 svn:log V 114 Since the moduledata structure member priv is a void pointer, using NULL instead of 0 when dealing with pointers. END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-10-12T02:10:26.867130Z K 7 svn:log V 159 MFC r240389,r240409: - Add support for ipv6 addresses as destination - Add documentation for IPv6 support PR: docs/171580 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-10-12T02:10:27.025289Z K 7 svn:log V 159 MFC r240389,r240409: - Add support for ipv6 addresses as destination - Add documentation for IPv6 support PR: docs/171580 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-10-12T02:10:27.485220Z K 7 svn:log V 159 MFC r240389,r240409: - Add support for ipv6 addresses as destination - Add documentation for IPv6 support PR: docs/171580 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-10-12T02:12:52.778851Z K 7 svn:log V 265 MFC r241373: Remove undefined behavior from sranddev() and srandomdev(). This doesn't actually work with any modern C compiler: In particular, both clang and modern gcc verisons silently elide any xor operation with 'junk'. Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-10-12T02:12:53.241989Z K 7 svn:log V 265 MFC r241373: Remove undefined behavior from sranddev() and srandomdev(). This doesn't actually work with any modern C compiler: In particular, both clang and modern gcc verisons silently elide any xor operation with 'junk'. Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-10-12T02:12:53.383907Z K 7 svn:log V 265 MFC r241373: Remove undefined behavior from sranddev() and srandomdev(). This doesn't actually work with any modern C compiler: In particular, both clang and modern gcc verisons silently elide any xor operation with 'junk'. Approved by: cperciva (implicit) END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-10-12T03:09:59.178542Z K 7 svn:log V 204 MFC r241155 Update some of the comments. In particular, use "sleep" in preference to "block" where appropriate. Eliminate some unnecessary casts. Make a few whitespace changes for consistency. END K 10 svn:author V 4 joel K 8 svn:date V 27 2012-10-12T06:16:51.858065Z K 7 svn:log V 19 Remove whitespace. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-10-12T09:24:24.000018Z K 7 svn:log V 106 In ip_stripoptions(): - Remove unused argument and incorrect comment. - Fixup ip_len after stripping. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-10-12T09:32:38.419396Z K 7 svn:log V 80 Revert fixup of ip_len from r241480. Now stack isn't yet ready for that change. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-10-12T12:27:30.695767Z K 7 svn:log V 70 Be more explicit on how "intact" incoming packets in raw sockets are. END K 10 svn:author V 4 ache K 8 svn:date V 27 2012-10-12T13:17:19.773510Z K 7 svn:log V 329 MFC r241137,r241154 Using putenv() and later direct pointer contents modification it is possibe to craft environment variables with similar names like that: a=1 a=2 ... unsetenv("a") should remove them all to make later getenv("a") impossible. Fix it to do so (this is GNU autoconf test #3 failure too). PR: 172273 END K 10 svn:author V 6 emaste K 8 svn:date V 27 2012-10-12T15:03:28.889573Z K 7 svn:log V 36 Use CLOCK_UPTIME to get the uptime. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-10-12T17:18:24.194847Z K 7 svn:log V 101 Protect xpt_getattr() calls with the SIM lock and assert that. Submitted by: ken@ (earlier version) END K 10 svn:author V 4 neel K 8 svn:date V 27 2012-10-12T17:39:28.485121Z K 7 svn:log V 86 Add an api to map a vm capability type into a string to be used for display purposes. END K 10 svn:author V 4 neel K 8 svn:date V 27 2012-10-12T18:14:54.235369Z K 7 svn:log V 145 Output the value of all capabilities when the "--getcap" option is used without a "--capname=". Do the same for the "--get-all" option. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-10-12T18:21:31.251624Z K 7 svn:log V 159 Get SIM lock in several places while calling CAM functions. This fixes several use-after-free panics on systems with SAS enclosures. Submitted by: ken@, mav@ END K 10 svn:author V 4 neel K 8 svn:date V 27 2012-10-12T18:32:44.667905Z K 7 svn:log V 198 Provide per-vcpu locks instead of relying on a single big lock. This also gets rid of all the witness.watch warnings related to calling malloc(M_WAITOK) while holding a mutex. Reviewed by: grehan END K 10 svn:author V 4 neel K 8 svn:date V 27 2012-10-12T18:49:07.784090Z K 7 svn:log V 80 Deal with transient EBUSY error return from vm_run() by retrying the operation. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-10-12T19:53:13.416790Z K 7 svn:log V 49 Fix type in last commit. Submitted by: brueffer END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-10-12T21:31:44.907478Z K 7 svn:log V 637 Add locking to adv(4) driver and mark it MPSAFE. - Disable the support for the second channel on twin-channel EISA cards as the current incarnation can't possibly work correctly (it hasn't worked since switching to new-bus where new-bus allocates the softc). If anyone bothers to test this again it can be fixed properly and brought back. - Use device_printf() and device_get_nameunit() instead of adv_name(). - Remove use of explicit bus space handles and tags. - Use PCI bus accessors and helper routines rather than accessing config registers directly. - Handle failures from adv_attach(). Tested by: no one (hope it works) END K 10 svn:author V 2 np K 8 svn:date V 27 2012-10-12T21:48:21.658125Z K 7 svn:log V 131 Use global knob in the TP_PARA_REG3 register to disable congestion drops if the user has chosen this behaviour. MFC after: 3 days END K 10 svn:author V 2 np K 8 svn:date V 27 2012-10-12T21:58:21.648828Z K 7 svn:log V 67 Temporary fix for kern/172364. PR: kern/172364 MFC after: 3 days END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-10-12T22:06:06.440303Z K 7 svn:log V 148 Fix build with PAE enabled. I doubt any code uses CAM_SCATTER_VALID or CAM_DATA_PHYS, or they ever correctly worked, but make this build at least. END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2012-10-12T22:48:33.436662Z K 7 svn:log V 278 Some 3G modems return the wrong signature in echo packets and make it impossible to use LQR/ECHO. They return want_magic instead. With this change it is now possible to use enable lqr set lqrperiod 5 enable echo set echoperiod 5 in your ppp.conf file. MFC after: 3 days END K 10 svn:author V 6 grehan K 8 svn:date V 27 2012-10-12T23:12:19.979751Z K 7 svn:log V 158 Add the guest physical address and r/w/x bits to the paging exit in preparation for a rework of bhyve MMIO handling. Reviewed by: neel Obtained from: NetApp END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-10-12T23:26:00.644214Z K 7 svn:log V 208 Replace all uses of the vm page queues lock by a new R/W lock. Unfortunately, this lock cannot be defined as static under Xen because it is (ab)used to serialize queued page table changes. Tested by: sbruno END K 10 svn:author V 6 dteske K 8 svn:date V 27 2012-10-13T03:56:33.968838Z K 7 svn:log V 258 SVN r240684 broke the ability of the dot module to map include dependencies. Teach the dot module about the new location these includes moved to (as part of r240684) and clean things up a bit. Reviewed by: adrian (co-mentor) Approved by: adrian (co-mentor) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-10-13T06:27:34.486175Z K 7 svn:log V 24 Fix the non-TDMA build. END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2012-10-13T09:25:29.724974Z K 7 svn:log V 145 Add forgotten documentation for new NGM_NETFLOW_V9INFO message. Submitted by: Dmitry Luhtionov MFC with: r241446 END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2012-10-13T09:31:01.118770Z K 7 svn:log V 94 Cleanup documentation: cloning route support has been removed in r186119. MFC after: 2 weeks END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-10-13T10:18:36.538961Z K 7 svn:log V 255 XPT_DEV_MATCH is probably the only xpt_action() method that is called without holding SIM lock. It really doesn't need that lock, but adding it removes that specific exception, allowing to assert locking there later. Submitted by: ken@ (earlier version) END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-10-13T11:23:16.634393Z K 7 svn:log V 305 Fix XPT_DEBUG paths operations locking: - Extend the lock to cover xpt_path_release() for the new path. - While xpt_action() is called while holding right SIM lock for the new bus, the old path release may require different SIM lock. So we have to temporary drop the new lock and get the old one. END