ƒ²269633 173 220 548 387 363 242 321 2386 270 194 237 511 207 215 313 209 612 247 125 503 503 219 269 212 1203 248 150 138 273 177 794 175 148 394 157 98 492 272 116 113 109 114 796 629 150 538 400 204 495 495 115 155 141 273 130 116 159 822 152 134 199 288 244 181 186 160 133 270 617 252 176 145 174 149 598 142 709 145 140 131 205 128 124 172 245 650 171 476 476 162 162 552 552 233 145 809 718 626 216 215 362 189 211 503 142 132 163 312 483 224 158 261 173 388 489 286 827 156 511 161 201 186 251 251 155 155 433 158 336 168 124 118 263 141 202 253 500 204 213 271 106 621 152 310 193 275 861 594 746 118 369 1339 165 131 123 165 239 380 284 212 351 145 564 169 167 267 306 175 440 180 449 449 201 450 K 10 svn:author V 6 wblock K 8 svn:date V 27 2014-08-06T17:40:11.840454Z K 7 svn:log V 124 MFC r269091: Fix spelling of Camellia algorithm. While here, replace blank lines between examples with actual .Pp breaks. END K 10 svn:author V 6 royger K 8 svn:date V 27 2014-08-06T17:45:59.793362Z K 7 svn:log V 452 drm: fix usage of vm_phys_fictitious_to_vm_page vm_phys_fictitious_to_vm_page should not be called directly, even when operating on a range that has been registered using vm_phys_fictitious_reg_range. PHYS_TO_VM_PAGE should be used instead because on arches that use VM_PHYSSEG_DENSE the page might come directly from vm_page_array. Reported by: nwhitehorn Tested by: nwhitehorn, David Mackay Sponsored by: Citrix Systems R&D END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-08-06T18:09:46.685815Z K 7 svn:log V 294 As part of the XDEV/XDEV_ARCH deprecation, the 'xdev-links' target was intentionally no longer invoked automatically. Invoke the xdev-links target after xdev, which creates, for example, /usr/bin/armv6-freebsd-cc symlink to /usr/armv6-freebsd/usr/bin/cc. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2014-08-06T18:13:09.596327Z K 7 svn:log V 262 Set fb_pbase properly on PowerPC in the case where we have to guess at the right register bank for the framebuffer. Disable the assigned-addresses path on SPARC since it is just a hack for IBM PPC systems and was neither relevant for nor worked on SPARC anyway. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-08-06T18:15:33.367819Z K 7 svn:log V 149 Set TARGET and TARGET_ARCH to the XDEV and XDEV_ARCH counterparts for the xdev and xdev-links make(1) targets. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-08-06T18:59:39.329589Z K 7 svn:log V 225 Fix athdecode to actually work. * Add AR9287 and AR9331 chipset support - it just uses the AR5416 support for now so some of the register mappings are wrong, but it works well enough. * don't call exit() from opmark(). END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-08-06T19:04:05.059062Z K 7 svn:log V 2292 Merge the following from ^/projects/release-noxdev: r269549, r269551, r269552, r269553, r269554, r269555, r269558, r269559, r269560, r269561, r269628, r269629, r269630, r269635, r269637: r269549: Create a new project branch, release-noxdev, for a sandbox workspace outside of head/ to update the release bits for arm builds since the deprecation of the XDEV and XDEV_ARCH make(1) variables. r269551: Define load_chroot_env() and load_target_env() prototypes. r269552: Call load_chroot_env() and load_target_env() where they can be mutually conflicting with regard to TARGET, TARGET_ARCH, XDEV, and XDEV_ARCH. r269553: Add shebang line to arm/*.conf files since these should be considered to be executable (albeit not on their own) shell scripts. r269554: Redefine load_chroot_env() and load_target_env() in the arm/*.conf files, and reindent. r269555: Simplify where load_chroot_env() and load_target_env() are called. r269558: Provide example in release.conf.sample for overriding the load_chroot_env() and load_target_env() prototypes. r269559: Remove a gratuitous newline. r269560: Unset potentially conflicting variables in load_chroot_env() and load_target_env(). r269561: Make global variables global, and accessible outside of the functions within which they were once defined. r269628: Remove XDEV/XDEV_ARCH evaluation if EMBEDDEDBUILD is set. r269629: In arm/release.sh, switch TARGET/TARGET_ARCH back to the original XDEV/XDEV_ARCH make(1) variables. In theory, this should have been a no-op, but the TARGET and TARGET_ARCH are now unset in load_target_env() to avoid collision with the chroot userland. r269630: Export variables in the arm/*.conf files because they need to be passed through release.sh to arm/release.sh. Set MK_TESTS=no for the xdev target. r269635: As part of the XDEV/XDEV_ARCH deprecation, the 'xdev-links' target was intentionally no longer invoked automatically. Invoke the xdev-links target after xdev, which creates, for example, /usr/bin/armv6-freebsd-cc symlink to /usr/armv6-freebsd/usr/bin/cc. r269637: Set TARGET and TARGET_ARCH to the XDEV and XDEV_ARCH counterparts for the xdev and xdev-links make(1) targets. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-08-06T19:06:38.387004Z K 7 svn:log V 177 Comment load_chroot_env() and load_target_env() in the release/release.conf.sample file. The uncommented version snuck in during testing. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-08-06T19:09:21.035504Z K 7 svn:log V 101 Remove release-noxdev project branch that is no longer needed. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-08-06T19:30:35.861917Z K 7 svn:log V 144 Add wrappers to assert that vm object is unlocked and for try upgrade. 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-06T19:34:03.759534Z K 7 svn:log V 418 The vm_pager_page_unswapped() pager op is only implemented for the swap pager. Swap pager uses a private mutex to protect swap metadata, and does not rely on the vm object lock to ensure integrity of it. Weaken the requirement for the vm object lock by only asserting locked object in vm_pager_page_unswapped(), instead of locked exclusively. Reviewed by: alc Sponsored by: The FreeBSD Foundation MFC after: 1 week END K 10 svn:author V 2 np K 8 svn:date V 27 2014-08-06T19:38:03.752025Z K 7 svn:log V 115 cxgbe(4): Let caller specify whether it's ok to sleep in t4_sched_config and t4_sched_params. MFC after: 2 weeks END K 10 svn:author V 3 jmg K 8 svn:date V 27 2014-08-06T21:16:15.088863Z K 7 svn:log V 122 put these under bootverbose, they are only needed for debugging, not useful for the normal user durning normal runtime... END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-08-06T21:27:15.767545Z K 7 svn:log V 220 Use a SYSINIT to init the array of interrupt names on arm. This was called from initarm() in arm/machdep.c, but many legacy arm platforms have their own private initarm(), so a SYSINIT fixes everyone. Reported by: jmg END K 10 svn:author V 3 jfv K 8 svn:date V 27 2014-08-06T22:15:01.198904Z K 7 svn:log V 116 MFC of the r267935 - Shared code update - em driver support for i218 devices - igb brought up to the 2.4.0 level END K 10 svn:author V 4 bapt K 8 svn:date V 27 2014-08-06T22:17:26.124059Z K 7 svn:log V 518 Rework privatelib/internallib Make sure everything linking to a privatelib and/or an internallib does it directly from the OBJDIR rather than DESTDIR. Add src.libnames.mk so bsd.libnames.mk is not polluted by libraries not existsing in final installation Introduce the LD* variable which is what ld(1) is expecting (via LDADD) to link to internal/privatelib Directly link to the .so in case of private library to avoid having to complexify LDFLAGS. Phabric: https://phabric.freebsd.org/D553 Reviewed by: imp, emaste END K 10 svn:author V 4 bapt K 8 svn:date V 27 2014-08-06T22:46:15.607768Z K 7 svn:log V 153 Make libohash a proper internallib instead of hidding it in m4 mandoc development seems to be also using ohash so prepare to share the code when needed END K 10 svn:author V 4 bapt K 8 svn:date V 27 2014-08-06T23:06:09.945220Z K 7 svn:log V 32 Add more private obsolete files END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2014-08-06T23:33:16.783570Z K 7 svn:log V 405 MFC of r269303: When restoring a UFS dump onto a ZFS filesystem, an assertion in restore was failing because ZFS was reporting a blocksize that was not a multiple of 1024. Replace restore's failed assertion with code that writes restored files in a blocksize that works for restore (a multiple of 1024) despite being non-optimal for ZFS. Submitted by: Dmitry Morozovsky Tested by: Dmitry Morozovsky END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2014-08-07T00:32:23.058342Z K 7 svn:log V 405 MFC of r269303: When restoring a UFS dump onto a ZFS filesystem, an assertion in restore was failing because ZFS was reporting a blocksize that was not a multiple of 1024. Replace restore's failed assertion with code that writes restored files in a blocksize that works for restore (a multiple of 1024) despite being non-optimal for ZFS. Submitted by: Dmitry Morozovsky Tested by: Dmitry Morozovsky END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2014-08-07T01:51:01.132400Z K 7 svn:log V 122 Give a brief message as to what error was encountered to help the user along. Reviewed by: nwhitehorn MFC after: 2 weeks END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-08-07T02:26:45.294323Z K 7 svn:log V 176 MFC r269318: Replace 'GNATS' with 'Bugzilla' in the base subversion commit template. Approved by: peter (implicit, original approver) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-08-07T03:50:30.131097Z K 7 svn:log V 119 MFC r269347: Do not generate 1000 unique lock names for nfsrc hash chain locks. Shorten the names of some nfs mutexes. END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-08-07T05:47:53.299978Z K 7 svn:log V 1109 Correct the problems with the ptrace(2) making the debuggee an orphan. One problem is inferior(9) looping due to the process tree becoming a graph instead of tree if the parent is traced by child. Another issue is due to the use of p_oppid to restore the original parent/child relationship, because real parent could already exited and its pid reused (noted by mjg). Add the function proc_realparent(9), which calculates the parent for given process. It uses the flag P_TREE_FIRST_ORPHAN to detect the head element of the p_orphan list and than stepping back to its container to find the parent process. If the parent has already exited, the init(8) is returned. Move the P_ORPHAN and the new helper flag from the p_flag* to new p_treeflag field of struct proc, which is protected by proctree lock instead of proc lock, since the orphans relationship is managed under the proctree_lock already. The remaining uses of p_oppid in ptrace(PT_DETACH) and process reapping are replaced by proc_realparent(9). Phabric: D417 Reviewed by: jhb Tested by: pho Sponsored by: The FreeBSD Foundation MFC after: 2 weeks END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-08-07T07:41:51.957333Z K 7 svn:log V 152 Reserve a 2MiB block of memory for devmap so we don't need to add the early boot ranges. This should reduce the need for early platform dependent code. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-08-07T07:41:56.852470Z K 7 svn:log V 55 Add support for the pl011 uart on the foundation model END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-08-07T08:09:43.850118Z K 7 svn:log V 43 Disable the early console in cninit_finish END K 10 svn:author V 4 bapt K 8 svn:date V 27 2014-08-07T09:38:27.120604Z K 7 svn:log V 179 Lower warnings again to 3 the right thing would be to fix the warnings which will be done by discussing with upstream I want the m4 code to stay as close as possible to upstream. END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-08-07T10:23:50.539044Z K 7 svn:log V 86 Use cpuset_setithread() to apply cpu mask to taskq threads. Sponsored by: Yandex LLC END K 10 svn:author V 7 roberto K 8 svn:date V 27 2014-08-07T11:44:30.077871Z K 7 svn:log V 697 10 has a new flex (2.5.37) and the config.h for unbound has been updated to take this into account. Alas it breaks source upgrade from any version of 9 because flex is not built as a bootstrap-tools (it would be for older versions). That means "libunbound/configlexer.c" is built with the old flex but using config.h for the new one. Build is thus broken going from 9.* to 10. Make flex a bootstrap-tools entry if host is less than 1000033 to take into account the flex update in 10. Tested on both 9.2-RC3 and 9.3 by myself and dim@. Running buildworld in head but as both 10 and 11 has the new flex, it will not matter. Reviewed by: imp Approved by: des, imp MFC after: 1 week Phabric: D554 END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2014-08-07T12:19:42.659921Z K 7 svn:log V 79 Fix amd64 LINT. hyperv is not in stable/9, thus partially revert MFC r257277. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-08-07T12:47:25.554767Z K 7 svn:log V 51 Make sure the USB audio level residue is non-zero. END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-08-07T14:26:44.287047Z K 7 svn:log V 300 Avoid name shadowing to fix build under powerpc64. Error was: cc1: warnings being treated as errors .../usr.bin/m4/misc.c: In function 'm4errx': .../usr.bin/m4/misc.c:268: warning: declaration of 'eval' shadows a global declaration .../usr.bin/m4/extern.h:40: warning: shadowed declaration is here END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-08-07T14:32:28.648080Z K 7 svn:log V 66 Temporary revert r269661, it looks like the patch isn't complete. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-08-07T15:56:55.513862Z K 7 svn:log V 4 MFC END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-08-07T16:40:24.164654Z K 7 svn:log V 399 Fix broken pointer overflow check ns_name_unpack() Many compilers may optimize away the overflow check `msg + l < msg', where `msg' is a pointer and `l' is an integer, because pointer overflow is undefined behavior in C. Use a safe precondition test `l >= eom - msg' instead. Reference: https://android-review.googlesource.com/#/c/50570/ Obtained from: NetBSD (CVS rev. 1.10) MFC after: 3 weeks END K 10 svn:author V 2 bz K 8 svn:date V 27 2014-08-07T16:49:50.404080Z K 7 svn:log V 180 Split up sys_ktimer_getoverrun() into a sys_ and a kern_ variant and export the kern_ version needed by an upcoming linuxolator change. MFC after: 3 days Sponsored by: DARPA,AFRL END K 10 svn:author V 4 jkim K 8 svn:date V 27 2014-08-07T16:49:55.596949Z K 7 svn:log V 23 Import OpenSSL 1.0.1i. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2014-08-07T16:50:46.955803Z K 7 svn:log V 20 Tag OpenSSL 1.0.1i. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2014-08-07T16:51:50.963288Z K 7 svn:log V 16 Import 0.9.8zb. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2014-08-07T16:52:59.448704Z K 7 svn:log V 21 Tag OpenSSL 0.9.8zb. END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2014-08-07T16:53:07.098493Z K 7 svn:log V 698 The SUJ journal is only prepared to handle full-size block numbers, so we have to adjust freeblk records to reflect the change to a full-size block. For example, suppose we have a block made up of fragments 8-15 and want to free its last two fragments. We are given a request that says: FREEBLK ino=5, blkno=14, lbn=0, frags=2, oldfrags=0 where frags are the number of fragments to free and oldfrags are the number of fragments to keep. To block align it, we have to change it to have a valid full-size blkno, so it becomes: FREEBLK ino=5, blkno=8, lbn=0, frags=2, oldfrags=6 Submitted by: Mikihito Takehara Tested by: Mikihito Takehara Reviewed by: Jeff Roberson MFC after: 1 week END K 10 svn:author V 6 royger K 8 svn:date V 27 2014-08-07T17:00:50.210640Z K 7 svn:log V 533 atpic: make sure atpic_init is called after IO APIC initialization After r269510 the IO APIC and ATPIC initialization is done at the same order, which means atpic_init can be called before the IO APIC has been initalized. In that case the ATPIC will take over the interrupt sources, preventing the IO APIC from registering them. Reported by: David Wolfskill Tested by: David Wolfskill , Trond Endrestøl Sponsored by: Citrix Systems R&D END K 10 svn:author V 4 jkim K 8 svn:date V 27 2014-08-07T17:05:25.763877Z K 7 svn:log V 57 Sync. with ^/vendor-crypto/openssl/dist/FREEBSD-upgrade. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-08-07T17:19:10.120069Z K 7 svn:log V 445 Syncronize local changes to thermite.sh: - In build_release(), use source_config() instead of continuing if the configuration file exists to prevent erroneous output from printenv(1). - In truncate_logs(), only create the log file if there is a corresponding configuration file for the build, otherwise log files that will never be used are created (such as 11-amd64-GENERIC64-snap.log). Sponsored by: The FreeBSD Foundation END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-08-07T17:40:46.264122Z K 7 svn:log V 306 Remove chrootdir (DESTDIR) before running release.sh This will ensure that the next run has a clean install directory This should fix release.sh with the kyua.nyi.net post-r267679 and before r267842. Phabric: D556 Reviewed by: jmmv Approved by: jmmv (mentor) Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-08-07T17:49:42.268668Z K 7 svn:log V 111 MFC r256691, r256748: casuword fixes Use unsigned compare against KERNBASE addr. Use atomic ops on armv6. END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-08-07T18:36:47.976432Z K 7 svn:log V 400 MFC r265456, r265578: Add a postinit debugger hook to rtld. This will be used by dtrace(1) to halt the victim process before its entry point is called, at which point probes and DOF data are registered with the kernel. The r_debug_state hook cannot be used for this purpose, as it is called before the program's init routines are invoked and in particular before DOF data is registered (via drti.o). END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-08-07T18:37:15.881772Z K 7 svn:log V 400 MFC r265456, r265578: Add a postinit debugger hook to rtld. This will be used by dtrace(1) to halt the victim process before its entry point is called, at which point probes and DOF data are registered with the kernel. The r_debug_state hook cannot be used for this purpose, as it is called before the program's init routines are invoked and in particular before DOF data is registered (via drti.o). END K 10 svn:author V 4 jkim K 8 svn:date V 27 2014-08-07T18:56:10.226109Z K 7 svn:log V 22 Merge OpenSSL 1.0.1i. END K 10 svn:author V 5 peter K 8 svn:date V 27 2014-08-07T20:01:00.508420Z K 7 svn:log V 61 Like on stable/9 and later, don't redefine MALLOC_PRODUCTION END K 10 svn:author V 5 peter K 8 svn:date V 27 2014-08-07T20:05:50.076589Z K 7 svn:log V 47 Fix cut/paste brain-o. Spell #endif correctly. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2014-08-07T21:00:16.093937Z K 7 svn:log V 172 Retire vd_maskbitbltchr. The same functionality can be obtained by testing for mask != NULL in vd_bitbltchr, which all implementations of vd_bitbltchr() were doing anyway. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2014-08-07T21:04:42.310932Z K 7 svn:log V 37 MFC: r269682 Merge OpenSSL 1.0.1i. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2014-08-07T21:06:34.035671Z K 7 svn:log V 23 Merge OpenSSL 0.9.8zb. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-08-07T21:37:03.313707Z K 7 svn:log V 67 m4 now requires libohash, ensure it gets built when bootstrapping. END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-08-07T21:37:31.955049Z K 7 svn:log V 724 Kernel changes: * Implement proper checks for switching between global and set-aware tables * Split IP_FW_DEL mess into the following opcodes: * IP_FW_XDEL (del rules matching pattern) * IP_FW_XMOVE (move rules matching pattern to another set) * IP_FW_SET_SWAP (swap between 2 sets) * IP_FW_SET_MOVE (move one set to another one) * IP_FW_SET_ENABLE (enable/disable sets) * Add IP_FW_XZERO / IP_FW_XRESETLOG to finish IP_FW3 migration. * Use unified ipfw_range_tlv as range description for all of the above. * Check dynamic states IFF there was non-zero number of deleted dyn rules, * Del relevant dynamic states with singe traversal instead of per-rule one. Userland changes: * Switch ipfw(8) to use new opcodes. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-08-07T21:56:32.611621Z K 7 svn:log V 60 target is unsigned, so don't compare it < 0 for range test. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-08-07T21:56:37.199584Z K 7 svn:log V 42 Unsigned values can never be less than 0. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-08-07T21:56:42.079551Z K 7 svn:log V 106 cswitch is unsigned, so don't compare it < 0. Any negative numbers will look huge and be caught by > 100. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-08-07T21:56:46.750294Z K 7 svn:log V 195 Cast queue length because q_len isn't really an enum in the same sense that clang wants it to be (a value that can only have values inside the enum range), but rather an unsigned count of bytes. END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-08-07T22:08:43.293417Z K 7 svn:log V 146 Since all of base IP_FW opcodes has been converted to IP_FW3, switch default sopt handler to ipfw_clt3. Add some comments for ipfw_get_sopt* api. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-08-07T22:14:37.344725Z K 7 svn:log V 89 Const-ify character string Obtained from: Apple Inc. (Libc 997.90.3) MFC after: 3 days END K 10 svn:author V 2 cy K 8 svn:date V 27 2014-08-08T00:58:24.267223Z K 7 svn:log V 95 MFC r269585 - Honour WITH and WITHOUT_INET6_SUPPORT. Approved by: glebius (mentor - implicit) END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-08-08T01:21:52.947880Z K 7 svn:log V 68 Add the dts include directory to the -I list when doing arm builds. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-08-08T01:23:43.556260Z K 7 svn:log V 41 Add a missing clock register definition. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2014-08-08T01:57:15.350584Z K 7 svn:log V 175 Merge 'struct ip6protosw' and 'struct protosw' into one. Now we have only one protocol switch structure that is shared between ipv4 and ipv6. Phabric: D476 Reviewed by: jhb END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-08-08T03:49:01.738490Z K 7 svn:log V 523 Support PCI extended config space in bhyve. Add the ACPI MCFG table to advertise the extended config memory window. Introduce a new flag MEM_F_IMMUTABLE for memory ranges that cannot be deleted or moved in the guest's address space. The PCI extended config space is an example of an immutable memory range. Add emulation for the "movzw" instruction. This instruction is used by FreeBSD to read a 16-bit extended config space register. CR: https://phabric.freebsd.org/D505 Reviewed by: jhb, grehan Requested by: tychon END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2014-08-08T06:22:32.504120Z K 7 svn:log V 154 Set the si_code appropriately for exception-caused signals. LLDB checks the si_code, and aborts if a code isn't known. MFC after: 2 weeks Relnotes: yes END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2014-08-08T06:29:30.011329Z K 7 svn:log V 76 Use OF_getencprop() in preference to OF_getprop() and manual byte-swapping. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2014-08-08T06:30:17.077117Z K 7 svn:log V 45 Remove unnecessary inclusion of FDT headers. END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-08-08T06:36:26.517138Z K 7 svn:log V 77 Remove IP_FW_TABLES_XGETSIZE opcode. It is superseded by IP_FW_TABLES_XLIST. END K 10 svn:author V 2 bz K 8 svn:date V 27 2014-08-08T09:17:02.467621Z K 7 svn:log V 58 Fix argument to KTR after r269699 to unbreak LINT builds. END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-08-08T09:27:49.500964Z K 7 svn:log V 500 * Add IP_FW_TABLE_XMODIFY opcode * Since there seems to be lack of consensus on strict value typing, remove non-default value types. Use userland-only "value format type" to print values. Kernel changes: * Add IP_FW_XMODIFY to permit table run-time modifications. Currently we support changing limit and value format type. Userland changes: * Support IP_FW_XMODIFY opcode. * Support specifying value format type (ftype) in tablble create/modify req * Fine-print value type/value format type. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-08-08T09:47:01.440980Z K 7 svn:log V 45 Remove some not needed directory properties. END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-08-08T11:39:05.171254Z K 7 svn:log V 616 VOP_LOOKUP() may relock the directory vnode for some reasons. Since nullfs vnode shares vnode lock with lower vnode, this allows the reclamation of nullfs directory vnode in null_lookup(). In this situation, VOP must return ENOENT. More, since after the reclamation, the locks of nullfs directory vnode and lower vnode are no longer shared, the relock of the ldvp does not restore the correct locking state of dvp, and leaks ldvp lock. Correct this by unlocking ldvp and locking dvp. Use cached value of dvp->v_mount. Reported by: bdrewery Tested by: pho Sponsored by: The FreeBSD Foundation MFC after: 2 weeks END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-08-08T11:46:45.947975Z K 7 svn:log V 53 is_full_id is set to 0 and then not used. remove it. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-08-08T11:47:04.795348Z K 7 svn:log V 48 shared_scb_data set, but never used, remove it. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-08-08T11:47:09.453464Z K 7 svn:log V 39 Set but not used variables eliminated. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-08-08T11:47:14.197791Z K 7 svn:log V 112 last is set and not used, most likely a cut and paste error from other sysctl setting functions in this module. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-08-08T11:47:18.838309Z K 7 svn:log V 36 err set but not used. Eliminate it. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-08-08T11:47:23.438826Z K 7 svn:log V 32 an isn't used, so eliminate it. END K 10 svn:author V 3 pho K 8 svn:date V 27 2014-08-08T13:37:31.947531Z K 7 svn:log V 80 Added a new nullfs test scenario. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-08-08T14:23:20.184364Z K 7 svn:log V 147 * Switch tablearg value from 65535 to 0. * Use u16 table kidx instead of integer on for iface opcode. * Provide compability layer for old clients. END K 10 svn:author V 5 joerg K 8 svn:date V 27 2014-08-08T14:42:03.707296Z K 7 svn:log V 555 Merge r269353: Fix breakage introduced by r256843: removing the SA_CCB_WAITING bit left some of the decisions based on its counterpart, SA_CCB_BUFFER_IO being random. As a result, propagation of the residual information for the SPACE command was broken, so the number of filemarks encountered during a SPACE operation was miscalculated. Consequently, systems relying on properly tracked filemark counters (like Bacula) fell apart. The change also removes a switch/case in sadone() which r256843 degraded to a single remaining case label. PR: 192285 END K 10 svn:author V 5 joerg K 8 svn:date V 27 2014-08-08T14:48:26.791599Z K 7 svn:log V 77 Merge r269470: Avoid a divide-by-zero panic when setting the baudrate to 0. END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-08-08T14:52:59.103800Z K 7 svn:log V 381 MFC r265629, r265630 MFC r265629: Handle the different event types properly in rd_event_addr(). In particular, with r265456 _r_debug_postinit can be used for RD_POSTINIT events. rtld(1) uses r_debug_state for dl state transitions, so we use its address for RD_DLACTIVITY events. MFC r265630: Fix the rd_event_addr prototype and slightly clarify the use of the "event" parameter. END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-08-08T14:53:01.002261Z K 7 svn:log V 381 MFC r265629, r265630 MFC r265629: Handle the different event types properly in rd_event_addr(). In particular, with r265456 _r_debug_postinit can be used for RD_POSTINIT events. rtld(1) uses r_debug_state for dl state transitions, so we use its address for RD_DLACTIVITY events. MFC r265630: Fix the rd_event_addr prototype and slightly clarify the use of the "event" parameter. END K 10 svn:author V 5 joerg K 8 svn:date V 27 2014-08-08T14:56:04.144634Z K 7 svn:log V 68 MFC r269470: Avoid divide-by-zero panic when setting baudrate to 0. END K 10 svn:author V 5 joerg K 8 svn:date V 27 2014-08-08T15:04:02.138005Z K 7 svn:log V 68 MFC r269470: avoid divide-by-zero panic when setting baudrate to 0. END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-08-08T15:21:42.032132Z K 7 svn:log V 457 MFC r265631: Re-apply r248644. This fixes an annoying problem which caused dtrace -c to fail to attach to stripped binaries. With the _r_debug_postinit symbol, dtrace(1) can now set a breakpoint in the victim process after it has registered its DOF table(s) with the kernel. r_debug_state cannot be used for this purpose since it is called before DOF is made available, in which case dtrace(1) cannot create USDT probes before the program begins execution. END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-08-08T15:21:43.571051Z K 7 svn:log V 457 MFC r265631: Re-apply r248644. This fixes an annoying problem which caused dtrace -c to fail to attach to stripped binaries. With the _r_debug_postinit symbol, dtrace(1) can now set a breakpoint in the victim process after it has registered its DOF table(s) with the kernel. r_debug_state cannot be used for this purpose since it is called before DOF is made available, in which case dtrace(1) cannot create USDT probes before the program begins execution. END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-08-08T15:33:26.101530Z K 7 svn:log V 135 Partially revert previous commit: "0" value is perfectly valid for O_SETFIB and O_SETDSCP, so tablearg remains to be 655535 for now. END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-08-08T15:50:02.235963Z K 7 svn:log V 53 Fix one more compiler warning, m is not initialized. END K 10 svn:author V 3 bjk K 8 svn:date V 27 2014-08-08T16:32:06.226487Z K 7 svn:log V 716 Update vmstat usage for last-argument count/wait parameters Correct the usage in both the manpage and in usage() to indicate that the wait interval and repetition count may be given either with the respective -w/-c arguments, or as the final positional arguments. [0] The corresponding code to implement the positional arguments has been conditional on the (always-enabled) BACKWARD_COMPATIBILITY macro since the original 4.4-lite import. It's no longer reasonable to remove the functionality, so remove the macro and conditional instead. Note that multiple disks may be given on the command line. While here, sort arguments and apply minor mdoc fixes. PR: 184755 [0] Approved by: hrs (mentor, src committer) END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-08-08T17:12:03.321222Z K 7 svn:log V 625 Change pmap_enter(9) interface to take flags parameter and superpage mapping size (currently unused). The flags includes the fault access bits, wired flag as PMAP_ENTER_WIRED, and a new flag PMAP_ENTER_NOSLEEP to indicate that pmap should not sleep. For powerpc aim both 32 and 64 bit, fix implementation to ensure that the requested mapping is created when PMAP_ENTER_NOSLEEP is not specified, in particular, wait for the available memory required to proceed. In collaboration with: alc Tested by: nwhitehorn (ppc aim32 and booke) Sponsored by: The FreeBSD Foundation and EMC / Isilon Storage Division MFC after: 2 weeks END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2014-08-08T17:29:01.180648Z K 7 svn:log V 528 sed(1): Don't force a newline on last line, if input stream doesn't have one While here, change how we check if the current line is the last one. Before, we just checked if there were more files after the current one. Now, we check the actual content of those files: they files may not have a line at all. This matches the definition of the "last line" by the Open Group. The new behavior is closer to GNU sed. PR: 160745 Phabric: https://phabric.freebsd.org/D431 Reviewed by: jilles Approved by: jilles Exp-run by: antoine END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2014-08-08T18:00:23.214949Z K 7 svn:log V 120 Quiesce a printf warning from clang, %ul -> %lu Phabric: https://phabric.freebsd.org/D472 Reviewed by: mahrens delphij END K 10 svn:author V 2 np K 8 svn:date V 27 2014-08-08T18:36:53.902517Z K 7 svn:log V 123 cxgbe(4): Do not poke T4-only registers on a T5 (and vice versa). Obtained from: Chelsio Communications MFC after: 1 week END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-08-08T18:54:52.089991Z K 7 svn:log V 265 MFC r269086: As of r268075, the responsibility of rounding up buffer to optimal size have been transferred from zio_compress_data to its caller. Therefore, passing the 'minblocksize' down will be a no-op. Eliminate the parameter to reduce diff against upstream. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-08-08T18:57:43.405950Z K 7 svn:log V 93 MFC r269093: Transform the I/O when vdev_physical_ashift is greater than SPA_MINBLOCKSHIFT. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-08-08T19:06:24.216491Z K 7 svn:log V 114 MFC the cddl/contrib/opensolaris/cmd/zpool portion of r267803 (joel): mdoc: remove superfluous paragraph macros. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-08-08T19:11:23.362973Z K 7 svn:log V 406 MFC r268621 (smh) + r268625: Don't report non-native block-size pools under zpool status -x zpool status -x is used to identify pools that are exhibiting errors or are otherwise unavailable, therefore non-native block-size pools shouldn't be reported. Also update man page to clarify other additional conditions which won't cause a pool to be displayed under zpool status -x. Sponsored by: Multiplay END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-08-08T19:14:49.666300Z K 7 svn:log V 46 MFC r269100: Diff reduction against Illumos. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-08-08T19:36:40.197252Z K 7 svn:log V 36 MFC r269097: Use the right length. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-08-08T19:39:40.531130Z K 7 svn:log V 67 MFC r269098: Use the right lengths. Submitted by: Sascha Wildner END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-08-08T21:09:22.011577Z K 7 svn:log V 214 Kernel changes: * Fix buffer calculation for table dumps * Fix IPv6 radix entiries addition broken in r269371. Userland changes: * Fix bug in retrieving statric ruleset * Fix several bugs in retrieving table list END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-08-08T21:27:33.005810Z K 7 svn:log V 390 Pull in r214736 from upstream libc++ trunk (by Marshall Clow): Fix PR#20520 - predicate called too many times in list::remove_if. Add tests for list, forward_list, and the std::remove_if algorithm This fixes an issue where std::list<>::remove_if() and remove() could erroneously visit elements twice. Reported by: Dominic Fandrey PR: 192303 MFC after: 3 days END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2014-08-08T21:47:47.205898Z K 7 svn:log V 128 Quiesce warning about discarding a const qualifier in assignement. Phabric: https://phabric.freebsd.org/D445 Reviewed by: neel END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2014-08-08T22:08:51.525760Z K 7 svn:log V 63 MFC r269408, r269409: shm_open()/shm_unlink() ktrace support. END K 10 svn:author V 6 wblock K 8 svn:date V 27 2014-08-08T22:30:41.803119Z K 7 svn:log V 165 Update the comments in exec.h with help from jilles. PR: 180970 Submitted by: Carlos Jacobo Puga Medina Reviewed by: jilles MFC after: 1 week END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2014-08-08T23:55:22.013299Z K 7 svn:log V 78 Run dtrace in 32-bit mode when compiling 32-bit libraries. MFC after: 3 days END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-08-09T04:47:12.522551Z K 7 svn:log V 292 Create a redundant grain directory and table. Previously we were cheating by assigning the same sector offset to both directories, but it seems that VirtualBox doesn't like that. Neither does qemu from the looks of it. We now actually write the directory and table twice. MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-08-09T05:00:34.397620Z K 7 svn:log V 396 Adapt vm_page_aflag_set(PGA_WRITEABLE) to the locking of pmap_enter(PMAP_ENTER_NOSLEEP). The PGA_WRITEABLE flag can be set when either the page is busied, or the owner object is locked. Update comments, move all assertions about page state when PGA_WRITEABLE flag is set, into new helper vm_page_assert_pga_writeable(). Reviewed by: alc Sponsored by: The FreeBSD Foundation MFC after: 2 weeks END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-08-09T09:11:26.033158Z K 7 svn:log V 188 * Use 2 32-bits field inside rule instead of 2 pointer to save skipto state. * Introduce ipfw_reap_add() to unify unlinking rules/adding it to reap queue * Unbreak FreeBSD7 export format. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-08-09T09:12:25.245135Z K 7 svn:log V 731 Work around some rather annoying chip hangs in the AR9331 chip. If powersave is enabled and there are any transitions to network or full sleep - even if they're pretty damned brief - eventually something messes up somewhere and the bus glue between the AR9331 SoC and the AR9331 wifi stops working. It shows up as stuck DMA and LOCAL_TIMEOUT interrupts. Both ath9k and the reference driver does a full chip reset if things get stuck. So: * teach the AR9330 HAL about the force_full_reset option I added a couple of years ago; * if the chip is currently in full-sleep, do a full-reset; * if TX DMA and/or RX DMA are still enabled (eg, they did get stuck during reset) then do a full-reset. Tested: * AR9331 SoC, STA mode END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-08-09T09:13:10.855926Z K 7 svn:log V 61 Add two new debug mark entries for chip power configuration. END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-08-09T12:25:06.959838Z K 7 svn:log V 418 In r268463, I misplaced a return in demangle(), causing the function to erroneously skip symbols that were not mangled at all. Fix this by moving the return into the preceding if block. While here, simplify the code by letting __cxa_demangle() allocate the needed space for the demangled symbol. This also fixes a memory leak, which would occur whenever __cxa_demangle() failed. Reported by: pgj MFC after: 3 days END K 10 svn:author V 3 gnn K 8 svn:date V 27 2014-08-09T13:41:11.427986Z K 7 svn:log V 69 Move Ermal (eri) from Max Laier to myself as I take over mentorship. END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-08-09T14:05:01.927434Z K 7 svn:log V 106 MFC r266826, r266827 Move some duplicated hook definitions from machine-dependent files to kern_dtrace.c. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-08-09T14:33:44.198634Z K 7 svn:log V 91 Small modification of the sctp_input() cleanup to avoid having code between declariations. END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-08-09T15:00:03.093557Z K 7 svn:log V 156 MFC r265308: If the traced process stops because it received a signal, libproc needs to ensure that the signal is forwarded when proc_continue() is called. END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-08-09T15:00:05.415342Z K 7 svn:log V 156 MFC r265308: If the traced process stops because it received a signal, libproc needs to ensure that the signal is forwarded when proc_continue() is called. END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-08-09T15:03:47.713076Z K 7 svn:log V 61 MFC r259211: Correct the check for errors from proc_rwmem(). END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-08-09T15:03:56.636175Z K 7 svn:log V 61 MFC r259211: Correct the check for errors from proc_rwmem(). END K 10 svn:author V 5 kargl K 8 svn:date V 27 2014-08-09T15:53:40.791895Z K 7 svn:log V 338 When r255294 was committed, it exposed the symbols lgammal, powl, and tgammal in libm. These functions are part of ISO/IEC 9899:1999 and their prototypes should have been moved into the appropriate __ISO_C_VISIBLE >= 1999 section. After moving the prototypes, remnants of r236148 can be removed. PR: standards/191754 Reviewed by: bde END K 10 svn:author V 3 alc K 8 svn:date V 27 2014-08-09T17:13:02.702140Z K 7 svn:log V 66 Update the text of a KASSERT() to reflect the changes in r269728. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-08-09T18:15:28.265685Z K 7 svn:log V 240 Bump the HAL_REGRANGE fields from 16 bit to 32 bit. The AR9380 and later chips have a 128KiB register window, so the register read diag api needs changing. The tools are about to be updated as well. No, they're not backwards compatible. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-08-09T18:17:16.783274Z K 7 svn:log V 73 Update athpoke/athregs to use the modified register read diagnostic API. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-08-09T18:17:49.562768Z K 7 svn:log V 29 Add more tools to the build. END K 10 svn:author V 3 ume K 8 svn:date V 27 2014-08-09T20:03:40.763627Z K 7 svn:log V 26 We don't use these files. END K 10 svn:author V 3 jmg K 8 svn:date V 27 2014-08-09T20:25:17.702248Z K 7 svn:log V 170 make the README a bit more clearer... Sort the scripts, and remove the trailing backslash... We really should install more of the toolkit scripts than just 5 of them.. END K 10 svn:author V 3 jmg K 8 svn:date V 27 2014-08-09T20:40:03.761480Z K 7 svn:log V 49 add my scripts to measure io latency per disk... END K 10 svn:author V 5 hiren K 8 svn:date V 27 2014-08-09T21:01:24.125146Z K 7 svn:log V 107 Improve comments by listing a criteria for automatic increment of receive socket buffer. Reviewed by: jmg END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-08-09T22:51:26.842155Z K 7 svn:log V 160 Per discussion on arm@, the compiler generates misaligned relocations. Cope with memcpy when needed. Submitted by: fabient@ (plus changes suggested by thread) END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2014-08-10T00:03:40.565249Z K 7 svn:log V 404 Improve the random source port selection VXLAN uses a random source port to ensure a reasonable distribution of the encapsulated packet flows. If available, use the RSS hash of the inner packet. Otherwise, use a constant hash based on the inner frame Ethernet header. The previous code would select a different source port for each frame, potentially causing out of order processing on the destination. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-08-10T00:23:57.570269Z K 7 svn:log V 111 Use a separate variable for resource id, because 'i' may increment at a rate greater than 1 on each iteration. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-08-10T00:30:12.382530Z K 7 svn:log V 120 Handle various ways that interrupt config data can be malformed by warning and assuming more or less reasonable values. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2014-08-10T01:13:32.482860Z K 7 svn:log V 173 Change the NFS server's printf related to hitting the DRC cache's flood level so that it suggests increasing vfs.nfsd.tcphighwater. Suggested by: h.schmalzbauer@omnilan.de END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-08-10T03:09:35.893831Z K 7 svn:log V 11 Fix paths. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-08-10T05:58:41.708643Z K 7 svn:log V 524 MFC r269118: MFV r269010: Import Illumos changes to address the following Illumos issues: 4976 zfs should only avoid writing to a failing non-redundant top-level vdev 4978 ztest fails in get_metaslab_refcount() 4979 extend free space histogram to device and pool 4980 metaslabs should have a fragmentation metric 4981 remove fragmented ops vector from block allocator 4982 space_map object should proactively upgrade when feature is enabled 4984 device selection should use fragmentation metric END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-08-10T06:10:21.824723Z K 7 svn:log V 56 MFC r269138: Add two sysctls for newly added tunables. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2014-08-10T06:43:40.035085Z K 7 svn:log V 214 Fix a few problems with the USDT probes: * Include OBJDIR to make sure the generated file is found; * Simplify the definition of OBJS; * Add targets for shared objects and for profiled objects. MFC after: 3 days END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2014-08-10T06:56:43.107142Z K 7 svn:log V 98 Remove the BROKEN_LIBELF section. This problem was fixed by Kai Wang in 2011. MFC after: 3 days END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-08-10T07:51:55.544101Z K 7 svn:log V 177 Fix string length argument passed to "sysctl_handle_string()" so that the complete string is returned by the function and not just only one byte. PR: 192544 MFC after: 2 weeks END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-08-10T08:35:42.450981Z K 7 svn:log V 765 Undo r195846 for now - allow raw frame transmit in monitor mode. The original commit was supposed to stop the ability to do raw frame injection in monitor mode to arbitrary channels (whether supported by regulatory or not) however it doesn't seem to have been followed by any useful way of doing it. Apparently AHDEMO is supposed to be that way, but it seems to require too much fiddly things (disable scanning, set a garbage SSID, etc) for it to actually be useful for spoofing things. So for now let's just disable it and instead look to filter transmit in the output path if the channel isn't allowed by regulatory. That way monitor RX works fine but TX will be blocked. I don't plan on MFC'ing this to -10 until the regulatory enforcement bits are written. END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2014-08-10T14:55:39.615249Z K 7 svn:log V 496 fbd: Fix a bug where vt_fb_attach() success would be considered a failure vt_fb_attach() currently always returns 0, but it could return a code defined in errno.h. However, it doesn't return a CN_* code. So checking its return value against CN_DEAD (which is 0) is incorrect, and in this case, a success becomes a failure. The consequence was unimportant, because the caller (drm_fb_helper.c) would only log an error message in this case. The console would still work. Approved by: nwhitehorn END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2014-08-10T15:02:51.550090Z K 7 svn:log V 648 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" MFC after: 1 week END K 10 svn:author V 3 ume K 8 svn:date V 27 2014-08-10T15:21:26.590764Z K 7 svn:log V 26 We don't use these files. END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-08-10T16:59:39.541454Z K 7 svn:log V 276 On sparc64, do not keep mappings for the destroyed sf_bufs. Sparc64 pmap, unlike i386, and similar to i386/xen pv, does not tolerate abandoned mappings for the freed pages. Reported and tested by: dumbbell Diagnosed and reviewed by: alc Sponsored by: The FreeBSD Foundation END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2014-08-10T17:04:10.340250Z K 7 svn:log V 1240 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. This commit includes a fix to creator_vt.c, submitted by Nathan Whitehorn: fb_cmsize is set to 16. Before this, the generated palette would be overwritte. This fixes colors on sparc64 with a Creator3D adapter. While here, tune the palette to better match console colors and improve the readability (especially the dark blue). Submitted by: nwhitehorn (fix to creator_vt.c) MFC after: 1 week END K 10 svn:author V 5 jceel K 8 svn:date V 27 2014-08-10T17:08:28.783317Z K 7 svn:log V 71 Create a branch for working on new ARM interrupt controller interface. END K 10 svn:author V 5 jceel K 8 svn:date V 27 2014-08-10T18:11:17.686655Z K 7 svn:log V 37 Populate branch from head/ @r269784. END K 10 svn:author V 5 jceel K 8 svn:date V 27 2014-08-10T18:12:57.921459Z K 7 svn:log V 29 Erm, let's start over again. END K 10 svn:author V 5 jceel K 8 svn:date V 27 2014-08-10T18:13:50.393331Z K 7 svn:log V 71 Create a branch for working on new ARM interrupt controller interface. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2014-08-10T20:05:13.066591Z K 7 svn:log V 141 Document the use of the vfs.nfsd sysctls that control the size of the NFS server's DRC for TCP. This is a content change. MFC after: 1 week END K 10 svn:author V 5 gavin K 8 svn:date V 27 2014-08-10T21:17:19.961929Z K 7 svn:log V 285 Merge r269489 from head (by peter): r262867 was described as fixing socket buffer checks for SOCK_SEQPACKET, but also changed one of the SOCK_DGRAM code paths to use the new sbappendaddr_nospacecheck_locked() function. This lead to SOCK_DGRAM bypassing socket buffer limits. END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2014-08-10T21:45:58.161790Z K 7 svn:log V 188 MFC r268954 Merge change from upstream linux kernel submitted by OpenBSD: drm/radeon: fix-up some float to fixed conversion thinkos Remove #ifdef DUMBBELL_WIP in favor of upstream fix. END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2014-08-10T22:24:14.301410Z K 7 svn:log V 114 Fix two files forgotten in r269783 (vt_generate_cons_palette) Reported by: bz MFC after: 1 week MFC with: 269783 END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-08-10T22:26:29.417580Z K 7 svn:log V 258 MFC r268993, r268893, r268994, plus partial r264070, r264082 Fix C++ exception handling for ARM EABI. Just the part of r264070 that creates the FBSD_1.4 namespace in libc is hand-applied, and then r264082 which creates the Versions.def entry is MFC'd. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-08-11T00:03:50.646752Z K 7 svn:log V 50 Add some more OS_MARK() probes to the AR9300 HAL. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-08-11T01:10:15.955655Z K 7 svn:log V 471 MFC r269206, r269207, r269208, r269209, r269210, r269211, r269212, r269213, r269214, r269215, r269216, r269217, r269221: busdma-v6 improvements, primarily: - Allocate the temporary segments array per-map rather than per-tag. - Avoid needlessly bouncing IO for mbufs and buffers allocated by bus_dmamem_alloc() (in both situations we known they're allocated on cacheline boundaries and don't need bouncing). - Various minor reformatting and cleanups. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-08-11T01:22:10.150844Z K 7 svn:log V 77 MFC r269341: Populate disk->d_ident with the sd or mmc card's serial number. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-08-11T01:29:28.712627Z K 7 svn:log V 75 MFC r269390: Fix unwind info in hand-written asm (avoid nested functions). END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-08-11T01:48:00.580731Z K 7 svn:log V 174 MFC r269393, r269394, r269395: Fix parsing of arch extensions in binutils/gas. Use ".arch_extension sec" when compiling ARM TI code that uses the security extensions. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-08-11T02:20:24.085059Z K 7 svn:log V 213 MFC r269403, r269405, r269410, r269414: Add 64-bit atomic ops for armv6, and also for armv4 only in kernel code. Use the new ops in the cddl code (and avoid defining functions with the same names locally). END K 10 svn:author V 6 araujo K 8 svn:date V 27 2014-08-11T03:04:16.053297Z K 7 svn:log V 80 - Remove unneeded include. Phabric: D563 Reviewed by: kevlo Approved by: kevlo END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-08-11T06:54:07.498977Z K 7 svn:log V 343 MFC r269180: When interval is set to very small value with limited amount of packets, ping6(8) would quit before the remote side gets a chance to respond. Solve this by resetting the itimer when we have reached the maximum packet number have reached, but let the other handling to continue. PR: bin/151023 Submitted by: tjmao at tjmao.net END K 10 svn:author V 3 pho K 8 svn:date V 27 2014-08-11T06:55:41.969925Z K 7 svn:log V 88 Added two socketpair(2) regression tests. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-08-11T07:00:57.048052Z K 7 svn:log V 352 MFC r269180: When interval is set to very small value with limited amount of packets, ping6(8) would quit before the remote side gets a chance to respond. Solve this by resetting the itimer when we have reached the maximum packet number have reached, but let the other handling to continue. PR: bin/151023 Submitted by: tjmao at tjmao.net END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-08-11T07:01:29.464943Z K 7 svn:log V 352 MFC r269180: When interval is set to very small value with limited amount of packets, ping6(8) would quit before the remote side gets a chance to respond. Solve this by resetting the itimer when we have reached the maximum packet number have reached, but let the other handling to continue. PR: bin/151023 Submitted by: tjmao at tjmao.net END K 10 svn:author V 3 pho K 8 svn:date V 27 2014-08-11T07:04:08.962867Z K 7 svn:log V 108 Let procfs.sh be less verbose and added two procfs scenarios. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 3 smh K 8 svn:date V 27 2014-08-11T08:58:35.753817Z K 7 svn:log V 357 MFC r269522 Added support for extra ifconfig args to jail ip4.addr & ip6.addr params This allows for CARP interfaces to be used in jails e.g. ip4.addr = "em0|10.10.1.20/32 vhid 1 pass MyPass advskew 100" r269340 will not be MFC'ed as mentioned due to the slim window and the amount of additional commits required to support it. Sponsored by: Multiplay END