ƒ³239735 177 1171 1171 290 168 173 791 723 318 348 156 218 249 195 674 197 658 658 149 335 162 289 128 119 187 155 151 219 656 190 204 980 312 220 122 331 289 162 134 406 462 264 176 176 176 205 215 184 355 292 292 292 533 575 575 205 274 217 138 153 146 163 148 116 527 383 135 396 185 185 275 434 157 231 231 177 188 177 171 172 172 164 164 941 420 341 941 291 291 171 171 171 589 589 292 201 245 266 348 595 305 399 191 252 156 202 183 136 168 346 124 163 112 110 184 124 150 110 152 248 928 107 262 149 131 132 262 149 131 132 658 461 1049 1049 194 370 282 808 275 174 181 181 418 418 593 1560 294 294 323 188 182 207 145 277 298 453 395 217 145 144 152 201 179 112 205 163 215 312 119 119 126 329 255 168 213 271 1324 299 K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-08-27T15:52:09.034963Z K 7 svn:log V 1071 MFC r239545, r239665: Fix/add support for SCSI UNMAP to ATA DSM translation. (Note: scsi_da does not support BIO_DELETE->SCSI_UNMAP on this stable branch, but I am MFC'ing the changes to keep a consistent driver across all stable releases.) This addresses kernel panic observed when sending SCSI UNMAP commands to SATA disks attached to isci(4). 1) Flesh out callback routines to allocate/free buffers needed for translating SCSI UNMAP data to ATA DSM data. 2) Add controller-level pool for storing buffers previously allocated for UNMAP translation, to lessen chance of no buffer available under memory pressure. 3) Ensure driver properly handles case where buffer pool is empty and contigmalloc returns NULL. 4) Clear freeze bit in isci_remote_device_release_lun_queue() before calling xpt_release_devq to ensure that any ccbs which immediately start during the call to xpt_release_devq() see an accurate picture of the frozen_lun_mask. This code path is extensively exercised when tagged read/write commands mix with non-tagged DSM commands. Sponsored by: Intel END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-08-27T15:54:51.656610Z K 7 svn:log V 1071 MFC r239545, r239665: Fix/add support for SCSI UNMAP to ATA DSM translation. (Note: scsi_da does not support BIO_DELETE->SCSI_UNMAP on this stable branch, but I am MFC'ing the changes to keep a consistent driver across all stable releases.) This addresses kernel panic observed when sending SCSI UNMAP commands to SATA disks attached to isci(4). 1) Flesh out callback routines to allocate/free buffers needed for translating SCSI UNMAP data to ATA DSM data. 2) Add controller-level pool for storing buffers previously allocated for UNMAP translation, to lessen chance of no buffer available under memory pressure. 3) Ensure driver properly handles case where buffer pool is empty and contigmalloc returns NULL. 4) Clear freeze bit in isci_remote_device_release_lun_queue() before calling xpt_release_devq to ensure that any ccbs which immediately start during the call to xpt_release_devq() see an accurate picture of the frozen_lun_mask. This code path is extensively exercised when tagged read/write commands mix with non-tagged DSM commands. Sponsored by: Intel END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-08-27T15:57:33.266242Z K 7 svn:log V 191 MFC r239655: Fix scsi_da's BIO_DELETE->SCSI_UNMAP translation to use correct local variable when determining various sizes related to SCSI UNMAP block descriptor lists. Sponsored by: Intel END K 10 svn:author V 5 luigi K 8 svn:date V 27 2012-08-27T16:42:32.652558Z K 7 svn:log V 74 use MALLOC_PRODUCTION for picobsd builds, be more frugal in memory usage. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-08-27T17:15:14.546906Z K 7 svn:log V 81 Don't build and install the 07.lpd doc if WITHOUT_LPR is set. MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-08-27T17:24:07.572883Z K 7 svn:log V 698 Rework the DMA handling in ida(4) and add locking to make this driver MPSAFE. - Preallocate a full set of QCBs during attach rather than allocating new ones on demand to avoid allocations in the I/O path. - Remove the explicit bus space tag/handle and use bus_*() on the relevant 'struct resource' instead. - Defer logical drive probing to an intrhook. - Fix ida_detach() to detach and delete child devices (logical drives). - Update the DMA handling to support EINPROGRESS by moving the work to submit a mapped request into the bus_dma callback routine as well as add support for freezing the queue when EINPROGRESS is encountered. Tested by: Marco Steinbach coco executive-computing de END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-08-27T18:10:25.429841Z K 7 svn:log V 624 MFC r239545: Fix/add isci(4) support for SCSI UNMAP to ATA DSM translation. This addresses kernel panic observed when sending SCSI UNMAP commands to SATA disks attached to isci(4). 1) Flesh out callback routines to allocate/free buffers needed for translating SCSI UNMAP data to ATA DSM data. 2) Add controller-level pool for storing buffers previously allocated for UNMAP translation, to lessen chance of no buffer available under memory pressure. 3) Ensure driver properly handles case where buffer pool is empty and contigmalloc returns NULL. Sponsored by: Intel Approved by: re (kib) END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-08-27T18:12:08.005006Z K 7 svn:log V 219 MFC r239655: Fix scsi_da's BIO_DELETE->SCSI_UNMAP translation to use correct local variable when determining various sizes related to SCSI UNMAP block descriptor lists. Sponsored by: Intel Approved by: re (kib) END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-08-27T18:14:22.068448Z K 7 svn:log V 249 MFC r239665: Clear freeze bit before calling xpt_release_devq. This ensures that any ccbs which immediately start during the call to xpt_release_devq see an accurate picture of the frozen_lun_mask. Sponsored by: Intel Approved by: re (kib) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2012-08-27T19:08:47.584502Z K 7 svn:log V 60 Show error messages if nmount() failed. MFC after: 1 month END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-08-27T19:20:58.366631Z K 7 svn:log V 126 Add zpool-features.5 vendor manual page, revision 13753:2aba784c276b Obtained from: ssh://anonhg@hg.illumos.org/illumos-gate END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-08-27T19:25:20.002552Z K 7 svn:log V 157 Update vendor/illumos/dist and vendor/illumos-gate/dist to illumos-gate revision 13782:8f78aae28a63 Obtained from: ssh://anonhg@hg.illumos.org/illumos-gate END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-08-27T19:30:21.370895Z K 7 svn:log V 102 Add a few other files that are obsolete if WITH_CLANG_EXTRAS is enabled, and clang is updated to 3.2. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-08-27T19:37:02.074336Z K 7 svn:log V 581 MFC 233040,233198,233870,234183: Add OFED and the associated options and drivers to x86 LINT builds: - Fix build with INET6 disabled. - Fix build of OFED bits with debugging options enabled. - Fix build on i386. - Mark 'sdp' as requiring 'inet'. - Always include "opt_inet.h" and "opt_inet6.h" and modify the IB driver Makefiles to honor WITH/WITHOUT_INET/INET6/_SUPPORT options to determine what should be enabled during a module build. - Fix the mlxen(4) driver and the core IB code to compile without if INET is disabled (including when both INET and INET6 are disabled). END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-08-27T19:52:55.744850Z K 7 svn:log V 105 Add missing parts to zpool-features.5 manual page Obtained from: vendor/illumos/dist MFC after: 2 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-08-27T19:55:19.611695Z K 7 svn:log V 565 MFC 237646,237656,238020: - Add a new line to top that provides a brief summary of the ZFS ARC memory usage on hosts using ZFS. The new line displays the total amount of RAM used by the ARC along with the size of MFU, MRU, anonymous (in flight), headers, and other (miscellaneous) sub-categories. The line is not displayed on systems that are not using ZFS. - Clarify that the cached file data pages included in the "Wired" count in top are the BIO-level cached data (i.e. "Buf"), since the previous phrase was a bit ambiguous with the "Cache" count. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-08-27T19:55:31.603690Z K 7 svn:log V 565 MFC 237646,237656,238020: - Add a new line to top that provides a brief summary of the ZFS ARC memory usage on hosts using ZFS. The new line displays the total amount of RAM used by the ARC along with the size of MFU, MRU, anonymous (in flight), headers, and other (miscellaneous) sub-categories. The line is not displayed on systems that are not using ZFS. - Clarify that the cached file data pages included in the "Wired" count in top are the BIO-level cached data (i.e. "Buf"), since the previous phrase was a bit ambiguous with the "Cache" count. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-08-27T20:03:08.077957Z K 7 svn:log V 54 Fix the debugging output to correctly log CCK errors. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-08-27T20:10:38.141439Z K 7 svn:log V 239 Ensure that all firstep values are available in ANI. The comparison assumes maxFirstepLevel is a count, rather than a maximum value. The array is 3 entries in size however 'maxFirstepLevel' is 2. This bug also exists in the AR5212 HAL. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-08-27T20:23:03.756046Z K 7 svn:log V 70 MFC r239374: Deliver SIGSYS to the guilty thread, not to the process. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-08-27T20:25:26.889393Z K 7 svn:log V 196 MFC r239588: Provide some compat32 shims for sysctl vfs.conflist. It is required for getvfsbyname(3) operation when called from 32bit process, and getvfsbyname(3) is used by recent bsdtar import. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-08-27T20:30:07.144399Z K 7 svn:log V 33 Improve the sample rate logging. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-08-27T21:49:37.357705Z K 7 svn:log V 24 Convert to using ulzma. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-08-27T21:53:01.976723Z K 7 svn:log V 92 Slim down the default AR724X build. The AR724X boards tend to come with minimal RAM/flash. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-08-27T21:59:52.958863Z K 7 svn:log V 60 Convert AP93 to use the new AR724X_BASE configuration file. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-08-27T23:18:41.595065Z K 7 svn:log V 56 Don't grab an unreferenced pointer to the VAP bss node. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-08-27T23:27:41.064796Z K 7 svn:log V 123 Only print the descriptor contents! Found by: magical CLANG build environments Submitted by: Sevan END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-08-28T01:28:52.742627Z K 7 svn:log V 563 Bring in the multi-block patches for mci. These required extensive restructuring of the driver. I've tried to preserve the other silicon workarounds that we've added over the years, but haven't had a chance to extensively test on other hardware. On my AT91RM9200 with 30MHz/1 wire/64 block transfers, I've been able to go from ~.66MB/s to 2.25MB/s in the simple tests I performed, almost a 3.5x improvement. This cuts the boot time almost in half when everything else goes right (timed from rtc message to login: prompt). PR: 155214 Submitted by: Ian Lapore END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-08-28T03:27:48.604987Z K 7 svn:log V 98 Style: Move these routines to be before the forward declared functions as is the normal practice. END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-08-28T03:46:31.098257Z K 7 svn:log V 111 Move to using a flag instead of checking the CPU type each transaction for the MCI1 rev 2.x write workarounds. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-08-28T06:17:44.084682Z K 7 svn:log V 884 This is an initial board configuration for the D-Link DIR-825 dual-band 802.11n router. The flash layout defaults to a 1 MiB section for the kernel so I'm trying very hard to squeeze a minimialistic (LZMA compressde) kernel image into that. I've verified that it boots through to single user mode fine. Issues: * USB doesn't yet work as a module - I need to add something else to the USB AR71xx build before that will work. * There's no switch PHY support - but for now it quite happily behaves as a useful dumb switch out of the box. Phew. * Since a previous flash attempt trashed my radio configuration block, I haven't yet verified whether the wireless works correctly. I'll test that out shortly (read: once I re-calibrate the board somehow.) Thanks to ray@ and the zrouter project for doing some of the initial hard work in figuring out how to bring this board up. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-08-28T06:47:21.878192Z K 7 svn:log V 219 MFC r239509: Support the WITH_SHARED_TOOLCHAIN setting that was introduced in r234782 for the clang executable. Build it statically by default, like the gcc executables, which should improve performance a little bit. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-08-28T06:49:33.078904Z K 7 svn:log V 127 MFC r239513: When WITH_CLANG_EXTRAS is enabled, avoid needlessly building the llvm and clang extras in the cross-tools stage. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-08-28T06:52:00.510708Z K 7 svn:log V 27 oops, make cfg read-write. END K 10 svn:author V 4 zont K 8 svn:date V 27 2012-08-28T08:38:53.589706Z K 7 svn:log V 237 - Don't allow watchdogd(8) to be swapped out. On machines with huge amount of swap and high IO activity, watchdogd(8) may wait for a swap memory longer than timeout and sometimes fires. Approved by: kib (mentor) MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-08-28T10:15:30.522278Z K 7 svn:log V 196 MFC r239588: Provide some compat32 shims for sysctl vfs.conflist. It is required for getvfsbyname(3) operation when called from 32bit process, and getvfsbyname(3) is used by recent bsdtar import. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-08-28T11:34:09.171990Z K 7 svn:log V 70 Fix misspelled "Infiniband". Submitted by: gcooper MFC after: 3 days END K 10 svn:author V 6 andrew K 8 svn:date V 27 2012-08-28T11:35:09.535751Z K 7 svn:log V 39 Add the ARM EABI stack upwinding code. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-08-28T12:19:14.306589Z K 7 svn:log V 309 Protection against race between pf_unlink_state() vs pf_unlink_state(). This may happen in a very rare case, when a forwarding thread creates a state, and encounters state with same key but with both sides in >= TCPS_FIN_WAIT_2. The old state is deleted then, and it can race with deletion by expiry thread. END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-08-28T12:25:37.349405Z K 7 svn:log V 370 Merge recent vendor changes: 3100 zvol rename fails with EBUSY when dirty 3104 eliminate empty bpobjs 3120 zinject hangs in zfsdev_ioctl() due to uninitialized zc References: https://www.illumos.org/issues/3100 https://www.illumos.org/issues/3104 https://www.illumos.org/issues/3120 Obtained from: illumos (vendor/illumos, vendor/illumos-sys) MFC after: 2 weeks END K 10 svn:author V 6 issyl0 K 8 svn:date V 27 2012-08-28T12:33:54.345985Z K 7 svn:log V 168 Link ipfilter(4) and ipfilter(5) to the build to stop the wrong man page displaying for 'man 4 ipfilter'. PR: docs/118020 Approved by: gjb (mentor) MFC after: 5 days END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-08-28T12:56:23.968390Z K 7 svn:log V 85 MFC r238877: Fix a comment that we do not have an SA yet but need to acquire one. END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-08-28T12:56:28.432154Z K 7 svn:log V 85 MFC r238877: Fix a comment that we do not have an SA yet but need to acquire one. END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-08-28T12:56:35.135065Z K 7 svn:log V 85 MFC r238877: Fix a comment that we do not have an SA yet but need to acquire one. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-08-28T13:35:37.660083Z K 7 svn:log V 112 Shorten the name of the fast SWI taskqueue to "fast taskq" so that it fits. Reported by: lev MFC after: 1 week END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-08-28T14:19:10.494121Z K 7 svn:log V 122 Clip the upper end to 31MHz for slow clock speeds. On faster machines, we wind up with a 66MHz clock, which is too fast. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2012-08-28T14:20:41.797073Z K 7 svn:log V 89 Don't overwrite the global default CFLAGS when setting include paths. MFC after: 3 days END K 10 svn:author V 6 dteske K 8 svn:date V 27 2012-08-28T15:45:37.284197Z K 7 svn:log V 259 MFC r239500: Fix "unexpected operator" error when passed multi-word first-argument containing whitespace. Also make other changes to support multi-word arguments. PR: bin/170759 Submitted by: dteske Reviewed by: emaste (mentor) Approved by: emaste (mentor) END K 10 svn:author V 4 fjoe K 8 svn:date V 27 2012-08-28T17:08:47.455762Z K 7 svn:log V 198 MFC: r238933 - Change back "d_ofs" to int8_t to not pessimize padding and size of "struct puc_cfg". - Use "puc_config_moxa" for Moxa boards that need d_ofs greater than 0x7f Approved by: re (kib) END K 10 svn:author V 4 fjoe K 8 svn:date V 27 2012-08-28T17:09:34.308312Z K 7 svn:log V 198 MFC: r238933 - Change back "d_ofs" to int8_t to not pessimize padding and size of "struct puc_cfg". - Use "puc_config_moxa" for Moxa boards that need d_ofs greater than 0x7f Approved by: re (kib) END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-08-28T17:27:46.956451Z K 7 svn:log V 199 Make AT91_MCI_ALLOW_OVERCLOCK a real option. Rename old use 30MHz to this new option. Only try to use > 25MHz when our best frequency is < 15MHz and overclocking is enabled. Fix minor style chaff. END K 10 svn:author V 2 ed K 8 svn:date V 27 2012-08-28T18:33:12.245204Z K 7 svn:log V 441 Use a proper destructor function. When calling a revoke(2) on a dtrace device, dtrace_close() could be called, even if threads are still stuck in the device. Defer the actual deallocation of datastructures to the cdevpriv destructor. While there, remove the unneeded D_TRACKCLOSE and D_NEEDMINOR flags. For the helper device, we never need it. For the regular dtrace devices, we only need these flags on FreeBSD pre-8. MFC after: 1 month END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-08-28T18:44:56.004144Z K 7 svn:log V 482 MFC 230782,237274: Refine the implementation of POSIX_FADV_NOREUSE to perform POSIX_FADV_DONTNEED requests on the currently accessed portion of the file on each read(2) or write(2) rather than using direct I/O. This gives much better performance including read-ahead and write clustering similar to normal read(2) and write(2) calls. If subsequent read(2) and write(2) calls are sequential, then the POSIX_FADV_DONTNEED requests will cover the entire sequentially-accessed range. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-08-28T18:45:20.373131Z K 7 svn:log V 482 MFC 230782,237274: Refine the implementation of POSIX_FADV_NOREUSE to perform POSIX_FADV_DONTNEED requests on the currently accessed portion of the file on each read(2) or write(2) rather than using direct I/O. This gives much better performance including read-ahead and write clustering similar to normal read(2) and write(2) calls. If subsequent read(2) and write(2) calls are sequential, then the POSIX_FADV_DONTNEED requests will cover the entire sequentially-accessed range. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2012-08-28T19:23:04.194625Z K 7 svn:log V 108 MFC r239723: Typo in previous change: print half the theoretical maximum as maximum recommended amount. END K 10 svn:author V 2 ed K 8 svn:date V 27 2012-08-28T19:28:31.822462Z K 7 svn:log V 182 Remove unneeded G_PF_CANDELETE flag. This flag is only used by GEOM so it can be propagated to the character device's SI_CANDELETE. Unfortunately, SI_CANDELETE seems to do nothing. END K 10 svn:author V 2 ed K 8 svn:date V 27 2012-08-28T19:30:29.371146Z K 7 svn:log V 125 Remove unused SI_* flags. The SI_DEVOPEN, SI_CONSOPEN and SI_CANDELETE flags are not used by any piece of code in the tree. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2012-08-28T19:36:54.509662Z K 7 svn:log V 43 Provide the required personality functions END K 10 svn:author V 6 andrew K 8 svn:date V 27 2012-08-28T19:37:54.003588Z K 7 svn:log V 58 When building a kernel with DDB provide the unwind tables END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-08-28T22:17:22.050871Z K 7 svn:log V 51 Add a new flash part - 4MB SPI flash from Winbond. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-08-28T22:50:47.269017Z K 7 svn:log V 68 * Don't compile in sysctl descriptions * random is fine as a module END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-08-29T00:53:41.098383Z K 7 svn:log V 53 Remove extra debugging - there's no longer any need. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-08-29T00:53:58.067061Z K 7 svn:log V 21 Remove - not needed. END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-08-29T01:04:12.440479Z K 7 svn:log V 428 MFC r239591: Remove unncessary atomic operation when reading process flags in PMC_PROC_IS_USING_PMCS macro. Invocations of this macro are not synchronized with setting/clearing of P_HWPMC flag, so the atomic operation here isn't needed. Removing the atomic operation provides noticeable improvement (5-6%) on some scheduler-intensive workloads with HWPMC_HOOKS enabled on an 8C Sandy Bridge Xeon system. Sponsored by: Intel END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-08-29T01:08:36.065851Z K 7 svn:log V 287 Bring over a configuration for the Atheros AP91 reference board. This has an AR7240 SoC with an AR9285 wireless NIC on-board. Since the kernel partition on the 4MiB flash is 960KiB, quite a bit is disabled to try and squeeze the build into that. Even lzma'ed, it's still quite large. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-08-29T03:50:59.113064Z K 7 svn:log V 40 Add a (temporarily located) definition. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-08-29T03:58:13.042746Z K 7 svn:log V 300 Add AR5413 radar parameters and strong signal diversity capability. This is a re-implementation based on the reference carrier code for the AR5413. Tested: * Pulse detection for AR5212 and AR5413, to ensure the correct behaviour for both chips PR: kern/170904 Obtained from: Qualcomm Atheros END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-08-29T04:09:54.234398Z K 7 svn:log V 90 Add a new capability bit - whether the hardware supports AR9285 style combined diversity. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-08-29T04:11:00.130146Z K 7 svn:log V 90 Set the HAL combined antenna diversity capability if the AR9285 EEPROM settings allow it. END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-08-29T04:41:25.022248Z K 7 svn:log V 182 When copying data, use memcpy instead of bcopy. It matches the arguments better. Also, set the need to use the workaround flag before we actually need to use it, rather than after. END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-08-29T06:42:39.454461Z K 7 svn:log V 341 Make this work on the AT91SAM9G20: o Disable multi-block operations: they sometimes fail. o Don't use the PROOF bits yet: they hang the system hard. o Disable the the multi-block operations for !rm9200, but it still doesn't help. o Fix writing < 12 bytes errata to actually work. o Enable, for the moment, reporting extra bytes soaked up. END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-08-29T06:43:28.650599Z K 7 svn:log V 65 4-wire mode isn't working quite right, so turn it off for a bit. END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-08-29T08:14:16.109236Z K 7 svn:log V 138 MFC r238418: acpi_cpu: separate a notion of current deepest allowed+available Cx level from a user-set persistent limit on the said level END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-08-29T08:34:16.613871Z K 7 svn:log V 138 MFC r238418: acpi_cpu: separate a notion of current deepest allowed+available Cx level from a user-set persistent limit on the said level END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-08-29T08:39:58.652586Z K 7 svn:log V 85 MFC r238192: acpi_cpu_cx_cst: consistently use cpu_cx_count during state enumeration END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-08-29T08:44:21.516078Z K 7 svn:log V 96 MFC r215188: Create C1 state when _CST is valid but _CST does not have one. On behalf of: jkim END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-08-29T08:46:04.256949Z K 7 svn:log V 85 MFC r238192: acpi_cpu_cx_cst: consistently use cpu_cx_count during state enumeration END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-08-29T08:47:43.291436Z K 7 svn:log V 79 MFC r238193: acpi_cpu_cx_list: there is no need to re-evaluate cpu_non_c3 here END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-08-29T08:58:10.948105Z K 7 svn:log V 80 MFC r238194: acpi_cpu_generic_cx_probe: for consistency set cpu_non_c3 here too END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-08-29T08:59:02.002979Z K 7 svn:log V 80 MFC r238194: acpi_cpu_generic_cx_probe: for consistency set cpu_non_c3 here too END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-08-29T09:00:57.729691Z K 7 svn:log V 72 MFC r238229: acpi_cpu: we are able to handle _CST change notifications END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-08-29T09:02:02.675204Z K 7 svn:log V 72 MFC r238229: acpi_cpu: we are able to handle _CST change notifications END K 10 svn:author V 5 gavin K 8 svn:date V 27 2012-08-29T11:23:20.481028Z K 7 svn:log V 846 Merge r238803, r238804 from head: Add support for more devices to uslcom(4). This commit syncronises the list of supported devices with the union of: NetBSD src/sys/dev/usb/uslsa.c 1.18 OpenBSD src/sys/dev/usb/uslcom.c 1.24 Linux source/drivers/usb/serial/cp210x.c HEAD Remove duplicate JABLOTRON PC60B entry. Note that some of the devices added here are multi-port devices. The uslcom(4) driver currently only supports the first port on such devices. Update the man page to reflect the full list of supported devices. Remove two caveats from the CAVEATS section, as both listed caveats no longer apply. Add a caveat about multi-port devices. Improve descriptions for several devices supported by uslcom(4). Correct the spelling of the company Telegesis. Move MpMan to the correct location alphabetically. END K 10 svn:author V 4 zont K 8 svn:date V 27 2012-08-29T11:23:59.051715Z K 7 svn:log V 326 - Don't take an account of locked memory for current process in vslock(9). There are two consumers of vslock(9): sysctl code and drm driver. These consumers are using locked memory as transient memory, it doesn't belong to a process's memory. Suggested by: avg Reviewed by: alc Approved by: kib (mentor) MFC after: 2 weeks END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-08-29T11:28:59.593088Z K 7 svn:log V 248 MFC r238418: acpi_cpu: separate a notion of current deepest allowed+available Cx level from a user-set persistent limit on the said level Reviewed by: jhb, gianni, sbruno Tested by: sbruno, Vitaly Magerya Approved by: re(kib) END K 10 svn:author V 5 gavin K 8 svn:date V 27 2012-08-29T12:18:42.685527Z K 7 svn:log V 846 Merge r238803, r238804 from head: Add support for more devices to uslcom(4). This commit syncronises the list of supported devices with the union of: NetBSD src/sys/dev/usb/uslsa.c 1.18 OpenBSD src/sys/dev/usb/uslcom.c 1.24 Linux source/drivers/usb/serial/cp210x.c HEAD Remove duplicate JABLOTRON PC60B entry. Note that some of the devices added here are multi-port devices. The uslcom(4) driver currently only supports the first port on such devices. Update the man page to reflect the full list of supported devices. Remove two caveats from the CAVEATS section, as both listed caveats no longer apply. Add a caveat about multi-port devices. Improve descriptions for several devices supported by uslcom(4). Correct the spelling of the company Telegesis. Move MpMan to the correct location alphabetically. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-08-29T12:34:43.822877Z K 7 svn:log V 198 MFC 237338: Don't return an error if a kld does not contain any modules (e.g. a kld that only contained a sysctl). The kernel linker allows such modules, so the boot loader should not reject them. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-08-29T12:35:50.312706Z K 7 svn:log V 198 MFC 237338: Don't return an error if a kld does not contain any modules (e.g. a kld that only contained a sysctl). The kernel linker allows such modules, so the boot loader should not reject them. END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-08-29T12:44:13.055252Z K 7 svn:log V 80 MFC r238878: For consistency put the IPsec comment iside the #fidef section. END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-08-29T12:44:14.975697Z K 7 svn:log V 80 MFC r238878: For consistency put the IPsec comment iside the #fidef section. END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-08-29T12:44:17.575097Z K 7 svn:log V 80 MFC r238878: For consistency put the IPsec comment iside the #fidef section. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2012-08-29T12:46:53.176912Z K 7 svn:log V 494 Merge r239037,239050 from head: Support multiple interface devices. The driver had previously hardcoded support for only the first port, but the CP2105 can have multiple ports. Although without this change the the first port mostly worked on multi port devices, there could still be issues with this arrangement. Update the man page to reflect support for both ports and the CP2105. Many thanks to Silicon Labs (www.silabs.com) for providing a CP2105-EK dev board for testing. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2012-08-29T12:47:00.666543Z K 7 svn:log V 494 Merge r239037,239050 from head: Support multiple interface devices. The driver had previously hardcoded support for only the first port, but the CP2105 can have multiple ports. Although without this change the the first port mostly worked on multi port devices, there could still be issues with this arrangement. Update the man page to reflect support for both ports and the CP2105. Many thanks to Silicon Labs (www.silabs.com) for providing a CP2105-EK dev board for testing. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2012-08-29T12:52:04.843873Z K 7 svn:log V 197 Merge r225538 from head: Include descriptions for keymaps missing from INDEX.keymaps. This fixes the five keymaps referred to only by filename on the keymap selection screen of bsdinstall. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2012-08-29T13:00:00.747229Z K 7 svn:log V 104 Follow r239818 and remove no more relevant vslock() ENOMEM error. Reviewed by: zont MFC after: 2 weeks END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-08-29T13:10:34.811369Z K 7 svn:log V 153 MFC 238934: Improve the should-never-hit printf to ease debugging in case we'd ever hit it again when doing the delayed IPv6 checksum calculations. END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-08-29T13:14:39.291112Z K 7 svn:log V 174 MFC r238935: Properly apply #ifdef INET and leave a comment that we are (will) apply delayed IPv6 checksum processing in ip6_output.c when doing IPsec. PR: kern/170116 END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-08-29T13:19:27.632784Z K 7 svn:log V 256 MFC r238960: In case of IPsec he have to do delayed checksum calculations before adding any extension header, or rather before calling into IPsec processing as we may send the packet and not return to IPv6 output processing here. PR: kern/170116 END K 10 svn:author V 6 issyl0 K 8 svn:date V 27 2012-08-29T13:28:25.867058Z K 7 svn:log V 499 MFC r238781, r238919 from HEAD: r238781: - Add a new man page containing details of new locale-specific functions for wctype.h, iswalnum_l(3). Add it and its functions to the Makefile. r238919: - Add more locale-specific functions to the relevant man pages and Makefile: - lib/libc/locale/islower.3 - lib/libc/locale/ispunct.3 - lib/libc/locale/nl_langinfo.3 - lib/libc/locale/isgraph.3 - lib/libc/locale/isspace.3 Approved by: gjb (mentor) END K 10 svn:author V 6 issyl0 K 8 svn:date V 27 2012-08-29T14:06:58.612952Z K 7 svn:log V 209 MFC r238813 from HEAD: - The ad(4) driver no longer exists in FreeBSD CURRENT or 9, so change the references to it in gsched(8) to the existing ada(4) driver. PR: docs/170085 Approved by: gjb (mentor) END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-08-29T15:13:13.170960Z K 7 svn:log V 306 MFC r236317: Add a rangelock implementation, intended to be used to range-locking the i/o regions of the vnode data space. The implementation is quite simple-minded, it uses the list of the lock requests, ordered by arrival time. Each request may be for read or for write. The implementation is fair FIFO. END K 10 svn:author V 3 des K 8 svn:date V 27 2012-08-29T15:18:56.478206Z K 7 svn:log V 99 Change the gptboot example so the boot partition is aligned on a 4 kB boundary. MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-08-29T15:21:27.358754Z K 7 svn:log V 159 MFC r236321: Add vn_io_fault(), which is a facility to prevent page faults while filesystems perform copyin/copyout of the file data into the usermode buffer. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-08-29T15:28:38.509493Z K 7 svn:log V 64 MFC r236516: Count and export the number of prefaulting happen. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-08-29T15:34:26.392497Z K 7 svn:log V 109 MFC r236517: Add a knob to disable vn_io_fault. MFC note: by default, vn_io_fault for stable/9 is disabled. END K 10 svn:author V 6 issyl0 K 8 svn:date V 27 2012-08-29T15:34:31.499767Z K 7 svn:log V 88 Fix a dead link in sk(4). PR: docs/146958 Approved by: gjb (mentor) MFC after: 3 days END K 10 svn:author V 3 gjb K 8 svn:date V 27 2012-08-29T15:38:18.244319Z K 7 svn:log V 44 MFC r239699: - Grammar fix: s/NIC's/NICs/ END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-08-29T15:41:17.471387Z K 7 svn:log V 76 MFC r237365: Fix locking for f_offset, vn_read() and vn_write() cases only. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-08-29T15:45:58.992391Z K 7 svn:log V 253 MFC r238029: 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(). END K 10 svn:author V 3 des K 8 svn:date V 27 2012-08-29T15:46:01.001515Z K 7 svn:log V 32 Vendor import of OpenSSH 6.0p1. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-08-29T15:50:09.137617Z K 7 svn:log V 71 MFC r236687: Improve handling of uiomove(9) errors for the NFS client. END K 10 svn:author V 3 des K 8 svn:date V 27 2012-08-29T15:51:04.294971Z K 7 svn:log V 20 Remove autoprops :( END K 10 svn:author V 3 des K 8 svn:date V 27 2012-08-29T15:51:40.070549Z K 7 svn:log V 18 Tag OpenSSH 6.0p1 END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-08-29T15:53:27.603981Z K 7 svn:log V 92 MFC r237987: Do not override an error from uiomove() with (non-)error result from bwrite(). END K 10 svn:author V 3 des K 8 svn:date V 27 2012-08-29T15:55:54.352295Z K 7 svn:log V 32 Vendor import of OpenSSH 6.1p1. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-08-29T15:56:13.947736Z K 7 svn:log V 58 MFC r236322: Enable vn_io_fault() lock avoidance for UFS. END K 10 svn:author V 3 des K 8 svn:date V 27 2012-08-29T15:56:25.799214Z K 7 svn:log V 18 Tag OpenSSH 6.1p1 END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-08-29T15:58:44.356305Z K 7 svn:log V 60 MFC r237367: Enable deadlock avoidance code for NFS client. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-08-29T16:00:26.143261Z K 7 svn:log V 155 MFC r238374: Add a test program, written by Stephan Uphoff, which demonstrates the deadlock due to i/o performed over the buffers backed by file mappings. END K 10 svn:author V 5 jamie K 8 svn:date V 27 2012-08-29T16:11:03.243486Z K 7 svn:log V 833 MFC r239601: Remember that I'm using length-defined strings in parameters: Remove a bogus null terminator when stripping the netmask from IP addresses. This was causing later addresses in a comma-separated string to disappear. Use memcpy instead of strcpy. This could just cause Bad Things. MFC r239602: Pre-separate IP addresses passed on the command line, so they can be properly parsed for interface prefixes and netmask suffixes. This was already done for the old-style (fixed) command line, but missed for the new-style. MFC r239621: Partially roll back r239601 - keep parameter strings both length-delimited and null-terminated at the same time, because they're later passed to libjail as null-terminated. That means I also need to add a nul byte when comma-combining array parameters. PR: 170832 END K 10 svn:author V 2 ed K 8 svn:date V 27 2012-08-29T16:15:22.031317Z K 7 svn:log V 16 Fix whitespace. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-08-29T16:17:02.362230Z K 7 svn:log V 169 MFC r238614: Implement F_DUPFD_CLOEXEC command for fcntl(2), specified by SUSv4. MFC r238627: Remove line which was accidentally kept in r238614. PR: standards/169962 END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-08-29T16:23:29.846192Z K 7 svn:log V 57 MFC r238834: Add F_DUP2FD_CLOEXEC. PR: standards/169962 END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-08-29T16:25:33.124052Z K 7 svn:log V 39 MFC r238615: Document F_DUPFD_CLOEXEC. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-08-29T16:26:41.185896Z K 7 svn:log V 40 MFC r238835: Document F_DUP2FD_CLOEXEC. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-08-29T16:37:48.295689Z K 7 svn:log V 169 MFC r238614: Implement F_DUPFD_CLOEXEC command for fcntl(2), specified by SUSv4. MFC r238627: Remove line which was accidentally kept in r238614. PR: standards/169962 END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-08-29T16:42:26.869859Z K 7 svn:log V 57 MFC r238834: Add F_DUP2FD_CLOEXEC. PR: standards/169962 END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-08-29T16:43:57.817343Z K 7 svn:log V 39 MFC r238615: Document F_DUPFD_CLOEXEC. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-08-29T16:44:50.718794Z K 7 svn:log V 40 MFC r238835: Document F_DUP2FD_CLOEXEC. END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-08-29T16:56:50.270844Z K 7 svn:log V 562 - Unlike cache invalidation and TLB demapping IPIs, reading registers from other CPUs doesn't require locking so get rid of it. As the latter is used for the timecounter on certain machine models, using a spin lock in this case can lead to a deadlock with the upcoming callout(9) rework. - Merge r134227/r167250 from x86: Avoid cross-IPI SMP deadlock by using the smp_ipi_mtx spin lock not only for smp_rendezvous_cpus() but also for the MD cache invalidation and TLB demapping IPIs. - Mark some unused function arguments as such. MFC after: 1 week END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-08-29T16:58:51.528703Z K 7 svn:log V 365 There's no nede to allocate a DMA map just before calling bus_dmamem_alloc(). In fact, bus_dmamem_alloc() happily NULLs the dmat pointer passed in, before replacing it with its own. This fixes a MIPS crash when kldload'ing if_ath/if_ath_pci - bus_dmamap_destroy() was passed in a NULL dmat pointer and was doing all kinds of very bad things. Reviewed by: scottl END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-08-29T17:36:12.075774Z K 7 svn:log V 956 MFC 238077: 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. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-08-29T17:36:31.139412Z K 7 svn:log V 956 MFC 238077: 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. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-08-29T18:14:20.993885Z K 7 svn:log V 101 Remove workaround for the clang 3.2 warning in ah_eeprom_9287.c, since the fix has been applied now. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-08-29T18:22:52.224007Z K 7 svn:log V 277 Remove the argument-less .align directive in sys/i386/bios/smapi_bios.S. Specifying no argument is undocumented in the gas manual, and clang's integrated assembler refuses to parse it. Also, removing it causes no change at all in the resulting object file. MFC after: 1 week END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-08-29T18:37:10.888938Z K 7 svn:log V 189 Teach gdb about the DW_FORM_flag_present dwarf attribute, so it doesn't error out on files that contain it. (This attribute can be emitted by newer versions of clang.) MFC after: 2 weeks END K 10 svn:author V 5 jamie K 8 svn:date V 27 2012-08-29T18:40:12.379898Z K 7 svn:log V 713 MFS r239854 (including MFC r239601, r239602, r239621): Remember that I'm using length-defined strings in parameters: Don't include the null terminator when recomputing the parameter length when stripping the netmask from IP addresses. This was causing later addresses in a comma-separated string to disappear. Use memcpy instead of strcpy. This could just cause Bad Things. Add a null byte when comma-combining array parameters. Pre-separate IP addresses passed on the command line, so they can be properly parsed for interface prefixes and netmask suffixes. This was already done for the old-style (fixed) command line, but missed for the new-style. PR: 170832 Approved by: re (kib) END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-08-29T18:49:41.975879Z K 7 svn:log V 182 Teach libdwarf about the DW_FORM_flag_present dwarf attribute, so programs using libdwarf (such as ctfconvert) don't error out on files containing the attribute. MFC after: 2 weeks END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-08-29T18:58:03.513268Z K 7 svn:log V 82 After r239868, also remove the comment about the workaround for ah_eeprom_9287.c. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-08-29T19:12:33.682004Z K 7 svn:log V 89 MFC 238000,239584: Honor db_pager_quit in 'show malloc', 'show uma', and 'show witness'. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-08-29T19:12:53.945175Z K 7 svn:log V 89 MFC 238000,239584: Honor db_pager_quit in 'show malloc', 'show uma', and 'show witness'. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-08-29T19:17:29.570013Z K 7 svn:log V 325 MFC 238024: 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. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-08-29T19:17:35.930059Z K 7 svn:log V 325 MFC 238024: 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. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-08-29T19:34:46.102819Z K 7 svn:log V 500 MFC 238123,238167: - 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. - 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). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-08-29T19:47:19.119011Z K 7 svn:log V 1466 MFC 238109,238166: Several fixes to the amd64 disassembler: - Decode the 'xsave', 'xrstor', 'xsaveopt', 'xgetbv', 'xsetbv', and 'rdtscp' instructions. - 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. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-08-29T20:49:36.790771Z K 7 svn:log V 201 MFC 238310: Partially revert r217515 so that the mem_range_softc variable is always present on x86 kernels. This fixes the build of kernels that include 'device acpi' but do not include 'device mem'. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-08-29T20:50:01.746263Z K 7 svn:log V 201 MFC 238310: Partially revert r217515 so that the mem_range_softc variable is always present on x86 kernels. This fixes the build of kernels that include 'device acpi' but do not include 'device mem'. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-08-29T21:12:19.488051Z K 7 svn:log V 230 MFC 238142,238179: 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(). END K 10 svn:author V 6 emaste K 8 svn:date V 27 2012-08-29T21:38:34.798843Z K 7 svn:log V 93 Avoid passing uninitialized stack to addelem() if called with an empty arg. PR: bin/171174 END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-08-29T22:53:54.704290Z K 7 svn:log V 87 For now, disable building wpa_supplicant. My 4MB flash builds can't handle the bloat. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-08-29T22:54:27.090747Z K 7 svn:log V 111 Disable building textproc for now, it doesn't fit on my 4MB flash partition. Add -lcrypt as a dynamic target. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-08-29T22:54:39.284344Z K 7 svn:log V 50 Disable fsck_ffs for now, 4MB target size issues. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-08-29T22:55:50.694705Z K 7 svn:log V 181 Do a bunch of fixing and refactoring. Fix up gzip to crunch right. Add kenv, although I'm not yet sure why it isn't working on my MIPS boards (reading kenv always returns blank.) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-08-29T22:58:52.753789Z K 7 svn:log V 202 More attempts at space saving. * add cam as a module to build - but build in scbus/da for now, as "cam" as a module includes all cam devices. Hardly space saving. * Don't build FFS snapshot support. END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-08-30T00:43:14.186607Z K 7 svn:log V 354 Do not call sati_check_data_io() for SATI_UNMAP sequences. This routine is intended only for commands such as INQUIRY where the controller may fill out a smaller amount of data than allocated by the host. The end result of this bug was that isci(4) would report non-zero resid for successful SCSI_UNMAP commands. Sponsored by: Intel MFC after: 3 days END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-08-30T06:55:47.200905Z K 7 svn:log V 299 Migrate the AR9285 diversity configuration LNA configuration to use some HAL definitions rather than local definitions. The original source (ath9k) pulled this stuff from the QCA driver and removed the HAL_* prefix. I'm just restoring the correct order of things. Obtained from: Qualcomm Atheros END K 10 svn:author V 5 maxim K 8 svn:date V 27 2012-08-30T07:25:17.882412Z K 7 svn:log V 122 MFC r230584 by glebius: remove casts from inet6 address testing macros, thus preserving qualifier from original argument. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2012-08-30T07:34:25.856946Z K 7 svn:log V 51 MFC r237697: restore -u getopt(3) flag. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2012-08-30T07:38:24.545830Z K 7 svn:log V 50 MFC r232004: use ISO 3166 county code for Sweden. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2012-08-30T07:45:25.986094Z K 7 svn:log V 58 MFC r230644: preserve argv[0] to use it later in usage(). END K 10 svn:author V 4 zont K 8 svn:date V 27 2012-08-30T08:03:33.343719Z K 7 svn:log V 107 - Remove accounting of locked memory from vsunlock(9) that I missed in r239818. Approved by: kib (mentor) END K 10 svn:author V 4 zont K 8 svn:date V 27 2012-08-30T08:07:37.036383Z K 7 svn:log V 86 - It's also need to lock current memory. Approved by: kib (mentor) MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-08-30T08:37:06.933578Z K 7 svn:log V 20 MFC r238180: Style. END K 10 svn:author V 4 zont K 8 svn:date V 27 2012-08-30T08:54:13.519051Z K 7 svn:log V 111 - Remove unused variables. - Fix warnings about comparing signed and unsigned ints. Approved by: kib (mentor) END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-08-30T10:12:40.547537Z K 7 svn:log V 71 MFC r238667: Fixes for symbols visibility issues and style in fcntl.h. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-08-30T10:18:55.463195Z K 7 svn:log V 122 MFC r238687: Cosmetics: define FREEBSD32_MINUSER and AOUT32_MINUSER for struct sysentvec .sv_minuser. Also improve style. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-08-30T10:23:27.627029Z K 7 svn:log V 219 MFC r238703: Put struct ostat and struct nstat under #ifdef _KERNEL. The compatibility definitions are only needed for implementation of the syscalls, they cause namespace pollution and are not useful for applications. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-08-30T10:38:41.908119Z K 7 svn:log V 27 MFC r238972: Add lfence(). END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-08-30T11:00:00.702645Z K 7 svn:log V 27 MFC r238972: Add lfence(). END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2012-08-30T11:52:26.046172Z K 7 svn:log V 30 Remove a duplicated "thread". END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-08-30T12:18:45.835390Z K 7 svn:log V 232 In ifc_alloc_unit(): - In the !wildcard case, return ENOSPC instead of confusing EEXIST in case if ifc->ifc_maxunit reached. - Fix unit leak, that I've introduced in previous revision. Submitted by: Daan Vreeken END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-08-30T14:44:30.793185Z K 7 svn:log V 162 Clarify that bus_dma does not stall future load requests once a load is deferred. The caller is required to enforce that if that is desired. MFC after: 2 weeks END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-08-30T15:23:59.881205Z K 7 svn:log V 76 Add IDs for JMicron JMB360/JMB362 AHCI SATA controllers. MFC after: 1 week END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-08-30T15:47:20.949780Z K 7 svn:log V 120 Add bunch of ATI HDMI HDA controller IDs. Submitted by: Dmitry Luhtionov MFC after: 1 week END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-08-30T16:19:05.364074Z K 7 svn:log V 173 Preparations for adding USB HOST mode to the DWC OTG driver. Merge register file with external one and put all register definitions in a separate file. Submitted by: ray @ END K 10 svn:author V 2 ed K 8 svn:date V 27 2012-08-30T16:45:27.956528Z K 7 svn:log V 1231 Massively refactor ac(8). - Use queue(3) -- not some homegrown implementation of linked lists. - Rename structures to _entry, as they are entries in the linked list -- not the lists themselves. - Don't store entire copies of struct utmpx in utmpx_entry, but only the members we're interested in. Large fields such as hostnames are not needed during the execution of the program. - Give structure members useful names, instead of `name'. - While there, use struct timevals instead of time_t's internally. This is not strictly useful, but while we're at it... - Mark stuff static. - Add missing const keywords. - Remove unneeded prototypes. - Remove workaround for sparc64-specific utmp problems. These don't apply to utmpx. - Don't discard entries when timestamps are not monotone. This shouldn't ever happen with utmpx, but discarding them is a bit too harsh. - Remove debug code. We nowadays have `getent utmpx', which can be used to analyze logfiles in depth. - Use proper uppercasing/periods in comments. - Print output of `ac -p' sorted alphabetically, instead of first occurrence. - Properly check against pts/* instead of tty[PQRSpqrs]* to determine whether a TTY is a pseudo-terminal. MFC after: 1 month END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-08-30T17:35:12.172601Z K 7 svn:log V 203 The DIR-825 cal data is in an odd spot. I don't know why it's here. (This works on my board because I wrote new caldata into this spot; but this obviously won't work for stock DIR-825 units out there.) END