ƒ²238000 186 165 170 170 172 925 152 154 215 170 191 121 203 340 156 156 177 276 190 149 190 271 131 350 183 426 152 264 289 272 725 240 222 211 333 278 383 383 285 652 666 666 666 351 526 232 905 401 242 242 115 230 164 438 145 162 1090 129 175 213 105 137 133 130 382 137 133 130 131 123 103 248 173 247 330 303 167 167 1056 193 169 183 149 117 190 236 136 126 138 351 258 214 229 1183 124 1162 124 264 190 221 116 114 158 137 134 111 108 114 111 319 202 129 248 132 154 164 128 526 227 358 345 669 143 174 457 297 240 218 2051 125 179 144 271 248 269 195 171 220 345 322 182 159 229 341 478 199 237 207 239 283 391 186 169 218 140 136 191 132 119 397 212 434 434 444 405 340 303 1468 353 563 320 143 119 981 634 144 242 173 188 208 210 154 158 215 306 1569 143 K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-07-02T16:14:52.177404Z K 7 svn:log V 73 Honor db_pager_quit in 'show uma' and 'show malloc'. MFC after: 1 month END K 10 svn:author V 4 jkim K 8 svn:date V 27 2012-07-02T16:24:43.277546Z K 7 svn:log V 77 MFC: r237657, r237658, r237666 Merge OpenSSL 0.9.8x and regen manual pages. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-07-02T16:40:11.035997Z K 7 svn:log V 75 Remove dead code (on FreeBSD) as suggested by glebius@. MFC after: 3 days END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-07-02T16:44:09.714766Z K 7 svn:log V 77 Move common code parts to sctp_common_input_processing(). MFC after: 3 days END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2012-07-02T16:57:13.566935Z K 7 svn:log V 829 Cosmetic display change of Cx states via cx_supported sysctl entries. Adjust power_profile script to handle the new world order as well. Some vendors are opting out of a C2 state and only defining C1 & C3. This leads the acpi_cpu display to indicate that the machine supports C1 & C2 which is caused by the (mis)use of the index of the cx_state array as the ACPI_STATE_CX value. e.g. the code was pretending that cx_state[i] would always convert to i by subtracting 1. cx_state[2] == ACPI_STATE_C3 cx_state[1] == ACPI_STATE_C2 cx_state[0] == ACPI_STATE_C1 however, on certain machines this would lead to cx_state[1] == ACPI_STATE_C3 cx_state[0] == ACPI_STATE_C1 This didn't break anything but led to a display of: * dev.cpu.0.cx_supported: C1/1 C2/96 Instead of * dev.cpu.0.cx_supported: C1/1 C3/96 MFC after: 2 weeks END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-07-02T17:22:38.431468Z K 7 svn:log V 60 MFC r236534 Various small changes to PV entry management. END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-07-02T17:37:40.770504Z K 7 svn:log V 62 MFC r237085 Correctly identify the function in a KASSERT(). END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2012-07-02T17:48:19.506789Z K 7 svn:log V 117 MFC: r217140 Use ether_ntoa instead of home-grown version. PR: 169075 Submitted by: Alexandr END K 10 svn:author V 6 wblock K 8 svn:date V 27 2012-07-02T17:52:43.335794Z K 7 svn:log V 75 Add reference to portsnap(8). Submitted by: Tim Kientzle MFC after: 1 day END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2012-07-02T17:55:29.874649Z K 7 svn:log V 96 Revert r238004 as more review has come in and there is now a discussion on how to best proceed. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-07-02T18:04:31.002593Z K 7 svn:log V 25 Fix build after r237997. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-07-02T18:35:08.582271Z K 7 svn:log V 110 Restore GPIO config quirks handling, lost during last big refactoring. Tested by: hselasky MFC after: 3 days END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-07-02T19:13:38.142876Z K 7 svn:log V 244 MFC: r237842 Switch back to the 4BSD scheduler for now. There is some more or less recent regression with ULE, causing processes to get stuck in getblk as well as interrupt handler execution delays to rise above the command timeout of mpt(4). END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-07-02T19:19:07.949485Z K 7 svn:log V 61 MFC: r237546 Correct sizeof usage Obtained from: DragonFly END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-07-02T19:19:21.595546Z K 7 svn:log V 61 MFC: r237546 Correct sizeof usage Obtained from: DragonFly END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-07-02T19:35:56.170711Z K 7 svn:log V 85 Add IDs for some USB controllers I have around. Just a cosmetics. MFC after: 3 days END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-07-02T19:44:18.938197Z K 7 svn:log V 179 Remove route caching from IP multicast routing code. There is no reason to do that, and also, cached route never got unreferenced, which meant a reference leak. Reviewed by: bms END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-07-02T19:56:31.201657Z K 7 svn:log V 95 MFC: r237547 Fix size of the bcopy when extracting ethernet address Obtained from: DragonFly END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-07-02T20:01:48.337321Z K 7 svn:log V 54 Fix typo in option description file (using svn move). END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-07-02T20:07:09.994559Z K 7 svn:log V 95 MFC: r237547 Fix size of the bcopy when extracting ethernet address Obtained from: DragonFly END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-07-02T20:08:11.599803Z K 7 svn:log V 178 Fix two layout bugs in the previous change: - Properly increase y_mem when per-CPU stats are enabled. - Update y_arc for per-CPU stats being enabled/disabled. MFC after: 3 days END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-07-02T20:24:01.472918Z K 7 svn:log V 36 Add description for INSTALL_AS_USER END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-07-02T20:25:50.375690Z K 7 svn:log V 257 Remove 14 not very useful characters " HDA CODEC PCM" from HDA pcm device names to shorten them. PulseAudio reported to have problems with names longer then 63 chars and at least in XMMS long names are inconvinient. Reported by: hselasky MFC after: 3 days END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-07-02T20:26:11.252390Z K 7 svn:log V 88 A cross-reference takes a man page section as well. Assume pkg(1), based on pkg_add(1). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-07-02T20:27:37.985826Z K 7 svn:log V 333 Add a one second sleep before touching the spool directory. If the touch occurs in the same second as the earlier operations to create the temporary file and the cron(8) daemon is rescans the spool directory during that second, then the daemon may miss a cron edit and not properly update its internal database. MFC after: 1 month END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-07-02T20:28:12.060461Z K 7 svn:log V 57 Added options: WITH_INSTALL_AS_USER WITHOUT_PKGBOOTSTRAP END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-07-02T20:36:26.955591Z K 7 svn:log V 168 There's no need to make filemon specific to i386 and amd64. All LP64 architectures define elf64_freebsd_sysvec and all ILP32 architectures define elf32_freebsd_sysvec. END K 10 svn:author V 3 mdf K 8 svn:date V 27 2012-07-02T20:36:54.304626Z K 7 svn:log V 196 MFC r217322. Original commit log: sysctl(9) cleanup checkpoint: amd64 GENERIC builds cleanly. Commit the net* piece. The commit to HEAD was a superset of the proposed patch for PR kern/167357. END K 10 svn:author V 2 np K 8 svn:date V 27 2012-07-02T20:42:43.285067Z K 7 svn:log V 180 Instruct the firmware not to provision resources for TCP offload if the kernel is being built without TCP_OFFLOAD. But never override toecaps_allowed if it has been set manually. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-07-02T21:01:03.267868Z K 7 svn:log V 632 Extend the KPI to lock and unlock f_offset member of struct file. It now fully encapsulates all accesses to f_offset, and extends f_offset locking to other consumers that need it, in particular, to lseek() and variants of getdirentries(). Ensure that on 32bit architectures f_offset, which is 64bit quantity, always read and written under the mtxpool protection. This fixes apparently easy to trigger race when parallel lseek()s or lseek() and read/write could destroy file offset. The already broken ABI emulations, including iBCS and SysV, are not converted (yet). Tested by: pho No objections from: jhb MFC after: 3 weeks END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-07-02T21:11:01.349491Z K 7 svn:log V 144 Implement cpu_flush_dcache(). This allows us to optimize __syncicache() for the common case in chich D-caches are coherent by virtue of busdma. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-07-02T21:15:56.968105Z K 7 svn:log V 126 Invalidate any TLB1 entries we don't need. The firmware (e.g. U-Boot) may have added entries that conflict with TLB0 entries. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-07-02T21:18:09.568311Z K 7 svn:log V 115 Handle traps from the debugger. We need to catch them and re-enter the debugger where they're being taken care of. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-07-02T21:21:12.618582Z K 7 svn:log V 237 Fix a typo that resulted in or-ing PTE_UW twice whrn PTE_SW was needed. Note that setting the PTE_MODIFIED bit based on whether write is possible is incorrect. We should set PTE_MODIFIED based on whether the access is a write operation. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-07-02T21:25:24.786817Z K 7 svn:log V 182 Remove device uart_z8530 and options GEOM_PART_APM from DEFAULTS and instead add them to GENERIC and GENERIC64. They are applicable to Apple H/W and not at all for Book-E platforms. END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2012-07-02T21:59:10.260080Z K 7 svn:log V 287 MFC r237245, r237250, r237251, r237273, r237330 Document support for Intel Enhanced Speedstep Tech interface of cpufreq(4) via a new man page est(4) Document the two exposed tuneables of est(4). Numerous cleanups and mdoc updates from reviewers. Thanks to mav, joel, wblock, hrs, gjb END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2012-07-02T22:01:29.380985Z K 7 svn:log V 287 MFC r237245, r237250, r237251, r237273, r237330 Document support for Intel Enhanced Speedstep Tech interface of cpufreq(4) via a new man page est(4) Document the two exposed tuneables of est(4). Numerous cleanups and mdoc updates from reviewers. Thanks to mav, joel, wblock, hrs, gjb END K 10 svn:author V 2 np K 8 svn:date V 27 2012-07-02T22:04:09.343445Z K 7 svn:log V 193 MFC r238028: Instruct the firmware not to provision resources for TCP offload if the kernel is being built without TCP_OFFLOAD. But never override toecaps_allowed if it has been set manually. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-07-02T22:14:58.880584Z K 7 svn:log V 557 Unfortunately the change in r237958 resulted in s/install/instclean/ due to the aggressive pattern matching of the :C modifier. I tested build and install in 2 phases, however with different solutions, resulting in the breakage. Mea culpa. The solution is to break out the all: target. This causes a few lines of code duplication, but now the all: target works as it should, and the other targets continue to work as they did before. While I'm here, add a ===> header line to the start of each port build to make it easier to find/more clear in the logs. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-07-02T22:18:29.334338Z K 7 svn:log V 571 MFC r238038: Unfortunately the change in r237958 resulted in s/install/instclean/ due to the aggressive pattern matching of the :C modifier. I tested build and install in 2 phases, however with different solutions, resulting in the breakage. Mea culpa. The solution is to break out the all: target. This causes a few lines of code duplication, but now the all: target works as it should, and the other targets continue to work as they did before. While I'm here, add a ===> header line to the start of each port build to make it easier to find/more clear in the logs. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-07-02T22:18:49.247582Z K 7 svn:log V 571 MFC r238038: Unfortunately the change in r237958 resulted in s/install/instclean/ due to the aggressive pattern matching of the :C modifier. I tested build and install in 2 phases, however with different solutions, resulting in the breakage. Mea culpa. The solution is to break out the all: target. This causes a few lines of code duplication, but now the all: target works as it should, and the other targets continue to work as they did before. While I'm here, add a ===> header line to the start of each port build to make it easier to find/more clear in the logs. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-07-02T22:19:02.888022Z K 7 svn:log V 571 MFC r238038: Unfortunately the change in r237958 resulted in s/install/instclean/ due to the aggressive pattern matching of the :C modifier. I tested build and install in 2 phases, however with different solutions, resulting in the breakage. Mea culpa. The solution is to break out the all: target. This causes a few lines of code duplication, but now the all: target works as it should, and the other targets continue to work as they did before. While I'm here, add a ===> header line to the start of each port build to make it easier to find/more clear in the logs. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-07-02T23:41:56.407885Z K 7 svn:log V 255 Properly implement the bus_config_intr, bus_setup_intr and bus_teardown_intr methods so that MI drvers can depend on us doing the right thing instead of having to go around us and call MD code directly. See the FDT code for example (not for long though). END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-07-02T23:49:29.002956Z K 7 svn:log V 430 Properly implement bus_setup_intr so that it handles the configuration of interrupts of direct children. Have the bus_config_intr and bus_teardown_intr methods implemented by bus_generic_config_intr and bus_generic_teardown_intr (resp) as we don't need to do anything special outselves. This removes all the ``#ifdef $arch'' code that was there because powerpc didn't have a proper nexus and people tend to copy and paste stuff. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-07-02T23:53:08.379851Z K 7 svn:log V 136 Simplify simplebus_setup_intr and don't call MD code directly. We can (and have to) trust our parent to handle interrupt configuration. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-07-03T00:06:14.558181Z K 7 svn:log V 809 Support lbc interrupts: o Save and clear the LTESR register in the interrupt handler. o In lbc_read_reg(), return the saved LTESR register value if applicable (i.e. when the saved value is not invalid (read: ~0U)). o In lbc_write_reg(), clear the bits in the saved register when when it's written to and when the asved value is not invalid. o Also in lbc_write_reg(), the LTESR register is unlocked (in H/W) when bit 1 of LTEATR is cleared. We use this to invalidate our saved LTESR register value. Subsequent reads and write go to H/W directly. While here: o In lbc_read_reg() & lbc_write_reg(), add some belts and suspenders to catch when register offsets are out of range. o In lbc_attach(), initialize completely and don't leave something left for lbc_banks_enable(). END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-07-03T01:00:29.280165Z K 7 svn:log V 305 Add a driver for the Freescale FCM module in the localbus controller. This driver does not yet handle multiple chip selects properly. Note that the NAND infrastructure does not perform full page reads or writes, which means that this driver cannot make use of the hardware ECC that is otherwise present. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2012-07-03T01:45:28.194778Z K 7 svn:log V 145 MFC r237852 Add the same check as vlan(4) where we ignore the ifnet departure event if the interface is just being renamed. PR: kern/169557 END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2012-07-03T01:45:38.000379Z K 7 svn:log V 145 MFC r237852 Add the same check as vlan(4) where we ignore the ifnet departure event if the interface is just being renamed. PR: kern/169557 END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-07-03T02:55:27.743052Z K 7 svn:log V 20 Merge ^/head@238048 END K 10 svn:author V 6 obrien K 8 svn:date V 27 2012-07-03T05:01:00.429689Z K 7 svn:log V 134 Revert r222186 per instructions for FreeBSD 10. (a 10-CURRENT share/mk is already required to build a 10-CURRENT kernel on 9-STABLE) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2012-07-03T06:41:00.424742Z K 7 svn:log V 69 Add "hier" as an alternate spelling of "hierarchy" to match hier(9). END K 10 svn:author V 6 obrien K 8 svn:date V 27 2012-07-03T06:54:37.659082Z K 7 svn:log V 342 Vendor import the latest GPLv2 libstdc++ sources. It happens to be that while libstdc++ is a subset of gcc which was changed to GPLv3, libstdc++ was kept under LGPLv2 until the end of the 4.2 branch (gcc 4.2.4) (@ GRN 135556). Obtained from: svn://gcc.gnu.org/svn/gcc/branches/gcc-4_2-branch/libstdc++-v3 Requested by: pfg Reviewed by: pfg END K 10 svn:author V 6 obrien K 8 svn:date V 27 2012-07-03T06:55:49.852460Z K 7 svn:log V 50 "Tag" the r238052 libstdc++ version 4.2.4 import. END K 10 svn:author V 2 np K 8 svn:date V 27 2012-07-03T06:56:11.523657Z K 7 svn:log V 71 Fix inverted test that resulted in incorrect multicast hw programming. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-07-03T06:59:12.838412Z K 7 svn:log V 994 Begin abstracting out the RX path in preparation for RX EDMA support. The RX EDMA support requires a modified approach to the RX descriptor handling. Specifically: * There's now two RX queues - high and low priority; * The RX queues are implemented as FIFOs; they're now an array of pointers to buffers; * .. and the RX buffer and descriptor are in the same "buffer", rather than being separate. So to that end, this commit abstracts out most of the RX related functions from the bulk of the driver. Notably, the RX DMA/buffer allocation isn't updated, primarily because I haven't yet fleshed out what it should look like. Whilst I'm here, create a set of matching but mostly unimplemented EDMA stubs. Tested: * AR9280, station mode TODO: * Thorough AP and other mode testing for non-EDMA chips; * Figure out how to allocate RX buffers suitable for RX EDMA, including correctly setting the mbuf length to compensate for the RX descriptor and completion status area. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-07-03T07:01:12.029572Z K 7 svn:log V 34 Link in the new RX EDMA routines. END K 10 svn:author V 2 np K 8 svn:date V 27 2012-07-03T07:03:14.659514Z K 7 svn:log V 84 MFC r238054: Fix inverted test that resulted in incorrect multicast hw programming. END K 10 svn:author V 7 zeising K 8 svn:date V 27 2012-07-03T07:28:57.370441Z K 7 svn:log V 116 Add myself to commiters-[doc,ports].dot and calendar.freebsd Approved by: joel (doc/www mentor) kwm (ports mentor) END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2012-07-03T08:03:07.441098Z K 7 svn:log V 11 Fix a typo END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-07-03T08:21:56.076626Z K 7 svn:log V 45 MFC r237844, r237845, r237846: Minor tweaks. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-07-03T08:23:22.405367Z K 7 svn:log V 41 MFC 237847: Do not test ki_stat as mask. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-07-03T08:40:20.963236Z K 7 svn:log V 38 MFC r237848: Remove stray blank line. END K 10 svn:author V 6 issyl0 K 8 svn:date V 27 2012-07-03T08:42:48.550946Z K 7 svn:log V 286 - Make ipfw's sched rules case insensitive, for user-friendliness. - Add a note to the ipfw(8) man page about the rules no longer being case sensitive. - Fix some typos in the man page. PR: docs/164772 Reviewed by: bz Approved by: gabor (doc mentor, src committer) MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-07-03T08:46:26.568724Z K 7 svn:log V 45 MFC r237844, r237845, r237846: Minor tweaks. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-07-03T08:47:06.558327Z K 7 svn:log V 41 MFC 237847: Do not test ki_stat as mask. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-07-03T09:11:47.490536Z K 7 svn:log V 38 MFC r237848: Remove stray blank line. END K 10 svn:author V 2 ae K 8 svn:date V 27 2012-07-03T11:12:21.560191Z K 7 svn:log V 40 Make partition type labels equal width. END K 10 svn:author V 2 ae K 8 svn:date V 27 2012-07-03T11:30:45.664663Z K 7 svn:log V 32 Add checks for malloc failures. END K 10 svn:author V 2 ae K 8 svn:date V 27 2012-07-03T11:41:12.143356Z K 7 svn:log V 12 Fix a typo. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2012-07-03T11:53:46.082604Z K 7 svn:log V 150 Turn on approval checking for stable/9 and, preemptively, releng/9.1 as part of the 9.1-RELEASE release cycle starting. Approved by: core (implicit) END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-07-03T12:08:55.738362Z K 7 svn:log V 81 Fix clang warning, introduced in the recent dtrace import. MFC after: 3 days END K 10 svn:author V 6 obrien K 8 svn:date V 27 2012-07-03T15:15:41.985406Z K 7 svn:log V 151 Do not include in the local headers. The .c files including them have already included before these headers are included. END K 10 svn:author V 3 ken K 8 svn:date V 27 2012-07-03T15:37:36.987555Z K 7 svn:log V 237 MFC 237878: r237878 | ken | 2012-06-30 23:32:26 -0600 (Sat, 30 Jun 2012) | 6 lines Now that the mps(4) driver is endian-safe, add it to the powerpc 32-bit GENERIC config file. Requested by: nwhitehorn Approved by: re (kensmith) END K 10 svn:author V 3 ken K 8 svn:date V 27 2012-07-03T15:39:00.056827Z K 7 svn:log V 210 MFC 237878: r237878 | ken | 2012-06-30 23:32:26 -0600 (Sat, 30 Jun 2012) | 6 lines Now that the mps(4) driver is endian-safe, add it to the powerpc 32-bit GENERIC config file. Requested by: nwhitehorn END K 10 svn:author V 6 wblock K 8 svn:date V 27 2012-07-03T15:53:47.511847Z K 7 svn:log V 72 MFC r238008: Add reference to portsnap(8). Submitted by: Tim Kientzle END K 10 svn:author V 6 wblock K 8 svn:date V 27 2012-07-03T15:54:20.260038Z K 7 svn:log V 72 MFC r238008: Add reference to portsnap(8). Submitted by: Tim Kientzle END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-07-03T16:12:57.731768Z K 7 svn:log V 963 Fix panics triggered by older mfiutil binaries run on the new mfi(4) driver. The new driver changed the size of the mfi_dcmd_frame structure in such a way that a MFI_IOC_PASSTHRU ioctl from an old amd64 binary is treated as an MFI_IOC_PASSTHRU32 ioctl in the new driver. As a result, the user pointer is treated as the buffer length. mfi_user_command() doesn't have a bounds check on the buffer length, so it passes a really big value to malloc() which panics when it tries to exhaust the kmem_map. Fix this two ways: - Only honor MFI_IOC_PASSTHRU32 if the binary has the SV_ILP32 flag set, otherwise treat it as an unknown ioctl. - Add a bounds check on the buffer length passed by the user. For now it fails any user attempts to use a buffer larger than 1MB. While here, fix a few other nits: - Remove an unnecessary check for a NULL return from malloc(M_WAITOK). - Use the ENOTTY errno for invalid ioctl commands instead of ENOENT. MFC after: 3 days END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-07-03T16:29:41.288047Z K 7 svn:log V 96 Add more quirks for USB mass storage adapters. Submitted by: Erich Dollansky MFC after: 1 week END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-07-03T16:32:47.162016Z K 7 svn:log V 72 Add new USB device ID. Submitted by: Erich Dollansky MFC after: 1 week END K 10 svn:author V 6 wblock K 8 svn:date V 27 2012-07-03T16:49:38.469998Z K 7 svn:log V 88 MFC r238008: Add reference to portsnap(8). Submitted by: Tim Kientzle Approved by: re END K 10 svn:author V 6 emaste K 8 svn:date V 27 2012-07-03T17:50:44.724065Z K 7 svn:log V 54 Update comment to reflect function's actual operation END K 10 svn:author V 3 pho K 8 svn:date V 27 2012-07-03T18:54:21.931938Z K 7 svn:log V 25 Added a regression test. END K 10 svn:author V 7 trociny K 8 svn:date V 27 2012-07-03T18:59:13.921259Z K 7 svn:log V 94 Fix RTTVAR scale in net.inet.tcp.hostcache.list sysctl. Reviewed by: andre MFC after: 3 days END K 10 svn:author V 7 trociny K 8 svn:date V 27 2012-07-03T19:04:18.874745Z K 7 svn:log V 139 Don't check for ifp != NULL before KASSERT, as ifp may not be NULL here (it is dereferenced below). Discussed with: jhb MFC after: 1 week END K 10 svn:author V 7 trociny K 8 svn:date V 27 2012-07-03T19:08:02.814713Z K 7 svn:log V 40 Fix KASSERT message. MFC after: 3 days END K 10 svn:author V 7 trociny K 8 svn:date V 27 2012-07-03T19:11:38.875207Z K 7 svn:log V 30 Fix style. MFC after: 3 days END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-07-03T21:41:19.868311Z K 7 svn:log V 43 Iniitialize a variable. MFC after: 3 days END K 10 svn:author V 2 np K 8 svn:date V 27 2012-07-03T22:17:36.132246Z K 7 svn:log V 259 Do not enable IFCAP_TSO6 in cxgb(4) and cxgbe(4) in stable/9. The kernel code in 9 isn't quite ready for TSO6 yet. This is a direct commit to stable/9. IFCAP_TSO6 works properly in head and there is no need to disable it over there. Approved by: re (kib) END K 10 svn:author V 5 jceel K 8 svn:date V 27 2012-07-03T23:26:08.205475Z K 7 svn:log V 163 First stage of machdep refactoring, separate arm_mmu_init() and arm_bootstrap_pagetables() routines. These will be eventually moved up to SoC-independent machdep. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2012-07-04T00:54:16.198559Z K 7 svn:log V 117 MFC r237901: tws(4) is interfaced with CAM so move it to the same section. Reported by: joel Approved by: re (kib) END K 10 svn:author V 2 ae K 8 svn:date V 27 2012-07-04T06:29:56.327317Z K 7 svn:log V 137 Revert r238067, instead use the proper format specifier for sprintf. Also change the display_size's output format. Suggested by: marcel END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-07-04T07:37:53.156474Z K 7 svn:log V 1085 When ip_output()/ip6_output() is supplied a struct route *ro argument, it skips FLOWTABLE lookup. However, the non-NULL ro has dual meaning here: it may be supplied to provide route, and it may be supplied to store and return to caller the route that ip_output()/ip6_output() finds. In the latter case skipping FLOWTABLE lookup is pessimisation. The difference between struct route filled by FLOWTABLE and filled by rtalloc() family is that the former doesn't hold a reference on its rtentry. Reference is hold by flow entry, and it is about to be released in future. Thus, route filled by FLOWTABLE shouldn't be passed to RTFREE() macro. - Introduce new flag for struct route/route_in6, that marks route not holding a reference on rtentry. - Introduce new macro RO_RTFREE() that cleans up a struct route depending on its kind. - All callers to ip_output()/ip6_output() that do supply non-NULL but empty route should use RO_RTFREE() to free results of lookup. - ip_output()/ip6_output() now do FLOWTABLE lookup always when ro->ro_rt == NULL. Tested by: tuexen (SCTP part) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-07-04T07:42:12.145170Z K 7 svn:log V 28 Document RO_RTFREE() macro. END K 10 svn:author V 2 se K 8 svn:date V 27 2012-07-04T09:02:12.665018Z K 7 svn:log V 1069 Add the possibility to specify a threshold for the number of negative cache results required to have the cache return lookup failure. A new configuration parameter is introduced, which must be set to a value greater than 1 to activate this feature. The default behavior is unchanged. The purpose of this change is to allow probes for the existence of an entry (which are expected to fail), before that entry is added to one of the queried databases, without the cache returning the stale information from the probe query until that cache entry expires. If, for example, a new user account is created after checking that the new account name is available, the negative cache entry would prevent immediate access to the account. For that example, the new configuration option negative-confidence-threshold passwd 2 will require a second negative query result to consider the negative cache entry for a passwd entry valid, but if the user account has been created between the queries, then the positive query result from the second query will be cached and returned. END K 10 svn:author V 4 joel K 8 svn:date V 27 2012-07-04T10:17:02.900205Z K 7 svn:log V 31 Remove end of line whitespace. END K 10 svn:author V 2 ae K 8 svn:date V 27 2012-07-04T12:04:50.191511Z K 7 svn:log V 172 Don't build disk.c and part.c if LOADER_DISK_SUPPORT is "no" or LOADER_NO_DISK_SUPPORT is set. Some loaders might work without disks support, so we don't need these files. END K 10 svn:author V 2 ae K 8 svn:date V 27 2012-07-04T12:54:56.869583Z K 7 svn:log V 99 Don't build storage.c if LOADER_NO_DISK_SUPPORT is defined. Also hide disk_xxx calls under ifdefs. END K 10 svn:author V 2 ae K 8 svn:date V 27 2012-07-04T12:57:34.822883Z K 7 svn:log V 129 Add an ability to build ubtldr without disks support for the arm and powerpc arches. Also simplify condition in the common code. END K 10 svn:author V 2 ae K 8 svn:date V 27 2012-07-04T12:58:35.987260Z K 7 svn:log V 25 Remove unused variables. END K 10 svn:author V 2 ae K 8 svn:date V 27 2012-07-04T12:59:20.391851Z K 7 svn:log V 23 Remove unneeded flags. END K 10 svn:author V 2 ae K 8 svn:date V 27 2012-07-04T13:00:48.698383Z K 7 svn:log V 67 Remove unneeded flags, they are set by default in the common code. END K 10 svn:author V 3 des K 8 svn:date V 27 2012-07-04T13:37:44.216984Z K 7 svn:log V 45 Name jails automatically. MFC after: 1 week END K 10 svn:author V 3 des K 8 svn:date V 27 2012-07-04T14:21:40.660611Z K 7 svn:log V 42 Create vendor trees for ldns and unbound. END K 10 svn:author V 3 des K 8 svn:date V 27 2012-07-04T14:22:28.733957Z K 7 svn:log V 19 import ldns 1.6.13 END K 10 svn:author V 3 des K 8 svn:date V 27 2012-07-04T14:23:28.274522Z K 7 svn:log V 16 tag ldns 1.6.13 END K 10 svn:author V 3 des K 8 svn:date V 27 2012-07-04T14:24:26.215471Z K 7 svn:log V 22 import unbound 1.4.17 END K 10 svn:author V 3 des K 8 svn:date V 27 2012-07-04T14:25:14.037701Z K 7 svn:log V 19 tag unbound 1.4.17 END K 10 svn:author V 5 gabor K 8 svn:date V 27 2012-07-04T16:25:11.541182Z K 7 svn:log V 224 - Change --nthreads parameter to --parallel for GNU compatibility - Change default sort method to mergesort, which has a better worst case performance than qsort Submitted by: Oleg Moskalenko END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-07-04T16:47:39.153012Z K 7 svn:log V 109 Decode the 'xsave', 'xrstor', 'xsaveopt', 'xgetbv', 'xsetbv', and 'rdtscp' instructions. MFC after: 1 month END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-07-04T17:31:53.116867Z K 7 svn:log V 37 Recognize 'none' or '0' as no flags. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-07-04T17:35:07.683206Z K 7 svn:log V 155 The register_printf_render_std() function expects regular string. Change argument type from 'const unsigned char *' to 'const char *'. MFC after: 2 weeks END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-07-04T17:36:26.092078Z K 7 svn:log V 40 Fix an obvious typo. MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-07-04T17:39:29.960914Z K 7 svn:log V 62 vdev_io_done stage is not used for ioctls. MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-07-04T17:43:25.526419Z K 7 svn:log V 72 Correct a comment and correct style of a flag check. MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-07-04T17:44:39.610384Z K 7 svn:log V 36 Correct comment. MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-07-04T17:54:17.346265Z K 7 svn:log V 433 Use correct part of the Master-Key for generating encryption keys. Before this change the IV-Key was used to generate encryption keys, which was incorrect, but safe - for the XTS mode this key was unused anyway and for CBC mode it was used differently to generate IV vectors, so there is no risk that IV vector collides with encryption key somehow. Bump version number and keep compatibility for older versions. MFC after: 2 weeks END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-07-04T17:59:26.401087Z K 7 svn:log V 134 Improve description of various key used by GELI. PR: docs/169089 Submitted by: John W. O'Brien MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-07-04T19:51:25.343260Z K 7 svn:log V 265 Prefer sysctl to open/read/close for obtaining random data. This method is more sandbox-friendly and also should be faster as only one syscall is needed instead of three. In case of an error fall back to the old method. Reviewed by: simon, gleb MFC after: 2 weeks END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-07-04T20:16:28.740113Z K 7 svn:log V 252 Extend GEOM Gate class to handle read I/O requests directly within the kernel. This will allow HAST to read directly from the local component without even communicating userland daemon. Sponsored by: Panzura, http://www.panzura.com MFC after: 1 month END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-07-04T20:20:48.570382Z K 7 svn:log V 576 Make use of GEOM Gate direct reads feature. This allows HAST to serve reads with native speed of the underlying provider. There are three situations when direct reads are not used: 1. Data is being synchronized and synchronization source is the secondary node, which means secondary node has more recent data and we should read from it. 2. Local read failed and we have to try to read from the secondary node. 3. Local component is unavailable and all I/O requests are served from the secondary node. Sponsored by: Panzura, http://www.panzura.com MFC after: 1 month END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-07-04T20:29:16.928665Z K 7 svn:log V 48 Use CSUM_SCTP_IPV6 for IPv6. MFC after: 3 days END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-07-04T20:59:30.787166Z K 7 svn:log V 79 Use consistent method to determine IPV4_OUTPUT/IPV6_OUTPUT. MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-07-04T22:12:10.331472Z K 7 svn:log V 364 Add support for the 'xsave', 'xrstor', 'xsaveopt', 'xgetbv', and 'xsetbv' instructions. I reimplemented this from scratch based on the Intel manuals and the existing support for handling the fxsave and fxrstor instructions. This will let us use these instructions natively with GCC rather than hardcoding the opcodes in hex. Reviewed by: kib MFC after: 1 month END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-07-05T00:08:47.025520Z K 7 svn:log V 204 Correct an error in r237513. The call to reserve_pv_entries() must come before pmap_demote_pde() updates the PDE. Otherwise, pmap_pv_demote_pde() can crash. Crash reported by: kib Patch tested by: kib END K 10 svn:author V 6 emaste K 8 svn:date V 27 2012-07-05T00:52:23.430881Z K 7 svn:log V 144 Restore r211786 by rpaulo: Port dtruss to FreeBSD. Sponsored by: The FreeBSD Foundation It appears the change was reverted by r235380. END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-07-05T07:20:16.151565Z K 7 svn:log V 125 Calculate the new PTE value in pmap_enter() before acquiring any locks. Move an assertion to the beginning of pmap_enter(). END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-07-05T09:00:32.437269Z K 7 svn:log V 1955 Major updates/fixes to the distfile handling code ================================================= * Make all parts of the code SUBDIR-safe (most were already) - This involves using $port_subdir globally to refer to just the directory name under DISTDIR, and add a $full_port_subdir to contain the full path to the file for the places where that was used. This also allows simplifying a few places where both were needed. - Fix a few places where the relativity of the cwd was not respected, most often resulting in files not being deleted that should be * When checking DI_FILES, anchor the grep pattern with a ^ to avoid false positives * Move the storage of the distfile info back to /var/db/pkg where it should have been all along. Mostly for correctness, but also to deal with the problem of non-UNIQUENAMEs causing the wrong files to be deleted with -d. * Clean up the old /var/db/ports/*/distfiles files after reading them, and delete the directory if it's empty. Since we are doing this unconditionally now, there is no longer a need for delete_dist_list(). The new ones will live and die with the rest of the package directory. * Update some of the messages printed out for distfile-related things to make it more clear what's going on. * Check DI_FILES to see if the distfile could be valid for another port in more places, so add a function to deal with the common ones. * Add 2 more functions, make_distfiles() and make_port_subdir() to bring that common code (3 places each, ugh) under the same umbrella. Improve both implementations to use fewer forks. Other changes ============= * Add -e to the echo for pm_sv so that we can easily add a newline * Take advantage of the above, and other adjustments to the whitespace to try to fit with the general theme of ws after a section * Change the last 'find -d foo' to 'find foo -depth' * Use 'while read' for the installed distfiles file, less forks END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-07-05T09:49:52.222469Z K 7 svn:log V 31 One more tiny whitespace tweak END K 10 svn:author V 5 trasz K 8 svn:date V 27 2012-07-05T13:45:23.593634Z K 7 svn:log V 85 MFC r237572: Add missing MLINKS for whatever -> if_whatever. Approved by: re (kib) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-07-05T15:23:45.247528Z K 7 svn:log V 49 Fix LINT. Obtained from: Juniper Networks, Inc. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-07-05T15:32:31.071548Z K 7 svn:log V 178 MFC r238011: Restore GPIO config quirks handling, lost during last big refactoring. This fixes sound from speakers on some laptops, including MacBook Pro. Approved by: re (kib) END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-07-05T15:34:04.684817Z K 7 svn:log V 155 MFC r238011: Restore GPIO config quirks handling, lost during last big refactoring. This fixes sound from speakers on some laptops, including MacBook Pro. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-07-05T15:34:55.862757Z K 7 svn:log V 176 MFC r237659: Ensure that for the object which is a dependency for some filtee, relocations are performed before the object's initializer is called. Approved by: re (kensmith) END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-07-05T15:35:59.198635Z K 7 svn:log V 102 MFC r238015: Add IDs for some USB controllers I have around. Just a cosmetics. Approved by: re (kib) END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-07-05T15:37:17.504848Z K 7 svn:log V 79 MFC r238015: Add IDs for some USB controllers I have around. Just a cosmetics. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-07-05T15:38:32.595301Z K 7 svn:log V 127 MFC r237660: Optimize the handling of SC_NPROCESSORS_CONF, by using auxv AT_NCPU value if present. Approved by: re (kensmith) END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-07-05T15:39:30.760739Z K 7 svn:log V 252 MFC r238022: Remove 14 not very useful characters " HDA CODEC PCM" from HDA pcm device names to shorten them. PulseAudio reported to have problems with names longer then 63 chars and at least in XMMS long names are inconvinient. Approved by: re (kib) END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-07-05T15:40:41.703092Z K 7 svn:log V 229 MFC r238022: Remove 14 not very useful characters " HDA CODEC PCM" from HDA pcm device names to shorten them. PulseAudio reported to have problems with names longer then 63 chars and at least in XMMS long names are inconvinient. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-07-05T15:41:31.157983Z K 7 svn:log V 90 MFC r237661: Add a test for number of CPUs configured/online. Approved by: re (kensmith) END K 10 svn:author V 5 trasz K 8 svn:date V 27 2012-07-05T16:02:14.338145Z K 7 svn:log V 65 MFC r237636: Add manual page for bxe(4). Approved by: re (kib) END K 10 svn:author V 6 brooks K 8 svn:date V 27 2012-07-05T17:02:20.600429Z K 7 svn:log V 133 Document the behavior (from 4.4-lite) that tokens returned by telldir() are single use. Sponsored by: DARPA, AFRL MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-07-05T18:19:35.360611Z K 7 svn:log V 248 Now that our assembler supports the xsave family of instructions, use them natively rather than hand-assembled versions. For xgetbv/xsetbv, add a wrapper API to deal with xcr* registers: rxcr() and load_xcr(). Reviewed by: kib MFC after: 1 month END K 10 svn:author V 6 obrien K 8 svn:date V 27 2012-07-05T18:23:36.533496Z K 7 svn:log V 382 Remove the "funny targets" make check. We no longer need embedded :: targets to build FreeBSD (they are used in Perl man pages). We never needed embedded "!" in targets that I can find. We got this from OpenBSD and I cannot find any other make that supports such things -- contrary to their commit message claim: "This behaviour is also consistent with other versions of make.". END K 10 svn:author V 6 obrien K 8 svn:date V 27 2012-07-05T18:57:39.752431Z K 7 svn:log V 103 MFC: r238143: move "funny targets" from pre-build "make check" to the regular regression tests. END K 10 svn:author V 6 cherry K 8 svn:date V 27 2012-07-05T20:08:54.241667Z K 7 svn:log V 141 Move variable that's only used within #ifdef INET to within it. This fixes the build without option INET set. Approved by: gibbs (implicit) END K 10 svn:author V 6 cherry K 8 svn:date V 27 2012-07-05T20:16:24.494589Z K 7 svn:log V 111 - vprintk() looks more like vprintf() (returns int) - enable kernel debugger. Approved by: gibbs (implicit) END K 10 svn:author V 6 cherry K 8 svn:date V 27 2012-07-05T20:21:13.290259Z K 7 svn:log V 143 - bzero msgbufp after allocation and before use. - fix pmap_kextract_ma() to use the correct pt index offset. Approved by: gibbs (implicit) END K 10 svn:author V 3 jfv K 8 svn:date V 27 2012-07-05T20:26:57.656041Z K 7 svn:log V 190 Sync with Intel internal source: shared code update and small changes in core required Add support for new i210/i211 devices Improve queue calculation based on mac type MFC after:5 days END K 10 svn:author V 3 jfv K 8 svn:date V 27 2012-07-05T20:51:44.758279Z K 7 svn:log V 298 Update to the ixgbe driver: - Add a couple of new devices - Flow control changes in shared and core code - Bug fix to Flow Director for 82598 - Shared code sync to internal with required core change Thanks to those helping in the testing and improvements to this driver! MFC after:5 days END K 10 svn:author V 6 cherry K 8 svn:date V 27 2012-07-05T21:11:03.278639Z K 7 svn:log V 91 Cosmetic change: use macro TRAPF_USERMODE() where possible. Approved by: gibbs (implicit) END K 10 svn:author V 3 jfv K 8 svn:date V 27 2012-07-05T23:36:17.665405Z K 7 svn:log V 77 Correct small regressions pointed out by jhb, thanks John. MFC after:5 days END K 10 svn:author V 6 obrien K 8 svn:date V 27 2012-07-06T00:03:45.556928Z K 7 svn:log V 122 Import the 20120704 release of the "Portable" BSD make tool (from NetBSD). Submitted by: Simon Gerraty END K 10 svn:author V 6 obrien K 8 svn:date V 27 2012-07-06T00:03:48.880222Z K 7 svn:log V 45 "Tag" the 20120704 Portable BSD make import. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2012-07-06T00:04:22.065095Z K 7 svn:log V 41 Script used to commit r238152 / r238153. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-07-06T00:09:26.507133Z K 7 svn:log V 97 * More whitespace twiddles * If using -i and there is an +IGNORME file, the default should be no END K 10 svn:author V 6 obrien K 8 svn:date V 27 2012-07-06T00:09:29.609500Z K 7 svn:log V 37 Merge in the Bmake 20120705 release. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-07-06T00:58:27.441565Z K 7 svn:log V 25 2 more small ws twiddles END K 10 svn:author V 4 ache K 8 svn:date V 27 2012-07-06T01:32:53.544161Z K 7 svn:log V 303 MFC r237777 Call set_terminal_mode() after video mode change, not before, because video mode change always reset terminal mode to xterm. It allows things like 'vidcontrol -T cons25 80x30' works as supposed, and allows 'allscreens_flags="-T cons25 80x30"' in /etc/rc.conf too. Approved by: re (hrs) END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-07-06T02:18:49.495695Z K 7 svn:log V 119 Replace all uses of the vm page queues lock by a r/w lock that is private to this pmap. Tested by: andreast, jhibbits END K 10 svn:author V 3 bjk K 8 svn:date V 27 2012-07-06T03:43:33.833818Z K 7 svn:log V 341 MFC r237581: Explicitly mention that setting the change and expiry times to zero is equivalent to leaving the time unset. [1] Wordsmith in the compat support section. Use a full path to nologin(8) in the context of setting it as a user's shell, keeping a separate cross-reference. PR: docs/169354 [1] Approved by: hrs (mentor) END K 10 svn:author V 3 bjk K 8 svn:date V 27 2012-07-06T03:44:40.396679Z K 7 svn:log V 341 MFC r237581: Explicitly mention that setting the change and expiry times to zero is equivalent to leaving the time unset. [1] Wordsmith in the compat support section. Use a full path to nologin(8) in the context of setting it as a user's shell, keeping a separate cross-reference. PR: docs/169354 [1] Approved by: hrs (mentor) END K 10 svn:author V 3 bjk K 8 svn:date V 27 2012-07-06T03:56:45.769162Z K 7 svn:log V 351 MFC r237581: Explicitly mention that setting the change and expiry times to zero is equivalent to leaving the time unset. [1] Wordsmith in the compat support section. Use a full path to nologin(8) in the context of setting it as a user's shell, keeping a separate cross-reference. PR: docs/169354 [1] Approved by: re (hrs), hrs (mentor) END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-07-06T06:42:25.054233Z K 7 svn:log V 312 Make pmap_enter()'s management of PV entries consistent with the other pmap functions that manage PV entries. Specifically, remove the PV entry from the containing PV list only after the corresponding PTE is destroyed. Update the pmap's wired mapping count in pmap_enter() before the PV list lock is acquired. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-07-06T12:13:28.253869Z K 7 svn:log V 247 Add another PS/2 keyboard PNP ID. This ID is listed as "Reserved by Microsoft" in the standard PNP ID table, but has been seen in the wild on at least one laptop. PR: kern/169571 Submitted by: Matthias Apitz guru unixarea de MFC after: 3 days END K 10 svn:author V 6 emaste K 8 svn:date V 27 2012-07-06T13:21:23.873148Z K 7 svn:log V 207 Allow threads to finish up when terminated by user Set a flag and allow worker threads to finish upon ^C, instead of immediately cancelling them, so that final packet count and rate stats can be displayed. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-07-06T14:25:59.292131Z K 7 svn:log V 1374 Several fixes to the amd64 disassembler: - Add generic support for opcodes that are escape bytes used for multi-byte opcodes (such as the 0x0f prefix). Use this to replace the hard-coded 0x0f special case and add support for three-byte opcodes that use the 0x0f38 prefix. - Decode all Intel VMX instructions. invept and invvpid in particular are three-byte opcodes that use the 0x0f38 escape prefix. - Rework how the special 'SDEP' size flag works such that the default instruction name (i_name) is the instruction when the data size prefix (0x66) is not specified, and the alternate name in i_extra is used when the prefix is included. - Add a new 'ADEP' size flag similar to 'SDEP' except that it chooses between i_name and i_extra based on the address size prefix (0x67). Use this to fix the decoding for jrcxz vs jecxz which is determined by the address size prefix, not the operand size prefix. Also, jcxz is not possible in 64-bit mode, but jrcxz is the default instruction for that opcode. - Add support for handling instructions that have a mandatory 'rep' prefix (this means not outputting the 'repe ' prefix until determining if it is used as part of an opcode). Make 'pause' less of a special case this way. - Decode 'cmpxchg16b' and 'cdqe' which are variants of other instructions but with a REX.W prefix. MFC after: 1 month END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-07-06T14:28:18.088682Z K 7 svn:log V 260 Add support for the 'invept' and 'invvpid' instructions. Beyond simply adding appropriate table entries, the assembler had to be adjusted as these are the first non-SSE instructions to use a 3-byte opcode (and a mandatory prefix to boot). MFC after: 1 month END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-07-06T14:41:02.228414Z K 7 svn:log V 470 r237748 continuation: segment-override prefixes are not invalid in long mode Update DTrace disassembler accordingly. The code to treat the prefixes as null prefixes was already in place. Although in practice compilers seem to generate only cs-prefix for use in long NOPs, the same treatment is applied to all of cs, ds, es, ss for consistency. Reported by: emaste Tested by: emaste Obtained from: Illumos commit 13442:4adbe6de60c8 (+ local changes) MFC after: 5 days END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-07-06T14:45:30.600908Z K 7 svn:log V 227 r237748 continuation: fix nopw (0f 1f) behavior with respect to modifiers To do: proper merge with Illumos vendor area. Reported by: emaste Tested by: emaste Obtained from: Illumos commit 13442:4adbe6de60c8 MFC after: 5 days END K 10 svn:author V 6 emaste K 8 svn:date V 27 2012-07-06T15:36:39.612195Z K 7 svn:log V 48 Also report tx bandwidth with Ethernet overhead END K 10 svn:author V 5 trasz K 8 svn:date V 27 2012-07-06T15:46:38.985710Z K 7 svn:log V 25 Fix typo in the comment. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-07-06T15:57:03.705152Z K 7 svn:log V 885 agp.c: Don't use Maxmem when the amount of memory is meant. Use realmem instead. Maxmem is not only a MD variable, it represents the highest physical memory address in use. On systems where memory is sparsely layed-out the highest memory address and the amount of memory are not interchangeable. Scaling the AGP aperture based on the actual amount of memory (= realmem) rather than the available memory (= physmem) makes sure there's consistent behaviour across architectures. agp_i810.c: While arguably the use of Maxmem can be considered correct, replace its use with realmem anyway. agp_i810.c is specific to amd64, i386 & pc98, which have a dense physical memory layout. Avoiding Maxmem here is done with an eye on copy-n-paste behaviour in general and to avoid confusion caused by using realmem in agp.c and Maxmem in agp_i810.c. In both cases, remove the inclusion of md_var.h END K 10 svn:author V 3 pfg K 8 svn:date V 27 2012-07-06T16:43:56.487224Z K 7 svn:log V 541 Fix issue resizing bin/sh This partially reverts some changes from r237448 that are causing breakage when resizing under bin/sh . Reverted changes from NetBSD are: Mar 10 20:46:15 2009 - editline.3 read.c make el_gets set the count to -1 on error to distinguish between EOF and error. Feb 19 15:20:22 2009 - read.c sig.c sig.h reset and redraw on sigcont. From Anon Ymous. Feb 15 21:24:13 2009 don't restart on EINTR, instead return NULL immediately. From Anon Ymous PR: 169603 Reported by: Peter Jeremy, David Shao MFC after: 3 days END K 10 svn:author V 6 obrien K 8 svn:date V 27 2012-07-06T16:54:25.902891Z K 7 svn:log V 49 I accidently svn added these in the wrong place. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2012-07-06T17:03:43.974510Z K 7 svn:log V 146 Allow continuous packet transmission (via -t 0) Also add a missing check for the cancel flag while waiting for the first packet in receive mode. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2012-07-06T17:07:50.303816Z K 7 svn:log V 78 Add proper mid-level Makefile. Submitted by: Simon Gerraty END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-07-06T17:42:34.305815Z K 7 svn:log V 96 MFC r238071: Fix clang warning, introduced in the recent dtrace import. Approved by: re (kib) END K 10 svn:author V 3 pfg K 8 svn:date V 27 2012-07-06T19:30:50.622284Z K 7 svn:log V 115 Merge a small update from NetBSD. Feb 15 21:55:23 2009 - chared.c chared.h pass lint on _LP64. MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-07-06T20:11:58.989887Z K 7 svn:log V 117 Use assembler mnemonic instead of manually assembling, contination for r238142. Reviewed by: jhb MFC after: 1 month END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-07-06T20:13:16.967424Z K 7 svn:log V 62 Style. Reviewed by: alc (previous version) MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-07-06T20:14:27.442720Z K 7 svn:log V 66 Add a source file needed for module linking. MFC after: 4 days END K 10 svn:author V 8 theraven K 8 svn:date V 27 2012-07-06T20:16:22.500027Z K 7 svn:log V 117 Restore the __collate_load_error global that was accidentally removed in the xlocale refactoring. MFC after: 1 week END K 10 svn:author V 6 emaste K 8 svn:date V 27 2012-07-06T23:17:30.617418Z K 7 svn:log V 210 Implement SIOCGIFMEDIA for if_tap(4) Appease certain if_tap(4) consumers by providing simulated Ethernet media status. DragonFly commit 70d9a675bf5441cc854a843ead702d08928c37f3 Obtained from: DragonFly BSD END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-07-07T00:25:17.738043Z K 7 svn:log V 1472 Hide the creation of phys_avail behind an API to make it easier to do it correctly. We now iterate the EFI memory descriptors once and collect all the information in a single pass. This includes: 1. The I/O port base address, 2. The PAL memory region. Have the physmem API track this. 3. Memory descriptors of memory we can't use, like bad memory, runtime services code & data, etc. Have the physmem API track these. 4. memory descriptors of memory we can use or re-use, such as free memory, boot time services code & data, loader code & data, etc. These are added by the physmem API. Since the PBVM page table and pages are in memory described as loader data, inform the physmem API of chunks that need to be delated from the available physical memory. While here, remove Maxmem and replace it with the better named paddr_max. Maxmem was defined as physmem, which is generally wrong. Now, paddr_max is properly defined as the largesty physical address. The upshot of all this is that: 1. We properly determine realmem. 2. We maximize physmem by re-using memory where possible. 3. We remove complexity from ia64_init() in machdep.c. 4. Remove confusion about realmem, physmem & Maxmem. The new ia64_physmem_alloc() is to replace pmap_steal_memory() in pmap.c, as well as replace the handcrafted allocation of the VHPT for the BSP in pmap_bootstrap() in pmap.c. This is step 2 and addresses the manipulation of phys_avail after it is being created. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2012-07-07T04:14:28.668216Z K 7 svn:log V 46 Unbreak building WITH_ICONV=yes and new yacc. END