ƒ¹W270151 142 520 292 171 133 786 368 1110 813 1892 322 217 218 207 113 152 168 168 1381 117 361 128 117 155 155 155 170 554 214 267 221 207 769 1186 769 206 1002 817 162 347 271 144 250 349 361 411 471 455 601 183 167 437 361 362 387 142 547 243 296 223 229 124 814 305 305 124 201 145 201 117 153 316 343 254 152 118 141 292 1036 1185 1354 458 763 273 287 325 409 707 457 194 165 675 1002 1057 396 365 163 202 209 786 596 244 199 183 220 192 208 120 267 169 185 188 1102 1102 339 189 213 127 213 561 179 249 392 598 523 309 200 382 179 198 560 188 199 276 681 484 304 1392 168 471 428 179 213 K 10 svn:author V 3 alc K 8 svn:date V 27 2014-08-18T20:28:08.859622Z K 7 svn:log V 427 There exists a possible sequence of page table page allocation failures starting with a superpage demotion by pmap_enter() that could result in a PV list lock being held when pmap_enter() is just about to return KERN_RESOURCE_SHORTAGE. Consequently, the KASSERT that no PV list locks are held needs to be replaced with a conditional unlock. Discussed with: kib X-MFC with: r269728 Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 2 se K 8 svn:date V 27 2014-08-18T20:55:11.389766Z K 7 svn:log V 200 Minor fixes to convert-keymap.pl (conversion of 8bit characters in the form 'x' with high bit set) and to KBDFILES.map (fix encodings and comment out a few redundant keymap files). MFC after: 3 days END K 10 svn:author V 2 se K 8 svn:date V 27 2014-08-18T20:58:17.318712Z K 7 svn:log V 80 Fix minor problems found while converting to NEWCONS format. MFC after: 3 days END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-08-18T21:04:35.563153Z K 7 svn:log V 41 Make note about reset vs RTOE actions... END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-08-18T21:04:44.676985Z K 7 svn:log V 693 Create the native-xtools target. This target creates only the cross building toolchain for the host computer. This toolchain produces TARGET_ARCH and assumes the rest of the system contains libraries for the target. It is intended to be used in a "qemu-user jail" where all the binaries would otherwise be the target architecture's to build ports. However, emulation of the compilers is too slow, so we build native binaries for that. Rather than use the xdev produced binaries, with all their weird links and paths, these binaries use the native paths. They will not work unless installed into the qemu-user jail. Differential Revision: https://phabric.freebsd.org/D518 Reviewed by: sbruno@ END K 10 svn:author V 2 se K 8 svn:date V 27 2014-08-18T21:07:12.402295Z K 7 svn:log V 276 Fix a few conversion problems (e.g. when a keymap is derived from ISO8859-1, but shall provide an Euro sign - similar for Japanese Yen). The Brazilian keymap "br.kbd" now has accents, by default - the no-accents version has been renamed to "br.noacc.kbd". MFC after: 3 days END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2014-08-18T22:53:48.493156Z K 7 svn:log V 1011 MFC of 269533 (by mckusick): Add support for multi-threading of soft updates. Replace a single soft updates thread with a thread per FFS-filesystem mount point. The threads are associated with the bufdaemon process. Reviewed by: kib Tested by: Peter Holm and Scott Long MFC after: 2 weeks Sponsored by: Netflix MFC of 269853 (by kib): Revision r269457 removed the Giant around mount and unmount code, but r269533, which was tested before r269457 was committed, implicitely relied on the Giant to protect the manipulations of the softdepmounts list. Use softdep global lock consistently to guarantee the list structure now. Insert the new struct mount_softdeps into the softdepmounts only after it is sufficiently initialized, to prevent softdep_speedup() from accessing bare memory. Similarly, remove struct mount_softdeps for the unmounted filesystem from the tailq before destroying structure rwlock. Reported and tested by: pho Reviewed by: mckusick Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-08-18T23:45:40.136506Z K 7 svn:log V 717 For vendors like Juniper, extensibility for sockets is important. A good example is socket options that aren't necessarily generic. To this end, OSD is added to the socket structure and hooks are defined for key operations on sockets. These are: o soalloc() and sodealloc() o Get and set socket options o Socket related kevent filters. One aspect about hhook that appears to be not fully baked is the return semantics (the return value from the hook is ignored in hhook_run_hooks() at the time of commit). To support return values, the socket_hhook_data structure contains a 'status' field to hold return values. Submitted by: Anuranjan Shukla Obtained from: Juniper Networks, Inc. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2014-08-19T01:20:24.812235Z K 7 svn:log V 1795 MFC r267921, r267934, r267949, r267959, r267966, r268202, r268276, r268427, r268428, r268521, r268638, r268639, r268701, r268777, r268889, r268922, r269008, r269042, r269043, r269080, r269094, r269108, r269109, r269281, r269317, r269700, r269896, r269962, r269989. Catch bhyve up to CURRENT. Lightly tested with FreeBSD i386/amd64, Linux i386/amd64, and OpenBSD/amd64. Still resolving an issue with OpenBSD/i386. Many thanks to jhb@ for all the hard work on the prior MFCs ! r267921 - support the "mov r/m8, imm8" instruction r267934 - document options r267949 - set DMI vers/date to fixed values r267959 - doc: sort cmd flags r267966 - EPT misconf post-mortem info r268202 - use correct flag for event index r268276 - 64-bit virtio capability api r268427 - invalidate guest TLB when cr3 is updated, needed for TSS r268428 - identify vcpu's operating mode r268521 - use correct offset in guest logical-to-linear translation r268638 - chs value r268639 - chs fake values r268701 - instr emul operand/address size override prefix support r268777 - emulation for legacy x86 task switching r268889 - nested exception support r268922 - fix INVARIANTS build r269008 - emulate instructions found in the OpenBSD/i386 5.5 kernel r269042 - fix fault injection r269043 - Reduce VMEXIT_RESTARTs in task_switch.c r269080 - fix issues in PUSH emulation r269094 - simplify return values from the inout handlers r269108 - don't return -1 from the push emulation handler r269109 - avoid permanent sleep in vm_handle_hlt() r269281 - list VT-x features in base kernel dmesg r269317 - Mark AHCI fatal errors as not completed r269700 - Support PCI extended config space in bhyve r269896 - Minor cleanup r269962 - use max guest memory when creating IOMMU domain r269989 - fix interrupt mode names END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2014-08-19T02:19:53.911037Z K 7 svn:log V 224 Destroy the "qdiffsample_zone" UMA zone on unload to avoid a use-after-unload panic easily triggered by running "sysctl -a" after unload. Reported and tested by: Grenville Armitage MFC after: 1 week END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-08-19T03:51:05.389562Z K 7 svn:log V 124 New DTS files to suppport the SAM9260EK eval board. Derived, in part, from the SAM9G20EK dts files (so that file is GPL'd). END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-08-19T03:51:10.679992Z K 7 svn:log V 125 Add support for -X, which installs the native cross tools for qemu operations. Doesn't install qemu nor setup the jail, yet. END K 10 svn:author V 3 sjg K 8 svn:date V 27 2014-08-19T06:37:33.119150Z K 7 svn:log V 114 After we finish using src/Makefile.inc1 to bootstrap legacy tools use it to build the toolchain we actually want. END K 10 svn:author V 3 sjg K 8 svn:date V 27 2014-08-19T06:50:54.954944Z K 7 svn:log V 21 Merge head from 7/28 END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2014-08-19T09:02:58.978427Z K 7 svn:log V 58 Sort ASUS section and add USB device ID of ASUS USB-AC51. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-08-19T11:04:24.963741Z K 7 svn:log V 71 MFC r269859: Fix for memory leak. Sponsored by: Mellanox Technologies END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-08-19T11:06:21.700916Z K 7 svn:log V 71 MFC r269859: Fix for memory leak. Sponsored by: Mellanox Technologies END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2014-08-19T15:04:32.260678Z K 7 svn:log V 1282 Revert r267233 for now. PIE support needs to be reworked. 1. 50+% of NO_PIE use is fixed by adding -fPIC to INTERNALLIB and other build-only utility libraries. 2. Another 40% is fixed by generating _pic.a variants of various libraries. 3. Some of the NO_PIE use is a bit absurd as it is disabling PIE (and ASLR) where it never would work anyhow, such as csu or loader. This suggests there may be better ways of adding support to the tree. Many of these cases can be fixed such that -fPIE will work but there is really no reason to have it in those cases. 4. Some of the uses are working around hacks done to some Makefiles that are really building libraries but have been using bsd.prog.mk because the code is cleaner. Had they been using bsd.lib.mk then NO_PIE would not have been needed. We likely do want to enable PIE by default (opt-out) for non-tree consumers (such as ports). For in-tree though we probably want to only enable PIE (opt-in) for common attack targets such as remote service daemons and setuid utilities. This is also a great performance compromise since ASLR is expected to reduce performance. As such it does not make sense to enable it in all utilities such as ls(1) that have little benefit to having it enabled. Reported by: kib END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2014-08-19T15:09:24.220602Z K 7 svn:log V 20 Regen after r270168 END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2014-08-19T15:30:56.908597Z K 7 svn:log V 263 Use bsd.lib.mk here as all other csu Makefiles do. This effectively reverts r124752. There's no reason this should be different. It resulted in needing NO_PIE in the original opt-out NO_PIE commit as this was not using the proper framework. Reported by: peter END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-08-19T15:40:26.134772Z K 7 svn:log V 31 Add missing WITHOUT_CUSE file. END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2014-08-19T15:46:40.219026Z K 7 svn:log V 20 Regen after r270171 END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2014-08-19T15:47:51.628433Z K 7 svn:log V 58 Bump __FreeBSD_version after r269489 so ports can use it. END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2014-08-19T15:49:38.591672Z K 7 svn:log V 58 Bump __FreeBSD_version after r269490 so ports can use it. END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2014-08-19T15:51:43.571974Z K 7 svn:log V 58 Bump __FreeBSD_version after r269789 so ports can use it. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-08-19T17:04:18.166362Z K 7 svn:log V 78 Fix lock recursion on LUN shutdown, introduced on r269497. MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-08-19T17:54:15.100493Z K 7 svn:log V 461 MFC 238423,238426,238428,258063,258064,258066,258097,258185,259134: The etcupdate utility is a tool for managing updates to files that are not updated as part of `make installworld' such as files in /etc. It manages updates by doing a three-way merge of changes made to these files against the local versions. It is also designed to minimize the amount of user intervention with the goal of simplifying upgrades for clusters of machines. Requested by: peter END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-08-19T18:27:43.757313Z K 7 svn:log V 120 Fix typo (LIBLDNSADD -> LIBLDNS) to fix "make checkdpadd" X-MFC with: r269648 Phabric: D634 Approved by: jmmv (mentor) END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-08-19T18:31:20.679249Z K 7 svn:log V 173 Add missing libraries to DPADD; sort DPADD so DPADD and LDADD match up This fixes "make checkdpadd" Approved by: jmmv (mentor) MFC after: 2 weeks Phabric: D630 PR: 192765 END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-08-19T18:47:47.635612Z K 7 svn:log V 127 Add LIBMD and LIBUTIL to DPADD to fix "make checkdpadd" Approved by: jmmv (mentor) MFC after: 5 days Phabric: D633 PR: 192763 END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2014-08-19T20:35:09.366385Z K 7 svn:log V 109 Add recent DragonFly releases. Submitted by: Zach Crownover MFC after: 1 week END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2014-08-19T20:53:28.395200Z K 7 svn:log V 671 vt(4): Add vtbuf_dirty*_locked() to lock vtbuf once, not twice In several functions, vtbuf_putchar() in particular, the lock on vtbuf is acquired twice: 1. once by the said functions; 2. once in vtbuf_dirty(). Now, vtbuf_dirty_locked() and vtbuf_dirty_cell_locked() allow to acquire that lock only once. This improves the input speed of vt(4). To measure the gain, a 50,000-lines file was displayed on the console using cat(1). The time taken by cat(1) is reported below: o On amd64, with vt_vga: - before: 1.0" - after: 0.5" o On sparc64, with creator_vt: - before: 13.6" - after: 10.5" This is an MFC of r269780. END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2014-08-19T21:04:31.948957Z K 7 svn:log V 1087 Avoid showing stale errors when nmount(2) fails. Sometimes nmount(2) will fail without setting errmsg. The previous (ignored) error would then be shown as the reason for the failed call if the next nmount(2) also fails without [ENOENT,ENOTSUP]. An example is when there is a tmpfs mounted with -o size. vfs_filteropt() adds 'size' as an error in errmsg due to 'size' not being in tmpfs_updateopts. Then tmpfs_mount returns [ENOTSUP] from nmount(2), which is then ignored. The next call may race with an unmount causing an invalid [EINVAL] that then does log an error, with the tmpfs errmsg. The race itself is a separate issue to fix as it is expected to have an [ENOENT] returned instead. In this example the mount being shown is actually nullfs, not tmpfs that the error is from. mountd[740]: can't delete exports for /poudriere/data/.m/exp-head-commit-test-devel/04/.npkg: Invalid argument mount option is unknown It should only show: mountd[740]: can't delete exports for /poudriere/data/.m/exp-head-commit-test-devel/04/.npkg: Invalid argument MFC after: 2 weeks END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2014-08-19T21:31:32.330844Z K 7 svn:log V 671 vt(4): Add vtbuf_dirty*_locked() to lock vtbuf once, not twice In several functions, vtbuf_putchar() in particular, the lock on vtbuf is acquired twice: 1. once by the said functions; 2. once in vtbuf_dirty(). Now, vtbuf_dirty_locked() and vtbuf_dirty_cell_locked() allow to acquire that lock only once. This improves the input speed of vt(4). To measure the gain, a 50,000-lines file was displayed on the console using cat(1). The time taken by cat(1) is reported below: o On amd64, with vt_vga: - before: 1.0" - after: 0.5" o On sparc64, with creator_vt: - before: 13.6" - after: 10.5" This is an MFC of r269780. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2014-08-19T23:08:47.060841Z K 7 svn:log V 110 MFC r265098 Bump WITNESS_PENDLIST by MAXCPU to account for the pmap pvlist locks which are scaled by MAXCPU. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2014-08-19T23:15:47.381310Z K 7 svn:log V 906 MFC r266103 Update dis_tables.c to the latest Illumos version. This includes decodes of recent Intel instructions, in particular VT-x and related instructions. This allows the FBT provider to locate the exit points of routines that include these new instructions. Illumos issues: 3414 Need a new word of AT_SUN_HWCAP bits 3415 Add isainfo support for f16c and rdrand 3416 Need disassembler support for rdrand and f16c 3413 isainfo -v overflows 80 columns 3417 mdb disassembler confuses rdtscp for invlpg 1518 dis should support AMD SVM/AMD-V/Pacifica instructions 1096 i386 disassembler should understand complex nops 1362 add kvmstat for monitoring of KVM statistics 1363 add vmregs[] variable to DTrace 1364 need disassembler support for VMX instructions 1365 mdb needs 16-bit disassembler support This corresponds to Illumos-gate (github) version eb23829ff08a873c612ac45d191d559394b4b408 END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-08-19T23:33:51.056631Z K 7 svn:log V 724 MFC r266473,267331,267511: Use an intermediate target to associate with _SUBDIR which is marked .MAKE this allows make -n to do tree walks as expected without doing anything else (as intended). Use prefix _sub. to help avoid conflict with any real target. Put the test suite in its own tests.txz distribution file. Force all the contents of /usr/tests to go into a separate distribution file so that users of binary releases can easily choose to not install Create a mechanism for providing fine-grained build order dependencies during SUBDIR_PARALLEL builds. This augments the coarse .WAIT mechanism, which is still useful if you've got a situation such as "almost everything depends on A and B". END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-08-20T00:06:54.198023Z K 7 svn:log V 70 MFC r255286: don't stop the whole universe build if one kernel fails. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-08-20T00:14:41.605966Z K 7 svn:log V 250 Add zdb into rescue environment. On amd64, this would increase the binary size by 1.1MiB and make it possible to examine zpool status offline, useful for recovery and diagnostic purposes. Submitted by: sef Obtained from: FreeNAS MFC after: 2 weeks END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-08-20T00:33:37.439151Z K 7 svn:log V 178 Don't stop other legs of a parallel build due to a failure in make_check. The whole point is to see if there's any failure, which is handled by building a newer version of make. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2014-08-20T01:26:27.882867Z K 7 svn:log V 50 Add the D-Link DWA-125 rev D1. Tested by myself. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2014-08-20T01:32:04.048440Z K 7 svn:log V 155 If eapol packets are sent at the lowest rate, key negotiation will become more reliable. Submitted by: Akinori Furukoshi END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-08-20T06:15:53.617351Z K 7 svn:log V 252 5042 stop using deprecated atomic functions Reviewed by: Dan McDonald Approved by: Robert Mustacchi Author: Josef 'Jeff' Sipek illumos/illumos-gate@75d94465dbafa487b716482dc36d5150a4ec9853 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-08-20T06:20:06.357753Z K 7 svn:log V 264 5043 remove deprecated atomic functions' prototypes Reviewed by: Garrett D'Amore Approved by: Robert Mustacchi Author: Josef 'Jeff' Sipek illumos/illumos-gate@6ed9368a130d7c9a82e574da808d34034da33748 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-08-20T06:22:59.033314Z K 7 svn:log V 314 5045 use atomic_{inc,dec}_* instead of atomic_add_* Reviewed by: Matthew Ahrens Reviewed by: Garrett D'Amore Approved by: Robert Mustacchi Author: Josef 'Jeff' Sipek illumos/illumos-gate@1a5e258f5471356ca102c7176637cdce45bac147 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-08-20T06:25:43.465780Z K 7 svn:log V 374 5047 don't use atomic_*_nv if you discard the return value Reviewed by: Garrett D'Amore Reviewed by: Jason King Reviewed by: Matthew Ahrens Approved by: Robert Mustacchi Author: Josef 'Jeff' Sipek illumos/illumos-gate@640c1670a105457bb0040e8e11037b53ab6ebcfa END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-08-20T06:29:42.599735Z K 7 svn:log V 358 5066 remove support for non-ANSI compilation 5068 Remove SCCSID() macro from Reviewed by: Keith Wesolowski Reviewed by: Josef 'Jeff' Sipek Approved by: Robert Mustacchi Author: Garrett D'Amore illumos/illumos-gate@ba3594ba9b5dd4c846c472a8d657edcb7c8109ac END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-08-20T06:34:24.081707Z K 7 svn:log V 504 5095 panic when adding a duplicate dbuf to dn_dbufs Reviewed by: Adam Leventhal Reviewed by: George Wilson Reviewed by: Mattew Ahrens Reviewed by: Dan Kimmel Reviewed by: Dan McDonald Reviewed by: Josef Sipek Approved by: Robert Mustacchi Author: Alex Reece illumos/illumos-gate@86bb58aec7165f8a0303564575c65e5a2ad58bf1 END K 10 svn:author V 2 se K 8 svn:date V 27 2014-08-20T07:46:28.134255Z K 7 svn:log V 92 Fix further conversion errors found while testing the converted keymaps. MFC after: 3 days END K 10 svn:author V 2 se K 8 svn:date V 27 2014-08-20T07:48:09.587445Z K 7 svn:log V 76 Fix conversion errors leading to malformed keymap files. MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-08-20T08:02:38.035766Z K 7 svn:log V 344 Add arch-specific macro SFBUF_PHYS_DMAP(), which should translate the physical address of the page to direct map address, in case SFBUF_OPTIONAL_DIRECT_MAP returns true. The case of PowerPC AIM 64bit, where the page physical address is identical to the direct map address, is accidental. Reviewed by: alc Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-08-20T08:07:08.970005Z K 7 svn:log V 268 Increase max number of physical segments on amd64 to 63. Eventually, the vmd_segs of the struct vm_domain should become bitset instead of long, to allow arbitrary compile-time selected maximum. Reviewed by: alc Sponsored by: The FreeBSD Foundation MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-08-20T08:13:03.318316Z K 7 svn:log V 269 Correct the test for condition to suspend UFS filesystem during unmount. There is no need to suspend read-only filesystem, while we need suspension on modificable mount point. Reported by: rwatson Tested by: pho Sponsored by: The FreeBSD Foundation MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-08-20T08:15:23.235932Z K 7 svn:log V 294 Do not busy the UFS mount point inside VOP_RENAME(). The kern_renameat() already starts write on the mp, which prevents parallel unmount from proceed. Busying mp after vn_start_write() deadlocks the unmount. Reported and tested by: pho Sponsored by: The FreeBSD Foundation MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-08-20T08:24:37.798965Z K 7 svn:log V 50 MFC r269907: Fix leaks of unqueued unwired pages. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-08-20T09:10:03.205882Z K 7 svn:log V 451 After much toying around with this AMRR initial rate stuff, I've decided that for 11n rates it's best to start (very) low and work our way up. So, from now on, the initial rate for AMRR 11n is MCS4. It doesn't try MCS12 or MCS20 - at low signal strengths those don't work very well at all. AMRR will step the rate control up over time if things work out better. Tested: * Intel 5100 * Intel 5300 (using local diffs to test out 3x3 stream support) END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-08-20T13:46:51.483369Z K 7 svn:log V 148 Rework ".." lookup; previous one failed to properly busy the mountpoint. Reviewed by: kib@ MFC after: 2 weeks Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 rrs K 8 svn:date V 27 2014-08-20T13:48:58.702266Z K 7 svn:log V 203 Create a project branch to play with SO_CRYPT_TLS and capture John-Mark-Gurney's current AESNI changes that hopefully will be in head soon. A svn+ssh://svn.freebsd.org/base/projects/rrs_socrypto_tls END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-08-20T13:52:47.456852Z K 7 svn:log V 128 Add description for the "automounted" mount flag. Reviewed by: emaste@ MFC after: 2 weeks Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-08-20T13:54:27.979630Z K 7 svn:log V 134 Remove useless - and buggy, it resulted in spurious warnings in logs - code. MFC after: 2 weeks Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-08-20T14:53:36.901335Z K 7 svn:log V 32 Add missing break. CID: 603368 END K 10 svn:author V 6 royger K 8 svn:date V 27 2014-08-20T14:57:20.311079Z K 7 svn:log V 718 pci: make MSI(-X) enable and disable methods of the PCI bus Make the functions pci_disable_msi, pci_enable_msi and pci_enable_msix methods of the newbus PCI bus. This code should not include any functional change. Sponsored by: Citrix Systems R&D Reviewed by: imp, jhb Differential Revision: https://reviews.freebsd.org/D354 dev/pci/pci.c: - Convert the mentioned functions to newbus methods. - Fix the callers of the converted functions. sys/dev/pci/pci_private.h: dev/pci/pci_if.m: - Declare the new methods. dev/pci/pcivar.h: - Add helpers to call the newbus methods. ofed/include/linux/pci.h: - Add define to prevent the ofed version of pci_enable_msix from clashing with the FreeBSD native version. END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-08-20T14:57:21.715370Z K 7 svn:log V 210 MFC r269524: Preserve the errno value of an ioctl before calling free(3). Previously, errno was very occasionally being clobbered, resulting in a bogus error from dt_consume() and thus an error from dtrace(1). END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-08-20T14:57:55.155374Z K 7 svn:log V 210 MFC r269524: Preserve the errno value of an ioctl before calling free(3). Previously, errno was very occasionally being clobbered, resulting in a bogus error from dt_consume() and thus an error from dtrace(1). END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-08-20T14:58:25.157480Z K 7 svn:log V 32 Add missing break. CID: 603368 END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-08-20T15:43:26.880390Z K 7 svn:log V 107 Add ${LIBC} to DPADD to fix "make checkdpadd" Phabric: D632 Approved by: jmmv (mentor) MFC after: 2 weeks END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-08-20T15:56:10.029028Z K 7 svn:log V 50 Aslo set curthread in the pcpu area on cpu switch END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-08-20T15:56:13.883307Z K 7 svn:log V 105 Use the l1 physical address to set ttbr0. This allows us to map user programs in in their address space. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-08-20T15:56:18.043090Z K 7 svn:log V 22 Implement pmap_remove END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-08-20T15:57:52.547420Z K 7 svn:log V 58 Update pmap_enter to allocate l2 and l3 tables as needed. END K 10 svn:author V 6 davide K 8 svn:date V 27 2014-08-20T16:04:30.037888Z K 7 svn:log V 220 Replace dev_clone with cdevpriv(9) KPI in audit_pipe code. This is (yet another) step towards the removal of device cloning from our kernel. CR: https://reviews.freebsd.org/D441 Reviewed by: kib, rwatson Tested by: pho END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-08-20T16:05:15.913193Z K 7 svn:log V 250 Bump the default size of cpuset_t masks in userland from 128 bits to 256. This should not be an ABI change since the various public APIs that use cpusets all include an explicit size parameter in addition to the cpuset parameter. MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-08-20T16:06:24.404463Z K 7 svn:log V 161 Bump MAXCPU on amd64 from 64 to 256. In practice APIC only permits 255 CPUs (IDs 0 through 254). Getting above that limit requires x2APIC. MFC after: 1 month END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-08-20T16:07:17.749239Z K 7 svn:log V 60 Fix build of si(4) and enable it in LINT on amd64 and i386. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-08-20T16:07:56.069183Z K 7 svn:log V 26 Unexpand TAILQ_FOREACH(). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-08-20T16:09:05.913440Z K 7 svn:log V 49 Add kernel modules for si(4), wds(4), and wl(4). END K 10 svn:author V 6 davide K 8 svn:date V 27 2014-08-20T16:32:02.114383Z K 7 svn:log V 196 Make Bruce happy removing the "LL abomination" from time.h It's not necessary in all the three instances because they already have the correct type on all the supported arches. Requested by: bde END K 10 svn:author V 7 asomers K 8 svn:date V 27 2014-08-20T16:59:33.764832Z K 7 svn:log V 939 Numerous small fixes, mostly suggested by Coverity. tests/sys/kern/unix_seqpacket_test.c * Remove a duplicate error check in mk_pair_of_sockets * Always close sockets in the success path of ATF test cases. Don't bother with the error paths, because those are mostly assertions anyway. Most of these socket leaks were reported by Coverity. All of them are harmless, because each ATF test case runs in its own process. * Fix the len argument to send in shutdown_send and shutdown_send_sigpipe. The old version was using sizeof a pointer instead of sizeof the char array. Reported by Coverity. * Change a few ATF_CHECK to ATF_REQUIRE if the test can't reasonably continue past a failure. Reported by: Coverity Scan CID: 1229995, 1229991, 1229988, 1229994, 1229989, 1229992 CID: 1229993, 1229990, 1229984, 1229967, 1230005, 1229977 CID: 1229966, 1230004, 1229976 MFC after: 1 week Sponsored by: Spectra Logic END K 10 svn:author V 2 se K 8 svn:date V 27 2014-08-20T17:00:47.484556Z K 7 svn:log V 1092 Another rpund of fixes, after checking keymaps for plausibility and with several updates to the converter tools. There is now support for hybrid source keymaps, which e.g. use ISO8859-1 (not -15) but still provide an Euro key (on the "E" key). ISO8859-1 currency symbols on other keys are still converted to that character, not the Euro sign. A similar hack was applied to the Japanese keyboards to add the Yen key, that could not be expressed in SYSCONS. Several modifications have been applied after the conversion (removal of unused accents tables, some reformatting, exchange of a few key symbols). The German keymap (de.kbd) is now using deadkeys only for those keys, that behave that way under Windows. There are now ".acc" and ".noacc" variants, which use deadkeys vs. nodeadkeys for all accent keys. I'm still in the process of comparing keymaps that existed in different encodings in SYSCONS. These are generally translated slightly differently, either because of mistakes, or because of different preferences, or due to limitations of the respective encoding. MFC after: 3 days END K 10 svn:author V 4 loos K 8 svn:date V 27 2014-08-20T17:02:37.754114Z K 7 svn:log V 1259 Rewrite of ti_i2c based on gonzo's patch, fix the following bugs/problems: . interrupt storm detected on "intr70:"; throttling interrupt source; . Added access serialization on iicbus_transfer(), previously there was no such protection and a new transfer could easily confuse the controller; . Add error checkings (i.e. stop the transfer when a error is detected and do _not_ overwrite the previous error); . On command done interrupt do not assume that the transfer was finished sucessfully as we will receive the command done interrupt even after errors; . Simplify the FIFO handling; . Reset the FIFO between the transfers as the FIFO may contain data from the last (failed) transfer; . Fix the iicbus speed for AM335x, which in turn will make better use of the I2C noise filter (set to one internal clock cycle); . Move the read and write handler to ithread instead of notifying the requesting thread with wakeup(9); . Fix the comments based on OMAP4 TRM. The above changes allows me to read the EDID from my HDMI monitor on BBB with gonzo's patches to support TDA19988 (which does 128 bytes reads) and repeatedly scan the iicbus (with a modified i2c(8)) without lock up the bus. Phabric: D465 END K 10 svn:author V 7 asomers K 8 svn:date V 27 2014-08-20T17:04:49.677195Z K 7 svn:log V 361 Misc fixes suggested by Coverity. sbin/devd/tests/client_test.c * In the event that popen fails, don't dereference its return value. * Fix array overwrite in the stream and seqpacket tests. * Close sockets at the end of successful ATF tests. Reported by: Coverity scan CID: 1232019, 1232020, 1232029, 1232030 MFC after: 1 week Sponsored by: Spectra Logic END K 10 svn:author V 2 se K 8 svn:date V 27 2014-08-20T17:07:41.716484Z K 7 svn:log V 671 The conversion tools have been further improved and some erroneous conversions have been detected and fixed. It is now possible to add options after the encoding in the parameter list for convert-keymap.pl. This is currently used to selectively enable interpretation of the ISO8859-1 currency symbol as the Euro sign found in ISO5589-15, or to add a Yen symbol in place of '\' for specific Japanese keyboards. The option are appended to the parameter list, as in e.g. "convert-keymap.pl german.iso.kbd ISO5589-1 EURO". The options are appended to the encoding in the form "+EURO" or "+YEN" in KBDFILES.map, to keep the meaning of the columns intact. MFC after: 3 days END K 10 svn:author V 6 davide K 8 svn:date V 27 2014-08-20T17:26:05.017845Z K 7 svn:log V 177 MFC r269502: Fix an overflow in getsockopt(). optval isn't big enough to hold sbintime_t. Re-introduce r255030 behaviour capping socket timeouts to INT_32 if they're too large. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2014-08-20T17:27:15.139815Z K 7 svn:log V 194 Recover sin6_scope_id of gateway addresses in riprecv() by using the if_index where a RIP packet was received. This fixes a bug which prevented gateway addresses in fe80::/64 from being added. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2014-08-20T17:33:32.014453Z K 7 svn:log V 230 MFC 259907 (dates back to december) use the correct netmap <-> nic slot mapping on the transmit ring for 'lem'. This bug would manifest only in netmap mode and on packets transmitted after a NIC reset while netmap mode is active. END K 10 svn:author V 4 loos K 8 svn:date V 27 2014-08-20T17:39:53.110002Z K 7 svn:log V 315 MFC r266922: Add a bounds verification to the SCL and SDA pin values. At attach, print the SCL and SDA pin numbers. Remove a stray blank line. Remove the GPIOBUS locking from gpioiic_reset(), it is already called with this lock held. This fixes a crash when you try to scan the iicbus with i2c(8). END K 10 svn:author V 4 loos K 8 svn:date V 27 2014-08-20T17:57:23.004715Z K 7 svn:log V 613 MFC r266937: Export two new settings for the AM335x PWM, the clock prescaler (clkdiv) and the actual PWM frequency. Enforce the maximum value for the period sysctl. The frequency systcl now allows the direct setting of the PWM frequency (it will try to find the better clkdiv and period for a given frequency, i.e. the ones that will give the better PWM resolution). This allows the use lower frequencies on the PWM. Without changing the clock prescaler the minimum PWM frequency was 1.52kHz. PWM frequencies checked with an osciloscope. PWM output tested with some R/C servos at 50Hz. END K 10 svn:author V 4 loos K 8 svn:date V 27 2014-08-20T18:10:12.102382Z K 7 svn:log V 363 MFC r266960: Configure the analog input 7 which, on BBB, is connected to the 3V3B rail through a voltage divisor (R163 and R164 on page 4 of BBB schematic). Add a note about this on ti_adc(4) man page. The ti_adc(4) man page will first appear on 10.1-RELEASE. Suggested by: Sulev-Madis Silber (ketas) Manual page reviewed by: brueffer (D127) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-08-20T18:29:18.062193Z K 7 svn:log V 98 MFV r270193: Illumos issues: 5042 stop using deprecated atomic functions MFC after: 2 weeks END K 10 svn:author V 6 davide K 8 svn:date V 27 2014-08-20T18:40:29.775117Z K 7 svn:log V 70 Complete MFC of r270233, also unbreak the build. Reported by: grehan END K 10 svn:author V 4 loos K 8 svn:date V 27 2014-08-20T19:12:19.508930Z K 7 svn:log V 581 MFC r266923: Ignore IIC_ENOADDR from iicbus_reset() as it only means we have a master-only controller. This fixes the iic bus scan with i2c(8) (on supported controllers). Tested with gpioiic(4). MFC r267009: Remove the unnecessary i2c slave address assignment. The ti_i2c controller only works in the master mode and the i2c address passed on iicbus_reset() is used to set the controller slave address when operating as an i2c slave (which isn't currently supported). When talking to a slave, the slave address is correctly provided to ti_i2c_tranfer(). END K 10 svn:author V 7 asomers K 8 svn:date V 27 2014-08-20T19:30:58.538943Z K 7 svn:log V 905 MFC devd-related changes r270004 Convert devd's client socket to type SOCK_SEQPACKET. This change consists of two merges from projects/zfsd/head along with the addition of an ATF test case for the new functionality. sbin/devd/tests/Makefile sbin/devd/tests/client_test.c Add ATF test cases for reading events from both devd socket types. r266519: sbin/devd/devd.8 sbin/devd/devd.cc Create a new socket, of type SOCK_SEQPACKET, for communicating with clients. SOCK_SEQPACKET sockets preserve record boundaries, simplying code in the client. The old SOCK_STREAM socket is retained for backwards-compatibility with existing clients. r269993: sbin/devd/devd.8 Fix grammar bug. r270019 (from bz) Remove bogus ; at the end of the if condition in order to unbreak gcc builds after r270004. MFC after: 4 days X-MFX with: r270004 END K 10 svn:author V 4 loos K 8 svn:date V 27 2014-08-20T19:37:05.866059Z K 7 svn:log V 963 MFC r267021: FreeBSD, historically, has always used 8-bit addresses for i2c devices (7-bit device address << 1), always leaving the room for the read/write bit. This commit convert ti_i2c and revert r259127 on bcm2835_bsc to make them compatible with 8-bit addresses. Previous to this commit an i2c device would have different addresses depending on the controller it was attached to (by example, when compared to any iicbb(4) based i2c controller), which was a pretty annoying behavior. Also, update the PMIC i2c address on beaglebone* DTS files to match the new address scheme. Now the userland utilities need to do the correct slave address shifting (but it is going to work with any i2c controller on the system). Discussed with: ian MFC r267834: Clarify the expected usage of I2C 7-bit slave addresses on ioctl(2) interface. While here add the cross reference to iic(4) on iicbus(4). CR: D210 Suggested by: jmg END K 10 svn:author V 6 jilles K 8 svn:date V 27 2014-08-20T19:39:07.303505Z K 7 svn:log V 300 MFC r268429: Don't install locale1.0 if MK_NLS == no. The test locale1.0 depends on locale support; it is meaningless without a working LC_MESSAGES. I added an OptionalObsoleteFiles.inc entry. PR: 181151 Submitted by: Garrett Cooper (original version) Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 6 jilles K 8 svn:date V 27 2014-08-20T20:12:05.020818Z K 7 svn:log V 269 MFC r262872: fts: Don't abort if an empty pathname is given. Make fts_open(3) treat an empty pathname like any other pathname that cannot be lstatted because of [ENOENT]. It is rather confusing if rm -rf file1 "" file2 does not remove file1 and file2. PR: 187264 END K 10 svn:author V 6 jilles K 8 svn:date V 27 2014-08-20T20:15:43.946148Z K 7 svn:log V 68 sh: Remove two redundant (uintmax_t) casts. Submitted by: jmallett END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-08-20T21:44:48.657815Z K 7 svn:log V 105 MFC r270195: Illumos issue: 5045 use atomic_{inc,dec}_* instead of atomic_add_* MFC after: 2 weeks END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-08-20T22:39:26.094073Z K 7 svn:log V 112 MFV r270196: Illumos issue: 5047 don't use atomic_*_nv if you discard the return value MFC after: 2 weeks END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-08-20T22:58:12.945610Z K 7 svn:log V 693 Turns out that IDENTIFY DEVICE and IDENTIFY PACKET DEVICE return data that's only mostly similar. Specifically word 78 bits are defined for IDENTIFY DEVICE as 5 Supports Hardware Feature Control while a IDENTIFY PACKET DEVICE defines them as 5 Asynchronous notification supported Therefore, only pay attention to bit 5 when we're talking to ATAPI devices (we don't use the hardware feature control at this time). Ignore it for ATA devices. Remove kludge that papered over this issue for Samsung SATA SSDs, since Micron drives also have the bit set and the error was caused by this bad interpretation of the spec (which is quite easy to do, since bits aren't normally overlapping like this). END K 10 svn:author V 3 slm K 8 svn:date V 27 2014-08-20T23:09:27.759572Z K 7 svn:log V 503 MFC r269314 and r269316 r269314: Bring in LSI's phase16 - phase18 changes * Implements Start Stop Unit for SATA direct-attach devices in IR mode to avoid data corruption. * Use CAM_DEV_NOT_THERE instead of CAM_SEL_TIMEOUT and CAM_TID_INVALID r269316: Bring in LSI's phase19 changes * Removed unused mpssas_discovery_timeout function. * Don't alter mapping boundaries if not raid firmware. * Check free_busaddr instead of post_busaddr (diff minimisation really) Approved by: ken (co-mentor) and smh END K 10 svn:author V 5 gavin K 8 svn:date V 27 2014-08-20T23:29:34.569586Z K 7 svn:log V 149 Fix return type of callout_init_rm() and add return type to callout_deactivate(). PR: 192520 Submitted by: yaneurabeya gmail com MFC after: 3 days END K 10 svn:author V 5 luigi K 8 svn:date V 27 2014-08-20T23:34:36.173591Z K 7 svn:log V 104 MFC 270063: update of netmap code (vtnet and cxgbe not merged yet because we need some other mfc first) END K 10 svn:author V 2 np K 8 svn:date V 27 2014-08-20T23:37:44.032654Z K 7 svn:log V 92 Change netmap's global lock to sx instead of a mutex. Reviewed by: luigi@ MFC after: 1 day END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-08-21T00:57:32.999519Z K 7 svn:log V 124 Add missing locking. Whilst here, assert that the lock is held when calling epstop(). Tested: ep0: <3com Megahertz 574B> END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2014-08-21T01:07:27.490398Z K 7 svn:log V 95 MFC: r270005 Try to clarify how file systems are exported for NFSv4. This is a content change. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-08-21T02:40:33.975802Z K 7 svn:log V 115 Always check the limits of array index variables before using them. Obtained from: DragonFlyBSD MFC after: 1 week END K 10 svn:author V 6 eadler K 8 svn:date V 27 2014-08-21T04:26:16.277881Z K 7 svn:log V 25 MFC r265256: Syntax fix END K 10 svn:author V 5 peter K 8 svn:date V 27 2014-08-21T04:31:48.152623Z K 7 svn:log V 172 MFC r270062: switch rpc mount protocol for showmount and umount from mountv1 to mountv3 - it breaks by default on the new netapp release with the legacy protocols removed. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2014-08-21T07:52:51.108095Z K 7 svn:log V 75 Add a missing brace to callout_init_rm() to fix syntax. MFC after: 1 week END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-08-21T08:25:46.305554Z K 7 svn:log V 89 Provide compatibility shim for atomic_dec_64_nv. X-MFC-with: r270247 MFC after: 13 days END K 10 svn:author V 6 davide K 8 svn:date V 27 2014-08-21T09:01:42.543429Z K 7 svn:log V 93 Revert r270227. GCC doesn't like the lack of LL suffix, so this makes powerpc build failing. END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2014-08-21T10:18:42.931816Z K 7 svn:log V 1003 vt(4): Colors are indexed against a console palette, not a VGA palette Rename vt_generate_vga_palette() to vt_generate_cons_palette() and change it to build a palette where the color index is the same than in terminal escape codes, not the VGA index. That's what TCHAR_CREATE() uses and passes to vt(4). The main differences between both orders are: o Blue and red are swapped (1 <-> 4) o Yellow and cyan are swapped (3 <-> 6) The problem remained unnoticed, because the RGB bit indexes passed to vt_generate_vga_palette() were reversed. This inversion was cancelled by the colors inversions in the generated palette. For instance, red (0xff0000) and blue (0x0000ff) have bytes in opposite order, but were swapped in the palette. But after changing the value of blue (see last paragraph), the modified color was in fact the red one. While here, tune the palette to better match console colors and improve the readability (especially the dark blue). This is an MFC of r269783 and r269791. END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2014-08-21T10:25:35.789990Z K 7 svn:log V 1003 vt(4): Colors are indexed against a console palette, not a VGA palette Rename vt_generate_vga_palette() to vt_generate_cons_palette() and change it to build a palette where the color index is the same than in terminal escape codes, not the VGA index. That's what TCHAR_CREATE() uses and passes to vt(4). The main differences between both orders are: o Blue and red are swapped (1 <-> 4) o Yellow and cyan are swapped (3 <-> 6) The problem remained unnoticed, because the RGB bit indexes passed to vt_generate_vga_palette() were reversed. This inversion was cancelled by the colors inversions in the generated palette. For instance, red (0xff0000) and blue (0x0000ff) have bytes in opposite order, but were swapped in the palette. But after changing the value of blue (see last paragraph), the modified color was in fact the red one. While here, tune the palette to better match console colors and improve the readability (especially the dark blue). This is an MFC of r269783 and r269791. END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-08-21T10:46:19.239085Z K 7 svn:log V 246 MFC r269656: Implement and use proc_realparent(9). MFC r270024 (by markj): Correct the order of arguments passed to LIST_INSERT_AFTER(). For merge, the p_treeflag member of struct proc was moved to the end of the structure, to keep KBI intact. END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2014-08-21T10:54:39.330038Z K 7 svn:log V 92 vt(4): Fix an inconsistency between the mouse cursor bitmap and its mask MFC after: 1 week END K 10 svn:author V 5 marck K 8 svn:date V 27 2014-08-21T11:48:37.369664Z K 7 svn:log V 118 MFC: Make BSD tree more contemporary-looking. This is actually batch of MFCs from the beginning of stable/10 branch. END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-08-21T12:30:01.804640Z K 7 svn:log V 35 Commit forgotten chunk of r270264. END K 10 svn:author V 2 bz K 8 svn:date V 27 2014-08-21T12:50:11.557535Z K 7 svn:log V 121 Document MAC address selection and setting for atse(4). Submitted by: brooks MFC after: 3 days Sponsored by: DARPA/AFRL END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2014-08-21T13:04:34.057205Z K 7 svn:log V 463 vt(4): Handle global and per-window mouse cursor toggle in one place Before the global flag was set/unset using the CONS_MOUSECTL ioctl, and the per-window flag through the MOUSE_SETLEVEL or MOUSE_SETMODE ioctls. Also, if the cursor is already enabled/disabled, return immediatly. This avoids to reset the cursor's position to the center of the screen. This matches syscons' behavior. While here, remove a trailing space and a redundant variable declaration. END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2014-08-21T13:27:05.621975Z K 7 svn:log V 84 MFC r268480: Add accessor to get the number of free descriptors in the virtqueue END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2014-08-21T13:28:48.062085Z K 7 svn:log V 151 vt(4): Mark cursor old position as dirty before reading the dirty area Otherwise, the redraw is done during the next vt_flush run. MFC after: 1 week END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2014-08-21T14:12:11.994471Z K 7 svn:log V 294 vt(4): If the cursor is globally disabled, don't mark its position as dirty This avoids unnecessary redraw. In particular, during boot, where the cursor is disabled and its fake position is [0;0], this triggered a refresh of the whole screen each time vt_flush() is called. MFC after: 1 week END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2014-08-21T14:54:37.628719Z K 7 svn:log V 500 vt(4): If the cursor didn't move, don't mark its position as dirty Currently, this has no effect, because the cursor is always redrawn anyway. But this will be useful after improvements to the vd_bitbltchr_t callback API. The vt_device structure members used to store the position of the cursor as of the last redraw are renamed from vd_mdirty{x,y} to vd_mold{x,y}. The associated comment is fixed too. Also, their value is now expressed in pixels, not in character columns/row. MFC after: 1 week END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-08-21T14:56:57.715860Z K 7 svn:log V 430 MFC r257637, r257730, r257734, r257777, r257825, r257838, r257873: Changes to how the aicasm tool is built. This series of changes results in the aicasm tool being built as part of the tools stages of world and kernel builds. Most of these changes will ultimately be undone when r260401 is MFC'd, but it will leave in place the new kernel-build-tool machinery (KTMAKE stuff) in case a new special kernel tool ever comes along. END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2014-08-21T15:00:21.069232Z K 7 svn:log V 211 vt(4): Mark the current cursor position as dirty Like r270273, this has no effect for now, because the cursor is always drawn. This is in preparation of future changes to vd_bitbltchr_t API. MFC after: 1 week END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-08-21T15:07:25.196504Z K 7 svn:log V 105 Use __FBSDID() properly. Suggested by: pluknet@ MFC after: 2 weeks Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 kan K 8 svn:date V 27 2014-08-21T15:10:10.500990Z K 7 svn:log V 289 Add guards to ptrdiff_t definition in include/stddef.h Back in 2011 obrien has added the #define macro in sys/sys/stddef.h to guard ptrdiff_t. Add similar protection to the identical code in include/stddef.h. Submitted by: Mariusz Zaborski MFC after: 1 week END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2014-08-21T15:14:54.588891Z K 7 svn:log V 82 vt(4): Mark cursor position as dirty when we enable/disable it MFC after: 1 week END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-08-21T15:32:38.602027Z K 7 svn:log V 103 Make the iSCSI stack use __FBSDID() properly. MFC after: 2 weeks Sponsored by: The FreeBSD Foundation END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2014-08-21T15:55:18.325167Z K 7 svn:log V 462 vt(4): Pause the flush timer while swithing window This fixes bad looking refresh when switching window: squares instead of text, flashing screen, and so on. In the worst case, vt_flush() came at a very inappropriate timing and the screen was not refreshed at all (leaving squares all over the place). This doesn't fix the flickering of the screen with vt_vga, because the sync signal is temporarily stopped and the video memory is cleared. MFC after: 1 week END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-08-21T15:59:25.880112Z K 7 svn:log V 94 Fix includes. Suggested by: pluknet@ MFC after: 2 weeks Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-08-21T16:08:17.866254Z K 7 svn:log V 104 Use proper include paths in kernel iSCSI code. MFC after: 2 weeks Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 dteske K 8 svn:date V 27 2014-08-21T17:15:09.453977Z K 7 svn:log V 180 Add `-A' flag to pkg-install(8) invocation when installing dependencies. MFC after: 3 days X-MFC-to: stable/10, stable/9 Reported by: gjb Discussed with: jelischer, gjb, bdrewery END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-08-21T17:18:21.886993Z K 7 svn:log V 588 MFC r260401 Remove aicasm as a build dependency. It made sense when the ahc and ahd drivers and their firmware were under active development, but those days have passed. The firmware now exists in pre-compiled form, no longer dependent on it's sources or on aicasm. If you wish to rebuild the firmware from source, the glue still exists under the 'make firmware' target in sys/modules/aic7xxx. This also fixes the problem introduced with r257777 et al with building kernels the old fashioned way in sys/$arch/compile/$CONFIG when the ahc/ahd drivers were included. END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-08-21T17:32:38.721595Z K 7 svn:log V 390 MFC r269534: Integrate lib/libmp into the build/kyua - Remove the .t wrapper - Fix -Wreturn-type warnings with clang This change has been tested on amd64/i386 Phabric: D530 Reviewed by: jmmv Approved by: jmmv (co--mentor) MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division MFC note: src.opts.mk in the original commit was changed to bsd.own.mk. END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-08-21T17:36:42.174752Z K 7 svn:log V 210 MFC r270116: Fix typo in lib/atf/libatfc++/Makefile LIBATFC should be LIBATF_C; this was missed in the initial import (r241823) PR: 192731 MFC after: 3 days Phabric: D619 Approved by: rpaulo (mentor) END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-08-21T17:54:42.636952Z K 7 svn:log V 1293 * Add new net/sff8436.h containing constants used to access QSFP+ data via i2c inteface. These constants has been taken from SFF-8436 "QSFP+ 10 Gbs 4X PLUGGABLE TRANSCEIVER" standard rev 4.8. * Add support for printing QSFP+ information from 40G NICs such as Chelsio T5. This commit does not contain ioctl changes necessary for this functionality work, there will be another commit soon. Example: cxl1: flags=8843 metric 0 mtu 1500 options=ec07bb ether 00:07:43:28:ad:08 nd6 options=29 media: Ethernet 40Gbase-LR4 status: active plugged: QSFP+ 40GBASE-LR4 (MPO Parallel Optic) vendor: OEM PN: OP-QSFP-40G-LR4 SN: 20140318001 DATE: 2014-03-18 module temperature: 64.06 C voltage: 3.26 Volts lane 1: RX: 0.47 mW (-3.21 dBm) TX: 2.78 mW (4.46 dBm) lane 2: RX: 0.20 mW (-6.94 dBm) TX: 2.80 mW (4.47 dBm) lane 3: RX: 0.18 mW (-7.38 dBm) TX: 2.79 mW (4.47 dBm) lane 4: RX: 0.90 mW (-0.45 dBm) TX: 2.80 mW (4.48 dBm) Tested on: Chelsio T5 Tested on: Mellanox/Huawei passive/active cables/transceivers. MFC after: 2 weeks Sponsored by: Yandex LLC END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2014-08-21T18:26:32.924483Z K 7 svn:log V 71 vt(4): Constify vt_buf argument of vtbuf_iscursor() MFC after: 1 week END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-08-21T19:04:15.641682Z K 7 svn:log V 377 Change file permissions for some setuid executables so they are "o+r". The executable itself doesn't contain any privileged information. An example of where this is useful is when makefs(8) is creating an image that includes /sbin/shutdown. This can now be done without root privileges. Reviewed by: delphij Discussed with: delphij, des CR: https://reviews.freebsd.org/D662 END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2014-08-21T19:15:22.491937Z K 7 svn:log V 330 vt(4): Test if the cursor is shown only once Later, we just see if the "struct mouse_cursor" pointer is set. This avoids the need to mess with all the conditions several times; this has been error prone. While here, rename the variable "m" to a more meaningful "cursor", like it's done elsewhere in the code. MFC after: 1 week END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-08-21T19:32:54.958594Z K 7 svn:log V 84 MFC r264927 by imp: NO_DEBUG_FILES -> MK_DEBUG_FILES=no in last remaining place. END K 10 svn:author V 2 np K 8 svn:date V 27 2014-08-21T19:42:03.010936Z K 7 svn:log V 121 Update a couple of header files that were missed in r270252. This is a direct commit to stable/10. Submitted by: luigi END