ƒ¹269493 140 235 162 222 162 445 509 363 190 179 366 464 219 224 276 1135 496 373 898 656 994 865 598 770 183 152 168 676 888 888 605 380 312 206 139 244 170 267 149 543 543 389 368 118 186 309 137 302 305 464 538 361 314 314 162 162 196 326 463 189 272 259 219 198 1016 1016 241 159 215 238 169 154 278 182 158 180 131 249 250 195 148 160 159 229 312 709 199 132 946 380 207 530 345 179 308 295 163 139 177 159 2789 2820 148 2820 215 222 303 337 255 522 151 349 371 210 1220 208 229 162 645 204 367 447 301 447 255 659 280 145 313 725 275 296 291 273 127 189 188 385 495 445 220 K 10 svn:author V 3 kib K 8 svn:date V 27 2014-08-04T01:10:47.619093Z K 7 svn:log V 142 MFC r269187: Assert that nullfs vnode has VV_ROOT set whenever lower vnode has. Assert that dotdot lookup on the root vnode is not performed. END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-08-04T01:12:49.467661Z K 7 svn:log V 70 MFC r269189: Initialize zfs vnode v_hash when the vnode is allocated. END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-08-04T01:14:27.929941Z K 7 svn:log V 129 MFC r269190: For md(4), posix shm(3) and tmpfs(5), free swap space used by paged in dirty page, which is written by the process. END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-08-04T01:16:08.245474Z K 7 svn:log V 70 MFC r269189: Initialize zfs vnode v_hash when the vnode is allocated. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-08-04T01:16:20.713454Z K 7 svn:log V 352 Add support for Windows dialect of EXTENDED COPY command, aka Microsoft ODX. This allows to avoid extra network traffic when copying files on NTFS iSCSI disks within one storage host by drag'n'dropping them in Windows Explorer of Windows 8/2012. It should also accelerate Hyper-V VM operations, etc. MFC after: 2 weeks Sponsored by: iXsystems, Inc. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-08-04T03:59:48.225658Z K 7 svn:log V 416 MFC r269289, r269290, r269291, r269292, r269293: r269289: sort(1): Remove trailing '.' from See Also section. r269290: acpi_wmi(4): Remove trailing comma from standalone Xref. r269291: hptiop(4): Remove trailing comma from ending Xref. r269292: pf.conf(5): Remove trailing comma from ending Xref. r269293: kernel_mount(9): Remove trailing comma from ending Xref. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-08-04T04:00:48.234345Z K 7 svn:log V 270 MFC r269290, r269291, r269293: r269290: acpi_wmi(4): Remove trailing comma from standalone Xref. r269291: hptiop(4): Remove trailing comma from ending Xref. r269293: kernel_mount(9): Remove trailing comma from ending Xref. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-08-04T04:21:32.644944Z K 7 svn:log V 95 Make the ixgbe(4) module buildable outside of the tree. It defaults to RSS not being enabled. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-08-04T04:23:45.557089Z K 7 svn:log V 84 Make igb(4) build outside of the kernel build. Ths defaults to RSS being disabled. END K 10 svn:author V 6 davide K 8 svn:date V 27 2014-08-04T05:40:51.758244Z K 7 svn:log V 270 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. CR: https://phabric.freebsd.org/D433 Reported by: demon Reviewed by: bde [1], jhb [2] MFC after: 2 weeks END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-08-04T05:45:09.640292Z K 7 svn:log V 370 Remove hardcoded path to TESTSDIR (Makefile, ld_library_pathfds.c) at build time by using atf_tc_get_config_var(tc, "srcdir")) This will allow end-users to move the binaries to different locations after they've been built without having to rebuild the binaries with the new paths Phabric: D525 (part of a larger patch) Reviewed by: jmmv Approved by: jmmv (co-mentor) END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-08-04T05:46:10.144031Z K 7 svn:log V 125 Fix a -Wsecurity warning with clang Phabric: D525 (part of a larger patch) Reviewed by: jmmv Approved by: jmmv (co-mentor) END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-08-04T05:49:13.630212Z K 7 svn:log V 130 Move a -L argument from LDADD to LDFLAGS Phabric: D525 (part of a larger patch) Reviewed by: jmmv Approved by: jmmv (co-mentor) END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-08-04T05:50:21.709760Z K 7 svn:log V 182 Fix BINDIR to not duplicate "${TESTSDIR} This should fix 'make release' with MK_TESTS != no Phabric: D525 (part of a larger patch) Reviewed by: jmmv Approved by: jmmv (co-mentor) END K 10 svn:author V 6 royger K 8 svn:date V 27 2014-08-04T08:42:29.369591Z K 7 svn:log V 1038 xen: implement event channel PIRQ support This allows Dom0 to manage physical hardware, redirecting the physical interrupts to event channels. Sponsored by: Citrix Systems R&D x86/xen/xen_intr.c: - Expand struct xenisrc to hold the level and triggering of PIRQ event channels. - Implement missing methods in xen_intr_pirq_pic. - Allow xen_intr_alloc_isrc to take a vector parameter that globally identifies the interrupt. This is only used for PIRQs that are bound to a specific hardware IRQ. - Introduce xen_register_pirq used to register IO APIC legacy PIRQ interrupts. - Add support for the dynamic PIRQ EOI map, this shared memory is modified by Xen (if it suppoorts that feature), and notifies the guest if an EOI is needed or not. If it's not available fall back to the old implementation using PHYSDEVOP_irq_status_query. - Rename xen_intr_isrc_count to xen_intr_auto_vector_count and replace it's usages. - Align static variables by name. xen/xen_intr.h: - Add prototype for xen_register_pirq. END K 10 svn:author V 6 royger K 8 svn:date V 27 2014-08-04T08:43:27.632005Z K 7 svn:log V 400 xen: mask all event channels on init Mask all event channels during initialization. This is done so that we don't receive spurious interrupts while dynamically registering new event channels. There's a small window during registration where an event channel can fire before we have attached a handler to it. Sponsored by: Citrix Systems R&D x86/xen/xen_intr.c: - Mask all event channels on init. END K 10 svn:author V 6 royger K 8 svn:date V 27 2014-08-04T08:52:10.491537Z K 7 svn:log V 277 xen: add a DDB command to print event channel information Add a new DDB command to dump all registered event channels. Sponsored by: Citrix Systems R&D x86/xen/xen_intr.c: - Add a new xen_evtchn command to DDB in order to dump all information related to event channels. END K 10 svn:author V 6 royger K 8 svn:date V 27 2014-08-04T08:54:34.196158Z K 7 svn:log V 802 xen: change order of Xen intr init and IO APIC registration This change inserts the Xen interrupt subsystem (event channels) initialization between the system interrupt initialization and the IO APIC source registration. This is needed when running on Dom0, that routes physical interrupts on top of event channels, so that the interrupt sources found during IO APIC initialization can be registered using the Xen interrupt subsystem. The resulting order in the SI_SUB_INTR stage is the following: - System intr initialization - Xen intr initalization - IO APIC source registration Sponsored by: Citrix Systems R&D x86/x86/local_apic.c: - Change order of apic_setup_io to be called after xen interrupt subsystem is setup. x86/xen/xen_intr.c: - Init Xen event channels before apic_setup_io. END K 10 svn:author V 6 royger K 8 svn:date V 27 2014-08-04T08:56:20.965303Z K 7 svn:log V 560 xen: change quality of the MADT ACPI enumerator Lower the quality of the MADT ACPI enumerator, so on Xen Dom0 we can force the usage of the Xen mptable enumerator even when ACPI is detected. This is needed because Xen might restrict the number of vCPUs available to Dom0, but the MADT ACPI table parsed in FreeBSD is the native one (which enumerates all the CPUs available in the system). Sponsored by: Citrix Systems R&D Reviewed by: gibbs x86/acpica/madt.c: - Lower MADT enumerator quality to -50. x86/xen/pvcpu_enum.c: - Rise Xen PV enumerator to 0. END K 10 svn:author V 6 royger K 8 svn:date V 27 2014-08-04T08:58:50.662641Z K 7 svn:log V 898 x86/madt: make the interrupt override parser a public function Split a portion of the code in madt_parse_interrupt_override to a separate function, that is public and can be used from other code. This will be needed by the Xen port, since FreeBSD needs to parse the interrupt overrides and notify Xen about them. This commit should not introduce any functional change. Sponsored by: Citrix Systems R&D Reviewed by: jhb, gibbs x86/acpica/madt.c: - Introduce madt_parse_interrupt_values() that parses the intr information from ACPI and returns the triggering and the polarity. This is a subset of the functionality that used to be part of madt_parse_interrupt_override(). - Make madt_found_sci_override a global variable that can be used from other files. x86/include/acpica_machdep.h: - Prototype of madt_parse_interrupt_values. - Extern declaration of madt_found_sci_override. END K 10 svn:author V 6 royger K 8 svn:date V 27 2014-08-04T09:01:21.163447Z K 7 svn:log V 769 xen: implement support for mapping IO APIC interrupts on Xen Allow a privileged Xen guest (Dom0) to parse the MADT ACPI interrupt overrides and register them with the interrupt subsystem. Also add a Xen specific implementation for bus_config_intr that registers interrupts on demand for all the vectors less than FIRST_MSI_INT. Sponsored by: Citrix Systems R&D x86/xen/pvcpu_enum.c: - Use helper functions from x86/acpica/madt.c in order to parse interrupt overrides from the MADT. - Walk the MADT and register any interrupt override with the interrupt subsystem. x86/xen/xen_nexus.c: - Add a custom bus_config_intr method for Xen that intercepts calls to configure unset interrupts and registers them on the fly (if the vector is < FIRST_MSI_INT). END K 10 svn:author V 6 royger K 8 svn:date V 27 2014-08-04T09:02:49.130360Z K 7 svn:log V 502 xen: Dom0 console fixes Minor fixes to make the Xen Dom0 console work. This includes always returning there's pending input in xencons_has_input, because on Dom0 there's no shared ring and we cannot test the indexes. The second fix is to use the CONSOLEIO_read hypercall in order to read input data from the Xen console. Sponsored by: Citrix Systems R&D dev/xen/console/xencons_ring.c: - Always return true in xencons_has_input for Dom0. - Implement Dom0 console support for xencons_handle_input. END K 10 svn:author V 6 royger K 8 svn:date V 27 2014-08-04T09:05:28.765258Z K 7 svn:log V 674 xen: add ACPI bus to xen_nexus when running as Dom0 Also disable a couple of ACPI devices that are not usable under Dom0. To this end a couple of booleans are added that allow disabling ACPI specific devices. Sponsored by: Citrix Systems R&D Reviewed by: jhb x86/xen/xen_nexus.c: - Return BUS_PROBE_SPECIFIC in the Xen Nexus attachement routine to force the usage of the Xen Nexus. - Attach the ACPI bus when running as Dom0. dev/acpica/acpi_cpu.c: dev/acpica/acpi_hpet.c: dev/acpica/acpi_timer.c - Add a variable that gates the addition of the devices. x86/include/init.h: - Declare variables that control the attachment of ACPI cpu, hpet and timer devices. END K 10 svn:author V 3 pho K 8 svn:date V 27 2014-08-04T12:23:34.772743Z K 7 svn:log V 91 Added a new cross mount point test scenario. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 3 pho K 8 svn:date V 27 2014-08-04T12:24:17.292790Z K 7 svn:log V 60 Fixed a typo. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 3 pho K 8 svn:date V 27 2014-08-04T12:25:36.484790Z K 7 svn:log V 76 Added a ext2fs test scenario. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-08-04T14:56:49.928294Z K 7 svn:log V 583 MFC r269125: In r232153, libarchive 3.0.3 was imported, replacing the archive_hash.h header with archive_crypto_private.h, and its ARCHIVE_HASH_xxx macros were renamed to ARCHIVE_CRYPTO_xxx. Rename these macros in lib/libarchive/config_freebsd.h, to re-enable the hashes for libarchive again. This affects the mtree format writer, and the xar format reader and writer modules. This also requires changes in the library order for statically linking rescue, otherwise ld would complain about redefined symbols. Thanks to jkim for pointing out the solution. Reviewed by: kientzle END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-08-04T15:36:22.719518Z K 7 svn:log V 793 MFC r256571: Add a function, memstr, which can be used to convert a buffer of null-separated strings to a single string. This can be used to print the full arguments of a process using execsnoop (from the DTrace toolkit) or with the following one-liner: dtrace -n 'syscall::execve:return {trace(curpsinfo->pr_psargs);}' Note that this relies on the process arguments being cached via the struct proc, which means that it will not work for argvs longer than kern.ps_arg_cache_limit. However, the following rather non-portable script can be used to extract any argv at exec time: fbt::kern_execve:entry { printf("%s", memstr(args[1]->begin_argv, ' ', args[1]->begin_envv - args[1]->begin_argv)); } The debug.dtrace.memstr_max sysctl limits the maximum argument size to memstr(). END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-08-04T15:36:23.861660Z K 7 svn:log V 793 MFC r256571: Add a function, memstr, which can be used to convert a buffer of null-separated strings to a single string. This can be used to print the full arguments of a process using execsnoop (from the DTrace toolkit) or with the following one-liner: dtrace -n 'syscall::execve:return {trace(curpsinfo->pr_psargs);}' Note that this relies on the process arguments being cached via the struct proc, which means that it will not work for argvs longer than kern.ps_arg_cache_limit. However, the following rather non-portable script can be used to extract any argv at exec time: fbt::kern_execve:entry { printf("%s", memstr(args[1]->begin_argv, ' ', args[1]->begin_envv - args[1]->begin_argv)); } The debug.dtrace.memstr_max sysctl limits the maximum argument size to memstr(). END K 10 svn:author V 3 smh K 8 svn:date V 27 2014-08-04T16:32:08.601619Z K 7 svn:log V 512 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" Before this change using exec.prestart to configure a CARP address would result in the wrong MAC being broadcast on startup as jail creates IP aliases to support ip[4|6].addr before exec.prestart is executed. PR: 191832 Reviewed by: jamie MFC after: 1 week X-MFC-With: r269340 Phabric: D528 Sponsored by: Multiplay END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-08-04T16:41:06.947084Z K 7 svn:log V 287 set EXT2_LINK_MAX to LINK_MAX In linux EXT4_LINK_MAX is now 64000. We can't really do that since i_nlink and va_nlink are signed so setting higher values is likely to cause trouble. This is a system limitation so set the EXT_LINK_MAX to what the system can handle. MFC after: 3 days END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-08-04T18:52:26.161273Z K 7 svn:log V 217 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). MFC after: 2 weeks END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-08-04T19:02:30.193574Z K 7 svn:log V 111 Return 0 for the PPID of threads in process 0, as process 0 doesn't have a parent process. MFC after: 2 weeks END K 10 svn:author V 5 hiren K 8 svn:date V 27 2014-08-04T19:42:48.442870Z K 7 svn:log V 45 Add a comment for easier code understanding. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-08-04T20:07:35.752645Z K 7 svn:log V 148 Add support for the SCTP_RECONFIG_SUPPORTED and the corresponding sysctl controlling the negotiation of the RE-CONFIG extension. MFC after: 3 days END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-08-04T20:50:46.649407Z K 7 svn:log V 78 Bring in the latest standard defines for imx6 clocks referenced in dts files. END K 10 svn:author V 3 jmg K 8 svn:date V 27 2014-08-04T20:58:59.684748Z K 7 svn:log V 174 add xrefs for the other functions... There should be more text in this page talking about each of these links, but at least people know about them now... MFC after: 1 week END K 10 svn:author V 3 jmg K 8 svn:date V 27 2014-08-04T21:12:38.968896Z K 7 svn:log V 57 fix misordering... Obtained from: gjb MFC after: 1 week END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-08-04T21:41:00.089177Z K 7 svn:log V 448 MFC r256822: When fetching function arguments out of a frame on amd64, explicitly select the register based on the argument index rather than relying on the fields in struct reg to be in the right order. This assumption is incorrect on FreeBSD and generally led to bogus argument values for the sixth argument of PID and USDT probes; the first five are passed directly to dtrace_probe() via the fasttrap trap handler and so were correctly handled. END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-08-04T21:41:01.039992Z K 7 svn:log V 448 MFC r256822: When fetching function arguments out of a frame on amd64, explicitly select the register based on the argument index rather than relying on the fields in struct reg to be in the right order. This assumption is incorrect on FreeBSD and generally led to bogus argument values for the sixth argument of PID and USDT probes; the first five are passed directly to dtrace_probe() via the fasttrap trap handler and so were correctly handled. END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2014-08-04T22:03:58.583051Z K 7 svn:log V 291 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 END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-08-04T22:10:07.920475Z K 7 svn:log V 274 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 END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-08-04T22:27:21.451927Z K 7 svn:log V 25 Create my user directory END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-08-04T22:31:09.269129Z K 7 svn:log V 93 Create a branch for cherrypicking larger batches of test-related changes from my GitHub fork END K 10 svn:author V 2 np K 8 svn:date V 27 2014-08-04T22:32:16.863819Z K 7 svn:log V 217 cxgbe(4): Do not run any sleepable code in the SIOCSIFFLAGS handler when IFF_PROMISC or IFF_ALLMULTI is being flipped. bpf(4) holds its global mutex around ifpromisc in at least the bpf_dtor path. MFC after: 3 days END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-08-04T22:34:12.998399Z K 7 svn:log V 45 Remove unnecessary inclusions of bsd.own.mk. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-08-04T22:34:56.896266Z K 7 svn:log V 209 Include the kernel options after bsd.init.mk so that when we're compiling on older systems that define all the MK variables in bsd.own.mk we don't get the multiply defined error for options that live in both. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-08-04T22:37:02.302528Z K 7 svn:log V 212 Move most of the 15 variations on generating opt_inet.h and opt_inet6.h into kmod.mk by forcing almost everybody to eat the same dogfood. While at it, consolidate the opt_bpf.h and opt_mroute.h targets here too. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2014-08-04T23:00:13.751389Z K 7 svn:log V 368 Merge from CheriBSD: Make the sysinit tool a build tool rather than building in with /usr/bin/cc and running it from OBJDIR. (It will be moved to usr.bin once a manpage is written and a few style cleanups are done.) Split the makefile bits for Hans' kernel shim layer into their own includable kshim.mk. Move USB support into a .mk file so loaders can include it. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-08-04T23:57:46.610426Z K 7 svn:log V 441 5049 panic when removing log device Reviewed by: George Wilson Reviewed by: Mattew Ahrens Reviewed by: Paul Dagnelie Reviewed by: Dan Kimmel Reviewed by: Saso Kiselkov Approved by: Rich Lowe Author: Alex Reece illumos/illumos-gate@2986efa8094ce00f75df27fb74a184c65c38614a END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-08-05T00:07:21.927982Z K 7 svn:log V 264 MFV r269542: In vdev_get_stats, check that the vdev is not a hole before computing the fragmentation. This fixes a panic when removing log device. Illumos issue: 5049 panic when removing log device Author: Alex Reece MFC after: 2 weeks END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-08-05T00:25:19.413641Z K 7 svn:log V 219 MFC r267706: Allow creation of SDT probes from a module in which no providers are defined. This ensures that the sdt:zfs:: probes appear despite the fact the sdt provider is defined in the kernel rather than in zfs.ko. END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-08-05T00:25:46.533048Z K 7 svn:log V 219 MFC r267706: Allow creation of SDT probes from a module in which no providers are defined. This ensures that the sdt:zfs:: probes appear despite the fact the sdt provider is defined in the kernel rather than in zfs.ko. END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-08-05T01:03:10.688412Z K 7 svn:log V 68 MFC r268584: Add a headphone redirection quirk for the Lenovo G580. END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-08-05T01:03:11.710643Z K 7 svn:log V 68 MFC r268584: Add a headphone redirection quirk for the Lenovo G580. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-08-05T01:25:14.591947Z K 7 svn:log V 103 Revert r269523: Providing a higher EXT2_LINK_MAX limit is a bad idea for ext2/3. Discussed with: bde END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-08-05T01:29:02.328814Z K 7 svn:log V 233 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. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 peter K 8 svn:date V 27 2014-08-05T01:32:09.736832Z K 7 svn:log V 368 Check gethostname(2) return code - but even if it succeeds it may not null terminate. Temporarily use "From: $user@$hostname" rather than "From: $user". The latter exposes incompatible behavior if using dma(8). sendmail(8) (and other alternatives) canonify either form on submission (even if masquerading), but dma will leak a non-compliant address to the internet. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-08-05T01:38:24.085726Z K 7 svn:log V 97 Define load_chroot_env() and load_target_env() prototypes. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-08-05T01:42:01.337160Z K 7 svn:log V 179 Call load_chroot_env() and load_target_env() where they can be mutually conflicting with regard to TARGET, TARGET_ARCH, XDEV, and XDEV_ARCH. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-08-05T01:44:21.493634Z K 7 svn:log V 166 Add shebang line to arm/*.conf files since these should be considered to be executable (albeit not on their own) shell scripts. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-08-05T01:47:07.408418Z K 7 svn:log V 126 Redefine load_chroot_env() and load_target_env() in the arm/*.conf files, and reindent. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-08-05T01:49:30.234656Z K 7 svn:log V 105 Simplify where load_chroot_env() and load_target_env() are called. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-08-05T01:53:14.392742Z K 7 svn:log V 921 MFC r267759, r267761 r267759: Fix a couple of bugs on amd64 when fetching probe arguments beyond the first five for probes entered through a UD fault (i.e. FBT probes). Specifically, handle the fact that dtrace_invop_callsite must be 16 byte-aligned and thus may not immediately follow the call to dtrace_invop() in dtrace_invop_start(). Also fetch register arguments and the stack pointer through a struct trapframe instead of a struct reg. r267761: Fix some bugs when fetching probe arguments in i386. Firstly ensure that the 4 byte-aligned dtrace_invop_callsite can be found and that it immediately follows the call to dtrace_invop(). Secondly, fix some pointer arithmetic to account for differences between struct i386_frame and illumos' struct frame. Finally, ensure that dtrace_getarg() isn't inlined. It works by following a fixed number of frame pointers to the probe site, so inlining breaks it. PR: 191260 END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-08-05T01:53:15.546981Z K 7 svn:log V 921 MFC r267759, r267761 r267759: Fix a couple of bugs on amd64 when fetching probe arguments beyond the first five for probes entered through a UD fault (i.e. FBT probes). Specifically, handle the fact that dtrace_invop_callsite must be 16 byte-aligned and thus may not immediately follow the call to dtrace_invop() in dtrace_invop_start(). Also fetch register arguments and the stack pointer through a struct trapframe instead of a struct reg. r267761: Fix some bugs when fetching probe arguments in i386. Firstly ensure that the 4 byte-aligned dtrace_invop_callsite can be found and that it immediately follows the call to dtrace_invop(). Secondly, fix some pointer arithmetic to account for differences between struct i386_frame and illumos' struct frame. Finally, ensure that dtrace_getarg() isn't inlined. It works by following a fixed number of frame pointers to the probe site, so inlining breaks it. PR: 191260 END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-08-05T02:02:18.513228Z K 7 svn:log V 148 Provide example in release.conf.sample for overriding the load_chroot_env() and load_target_env() prototypes. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-08-05T02:02:36.951721Z K 7 svn:log V 67 Remove a gratuitous newline. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-08-05T02:06:21.226601Z K 7 svn:log V 122 Unset potentially conflicting variables in load_chroot_env() and load_target_env(). Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-08-05T02:22:58.108603Z K 7 svn:log V 145 Make global variables global, and accessible outside of the functions within which they were once defined. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-08-05T05:00:22.904698Z K 7 svn:log V 77 MFC r269244: Remove one-time use macros which check for the vnode lifecycle. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-08-05T06:31:09.832799Z K 7 svn:log V 57 Ensure we catch USB transfers which complete right away. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-08-05T06:33:59.931692Z K 7 svn:log V 180 - Implement fast interrupt handler to save CPU usage. - Add support for striding register offsets. - Cleanup some register reads and writes to use existing register access macros. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-08-05T06:37:07.239249Z K 7 svn:log V 85 Rename driver name a bit to avoid unit number confusion in dmesg. MFC after: 3 days END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-08-05T06:38:21.005740Z K 7 svn:log V 61 Fix for deadlock in USB device side mode. MFC after: 3 days END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-08-05T07:03:16.737537Z K 7 svn:log V 83 Add new USB phone descriptor template for USB device side mode. MFC after: 3 days END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-08-05T08:00:01.762100Z K 7 svn:log V 36 Allow early static devmaps on arm64 END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2014-08-05T08:24:41.326696Z K 7 svn:log V 152 Remove unused defines. Fix some device_printf's that were missing '\n' at the end or had speling errors. PR: 145319 Submitted by: rozhuk.im gmail.com END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-08-05T08:28:29.304483Z K 7 svn:log V 157 MFC r269441: Add missing comparisons to make list IDs in EXTENDED COPY per-initiator, as they should be. Wrap it into a function to not duplicate the code. END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2014-08-05T08:29:16.273287Z K 7 svn:log V 99 Add ID for Novatel MC990D to u3g. PR: 145319 Submitted by: rozhuk.im gmail.com MFC after: 3 days END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-08-05T08:29:24.918155Z K 7 svn:log V 56 MFC r269442: Fix some bugs in RECEIVE COPY STATUS data. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-08-05T08:30:07.837401Z K 7 svn:log V 65 Reserve the devmap kva and make sure it has l3 tables allocated. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-08-05T08:30:38.613153Z K 7 svn:log V 67 MFC r269444, r269450: Plug EXTENDED COPY request data memory leak. END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2014-08-05T08:48:24.557212Z K 7 svn:log V 132 Reset the error value in the softc before starting a BBB transfer. PR: 145319 Submitted by: rozhuk.im gmail.com MFC after: 3 days END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2014-08-05T09:35:25.215206Z K 7 svn:log V 215 Add a second Huawei SCSI eject command as USB mode switch config files sometimes use one or the other. Maybe newer Huawei modems switched. Add a quirk for it as well. PR: 145319 Submitted by: rozhuk.im gmail.com END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-08-05T09:44:10.662800Z K 7 svn:log V 612 Merge all MD sf_buf allocators into one MI, residing in kern/subr_sfbuf.c The MD allocators were very common, however there were some minor differencies. These differencies were all consolidated in the MI allocator, under ifdefs. The defines from machine/vmparam.h turn on features required for a particular machine. For details look in the comment in sys/sf_buf.h. As result no MD code left in sys/*/*/vm_machdep.c. Some arches still have machine/sf_buf.h, which is usually quite small. Tested by: glebius (i386), tuexen (arm32), kevlo (arm32) Reviewed by: kib Sponsored by: Netflix Sponsored by: Nginx, Inc. END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2014-08-05T09:59:16.230510Z K 7 svn:log V 102 Return USB_ERR_INVAL if the eject method is not known. PR: 145319 Submitted by: rozhuk.im gmail.com END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-08-05T10:08:59.172368Z K 7 svn:log V 36 Merge head r258543 through r269578. END K 10 svn:author V 6 royger K 8 svn:date V 27 2014-08-05T10:29:01.457023Z K 7 svn:log V 850 vm_phys: improve robustness of fictitious ranges With the current implementation of managed fictitious ranges when also using VM_PHYSSEG_DENSE, a user could try to register a fictitious range that starts inside of vm_page_array, but then overrruns it (because the end of the fictitious range is greater than vm_page_array_size + first_page). This would result in PHYS_TO_VM_PAGE returning unallocated pages from past the end of vm_page_array. The same could happen if a user tried to register a segment that starts outside of vm_page_array but ends inside of it. In order to fix this, allow vm_phys_fictitious_{reg/unreg}_range to use a set of pages from vm_page_array, and allocate the rest. Sponsored by: Citrix Systems R&D Reviewed by: kib, alc vm/vm_phys.c: - Allow registering/unregistering fictitious ranges that overrun vm_page_array. END K 10 svn:author V 2 bz K 8 svn:date V 27 2014-08-05T10:48:53.399272Z K 7 svn:log V 288 Revert the logic change from r269540. If the opt_inet6.h file is empty we set MK_INET6_SUPPORT to no, not if we do define INET6. This way we do not try to build IPv6 parts in if the kernel doesn't support them. This unbreaks several kernel configurations building modules but no INET6. END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2014-08-05T11:50:16.458777Z K 7 svn:log V 110 don't OR integer error values together as this does not make sense. Instead bail on the first failed command. END K 10 svn:author V 2 bz K 8 svn:date V 27 2014-08-05T12:04:40.368732Z K 7 svn:log V 438 Provide -o vers= support for mount_nfs. Our mount_nfs does use -o nfsv<2|3|4> or -2 or -3 to specify the version. OSX (these days), Solaris, and Linux use -o vers=<2,3,4>. With the upcoming autofs support we can make a lot of (entrerprisy) setups getting mount options from LDAP just work by providing -o vers= compatibility. PR: 192379 Reviewed by: wblock, bjk (man page), rmacklem, emaste MFC after: 3 days Sponsored by: DARPA,AFRL END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2014-08-05T12:08:50.535793Z K 7 svn:log V 248 Add support for Huawei E3272 modems which are supported by the CDC ethernet class. Note: This is untested as I do not have a device like this. That is reflected in the MFC timeout. PR: 192345 Submitted by: rozhuk.im gmail.com MFC after: 4 weeks END K 10 svn:author V 2 cy K 8 svn:date V 27 2014-08-05T13:01:21.967399Z K 7 svn:log V 88 Honour WITH and WITHOUT_INET6_SUPPORT. Approved by: glebius (mentor) MFC after: 3 days END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-08-05T13:36:26.864606Z K 7 svn:log V 210 - Ensure code which only applies to the control endpoint is not run for other endpoints in the data transfer path. - Ensure all bits of the "EPCON" register is written during initialisation. MFC after: 3 days END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-08-05T15:01:30.137710Z K 7 svn:log V 202 Reimplement WRITE USING TOKEN with Block Zero token using WRITE SAME. On my ZVOL of SSDs that increases speed of zero writing in that way from 1 to 2.5GB/s by reducing CPU overhead. MFC after: 2 weeks END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-08-05T15:17:47.788939Z K 7 svn:log V 68 Change the panic in cpu_reset to a printf as panic calls cpu_reset. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-08-05T15:17:50.907838Z K 7 svn:log V 44 Change a panic to printf in cpu_initclocks. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-08-05T15:17:54.263171Z K 7 svn:log V 82 Comment out the contents of random_adaptors_reseed as it blocks the boot process. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-08-05T15:17:57.283645Z K 7 svn:log V 64 Remove the panic from DELAY, panic and printf calls into DELAY. END K 10 svn:author V 6 marius K 8 svn:date V 27 2014-08-05T16:04:22.910898Z K 7 svn:log V 2692 MFC: r260457 The changes in r233781 attempted to make logging during a machine check exception more readable. In practice they prevented all logging during a machine check exception on at least some systems. Specifically, when an uncorrected ECC error is detected in a DIMM on a Nehalem/Westmere class machine, all CPUs receive a machine check exception, but only CPUs on the same package as the memory controller for the erroring DIMM log an error. The CPUs on the other package would complete the scan of their machine check banks and panic before the first set of CPUs could log an error. The end result was a clearer display during the panic (no interleaved messages), but a crashdump without any useful info about the error that occurred. To handle this case, make all CPUs spin in the machine check handler once they have completed their scan of their machine check banks until at least one machine check error is logged. I tried using a DELAY() instead so that the CPUs would not potentially hang forever, but that was not reliable in testing. While here, don't clear MCIP from MSR_MCG_STATUS before invoking panic. Only clear it if the machine check handler does not panic and returns to the interrupted thread. MFC: r263113 Correct type for malloc(). Submitted by: "Conrad Meyer" MFC: r269052, r269239, r269242 Intel desktop Haswell CPUs may report benign corrected parity errors (see HSD131 erratum in [1]) at a considerable rate. So filter these (default), unless logging is enabled. Unfortunately, there really is no better way to reasonably implement suppressing these errors than to just skipping them in mca_log(). Given that they are reported for bank 0, they'd need to be masked in MSR_MC0_CTL. However, P6 family processors require that register to be set to either all 0s or all 1s, disabling way more than the one error in question when using all 0s there. Alternatively, it could be masked for the corresponding CMCI, but that still wouldn't keep the periodic scanner from detecting these spurious errors. Apart from that, register contents of MSR_MC0_CTL{,2} don't seem to be publicly documented, neither in the Intel Architectures Developer's Manual nor in the Haswell datasheets. Note that while HSD131 actually is only about C0-stepping as of revision 014 of the Intel desktop 4th generation processor family specification update, these corrected errors also have been observed with D0-stepping aka "Haswell Refresh". 1: http://www.intel.de/content/dam/www/public/us/en/documents/specification-updates/4th-gen-core-family-desktop-specification-update.pdf Reviewed by: jhb Sponsored by: Bally Wulff Games & Entertainment GmbH END K 10 svn:author V 6 marius K 8 svn:date V 27 2014-08-05T16:30:13.371214Z K 7 svn:log V 2723 MFC: r260457 The changes in r233781 (MFCed to stable/9 in r235515) attempted to make logging during a machine check exception more readable. In practice they prevented all logging during a machine check exception on at least some systems. Specifically, when an uncorrected ECC error is detected in a DIMM on a Nehalem/Westmere class machine, all CPUs receive a machine check exception, but only CPUs on the same package as the memory controller for the erroring DIMM log an error. The CPUs on the other package would complete the scan of their machine check banks and panic before the first set of CPUs could log an error. The end result was a clearer display during the panic (no interleaved messages), but a crashdump without any useful info about the error that occurred. To handle this case, make all CPUs spin in the machine check handler once they have completed their scan of their machine check banks until at least one machine check error is logged. I tried using a DELAY() instead so that the CPUs would not potentially hang forever, but that was not reliable in testing. While here, don't clear MCIP from MSR_MCG_STATUS before invoking panic. Only clear it if the machine check handler does not panic and returns to the interrupted thread. MFC: r263113 Correct type for malloc(). Submitted by: "Conrad Meyer" MFC: r269052, r269239, r269242 Intel desktop Haswell CPUs may report benign corrected parity errors (see HSD131 erratum in [1]) at a considerable rate. So filter these (default), unless logging is enabled. Unfortunately, there really is no better way to reasonably implement suppressing these errors than to just skipping them in mca_log(). Given that they are reported for bank 0, they'd need to be masked in MSR_MC0_CTL. However, P6 family processors require that register to be set to either all 0s or all 1s, disabling way more than the one error in question when using all 0s there. Alternatively, it could be masked for the corresponding CMCI, but that still wouldn't keep the periodic scanner from detecting these spurious errors. Apart from that, register contents of MSR_MC0_CTL{,2} don't seem to be publicly documented, neither in the Intel Architectures Developer's Manual nor in the Haswell datasheets. Note that while HSD131 actually is only about C0-stepping as of revision 014 of the Intel desktop 4th generation processor family specification update, these corrected errors also have been observed with D0-stepping aka "Haswell Refresh". 1: http://www.intel.de/content/dam/www/public/us/en/documents/specification-updates/4th-gen-core-family-desktop-specification-update.pdf Reviewed by: jhb Sponsored by: Bally Wulff Games & Entertainment GmbH END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-08-05T16:31:03.049265Z K 7 svn:log V 56 Set ofwbus and simplebus to attach during BUS_PASS_BUS. END K 10 svn:author V 6 marius K 8 svn:date V 27 2014-08-05T16:44:27.826519Z K 7 svn:log V 2723 MFC: r260457 The changes in r233781 (MFCed to stable/8 in r235517) attempted to make logging during a machine check exception more readable. In practice they prevented all logging during a machine check exception on at least some systems. Specifically, when an uncorrected ECC error is detected in a DIMM on a Nehalem/Westmere class machine, all CPUs receive a machine check exception, but only CPUs on the same package as the memory controller for the erroring DIMM log an error. The CPUs on the other package would complete the scan of their machine check banks and panic before the first set of CPUs could log an error. The end result was a clearer display during the panic (no interleaved messages), but a crashdump without any useful info about the error that occurred. To handle this case, make all CPUs spin in the machine check handler once they have completed their scan of their machine check banks until at least one machine check error is logged. I tried using a DELAY() instead so that the CPUs would not potentially hang forever, but that was not reliable in testing. While here, don't clear MCIP from MSR_MCG_STATUS before invoking panic. Only clear it if the machine check handler does not panic and returns to the interrupted thread. MFC: r263113 Correct type for malloc(). Submitted by: "Conrad Meyer" MFC: r269052, r269239, r269242 Intel desktop Haswell CPUs may report benign corrected parity errors (see HSD131 erratum in [1]) at a considerable rate. So filter these (default), unless logging is enabled. Unfortunately, there really is no better way to reasonably implement suppressing these errors than to just skipping them in mca_log(). Given that they are reported for bank 0, they'd need to be masked in MSR_MC0_CTL. However, P6 family processors require that register to be set to either all 0s or all 1s, disabling way more than the one error in question when using all 0s there. Alternatively, it could be masked for the corresponding CMCI, but that still wouldn't keep the periodic scanner from detecting these spurious errors. Apart from that, register contents of MSR_MC0_CTL{,2} don't seem to be publicly documented, neither in the Intel Architectures Developer's Manual nor in the Haswell datasheets. Note that while HSD131 actually is only about C0-stepping as of revision 014 of the Intel desktop 4th generation processor family specification update, these corrected errors also have been observed with D0-stepping aka "Haswell Refresh". 1: http://www.intel.de/content/dam/www/public/us/en/documents/specification-updates/4th-gen-core-family-desktop-specification-update.pdf Reviewed by: jhb Sponsored by: Bally Wulff Games & Entertainment GmbH END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-08-05T17:22:48.636513Z K 7 svn:log V 122 Define names that drivers can use to adjust their position relative to other drivers within a BUS_PASS. Reviewed by: imp END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-08-05T17:32:47.833742Z K 7 svn:log V 129 Adjust ofwbus and simplebus to attach at BUS_PASS_ORDER_MIDDLE, so that a platform can attach some other bus first if necessary. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-08-05T17:39:58.087752Z K 7 svn:log V 210 Set the pl310 L2 cache driver to attach during the middle of BUS_PASS_CPU. Because that's earlier than interrupts are available, set up deferred configuration of interrupts (which are used only for debugging). END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-08-05T18:05:31.829135Z K 7 svn:log V 243 Remove unnecessary .PATH directive All of the sources for the tests are contained in the current working directory and the subdirectories Phabric: D537 Reviewed by: jmmv Approved by: jmmv (mentor) Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-08-05T18:09:39.184931Z K 7 svn:log V 161 Similar to r269506, fix LIBDIR to not duplicate TESTSDIR Phabric: D536 Reviewed by: jmmv Approved by: jmmv (mentor) Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2014-08-05T18:19:51.752058Z K 7 svn:log V 421 Add a simple unaccelerated vt(4) framebuffer driver for Sun framebuffers handled by creator(4) (Sun Creator 3D, Elite 3D, etc.). This provides vt(4) consoles on all devices currently supported by syscons on sparc64. The driver should also be easily adaptable to support newer Sun framebuffers such as the XVR-500 and higher. Many thanks to dumbbell@ (Jean-Sebastien Pedron) for testing this remotely during development. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-08-05T18:35:34.259039Z K 7 svn:log V 54 Add handler for read-back of USB audio volume levels. END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-08-05T18:41:27.334875Z K 7 svn:log V 255 Integrate lib/libnv into the build/kyua Rename all of the TAP test applications from to _test to match the convention described in the TestSuite wiki page Phabric: D538 Approved by: jmmv (mentor) Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-08-05T18:48:12.185710Z K 7 svn:log V 273 - Implement fast interrupt handler to save CPU usage. - Cleanup some register reads and writes to use existing register access macros. - Ensure code which only applies to the control endpoint is not run for other endpoints in the data transfer path. MFC after: 3 days END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-08-05T18:51:51.767356Z K 7 svn:log V 117 Attach arm generic interrupt and timer drivers in the middle of BUS_PASS_INTERRUPT and BUS_PASS_TIMER, respectively. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-08-05T19:06:45.701990Z K 7 svn:log V 1126 Add an arm option, ARM_DEVICE_MULTIPASS, used to opt-in to multi-pass device attachment on arm platforms. If this is defined, nexus attaches early in BUS_PASS_BUS, and other busses and devices attach later, in the pass number they are set up for. Without it defined, nexus attaches in BUS_PASS_DEFAULT and thus so does everything else, which is status quo. Arm platforms which use FDT data to enumerate devices have been relying on devices being attached in the exact order they're listed in the dts source file. That's one of things currently preventing us from using vendor-supplied fdt data (because then we don't control the order of the devices in the data). Multi-pass attachment can go a long way towards solving that problem by ensuring things like clock and interrupt drivers are attached before the more mundane devices that need them. The long-term goal is to have all arm fdt-based platforms using multipass. This option is a bridge to that, letting us enable it selectively as platforms are converted and tested (the alternative being to just throw a big switch and try to fight fires as they're reported). END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-08-05T19:10:53.690702Z K 7 svn:log V 115 Cache the imx6 SoC type in a static var so that it only has to be figured out by sniffing hardware registers once. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-08-05T19:43:44.688884Z K 7 svn:log V 136 Add device ID for the Chicony USB 2.0 HD UVC Webcam found on the Asus X550LA. Reviewed by: sbruno Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-08-05T22:38:49.210228Z K 7 svn:log V 70 Revert r269528; this was not the right way to bring these changes in. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-08-05T23:16:31.533120Z K 7 svn:log V 552 Bring final version of libbind: From http://www.isc.org/downloads/libbind/ The libbind functions have been separated from the BIND suite as of BIND 9.6.0. Originally from older versions of BIND, they have been continually maintained and improved but not installed by default with BIND 9. This standard resolver library contains the same historical functions and headers included with many Unix operating systems. In fact, most implementations are based on the same original code. At present, NetBSD maintains libbind code, now known as "netresolv". END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-08-05T23:32:53.360974Z K 7 svn:log V 111 Remove compat shims for FreeBSD versions older than 8.0. Reviewed by: Steve Chang END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-08-05T23:35:19.007160Z K 7 svn:log V 274 Various fixes to hptiop(4): - Use callout(9) instead of timeout(9). - Use the existing hba lock as the CAM sim lock instead of Giant. - Mark interrupt handler MPSAFE. - Reorder detach and destroy the hba lock in detach. Reviewed by: Steve Chang END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-08-05T23:39:35.627794Z K 7 svn:log V 354 Various fixes to hptnr(4): - Use the existing vbus locks instead of Giant for the CAM sim lock. - Use callout(9) instead of timeout(9). - Mark the interrupt handler MPSAFE. - Don't attempt to pass data in the softc from probe() to attach(). - Remove compat shims for FreeBSD versions older than 8.0. Reviewed by: Steve Chang END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-08-05T23:41:40.156524Z K 7 svn:log V 205 In file_loadraw() print the name of the file as well as its size so that we know what file is being loaded and how big the file is once complete. This has ELF modules and disk images emit the same output. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-08-05T23:47:26.779603Z K 7 svn:log V 354 Various fixes to hptrr(4): - Use the existing vbus locks instead of Giant for the CAM sim lock. - Use callout(9) instead of timeout(9). - Mark the interrupt handler MPSAFE. - Don't attempt to pass data in the softc from probe() to attach(). - Remove compat shims for FreeBSD versions older than 8.0. Reviewed by: Steve Chang END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-08-05T23:55:23.328163Z K 7 svn:log V 159 In command_lsmod() prevent overrunning lbuf due to long path names. Call pager_output() separately for the module name. Obtained from: Juniper Networks, Inc. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-08-05T23:58:49.308827Z K 7 svn:log V 566 Various fixes to hptmv(4): - Replace the global driver lock with a per-instance device lock. - Use the per-instance device lock instead of Giant for the CAM sim lock. - Add global locks to protect the adapter list and DPC queues. - Use wakeup() and mtx_sleep() to wait for certain events like the controller going idle rather than polling via timeouts passed to tsleep(). - Use callout(9) instead of timeout(9). - Mark the interrupt handler MPSAFE. - Remove compat shims for FreeBSD versions older than 8.0. Reviewed by: Steve Chang END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-08-06T00:06:25.232990Z K 7 svn:log V 184 Rename command_unload() to unload() and re-implement command_unload() in terms of unload() This allows unloading all files by the loader itself. Obtained from: Juniper Networks, Inc. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-08-06T00:35:32.727271Z K 7 svn:log V 50 MFC r269282: Correct typo in comment PR: 192231 END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2014-08-06T00:35:48.115105Z K 7 svn:log V 212 Retire various intertwined bits of fbd(4) and vt_fb, in particular the pixel modification indirection. No actual drivers use it and those that might (e.g. creatorfb) use custom implementations of vd_bitbltchr(). END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-08-06T00:36:04.236462Z K 7 svn:log V 629 Optionally include the install command as found on Juniper products like EX and SRX. The install command uses pkgfs to extract a kernel, zero or more modules and a root file system from the specified package and boots the kernel. The name of the kernel, the list of modules and the name of the root file system can be specified by putting a file called "metatags in the package. The package to use is given by an URL. The schemes supported are tftp and file. For the file scheme, the disk is currently hardcoded but that should really look for the package on all devices and partititions. Obtained from: Juniper Networks, Inc. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-08-06T08:54:31.225455Z K 7 svn:log V 182 Fix several issues and inconsistencies in UNMAP capabilities reporting. This makes Windows 2012 to start using UNMAP on our disks. MFC after: 2 weeks Sponsored by: iXsystems, Inc. END K 10 svn:author V 4 ache K 8 svn:date V 27 2014-08-06T10:33:43.977640Z K 7 svn:log V 202 MFC: r268997 For "a"-mode files and rewind/fseek + fwrite combination return meaningful value now, like Apple does, but avoid their __sflush physical write performance degradation as much as possible. END K 10 svn:author V 4 ache K 8 svn:date V 27 2014-08-06T10:38:06.424789Z K 7 svn:log V 197 MFC: r269116 In the "Too many open files" edge cases don't try to preserve old number for non-std* descriptors, but close old file and retry. Obtained from: inspired by Apple's change from pfg@ END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-08-06T14:19:57.203436Z K 7 svn:log V 177 Set the rid correctly when there are multiple ranges and interrupts. If the memory ranges or interrupts have multiple values per entry the rid will depend on the size of these. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-08-06T14:20:01.151472Z K 7 svn:log V 32 First cut at interrupt handling END K 10 svn:author V 8 skreuzer K 8 svn:date V 27 2014-08-06T14:38:09.365650Z K 7 svn:log V 92 Mention tmpfs(5) PR: 192389 Submitted by: yaneurabeya@gmail.com Approved by: hrs (mentor) END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-08-06T16:21:43.052017Z K 7 svn:log V 96 Remove XDEV/XDEV_ARCH evaluation if EMBEDDEDBUILD is set. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-08-06T16:25:09.268830Z K 7 svn:log V 292 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. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-08-06T16:44:31.735773Z K 7 svn:log V 402 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, since that blows up impressively. This commit gets the arm build back to the state that it was in before the XDEV/XDEV_ARCH deprecation, in that the builds still fail, but they fail in the same way they did before. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-08-06T17:02:19.261303Z K 7 svn:log V 352 Reduce reported additional INQUIRY data length. sizeof(struct scsi_inquiry_data) of 256 bytes combined with off-by-one error in the changed code gave total INQUIRY data length above 255 bytes, that was maximal INQUIRY length in SPC-2. While SPC-3 increased the maximal length to 64K, at least sg3_utils are still confused by that. MFC after: 1 week END K 10 svn:author V 6 wblock K 8 svn:date V 27 2014-08-06T17:38:35.830751Z 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