243539 135 1753 174 1998 1998 133 341 341 1177 1177 352 699 699 638 638 396 216 354 354 354 179 146 375 153 1165 1176 204 190 213 213 230 215 532 380 633 163 133 160 619 133 379 231 278 486 274 274 153 153 658 134 718 154 1533 131 322 253 317 133 133 105 122 167 233 244 278 164 182 132 126 126 110 195 396 118 445 256 444 216 142 186 198 106 123 143 155 234 293 234 234 461 189 1129 95 2696 182 382 149 477 198 552 217 243 832 936 216 131 128 156 133 212 316 261 308 216 470 137 130 186 278 182 182 329 535 136 191 265 465 188 118 370 402 375 266 183 119 125 K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-11-26T02:42:19.031552Z K 7 svn:log V 1655 MFC r241388-241393: r241388: 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. r241389: On PHY write error use hex number to show the value. Add more comments. r241390: Honor PHY type fiber for BCM5717/BCM5718/BCM5719/BCM5720. r241391: 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. r241392: 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. r241393: 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 6 eadler K 8 svn:date V 27 2012-11-26T02:48:56.840460Z K 7 svn:log V 79 MFC r243280: Use .Nm instead of a self xref Approved by: cperciva (implicit) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-11-26T04:10:27.467555Z K 7 svn:log V 1900 MFC r241436: 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-11-26T04:11:12.621483Z K 7 svn:log V 1900 MFC r241436: 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 8 lstewart K 8 svn:date V 27 2012-11-26T04:18:58.612186Z K 7 svn:log V 36 Merge revs 226086:230000 from head. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-11-26T04:20:11.406472Z K 7 svn:log V 244 MFC r241437: 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-11-26T04:20:59.360076Z K 7 svn:log V 244 MFC r241437: 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-11-26T04:25:41.323431Z K 7 svn:log V 1079 MFC r241438: 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 yongari K 8 svn:date V 27 2012-11-26T04:26:27.387543Z K 7 svn:log V 1079 MFC r241438: 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 6 davide K 8 svn:date V 27 2012-11-26T04:29:47.640130Z K 7 svn:log V 256 - smbfs_rename() might return an error value without correctly upgrading the vnode use count, and this might cause the kernel to panic if compiled with WITNESS enable. - Be sure to put the '\0' terminator to the rpath string. Sponsored by: iXsystems inc. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-11-26T04:34:05.751223Z K 7 svn:log V 602 MFC r241983-241985: r241983: Do not hardcode phy address. Multi-port controllers use different phy address. r241984: Ethernet@WireSpeed is defined for 1000baseT adapter to establish a link at a lower speed so enabling it for fiber adapters is wrong. Fix the issue by setting BGE_PHY_NO_WIRESPEED such that brgphy(4) wouldn't enable the feature. While I'm here move PHY specific feature/bug configuration to new location(just before mii attach) for readability. r241985: For fast ethernet controllers, Ethernet@WireSpeed is not defined so explicitly set BGE_PHY_NO_WIRESPEED flag. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-11-26T04:34:53.588741Z K 7 svn:log V 602 MFC r241983-241985: r241983: Do not hardcode phy address. Multi-port controllers use different phy address. r241984: Ethernet@WireSpeed is defined for 1000baseT adapter to establish a link at a lower speed so enabling it for fiber adapters is wrong. Fix the issue by setting BGE_PHY_NO_WIRESPEED such that brgphy(4) wouldn't enable the feature. While I'm here move PHY specific feature/bug configuration to new location(just before mii attach) for readability. r241985: For fast ethernet controllers, Ethernet@WireSpeed is not defined so explicitly set BGE_PHY_NO_WIRESPEED flag. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-11-26T04:39:41.432715Z K 7 svn:log V 541 MFC r242426: TCP/UDP checksum offloading feature for IP fragmented datagram was removed in r99417. bge(4) controllers can do TCP checksum offload for IP fragmented datagrams but unlike ti(4), it lacks UDP checksum offloading for IP fragmented datagrams. The problem was bge(4) blindly requested TCP/UDP checksum for IP fragmented datagrams such that it resulted in corrupted UDP datagrams before r99417. Remove remaining code for TCP checksum offloading for IP fragmented datagrams which should have been removed in r99417. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-11-26T04:40:26.756638Z K 7 svn:log V 541 MFC r242426: TCP/UDP checksum offloading feature for IP fragmented datagram was removed in r99417. bge(4) controllers can do TCP checksum offload for IP fragmented datagrams but unlike ti(4), it lacks UDP checksum offloading for IP fragmented datagrams. The problem was bge(4) blindly requested TCP/UDP checksum for IP fragmented datagrams such that it resulted in corrupted UDP datagrams before r99417. Remove remaining code for TCP checksum offloading for IP fragmented datagrams which should have been removed in r99417. END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-11-26T05:11:03.339361Z K 7 svn:log V 300 Use modern license instead of being consistent with the other pkg_ tools Use a more informative message Fix some style(9) nits. Bump version number In pkg_add only warn users after the chroot is performed. Submitted by: gavin, jilles Reviewed by: beat, bapt Approved by: cperciva MFC after: 1 month END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-11-26T05:11:07.206010Z K 7 svn:log V 120 Provide an option to users to shoot themselves in the foot. Reviewed by: bapt Approved by: cperciva MFC after: 1 month END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-11-26T05:13:57.063088Z K 7 svn:log V 258 MFC r243072: Follow the behavior as specified in POSIX: if (exists AND (NOT f_option) AND ((not_writable AND input_is_terminal) OR i_option)) prompt in particular, add the test for input_is_terminal PR: bin/173039 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-11-26T05:13:57.220576Z K 7 svn:log V 258 MFC r243072: Follow the behavior as specified in POSIX: if (exists AND (NOT f_option) AND ((not_writable AND input_is_terminal) OR i_option)) prompt in particular, add the test for input_is_terminal PR: bin/173039 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-11-26T05:13:57.763854Z K 7 svn:log V 258 MFC r243072: Follow the behavior as specified in POSIX: if (exists AND (NOT f_option) AND ((not_writable AND input_is_terminal) OR i_option)) prompt in particular, add the test for input_is_terminal PR: bin/173039 Approved by: cperciva (implicit) END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-11-26T08:50:00.541698Z K 7 svn:log V 84 Allow shutdown() to be used on fds returned from sctp_peeloff(). MFC after: 3 days END K 10 svn:author V 3 ray K 8 svn:date V 27 2012-11-26T09:03:21.692398Z K 7 svn:log V 54 Follow Tim Kientzle with s/Timecouter/Timecounter/ :) END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-11-26T12:24:39.387804Z K 7 svn:log V 283 MFV r243395: Introduce a new dataset aclmode setting "restricted" to protect ACL's being destroyed or corrupted by a drive-by chmod. illumos-gate 13889:a67716f16746 3254 add support in zfs for aclmode=restricted References: https://www.illumos.org/issues/3254 MFC after: 2 weeks END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-11-26T13:16:55.155736Z K 7 svn:log V 62 Update manpage dates in zfs.8 and zpool.8 MFC after: 2 weeks END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-11-26T15:34:28.334685Z K 7 svn:log V 1071 MFC r238943: Add several performance optimizations to acpi_cpu_idle(). For C1 and C2 states use cpu_ticks() to measure sleep time instead of much slower ACPI timer. We can't do it for C3, as TSC may stop there. But it is less important there as wake up latency is high any way. For C1 and C2 states do not check/clear bus mastering activity status, as it is important only for C3. As side effect it can make CPU enter C2 instead of C3 if last BM activity was two sleeps back (unlike one before), but that may be even good because of collecting more statistics. Premature BM wakeup from C3, entered because of overestimation, can easily be worse then entering C2 from both performance and power consumption points of view. Together on dual Xeon E5645 system on sequential 512 bytes read test this change makes cpu_idle_acpi() as fast as simplest cpu_idle_hlt() and only few percents slower then cpu_idle_mwait(), while deeper states are still actively used during idle periods. To help with diagnostics, add C-state type into dev.cpu.X.cx_supported. PR: kern/170021 END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-11-26T16:19:27.999719Z K 7 svn:log V 1082 MFC r238943: Add several performance optimizations to acpi_cpu_idle(). For C1 and C2 states use cpu_ticks() to measure sleep time instead of much slower ACPI timer. We can't do it for C3, as TSC may stop there. But it is less important there as wake up latency is high any way. For C1 and C2 states do not check/clear bus mastering activity status, as it is important only for C3. As side effect it can make CPU enter C2 instead of C3 if last BM activity was two sleeps back (unlike one before), but that may be even good because of collecting more statistics. Premature BM wakeup from C3, entered because of overestimation, can easily be worse then entering C2 from both performance and power consumption points of view. Together on dual Xeon E5645 system on sequential 512 bytes read test this change makes cpu_idle_acpi() as fast as simplest cpu_idle_hlt() and only few percents slower then cpu_idle_mwait(), while deeper states are still actively used during idle periods. To help with diagnostics, add C-state type into dev.cpu.X.cx_supported. PR: kern/170021 END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-11-26T16:43:32.808670Z K 7 svn:log V 108 Find the endpoint for an incoming packet also if the endpoint comes from sctp_peeloff(). MFC after: 3 days END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-11-26T16:44:03.140838Z K 7 svn:log V 95 Add support for sctp_peeloff() also in the front states of the association. MFC after: 3 days END K 10 svn:author V 6 wblock K 8 svn:date V 27 2012-11-26T18:10:15.016014Z K 7 svn:log V 117 MFC r242546: Add an example showing the use of gnop(8) to skip over header data. PR: kern/145999 Reviewed by: mjg END K 10 svn:author V 6 wblock K 8 svn:date V 27 2012-11-26T18:11:41.385977Z K 7 svn:log V 117 MFC r242546: Add an example showing the use of gnop(8) to skip over header data. PR: kern/145999 Reviewed by: mjg END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-11-26T19:42:38.929593Z K 7 svn:log V 133 Fix typo in weekly line which made it to rotated after reaching > 1 Kb. PR: conf/173857 Submitted by: Matt Smith END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-11-26T19:45:01.182734Z K 7 svn:log V 118 Re-initialize eh pointer after m_adj() Submitted by: Kohji Okuno Reviewed by: yongari END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-11-26T20:03:57.691882Z K 7 svn:log V 435 drbr_enqueue() awlays consumes mbuf, no matter did it fail or not. The mbuf pointer is no longer valid, so can't be reused after. Fix igb_mq_start() where mbuf pointer was used after drbr_enqueue(). This eventually leads us to all invocations of igb_mq_start_locked() called with third argument as NULL. This allows us to simplify this function. Submitted by: Karim Fodil-Lemelin Reviewed by: jfv END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-11-26T20:07:10.831335Z K 7 svn:log V 287 Fix problem with the Samsung 840 PRO series SSD detection. The device reports support for SATA Asynchronous Notification in its IDENTIFY data, but returns error on attempt to enable that feature. Make SATA XPT of CAM only report these errors, but not fail the device. MFC after: 1 week END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-11-26T21:32:31.372655Z K 7 svn:log V 540 Pull in r168610 from upstream libc++: When using libc++ headers on FreeBSD, in combination with -std=c++98, -ansi or -std=c++03, the long long type is not supported. So in this case, several functions and types, like lldiv_t, strtoll(), are not declared. This should make it possible to use the libc++ headers in c++98 mode. Note: libc++ is originally designed as a c++0x or higher library, so you should still take care when using it with c++98 or c++03. Noted by: Yamaya Takashi MFC after: 1 week END K 10 svn:author V 5 trasz K 8 svn:date V 27 2012-11-26T21:55:15.683840Z K 7 svn:log V 69 Release Mateusz Guzik from mentorship. Reviewed by: core (implicit) END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2012-11-26T23:23:36.340959Z K 7 svn:log V 36 Merge revs 230000:232000 from head. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-11-26T23:30:47.904215Z K 7 svn:log V 65 Unbreak building a kernel with EHCI: there's no ehci_atmelarm.c. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-11-27T00:41:39.632830Z K 7 svn:log V 523 Don't define intr_disable and intr_restore as macros. The macros interfere with structure fields of the same name in drivers, like the intr_disable function pointer in struct cphy_ops in cxgb(4). Instead define intr_disable and intr_restore as inline functions. With intr_disable() an inline function, the I32_bit and F32_bit macros now need to be visible in MI code and given the rather poor names, this is not at all good. Define ARM_CPSR_F32 and ARM_CPSR_I32 and use that instead of F32_bit and I32_bit (resp) for now. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2012-11-27T00:42:30.041747Z K 7 svn:log V 36 Merge revs 232000:235000 from head. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-11-27T01:05:07.291002Z K 7 svn:log V 283 Remove print_kernel_section_addr(). All statements in that function expand to uncompilable code when the kernel configuration contains "options DEBUG", such as it is for LINT. The toolchain is often a better approach to figure this out, as it doesn't require one to boot the kernel. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-11-27T01:08:05.410338Z K 7 svn:log V 135 Don't include arm/xscale/i8134x/i81342reg.h when we're compiling LINT. The definitions in i81342reg.h clash with those in i80321reg.h. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-11-27T01:10:58.573566Z K 7 svn:log V 182 Allow building LINT by defining both SAMPLE_AT_RESET on the one hand and SAMPLE_AT_RESET_{LO|HI} on the other. It doesn't matter which values they take, as long as they are defined. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-11-27T01:17:50.089206Z K 7 svn:log V 390 Add NOTES and Makefile in order to generate LINT. NOTES contains pretty much all the union of all the kernel configuration files, including all the CPU types, Marvell SOC types and at91 board types. Any device not supported (read: does not compile) has been removed, which is a fairly small set actually. As such, LINT gives us very good coverage without having to build a zillion kernels. END K 10 svn:author V 3 mjg K 8 svn:date V 27 2012-11-27T01:28:35.136108Z K 7 svn:log V 181 MFC r243007: enterpgrp: get rid of pgrp2 variable and use KASSERT directly on pgfind result. pgrp2 was used only for debugging, but pgrp2 = pgfind(..) was present in compiled code END K 10 svn:author V 3 mjg K 8 svn:date V 27 2012-11-27T01:30:12.719195Z K 7 svn:log V 181 MFC r243007: enterpgrp: get rid of pgrp2 variable and use KASSERT directly on pgfind result. pgrp2 was used only for debugging, but pgrp2 = pgfind(..) was present in compiled code END K 10 svn:author V 3 mjg K 8 svn:date V 27 2012-11-27T01:33:23.157737Z K 7 svn:log V 61 MFC r243234: Fix possible fp reference leak in posix_openpt END K 10 svn:author V 3 mjg K 8 svn:date V 27 2012-11-27T01:35:29.911960Z K 7 svn:log V 61 MFC r243234: Fix possible fp reference leak in posix_openpt END K 10 svn:author V 2 ae K 8 svn:date V 27 2012-11-27T01:59:51.141658Z K 7 svn:log V 566 MFC r242079: Remove the IPFIREWALL_FORWARD kernel option and make possible to turn on the related functionality in the runtime via the sysctl variable net.pfil.forward. It is turned off by default. MFC r242082: Note the removal of the IPFIREWALL_FORWARD kernel option. MFC r242463: Remove the recently added sysctl variable net.pfil.forward. Instead, add protocol specific mbuf flags M_IP_NEXTHOP and M_IP6_NEXTHOP. Use them to indicate that the mbuf's chain contains the PACKET_TAG_IPFORWARD tag. And do a tag lookup only when this flag is set. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2012-11-27T02:03:41.839253Z K 7 svn:log V 37 Allow this file to build on FreeBSD. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-11-27T02:18:41.078860Z K 7 svn:log V 622 When programming the beacon timer configuration, be very explicit about what the maximum legal values are. The current beacon timer configuration from TDMA wraps things at HAL_BEACON_PERIOD-1 TU. For the 11a chips this is fine, but for the 11n chips it's not enough resolution. Since the 11a chips have a limit on what's "valid", just enforce this so when I do write larger values in, they get suitably wrapped before programming. Tested: * AR5413, TDMA slave Todo: * Run it for a (lot) longer on a clear channel, ensure that no strange slippages occur. * Re-validate this on STA configurations, just to be sure. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-11-27T02:19:35.343493Z K 7 svn:log V 59 Add a note about the magic values here; don't change them. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-11-27T02:23:45.362500Z K 7 svn:log V 1436 Fix the TDMA nexttbtt programming for 802.11n chips. The existing logic wrapped programming nexttbtt at 65535 TU. This is not good enough for the 11n chips, whose nexttbtt register (GENERIC_TIMER_0) has an initial value from 0..2^31-1 TSF. So converting the TU to TSF had the counter wrap at (65535 << 10) TSF. Once this wrap occured, the nexttbtt value was very very low, much lower than the current TSF value. At this point, the nexttbtt timer would constantly fire, leading to the TX queue being constantly gated open.. and when this occured, the sender was not correctly transmitting in its slot but just able to continuously transmit. The master would then delay transmitting its beacon until after the air became free (which I guess would be after the burst interval, before the next burst interval would quickly follow) and that big delta in master beacon TX would start causing big swings in the slot timing adjustment. With this change, the nexttbtt value is allowed to go all the way up to the maximum value permissable by the 32 bit representation. I haven't yet tested it to that point; I really should. The AR5212 HAL now filters out values above 65535 TU for the beacon configuration (and the relevant legal values for SWBA, DBA and NEXTATIM) and the AR5416 HAL just dutifully programs in what it should. With this, TDMA is now useful on the 802.11n chips. Tested: * AR5416, AR9280 TDMA slave * AR5413 TDMA slave END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-11-27T02:24:05.829853Z K 7 svn:log V 36 Add in specific TDMA logging types. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-11-27T02:27:30.723859Z K 7 svn:log V 226 Improve the TDMA debugging: * add some further debugging prints, which are quite nice to have * add in ALQ hooks (optional!) to allow for the TDMA information to be logged in-line with the TX and RX descriptor information. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-11-27T02:28:42.650911Z K 7 svn:log V 157 Add in a totally hacked up copy of the AR5416 descriptor decoding stuff, as well as TDMA related things. I used this to debug TDMA related issues in -HEAD. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2012-11-27T03:04:24.820679Z K 7 svn:log V 221 Auto size the tcbhashsize structure based on max sockets. While here, also make the code that enforces power-of-two more forgiving, instead of just resetting to 512, graciously round-down to the next lower power of two. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2012-11-27T03:36:15.469268Z K 7 svn:log V 36 Merge revs 235000:240000 from head. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2012-11-27T05:48:36.953871Z K 7 svn:log V 36 Merge revs 240000:240493 from head. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-11-27T05:52:08.487398Z K 7 svn:log V 10 Fix build END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2012-11-27T06:01:02.238963Z K 7 svn:log V 25 Merge r240494 from head. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2012-11-27T06:07:58.220885Z K 7 svn:log V 71 Take first active vnode correctly. Reviewed by: kib MFC after: 3 days END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2012-11-27T06:20:40.559431Z K 7 svn:log V 135 Reverse the merge of r240494 from head. It needs to be done again, but this time remembering to move the DIFFUSE code to its new home. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-11-27T06:35:26.360653Z K 7 svn:log V 147 Better safe than sorry: reinitialize eh after ng_ether(4) and if_bridge(4) processing, since mbuf may be modified there. Submitted by: youngari END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-11-27T06:39:32.807486Z K 7 svn:log V 183 Do not enable data cache until later in kernel init. Stale bits in cache might cause erroneus behavior on early stage. Submitted by: Ian Lepore Tested on: Atmel, Marvell, and Eyxnos END K 10 svn:author V 2 np K 8 svn:date V 27 2012-11-27T06:42:44.977956Z K 7 svn:log V 73 Make sure that tcp_timer_activate() correctly sees TCP_OFFLOAD (or not). END K 10 svn:author V 2 np K 8 svn:date V 27 2012-11-27T06:50:24.938634Z K 7 svn:log V 91 Pull in r243603: Make sure that tcp_timer_activate() correctly sees TCP_OFFLOAD (or not). END K 10 svn:author V 2 np K 8 svn:date V 27 2012-11-27T08:32:12.622935Z K 7 svn:log V 41 MFC r243110: cxgbe/tom: Plug mbuf leak. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-11-27T08:40:48.987768Z K 7 svn:log V 31 Correct some debugging output. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-11-27T10:11:54.025752Z K 7 svn:log V 34 Style fixes (mostly whitespaces). END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-11-27T10:15:58.237249Z K 7 svn:log V 18 More style fixes. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-11-27T10:16:48.261500Z K 7 svn:log V 102 Allow to modify kern.sugid_coredump and kern.corefile from loader.conf. Obtained from: WHEEL Systems END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-11-27T10:22:40.955093Z K 7 svn:log V 303 Allow to use kill(2) in capability mode, but process can send a signal only to himself. For example abort(3) at first tries to do kill(getpid(), SIGABRT) which was failing in capability mode, so the code was failing back to exit(1). Reviewed by: rwatson Obtained from: WHEEL Systems MFC after: 2 weeks END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-11-27T10:25:03.820176Z K 7 svn:log V 26 Regenerate after r243610. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-11-27T10:32:35.063707Z K 7 svn:log V 352 - Add NOCAPCHECK flag to namei that allows lookup to work even if the process is in capability mode. - Add VN_OPEN_NOCAPCHECK flag for vn_open_cred() to will ne converted into NOCAPCHECK namei flag. This functionality will be used to enable core dumps for sandboxed processes. Reviewed by: rwatson Obtained from: WHEEL Systems MFC after: 2 weeks END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-11-27T10:38:11.058901Z K 7 svn:log V 163 Add kern.capmode_coredump sysctl/tunable to allow processes in capability mode to dump core. Reviewed by: rwatson Obtained from: WHEEL Systems MFC after: 2 weeks END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-11-27T11:30:39.201895Z K 7 svn:log V 348 * Fix another culprit of my "committed from the wrong directory" nonsense; now this works for non-debug and debug builds. * Add a comment reminding me (or someone) to audit all of the relevant math to ensure there's no weird wrapping issues still lurking about. But yes, this does seem to be mostly working. Pointy-hat-to: adrian, yet again END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2012-11-27T12:23:57.014957Z K 7 svn:log V 119 Pass allocated unit number to make_dev, otherwise kernel panics later while cloning second tap. Reviewed by: kevlo,ed END K 10 svn:author V 6 emaste K 8 svn:date V 27 2012-11-27T16:20:44.394606Z K 7 svn:log V 47 MFC r243387: Use %u for unsigned serial number END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-11-27T16:23:12.654236Z K 7 svn:log V 94 Respect NO_FSCHG and don't set 'schg' flag on passwd/yppasswd is defined. MFC after: 2 weeks END K 10 svn:author V 2 jh K 8 svn:date V 27 2012-11-27T16:37:36.401133Z K 7 svn:log V 106 MFC r238991: Disallow sectorsize larger than MAXPHYS and mediasize smaller than sectorsize. PR: 169947 END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-11-27T18:38:50.664976Z K 7 svn:log V 14 MFC @ r241285 END K 10 svn:author V 5 andre K 8 svn:date V 27 2012-11-27T19:00:44.816191Z K 7 svn:log V 29 Integrate from HEAD @243619. END K 10 svn:author V 5 andre K 8 svn:date V 27 2012-11-27T19:07:28.901059Z K 7 svn:log V 49 Add DELACK to list of timers. MFC after: 1 week END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2012-11-27T19:09:36.861313Z K 7 svn:log V 58 fix a panic resulting from a stray '&' MFC after: 1 week END K 10 svn:author V 6 peterj K 8 svn:date V 27 2012-11-27T19:23:54.694070Z K 7 svn:log V 138 MFC r241708: Explicitly specify 'np' so that getty(8) does not simulate even parity on local.9600. PR: 76226 Approved by: jhb (mentor) END K 10 svn:author V 5 andre K 8 svn:date V 27 2012-11-27T19:31:49.183802Z K 7 svn:log V 198 Remove unused and unnecessary CSUM_IP_FRAGS checksumming capability. Checksumming the IP header of fragments is no different from doing normal IP headers. Discussed with: yongari MFC after: 1 week END K 10 svn:author V 6 peterj K 8 svn:date V 27 2012-11-27T19:33:25.293875Z K 7 svn:log V 138 MFC r241708: Explicitly specify 'np' so that getty(8) does not simulate even parity on local.9600. PR: 76226 Approved by: jhb (mentor) END K 10 svn:author V 6 peterj K 8 svn:date V 27 2012-11-27T19:35:21.314101Z K 7 svn:log V 138 MFC r241708: Explicitly specify 'np' so that getty(8) does not simulate even parity on local.9600. PR: 76226 Approved by: jhb (mentor) END K 10 svn:author V 5 andre K 8 svn:date V 27 2012-11-27T20:04:52.359257Z K 7 svn:log V 366 Fix a race on listen socket teardown where while draining the accept queues a new socket/connection may be added to the queue due to a race on the ACCEPT_LOCK. The submitted patch is slightly changed in comments, teardown and locking order and extended with KASSERT's. Submitted by: Vijay Singh Found by: His team. MFC after: 1 week END K 10 svn:author V 5 andre K 8 svn:date V 27 2012-11-27T20:16:01.932472Z K 7 svn:log V 95 Update comment to prefer M_NOWAIT over M_DONTWAIT and M_WAITOK over M_WAIT. MFC after: 1 week END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2012-11-27T20:16:37.104499Z K 7 svn:log V 1030 MFC r241406, r241502, r241884. 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. Eliminate code checking if found IPv6 rte is dynamic. IPv6 redirects are using (different) ND-based approach described in RFC 4861. This change is similar to r241406 which conditionally skips the same check in IPv4. Cleanup documentation: cloning route support has been removed in r186119. This change is part of bigger patch eliminating rte locking. Sponsored by: Yandex LLC END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-11-27T20:22:36.004903Z K 7 svn:log V 4 MFC END K 10 svn:author V 5 andre K 8 svn:date V 27 2012-11-27T21:19:58.975724Z K 7 svn:log V 2600 Base the mbuf related limits on the available physical memory or kernel memory, whichever is lower. The overall mbuf related memory limit must be set so that mbufs (and clusters of various sizes) can't exhaust physical RAM or KVM. The limit is set to half of the physical RAM or KVM (whichever is lower) as the baseline. In any normal scenario we want to leave at least half of the physmem/kvm for other kernel functions and userspace to prevent it from swapping too easily. Via a tunable kern.maxmbufmem the limit can be upped to at most 3/4 of physmem/kvm. At the same time divorce maxfiles from maxusers and set maxfiles to physpages / 8 with a floor based on maxusers. This way busy servers can make use of the significantly increased mbuf limits with a much larger number of open sockets. Tidy up ordering in init_param2() and check up on some users of those values calculated here. Out of the overall mbuf memory limit 2K clusters and 4K (page size) clusters to get 1/4 each because these are the most heavily used mbuf sizes. 2K clusters are used for MTU 1500 ethernet inbound packets. 4K clusters are used whenever possible for sends on sockets and thus outbound packets. The larger cluster sizes of 9K and 16K are limited to 1/6 of the overall mbuf memory limit. When jumbo MTU's are used these large clusters will end up only on the inbound path. They are not used on outbound, there it's still 4K. Yes, that will stay that way because otherwise we run into lots of complications in the stack. And it really isn't a problem, so don't make a scene. Normal mbufs (256B) weren't limited at all previously. This was problematic as there are certain places in the kernel that on allocation failure of clusters try to piece together their packet from smaller mbufs. The mbuf limit is the number of all other mbuf sizes together plus some more to allow for standalone mbufs (ACK for example) and to send off a copy of a cluster. Unfortunately there isn't a way to set an overall limit for all mbuf memory together as UMA doesn't support such a limiting. NB: Every cluster also has an mbuf associated with it. Two examples on the revised mbuf sizing limits: 1GB KVM: 512MB limit for mbufs 419,430 mbufs 65,536 2K mbuf clusters 32,768 4K mbuf clusters 9,709 9K mbuf clusters 5,461 16K mbuf clusters 16GB RAM: 8GB limit for mbufs 33,554,432 mbufs 1,048,576 2K mbuf clusters 524,288 4K mbuf clusters 155,344 9K mbuf clusters 87,381 16K mbuf clusters These defaults should be sufficient for even the most demanding network loads. MFC after: 1 month END K 10 svn:author V 6 cherry K 8 svn:date V 27 2012-11-27T21:27:12.633984Z K 7 svn:log V 87 Stop using the MD specific uma backend allocator on Xen. Approved by: gibbs(implicit) END K 10 svn:author V 6 cherry K 8 svn:date V 27 2012-11-27T21:45:42.380421Z K 7 svn:log V 286 Separate out the pv code from pmap.c into a separate set of files. - Use the pv code to keep track of kernel_pmap P->V mappings. - Switch to post-boot PTOV(), VTOP() backends for mmu_map.[ch] This commit gets us along a bit further into the boot path. Approved by: gibbs(implicit) END K 10 svn:author V 6 dteske K 8 svn:date V 27 2012-11-27T22:05:01.937590Z K 7 svn:log V 54 Comments. Approved by: adrian (co-mentor) (implicit) END K 10 svn:author V 6 dteske K 8 svn:date V 27 2012-11-27T22:11:53.306835Z K 7 svn:log V 381 Change self-initialization to occur when loaded versus the previous behavior which was to self-initialize during the first function-call. This didn't work so well because the first call was may or may-not be within a sub-shell (which prevented proper setup of the pass-thru file descriptor, resulting in dialogs that would not display). Approved by: adrian (co-mentor) (implicit) END K 10 svn:author V 6 dteske K 8 svn:date V 27 2012-11-27T22:14:22.949802Z K 7 svn:log V 102 Allow setting of NULL titles with f_dialog_[back]title(). Approved by: adrian (co-mentor) (implicit) END K 10 svn:author V 6 alfred K 8 svn:date V 27 2012-11-27T22:34:46.300342Z K 7 svn:log V 456 Autoconfigure nfsd threads based on ncpu. Rick Macklem and I discussed the default number of nfsd threads and concluded that it is too low to perform adiquitely on today's hardware. We decided to auto tune the number of nfsds based on the number of cpus in the system. While I'm here I've also added: 1) ability to set the minthreads/maxthreads from userland. 2) ability to run nfsd in debug mode via the cli. Reviewed by: rmacklem MFC after: 2 weeks END K 10 svn:author V 5 andre K 8 svn:date V 27 2012-11-27T22:35:48.573715Z K 7 svn:log V 122 Fix r243627 by testing against the head socket instead of the socket just created. MFC after: 1 week X-MFC-with: r243627 END K 10 svn:author V 5 andre K 8 svn:date V 27 2012-11-27T23:16:56.580821Z K 7 svn:log V 148 Complete r243631 by applying the remainder of kern_mbuf.c that got lost while merging into the commit tree. MFC after: 1 month X-MFC-with: r243631 END K 10 svn:author V 4 neel K 8 svn:date V 27 2012-11-28T00:02:17.058390Z K 7 svn:log V 738 Revamp the x86 instruction emulation in bhyve. On a nested page table fault the hypervisor will: - fetch the instruction using the guest %rip and %cr3 - decode the instruction in 'struct vie' - emulate the instruction in host kernel context for local apic accesses - any other type of mmio access is punted up to user-space (e.g. ioapic) The decoded instruction is passed as collateral to the user-space process that is handling the PAGING exit. The emulation code is fleshed out to include more addressing modes (e.g. SIB) and more types of operands (e.g. imm8). The source code is unified into a single file (vmm_instruction_emul.c) that is compiled into vmm.ko as well as /usr/sbin/bhyve. Reviewed by: grehan Obtained from: NetApp END K 10 svn:author V 3 pfg K 8 svn:date V 27 2012-11-28T00:36:40.634681Z K 7 svn:log V 843 Partially bring r242520 to ext2fs. When a file is first being written, the dynamic block reallocation (implemented by ext2_reallocblks) relocates the file's blocks so as to cluster them together into a contiguous set of blocks on the disk. When the cluster crosses the boundary into the first indirect block, the first indirect block is initially allocated in a position immediately following the last direct block. Block reallocation would usually destroy locality by moving the indirect block out of the way to keep the data blocks contiguous. The issue was diagnosed long ago by Bruce Evans on ffs and surfaced on ext2fs when block reallocaton was ported. This is only a partial solution based on the similarities with FFS. We still require more review of the allocation details that vary in ext2fs. Reported by: bde MFC after: 1 week END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-11-28T01:55:22.125180Z K 7 svn:log V 120 Pull out the debugging code from the critical path and make sure it happens _after_ all of the time delta calculations. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2012-11-28T02:03:53.816625Z K 7 svn:log V 34 Merge r240494 from head (take 2). END K 10 svn:author V 6 alfred K 8 svn:date V 27 2012-11-28T02:23:59.516301Z K 7 svn:log V 33 Fix typo. Pointed out by: marck END K 10 svn:author V 6 alfred K 8 svn:date V 27 2012-11-28T02:47:31.838551Z K 7 svn:log V 61 Don't allow minthreads > maxthreads. Suggested by: rmacklem END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2012-11-28T03:04:38.183410Z K 7 svn:log V 36 Merge revs 240494:243643 from head. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-11-28T06:55:34.670346Z K 7 svn:log V 116 Until I figure out what to do here, remind myself that this needs some rate control 'adjustment' when NOACK is set. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-11-28T07:12:08.826660Z K 7 svn:log V 220 Call if_free() with the correct vnet context if and only if ifp_vnet isn't NULL. If the attach fails prematurely and there's no if_vnet context, calling CURVNET_SET(ifp->if_vnet) is going to dereference a NULL pointer. END K 10 svn:author V 3 ume K 8 svn:date V 27 2012-11-28T11:47:47.461060Z K 7 svn:log V 168 cyrus-sasl 2.1.26 was released. In this version, the type of callback functions was changed from "unsigned long" to "size_t". Reviewed by: gshapiro MFC after: 3 days END K 10 svn:author V 4 neel K 8 svn:date V 27 2012-11-28T13:10:18.287312Z K 7 svn:log V 214 Change emulate_rdmsr() and emulate_wrmsr() to return 0 on sucess and errno on failure. The conversion from the return value to HANDLED or UNHANDLED can be done locally in vmx_exit_process(). Obtained from: NetApp END K 10 svn:author V 4 neel K 8 svn:date V 27 2012-11-28T13:34:44.097878Z K 7 svn:log V 122 Cleanup the user-space paging exit handler now that the unified instruction emulation is in place. Obtained from: NetApp END K 10 svn:author V 3 pfg K 8 svn:date V 27 2012-11-28T15:48:32.627415Z K 7 svn:log V 377 Update some definitions or make them match NetBSD's headers. Bring several definitions required for newer ext4 features. Rename EXT2F_COMPAT_HTREE to EXT2F_COMPAT_DIRHASHINDEX since it is not being used yet and the new name is more compatible with NetBSD and Linux. This change is purely cosmetic and has no effect on the real code. Obtained from: NetBSD MFC after: 3 days END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-11-28T17:34:17.262231Z K 7 svn:log V 41 Merge r243428 through r243651 from head. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-11-28T17:43:41.563450Z K 7 svn:log V 33 Add new USB IDs. PR: usb/173503 END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-11-28T17:55:18.413731Z K 7 svn:log V 89 MFC r238079, r238493, r238717 and r242906: Add new USB ID's. PR: usb/169789, usb/173503 END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-11-28T18:10:05.155456Z K 7 svn:log V 180 MFC r242619, r242695, r242702 and r242703: Implement support for RTS (flow control). Improve USB serial console support. Implement a USB serial jitter buffer in receive direction. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-11-28T18:13:35.641367Z K 7 svn:log V 85 MFC r243380: Fix uplcom clear stall logic for PL2303HX. Submitted by: Mark Johnston END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-11-28T18:15:38.521438Z K 7 svn:log V 85 MFC r243380: Fix uplcom clear stall logic for PL2303HX. Submitted by: Mark Johnston END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-11-28T18:29:34.260485Z K 7 svn:log V 236 Add support for the (relatively) new object type OBJT_MGTDEVICE to vm_object_set_memattr(). Also, add a "safety belt" so that vm_object_set_memattr() doesn't silently modify undefined object types. Reviewed by: kib MFC after: 10 days END K 10 svn:author V 6 dteske K 8 svn:date V 27 2012-11-28T18:35:46.275279Z K 7 svn:log V 439 Discussed at-length on -arch. Make the following interface changes to my beastie boot menu: + Move boot options to a submenu + Add a new "Boot Single" menu item + Make "Boot" item and new "Boot Single" item reverse when boot_single is set + Add new "Load Defaults" item (in new "Boot Options" submenu) for overridding loader.conf(5) provided values with system defaults. Reviewed by: adrian (co-mentor) Approved by: adrian (co-mentor) END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-11-28T18:37:20.564476Z K 7 svn:log V 39 Regenerate usb.conf MFC after: 1 week END K 10 svn:author V 3 pgj K 8 svn:date V 27 2012-11-28T22:04:18.726546Z K 7 svn:log V 99 - Update organization.dot to reflect that attilio resigned from core Approved by: core (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-11-29T00:32:03.433560Z K 7 svn:log V 169 Add support for AT&T Sierra Wireless USB 3G adapter PR: kern/173982 Submitted by: Eric Camachat Approved by: cperciva (implicit) MFC after: 1 week END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-11-29T03:48:39.477578Z K 7 svn:log V 369 Fix LINT build for arm: NOTES defines LDFLAGS by way of a make option but LDFLAGS is not (yet) passed on to the linker (via SYSTEM_LD et al). Do so now. As such, any kernel configuration can now define linker flags by setting LDFLAGS as normal and not have to revert to hacks like setting DEBUG for flags that do not relate to debugging (see sys/powerpc/conf/MPC85XX). END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-11-29T05:16:50.124026Z K 7 svn:log V 93 Mark non-returning function as such PR: bin/172978 Approved by: cperciva MFC after: 3 days END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-11-29T05:46:46.567772Z K 7 svn:log V 24 Fix hardcoded bpp value END K 10 svn:author V 6 grehan K 8 svn:date V 27 2012-11-29T06:26:42.849767Z K 7 svn:log V 274 Add support for the 0x81 AND instruction, now generated by clang in the local APIC code. 0x81 is a read-modify-write instruction - the EPT check that only allowed read or write and not both has been relaxed to allow read and write. Reviewed by: neel Obtained from: NetApp END K 10 svn:author V 5 andre K 8 svn:date V 27 2012-11-29T07:30:42.736938Z K 7 svn:log V 307 Using a long is the wrong type to represent the realmem and maxmbufmem variable as they may overflow on i386/PAE and i386 with > 2GB RAM. Use 64bit quad_t instead. It has broader kernel infrastructure support with TUNABLE_QUAD_FETCH() and qmin/qmax() than other available types. Pointed out by: alc, bde END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-11-29T08:06:23.503234Z K 7 svn:log V 282 - Use more appropriate loop (do { } while()) when generating ethernet address for bridge interface. - If we found a collision we can break the loop - only one collision is possible and one is exactly enough to need to renegerate. Obtained from: WHEEL Systems MFC after: 1 week END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-11-29T12:51:10.725376Z K 7 svn:log V 170 Generalize make.conf man page: use "cc" instead of "gcc" PR: misc/173604 Submitted by: Dan McGregor Approved by: bcr (mentor) MFC after: 3 days END K 10 svn:author V 8 theraven K 8 svn:date V 27 2012-11-29T13:28:56.723654Z K 7 svn:log V 86 Import new libc++. This contains some fixes for code compiled in c++98 / c++03 mode. END K 10 svn:author V 8 theraven K 8 svn:date V 27 2012-11-29T13:29:58.778913Z K 7 svn:log V 22 Tagged libc++ import. END K 10 svn:author V 8 theraven K 8 svn:date V 27 2012-11-29T13:35:44.513123Z K 7 svn:log V 28 Merge new libc++ into head. END