ƒ²263160 153 174 772 182 182 136 136 402 402 227 241 4904 160 893 312 406 275 995 267 117 123 245 243 269 165 136 135 205 180 213 487 220 207 176 143 433 116 434 227 3210 125 211 183 184 172 133 116 426 186 246 246 207 564 229 277 627 181 226 148 706 191 298 259 125 245 411 277 636 749 542 318 235 258 548 359 316 185 224 366 308 393 146 98 144 147 307 251 329 646 323 120 169 561 246 250 236 281 412 327 281 508 167 167 158 118 176 207 192 820 300 395 395 328 327 284 224 254 214 486 208 174 233 949 949 225 225 176 176 198 161 503 368 149 234 200 196 178 360 259 254 170 170 255 320 240 124 607 716 231 187 668 246 227 2036 K 10 svn:author V 3 des K 8 svn:date V 27 2014-03-14T08:43:56.962151Z K 7 svn:log V 82 Remove lukemftpd. It was disconnected from the build in 2009. MFC after: 3 days END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-03-14T08:56:19.703397Z K 7 svn:log V 678 Make bsd.test.mk the only public mk fragment for the building of tests. Change {atf,plain,tap}.test.mk to be internal implementation details of bsd.test.mk. Makefiles that build tests should now only include bsd.test.mk and declaratively specify what they want to build, without worrying about the internal implementation of the mk files. The reason for this change is to permit building test programs of different interfaces from a single directory, which is something I had a need for while porting tests over from src/tools/regression/. Additionally, this change makes it possible to perform some other requested changes to bsd.test.mk in an easier manner. Coming soon. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-03-14T09:11:09.676996Z K 7 svn:log V 85 MFC r262550, r262551 and r262554: Add support for kqfilter to USB character devices. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-03-14T09:13:53.744997Z K 7 svn:log V 85 MFC r262550, r262551 and r262554: Add support for kqfilter to USB character devices. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-03-14T09:42:57.441291Z K 7 svn:log V 39 MFC Sync usb.conf file to head branch. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-03-14T09:46:56.065326Z K 7 svn:log V 39 MFC Sync usb.conf file to head branch. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-03-14T10:18:53.906773Z K 7 svn:log V 304 MFC r227751, r238766, r241553, r242748, r244047, r245947, r246021, r247255, r249039, r249204, r250848, r251351, r252295, r252498, r255123, r255238, r256782, r257132, r257390 and r259675: - Add various new USB ID's and quirks. - Make sure the usbdevs mergeinfo gets recorded on the sys directory. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-03-14T10:30:17.359741Z K 7 svn:log V 304 MFC r227751, r238766, r241553, r242748, r244047, r245947, r246021, r247255, r249039, r249204, r250848, r251351, r252295, r252498, r255123, r255238, r256782, r257132, r257390 and r259675: - Add various new USB ID's and quirks. - Make sure the usbdevs mergeinfo gets recorded on the sys directory. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-03-14T11:45:19.998035Z K 7 svn:log V 130 Add placeholders for IPX/SPX and AppleTalk priveledges, to avoid number clashes with any future constants. Suggested by: rwatson END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2014-03-14T12:15:28.656288Z K 7 svn:log V 143 Add support for AMD Family 16h (Kabini) sensor devices. PR: 186587 Submitted by: David Rufino MFC after: 2 weeks END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2014-03-14T12:37:42.455831Z K 7 svn:log V 4805 MFC Radeon KMS driver FreeBSD 9 already had modern Intel GPUs support, now this is the case for Radeon GPUs too. This will ease the work on ports, where there won't be a need to distinguish between FreeBSD 9/10 and different hardware vendors. Help from: jhb@, jkim@, kan@, kib@, J.R. Oldroyd (previous version of the patch) The following revisions were merged in this single commit: r254885: drm/radeon: Import the Radeon KMS driver This driver is based on Linux 3.8 and a previous effort by kan@. More informations about this project can be found on the FreeBSD wiki: https://wiki.freebsd.org/AMD_GPU The driver is split into: sys/dev/drm2: The driver sources. sys/modules/drm2/radeonkmw: The driver main kernel module's Makefile. sys/modules/drm2/radeonkmsfw: All firmware kernel module Makefiles. There's one directory and one Makefile for each firmware. sys/contrib/dev/drm2/radeonkmsfw: All firmware binary sources. tools/tools/drm/radeon Tools to update firmwares or regenerate some headers. Merging the driver to FreeBSD 9.x may be possible but not a priority for now. Help from: kib@, kan@ Tested by: avg@, kwm@, ray@, Alexander Yerenkow , Anders Bolt-Evensen , Denis Djubajlo , J.R. Oldroyd , MikaĆ«l Urankar , Pierre-Emmanuel PĆ©dron , Sam Fourman Jr. , Wade , (probably other I forgot...) HW donations: kyzh, Yakaz r254894: drm/radeon: Rename the (S)DEBUG macros in atom.c to avoid conflicts For instance, DEBUG is already defined in the LINT kernel configuration. This fixes the build of LINT. r254899: drm/radeon: Disable build on i386/pc98 r255572: drm/radeon: Fix usage of vga_pci_map_bios() vga_pci_(un)map_bios() takes a vgapci device as argument, not a drmn one. This fixes a bug where the BIOS couldn't be mapped if the device wasn't the boot display. Approved by: re (kib; blanket for following drm2/radeon commits) r255573: drm/radeon: Fix usage of pci_save_state() and pci_restore_state() Calling those functions with the drmn device as argument causes a panic, because it's not a direct child of pci$N. They must be called with the vgapci device instead. This fix is not enough to make suspend/resume work reliably. Approved by: re (blanket) r255587: drm/radeon: Add missing "return false" after unmapping invalid BIOS Without that, we would try to copy the unmapped BIOS. Submitted by: Christoph Mallon Approved by: re (blanket) r256771: drm/radeon: radeonkms depends on firmware(9) Submitted by: tijl@ r257869: drm: Initialize "handle" to 0 before calling drm_gem_handle_create() This is variable is being checked in drm_gem_name_create() before being set. r257870: drm/radeon: Wake up userland after page flip For instance, this caused issues in KDE, such as stuttered animations (with desktop effects enabled). r259003: Initialize modesetting sysctls in radeonkms. This is intended for MFC if re@ permits. Reviewed by: kib, dumbbell Tested by: Steven Chamberlain MFC after: 3 days r259101: drm/radeon: agp_info->ai_aperture_size is in bytes, not Mbytes This fixes radeon_agp_init() and gtt_size is now correct. However, this is not enough to make Radeon AGP cards work: ttm_agp_backend.c isn't implemented yet. Submitted by: tijl@ r259104: drm/radeon: radeon_dp_i2c_aux_ch() must return 0 on FreeBSD The code was unmodified compared to Linux and returned the amount of received bytes from the i2c bus. This led to non-working i2c bus and failure to eg. read monitor's EDID, if connected to DisplayPort. MFC after: 3 days Tested by: MikaĆ«l Urankar r259684: drm/ttm, drm/radeon: Replace EINTR/ERESTART by ERESTARTSYS... ... for msleep/cv_*wait() return values, where wait_event*() is used on Linux. ERESTARTSYS is the return code expected by callers when the operation was interrupted. For instance, this is the case of radeon_cs_ioctl() (radeon_cs.c): if an error occurs, and the code isn't ERESTARTSYS (eg. EINTR), it logs an error. Note that ERESTARTSYS is defined as ERESTART, but this keeps callers' code close to Linux. Submitted by: avg@ (previous version) r261497: Abort when firmware isn't present in R600+ models. More details at: http://anonscm.debian.org/viewvc/kernel/dists/trunk/linux/debian/patches/bugfix/all/radeon-firmware-is-required-for-drm-and-kms-on-r600-onward.patch?revision=20909&view=co Reviewed by: dumbbell MFC after: 1 week END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2014-03-14T12:42:30.365383Z K 7 svn:log V 63 Bump __FreeBSD_version to 902508 after Radeon KMS driver merge END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-03-14T12:52:55.485710Z K 7 svn:log V 799 Move FreeBSD Test Suite-specific code to a suite.test.mk file. The new suite.test.mk file contains all the logic needed to install test programs under /usr/tests/ and to support Kyua as the run-time engine. This file is included by default by bsd.test.mk so Makefiles do not need to care about its existence. Specific Makefiles can define NOT_FOR_TEST_SUITE to indicate that whatever test programs they are building are not supposed to be installed under /usr/tests/ nor run by Kyua. (The effect of passing this setting is that suite.test.mk is simply not included.) NOT_FOR_TEST_SUITE should never be used by Makefiles in the base system. This functionality is provided so that third-parties can hook in their own test code, with different semantics, if they wish. This was asked for by sjg@. END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-03-14T12:55:06.680312Z K 7 svn:log V 218 Remove unnecessary svn:executable property from source file. The atf cp_test.sh sample file should have never been marked executable in the first place because this file needs to be "built" first before being usable. END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2014-03-14T13:55:48.747076Z K 7 svn:log V 308 Rename cnt to maxcookies and change its use as the condition for when to lookup cookies to be less obscure. No functional change. Since r245115, cnt has not really been needed in tmpfs_dir_getdents(). Keep it for the MPASS() for now though. Sponsored by: EMC / Isilon Storage Division MFC after: 2 weeks END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2014-03-14T13:58:02.925063Z K 7 svn:log V 177 Add missing FALLTHROUGH comment in tmpfs_dir_getdents for looking up '.' and '..'. Reviewed by: Russell Cattelan Sponsored by: EMC / Isilon Storage Division MFC after: 2 weeks END K 10 svn:author V 2 bz K 8 svn:date V 27 2014-03-14T14:16:53.880354Z K 7 svn:log V 903 Import DNS64 support for unbound as implemented by Viagenie[1]. I have only maintained and forward ported the patch[2] since early 2011 and fixed one bug since. Given NAT64/DNS64 seems to be one of the prefered transition technologies I consider it important to support it. As we are currently shipping unbound in base and people have expressed interest in this patch I am putting it out for testing. I have not tested the in-tree version myself yet but run it out of ports on older versions. My hope is that upstream may pick it up and start shipping it in a new version after all these years. A noticable portion of the patch (in terms of lines) are only the re-generated lexer and parser files these days. Obtained from: http://ecdysis.viagenie.ca/ http://www.viagenie.ca/ [1] Obtained from: http://ecdysis.viagenie.ca/download/ecdysis-unbound-1.4.7.20101117.patch.gz [2] OKed by: Marc Blanchet END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2014-03-14T16:42:20.688570Z K 7 svn:log V 169 MFC r261422 Make gas accept any PowerPC instruction by default. This is a local change, and will not be submitted upstream. Discussed with: nwhitehorn,rdivacky END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-03-14T17:18:21.019149Z K 7 svn:log V 21 A miss from r263140. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-03-14T17:20:23.762032Z K 7 svn:log V 27 Another miss from r263140. END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2014-03-14T17:20:45.814936Z K 7 svn:log V 147 Fix ABI from /usr/local/etc/pkg.conf not being respected. Regression from r259266. Sponsored by: EMC / Isilon Storage Division MFC after: 1 week END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2014-03-14T17:37:38.453971Z K 7 svn:log V 145 Fix ASSUME_ALWAYS_YES not being parsed properly from config after UCL conversion. Sponsored by: EMC / Isilon Storage Division MFC after: 1 week END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-03-14T17:59:36.117208Z K 7 svn:log V 173 Temporarily remove vt_vga from UEFI VT config Prioritization of early console drivers is not yet supported properly, so allow only efifb to claim the console and keyboard. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-03-14T19:37:37.323349Z K 7 svn:log V 70 Use the existence of module metadata to indicate framebuffer presence END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-03-14T19:45:26.815862Z K 7 svn:log V 44 Fix build with spaces in names. PR: 162736 END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-03-14T19:45:32.836383Z K 7 svn:log V 43 Make pcengines config files compile again. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-03-14T19:45:40.742554Z K 7 svn:log V 112 With the more generous footprints today, it makes little sense to use UFS1 by default any more. Switch to UFS2. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-03-14T19:46:18.963465Z K 7 svn:log V 88 Print an error message when we exit out early. PR: 136889 Submitted by: Aragon Gouveia END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-03-14T19:46:32.368767Z K 7 svn:log V 120 When NANO_IMAGE_MBRONLY is set, and we're backing via swap, only copy the MBR. PR: 136889 Submitted by: Aragon Gouveia END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-03-14T20:20:32.116680Z K 7 svn:log V 394 NanoBSD has a utility shell script called save_cfg which helps keep /cfg updated with the modified configuration files in /etc. I have written an improved version with the following features: * Recurses directories. * Only requires file arguments the first time the file/directory is * added to /cfg. * Handles file deletions. PR: 145962, 157533 Submitted by: Aragon Gouveia and Alex Bakhtin END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-03-14T20:20:36.777803Z K 7 svn:log V 127 Be more explicit about setting SRCCONF to /dev/null (plus allow it to be overridden). PR: 160443 Submitted by: Garrett Cooper END K 10 svn:author V 6 eadler K 8 svn:date V 27 2014-03-14T20:54:15.414059Z K 7 svn:log V 111 libusb: add libusb_log_level enum This is documented on http://libusb.sourceforge.net/api-1.0/group__lib.html END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-03-14T21:13:58.411131Z K 7 svn:log V 84 Rely on default UFS type (though this is unlikely to change). Submitted by: eadler END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-03-14T21:18:41.038769Z K 7 svn:log V 51 Remove TARGET_BIG_ENDIAN. It's no longer relevant. END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-03-14T21:35:16.893485Z K 7 svn:log V 339 Fix an issue with ktrdump(8) where it would not print all entries in the KTR buffer. This happens when 'i' tries to wrap around from 0 to 'entries - 1'. Since 'i' is a signed integer the modulo operation actually returns a negative number. Fix this by computing the next index to use "by hand" instead of relying on the modulo operator. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2014-03-14T21:45:37.793151Z K 7 svn:log V 21 sh: Add some consts. END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-03-14T22:07:08.799799Z K 7 svn:log V 340 Don't dump entries that were modified during the time the KTR buffer was being copied to userspace. Failing to do this would result in entries at the bottom of the ktrdump output to be more recent than entries at the top. With this change the timestamps are monotonically decreasing going from the top to the bottom of the ktrdump output. END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2014-03-15T00:23:35.098630Z K 7 svn:log V 129 MFC r261421 Add driver for the ADT7460/ADT7467 fan controller found in later PowerBooks and iBooks. Original work by andreast. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2014-03-15T00:57:50.597155Z K 7 svn:log V 3112 Several years after initial development, merge prototype support for linking NIC Receive Side Scaling (RSS) to the network stack's connection-group implementation. This prototype (and derived patches) are in use at Juniper and several other FreeBSD-using companies, so despite some reservations about its maturity, merge the patch to the base tree so that it can be iteratively refined in collaboration rather than maintained as a set of gradually diverging patch sets. (1) Merge a software implementation of the Toeplitz hash specified in RSS implemented by David Malone. This is used to allow suitable pcbgroup placement of connections before the first packet is received from the NIC. Software hashing is generally avoided, however, due to high cost of the hash on general-purpose CPUs. (2) In in_rss.c, maintain authoritative versions of RSS state intended to be pushed to each NIC, including keying material, hash algorithm/ configuration, and buckets. Provide software-facing interfaces to hash 2- and 4-tuples for IPv4 and IPv6 using both the RSS standardised Toeplitz and a 'naive' variation with a hash efficient in software but with poor distribution properties. Implement rss_m2cpuid()to be used by netisr and other load balancing code to look up the CPU on which an mbuf should be processed. (3) In the Ethernet link layer, allow netisr distribution using RSS as a source of policy as an alternative to source ordering; continue to default to direct dispatch (i.e., don't try and requeue packets for processing on the 'right' CPU if they arrive in a directly dispatchable context). (4) Allow RSS to control tuning of connection groups in order to align groups with RSS buckets. If a packet arrives on a protocol using connection groups, and contains a suitable hardware-generated hash, use that hash value to select the connection group for pcb lookup for both IPv4 and IPv6. If no hardware-generated Toeplitz hash is available, we fall back on regular PCB lookup risking contention rather than pay the cost of Toeplitz in software -- this is a less scalable but, at my last measurement, faster approach. As core counts go up, we may want to revise this strategy despite CPU overhead. Where device drivers suitably configure NICs, and connection groups / RSS are enabled, this should avoid both lock and line contention during connection lookup for TCP. This commit does not modify any device drivers to tune device RSS configuration to the global RSS configuration; patches are in circulation to do this for at least Chelsio T3 and Intel 1G/10G drivers. Currently, the KPI for device drivers is not particularly robust, nor aware of more advanced features such as runtime reconfiguration/rebalancing. This will hopefully prove a useful starting point for refinement. No MFC is scheduled as we will first want to nail down a more mature and maintainable KPI/KBI for device drivers. Sponsored by: Juniper Networks (original work) Sponsored by: EMC/Isilon (patch update and merge) END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-03-15T00:58:08.603605Z K 7 svn:log V 33 Fix cut-and-paste error message. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2014-03-15T00:59:23.284627Z K 7 svn:log V 114 Revert a small portion of r263198 left over from local testing: don't enable PCB groups and RSS by default [yet]. END K 10 svn:author V 6 eadler K 8 svn:date V 27 2014-03-15T01:20:42.994833Z K 7 svn:log V 88 Use the system queue.h instead of bundling its own. PR: bin/187067 Submitted by: lulf END K 10 svn:author V 6 eadler K 8 svn:date V 27 2014-03-15T02:26:46.421960Z K 7 svn:log V 89 Be a little more verbose in service's error message PR: bin/187118 Submitted by: culot END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-03-15T06:49:32.186307Z K 7 svn:log V 76 Garbage collect long time obsoleted (or never used) stuff from routing API. END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-03-15T09:27:59.627964Z K 7 svn:log V 40 Add some documentation for bsd.test.mk. END K 10 svn:author V 5 markm K 8 svn:date V 27 2014-03-15T10:26:13.772633Z K 7 svn:log V 22 MFC - tracking commit END K 10 svn:author V 6 jilles K 8 svn:date V 27 2014-03-15T14:58:48.723360Z K 7 svn:log V 330 sh: Allow kill %job on jobs started without job control. When killing a %job started without job control, kill all processes in it. As with process groups and zombies, if any process in the job can be killed or has already terminated, the command is successful. This also fixes occasional failures of the builtins/kill1.0 test. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-03-15T16:59:57.991771Z K 7 svn:log V 94 Fix wandboard to include tmpfs, mbr and bsd labels. PR: 187606 Submitted by: Takanori Sawada END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-03-15T18:19:09.142484Z K 7 svn:log V 148 MFC r262663: - Make pointer easier to control when moving slowly. - Increase chance of vertical scrolling as vertical scrolling is used more often. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-03-15T18:20:39.639281Z K 7 svn:log V 148 MFC r262663: - Make pointer easier to control when moving slowly. - Increase chance of vertical scrolling as vertical scrolling is used more often. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-03-15T21:58:07.616098Z K 7 svn:log V 111 On armv6 access both the softfloat and, when available, the vfp to get and set the floating-point environment. END K 10 svn:author V 6 tychon K 8 svn:date V 27 2014-03-15T23:09:34.779733Z K 7 svn:log V 468 Fix a race wherein the source of an interrupt vector is wrongly attributed if an ExtINT arrives during interrupt injection. Also, fix a spurious interrupt if the PIC tries to raise an interrupt before the outstanding one is accepted. Finally, improve the PIC interrupt latency when another interrupt is raised immediately after the outstanding one is accepted by creating a vmexit rather than waiting for one to occur by happenstance. Approved by: neel (co-mentor) END K 10 svn:author V 3 sjg K 8 svn:date V 27 2014-03-15T23:51:28.147259Z K 7 svn:log V 136 Backport bmake to 9 so ports can rely on it being available. We only build/install it as bmake. Requested by: bapt Reviewed by: marcel END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-03-16T00:22:07.281372Z K 7 svn:log V 183 Kill qemu if it overruns a prespecified amount of time. Do this because test suite runs can regularly get stuck due to bugs. Note that this change needs the newly-released shtk-1.5. END K 10 svn:author V 3 jmg K 8 svn:date V 27 2014-03-16T00:53:40.803261Z K 7 svn:log V 534 change td_retval into a union w/ off_t, with defines to mask the change... This eliminates a cast, and also forces td_retval (often 2 32-bit registers) to be aligned so that off_t's can be stored there on arches with strict alignment requirements like armeb (AVILA)... On i386, this doesn't change alignment, and on amd64 it doesn't either, as register_t is already 64bits... This will also prevent future breakage due to people adding additional fields to the struct... This gets AVILA booting a bit farther... Reviewed by: bde END K 10 svn:author V 3 jmg K 8 svn:date V 27 2014-03-16T00:57:26.326724Z K 7 svn:log V 89 copy these files from lib/libmd in preperation for moving these files into the kernel... END K 10 svn:author V 3 jmg K 8 svn:date V 27 2014-03-16T01:17:09.516029Z K 7 svn:log V 133 Xref pthread_cancel... bump Dd, _exit was still dated 1996! yes, it has been modified a few times since then... MFC after: 1 week END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-03-16T01:22:23.376873Z K 7 svn:log V 55 Document support for TAP-compliant Perl test programs. END K 10 svn:author V 3 jmg K 8 svn:date V 27 2014-03-16T01:43:23.741249Z K 7 svn:log V 613 replace the kernel's version w/ cperciva's implementation... In all my tests, it is faster ~20%, even on an old IXP425 533MHz it is ~45% faster... This is partly due to loop unrolling, so the code size does significantly increase... I do plan on committing a version that rolls up the loops again for smaller code size for embedded systems where size is more important than absolute performance (it'll save ~6k code)... The kernel implementation is now shared w/ userland's libcrypt and libmd... We drop support for sha256 from sha2.c, so now sha2.c only contains sha384 and sha512... Reviewed by: secteam@ END K 10 svn:author V 3 jmg K 8 svn:date V 27 2014-03-16T01:55:30.340289Z K 7 svn:log V 99 I clearly didn't test the modules... add sha256c.c to the various modules that included sha2.c... END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-03-16T02:07:08.101613Z K 7 svn:log V 204 Migrate tools/regression/sbin/ to the new tests layout. Pretty much all that this change does is shuffles the code around and hooks it into the regular build. The code of the old tests has not changed. END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-03-16T02:27:27.055522Z K 7 svn:log V 165 Change etcupdate tests to return 1 on test failures. This is a prerequisite for hooking these tests into the test suite. And, fortunately, all tests seem to pass! END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-03-16T02:32:44.569681Z K 7 svn:log V 32 Add Makefile missed in r263220. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-03-16T02:34:33.965503Z K 7 svn:log V 149 * Add ethernet MAC configuration from the EEPROM for arge0/arge1 * The AR9344 switch has 5 ports in use, not four. Tested: * DB120 reference board END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-03-16T02:41:47.030683Z K 7 svn:log V 315 Handle the case where both arge0 and arge1 MAC addresses are available via 'eeprommac'. The existing driver would just make arge units past 0 take the primary MAC and increment it by the unit number, without correct address wrapping. That has to be fixed at a later date. Tested: * Atheros DB120 reference obard END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-03-16T03:32:29.591979Z K 7 svn:log V 183 Shard the data directory by year, month and day. Having a single directory with hundreds of subdirectories does not scale well. Browsing the tree, for example, takes just too long. END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-03-16T04:09:22.393579Z K 7 svn:log V 542 Migrate tools/regression/{usr.bin/lastcomm,usr.sbin}/ to the new tests layout. This change was originally going to only migrate the usr.sbin tests but, as it turns out, the usr.sbin/sa/ tests require files from usr.bin/lastcomm/ so it's better to just also migrate the latter at the same time. The other usr.bin tests will be moved separately. To make these tests work within the test suite, some of them have required changes to prevent modifying the source directory and instead just rely on the current directory for file manipulation. END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-03-16T08:04:06.828570Z K 7 svn:log V 655 Migrate most of tools/regression/usr.bin/ to the new tests layout. I'm starting with the easy cases. The leftovers need to be looked at a bit more closely. Note that this change _does_ modify the code of the old tests. This is required in order to allow the code to locate the data files in the source directory instead of the current directory, because Kyua automatically changes the latter to a temporary directory. Also note that at least one test is known to be broken here. Actually, the test is not really broken: it's marked as a TODO but unfortunately Kyua's TAP parser currently does not understand that. Will have to be fixed separately. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-03-16T08:38:31.270456Z K 7 svn:log V 446 * Handle the three other timer interrupts for now, from the AR724x later. If the interrupts are ACKed even if they're not masked, we get the interrupts again later. Grr. * The AR724x and later chips want the interrupt bits cleared by writing the relevant bit to it, NOT by writing all but the current interrupt to it. Tested: * AR9344, DB120 reference board TODO: * Test ar724x and later chips to ensure no regressions have occured. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-03-16T08:39:46.006752Z K 7 svn:log V 222 The AR71xx has APB interrupts in the MISC registers from 0-7, later chips have more. So for now, let's allow more. We should teach the apb code to just reject interrupts that lie outside what the chip can do at runtime. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-03-16T09:38:43.517099Z K 7 svn:log V 139 Build fenv-vfp.c with the softfp float abi. Without this gcc generates an incorrect assembly file that doesn't allow for vfp instructions. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-03-16T09:40:05.836881Z K 7 svn:log V 162 Only build the vfp/softfp switching code on armv6 as we don't support vfp on anything earlier than this. This should fix the armeb and arm builds when using gcc. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2014-03-16T10:49:16.092365Z K 7 svn:log V 451 Rename capability.h to capsicum.h: the original name conflicts with the draft POSIX.1e capability.h used on some systems (e.g., Linux). On FreeBSD, leave a wrapper header so that current code continues to compile. We will eventually want to deprecate the old header as the presence of a capability.h may be confusing some configure scripts. Suggested by: David Drysdale Discussed on: cl-capsicum-discuss MFC after: 3 weeks END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2014-03-16T10:55:57.359321Z K 7 svn:log V 262 Update kernel inclusions of capability.h to use capsicum.h instead; some further refinement is required as some device drivers intended to be portable over FreeBSD versions rely on __FreeBSD_version to decide whether to include capability.h. MFC after: 3 weeks END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2014-03-16T11:04:44.800665Z K 7 svn:log V 219 Update most userspace consumers of capability.h to use capsicum.h instead. auditdistd is not updated as I will make the change upstream and then do a vendor import sometime in the next week or two. MFC after: 3 weeks END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2014-03-16T11:06:05.340802Z K 7 svn:log V 89 Bump __FreeBSD_version to reflect capability.h -> capsicum.h change. MFC after: 3 weeks END K 10 svn:author V 6 tychon K 8 svn:date V 27 2014-03-16T12:31:28.236825Z K 7 svn:log V 128 Support the bootloader's single 16-bit 'outw' access to the Divisor Latch MSB and LSB registers. Approved by: neel (co-mentor) END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-03-16T12:32:16.407257Z K 7 svn:log V 270 * Provide information in error causes in ASCII instead of proprietary binary format. * Add support for a diagnostic information error cause. The code is sysctlable and the default is 0, which means it is not sent. This is joint work with rrs@. MFC after: 1 week END K 10 svn:author V 6 tychon K 8 svn:date V 27 2014-03-16T12:33:40.702417Z K 7 svn:log V 212 Though there currently isn't a way to insert new media into an ATAPI drive, at least pretend to support Asynchronous Notification (AN) to avoid a guest needlessly polling for it. Approved by: grehan (co-mentor) END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-03-16T13:16:30.582344Z K 7 svn:log V 297 Add an optimised version of the float and double helper functions. These are only used on armv6 when the vfp unit is detected. They will also be available for the upcoming armv6hf platform, however while not used by default there will need to be defined for any software that calls them directly. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2014-03-16T13:43:06.816695Z K 7 svn:log V 51 Fix statically-linked build (WITHOUT_DYNAMICROOT). END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-03-16T14:06:10.578614Z K 7 svn:log V 4 MFC END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-03-16T14:19:46.475615Z K 7 svn:log V 49 Fix the spelling of function. Reported by: ian@ END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-03-16T14:21:09.658591Z K 7 svn:log V 52 Remove an extra 1 in an #if line Reported by: ian@ END K 10 svn:author V 6 jilles K 8 svn:date V 27 2014-03-16T14:42:58.312847Z K 7 svn:log V 211 find: When performing -quit, finish pending -exec ... + command lines. This avoids unexpected partial processing when a find command uses both -quit and -exec ... +. GNU find does the same. MFC after: 1 week END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-03-16T15:22:46.028562Z K 7 svn:log V 158 Make all the comments '# ' and align to same column. This fixes the rampently incosnsitent usage which made cut and paste from one file to another look ugly. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-03-16T15:22:52.809782Z K 7 svn:log V 236 Align all comments in config files on same column. This consistency helps when bits and pieces of GENERIC from i386 or amd64 are cut and pasted into other architecture's config files (which in the case of ARM had gotten rather akimbo). END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-03-16T16:33:25.711394Z K 7 svn:log V 553 Pull in r192123 from upstream llvm trunk (by Benjamin Kramer): X86: Fix type check. Just because an integer type is illegal doesn't mean it's i64. Fixes PR17495, where an i24 triggered this code. It's intended to optimize i64 loads on 32 bit x86. Fixes "Cannot select" fatal errors when building the audio/jack port with ALSA support turned on. This is a direct commit to stable/9 and stable/10, since head already has the commit as part of an upgrade to llvm/clang 3.4. Reported by: Radim Kolar via http://llvm.org/bugs/ END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-03-16T20:21:40.774525Z K 7 svn:log V 227 In intr_event_handle() we already save and set td_intr_frame, so don't do it also in ia64_handle_intr(). With ia64_handle_intr() not saving and setting td_intr_frame, make sure to do it for clock interrupts in ia64_ih_clock(). END K 10 svn:author V 7 antoine K 8 svn:date V 27 2014-03-16T20:31:05.752747Z K 7 svn:log V 24 Add more obsolete files END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-03-16T20:34:45.128751Z K 7 svn:log V 77 Use the same terminology as the ARM docs in comments. No functional changes. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-03-16T20:39:39.137464Z K 7 svn:log V 468 Use armv7 TLB flush code, not arm11, for cortex-a processors. The armv7 architecture uses a unified TLB model for maintenence ops even if separate instruction and data TLBs are implemented in hardware. That means that there's no distinction between the 'I' and 'D' flavors of flush, they all use the same 'ID' implementation. On the other hand, there is a difference between SMP and UP on armv7, but not on arm11, so use the armv7 routines for cortex-a processors. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2014-03-16T21:05:00.422096Z K 7 svn:log V 149 Fix a comment in capability.h: it got renamed to capsicum.h, not capability.h. MFC after: 3 weeks Spotted by: alc, mcdouga9 at egr.msu.edu, thompsa END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-03-16T21:57:05.452893Z K 7 svn:log V 154 Don't use the ITC as the faulting address for external interrupts. We only use it for tracing and the KTR infrastructure will use ITC for the time-stamp. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-03-16T22:56:22.087429Z K 7 svn:log V 140 Move the implementation of kdb_cpu_trap() from to machdep.c. This makes it easier to add conditional code based on options. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2014-03-17T02:10:45.449624Z K 7 svn:log V 184 MFC r263107: To avoid missing a chance to cancel thread, call _pthread_testcancel at the beginning of _sem_timedwait. Submitted by: Eric van Gyzen < eric at vangyzen dot net > END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2014-03-17T02:14:13.374572Z K 7 svn:log V 317 MFC r263153, r263154: - Similar to r246614, fix panic on removing urtwn(4). It happens because nodes are freed after the adapter is gone. - Reset the bit of the R92C_MCUFWDL associated with checksum report before loading firmware page. It may fix this problem: "urtwn0: timeout waiting for checksum report" END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-03-17T04:38:10.629689Z K 7 svn:log V 231 In intr_event_handle() we already save and set td_intr_frame, so don't do it also in ia64_handle_intr(). With ia64_handle_intr() not saving and setting td_intr_frame, make sure to do it for timer interrupts in ia64_ih_hardclock(). END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2014-03-17T05:03:53.998379Z K 7 svn:log V 184 MFC r263107: To avoid missing a chance to cancel thread, call _pthread_testcancel at the beginning of _sem_timedwait. Submitted by: Eric van Gyzen < eric at vangyzen dot net > END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2014-03-17T05:45:29.355872Z K 7 svn:log V 412 Add Tx/Rx multiqueue support to vmx(4) As a prerequisite for multiple queues, the guest must have MSIX enabled. Unfortunately, to work around device passthrough bugs, FreeBSD disables MSIX when running as a VMWare guest due to the hw.pci.honor_msi_blacklist tunable; this tunable must be disabled for multiple queues. Also included is various minor changes from the projects/vmxnet branch. MFC after: 1 month END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-03-17T06:36:54.671263Z K 7 svn:log V 70 MFC r262972: Ignore USB keyboard driver calls from critical sections. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-03-17T06:38:40.386336Z K 7 svn:log V 70 MFC r262972: Ignore USB keyboard driver calls from critical sections. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-03-17T07:19:19.112090Z K 7 svn:log V 61 Fix spelling. Reported by: Kevin P. Neal END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-03-17T09:01:01.815972Z K 7 svn:log V 22 Bad cut-n-paste typo. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-03-17T11:58:48.785481Z K 7 svn:log V 80 Make talk(1) capable of displaying UTF-8 characters. Sponsored by: Nginx, Inc. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-03-17T13:54:53.375915Z K 7 svn:log V 114 Fix the paren nesting so that the network device is probed if the load device type is either network or wildcard. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2014-03-17T14:19:42.308304Z K 7 svn:log V 96 Line-wrapping tweak: make the sample jail command line fit in 80 characters. MFC after: 3 days END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-03-17T16:10:42.231531Z K 7 svn:log V 727 Cosmetic changes to printed output, mostly related to probing devices... - Display slice and partition as instead of 0 or -1 when they're not set to specific values (the paritition=-1 was confusing folks). - When loaderdev isn't set in the u-boot environment, say so rather than displaying unknown device ''. - Print the loader(8) ident/version info earlier, so that all device- related info appears together afterwards. The one change here that isn't purely cosmetic is to call setheap() earlier. The comment says "Initialise heap as early as possible", now that's more accurate. It shouldn't make any functional difference, but may be safer if future changes lead to trying to allocate memory earlier. END K 10 svn:author V 6 royger K 8 svn:date V 27 2014-03-17T16:45:28.384598Z K 7 svn:log V 204 xen: fix usage of db_active in xen console Replace usage of db_active in Xen console with kdb_active. Reported by: Andrzej Tobola Approved by: gibbs Sponsored by: Citrix Systems R&D END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-03-17T19:09:00.614513Z K 7 svn:log V 298 MFC r262676: All callers of static method load_nvlist() in spa.c handles error case, so there is no reason to assert that we won't hit an error. Instead, just return that error to caller and have the upper layer handle it. Obtained from: FreeNAS Reported by: rodrigc Reviewed by: Matthew Ahrens END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-03-17T19:09:39.029390Z K 7 svn:log V 298 MFC r262676: All callers of static method load_nvlist() in spa.c handles error case, so there is no reason to assert that we won't hit an error. Instead, just return that error to caller and have the upper layer handle it. Obtained from: FreeNAS Reported by: rodrigc Reviewed by: Matthew Ahrens END K 10 svn:author V 7 asomers K 8 svn:date V 27 2014-03-17T19:55:27.807993Z K 7 svn:log V 231 share/man/man9/counter.9 Fix logic error in the description of counter_u64_alloc: the command may fail only if M_NOWAIT is specified, not M_WAITOK. Reviewed by: glebius MFC after: 2 weeks Sponsored by: Spectra Logic Corporation END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-03-17T20:42:45.160269Z K 7 svn:log V 234 MFC r263120: Pull in r201021 from upstream libc++ trunk: Fix for PR18735 - self-assignment for map/multimap gives incorrect results in C++03 (Please note: that is an LLVM PR identifier, not a FreeBSD one.) Reported by: rakuco END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2014-03-17T21:42:31.455314Z K 7 svn:log V 185 MFC r254302: Send a shutdown notification in the driver unload path, to ensure notification gets sent in cases where system shuts down with driver unloaded. Sponsored by: Intel END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2014-03-17T21:45:08.018590Z K 7 svn:log V 125 MFC r254303: If a controller fails to initialize, do not notify consumers (nvd) of its namespaces. Sponsored by: Intel END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2014-03-17T22:30:54.487074Z K 7 svn:log V 155 isci: Ensure ATA passthrough commands with RETURN_RESPONSE bit set translate their response. Sponsored by: Intel Discussed with: scottl MFC after: 3 days END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2014-03-17T22:32:54.600882Z K 7 svn:log V 115 Base the max number of SG elements on MAXPHYS. Sponsored by: Intel Discussed with: scottl, emax MFC after: 3 days END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2014-03-17T22:36:04.670582Z K 7 svn:log V 387 nvme: Remove the software progress marker SET_FEATURE command during controller initialization. The spec says OS drivers should send this command after controller initialization completes successfully, but other NVMe OS drivers are not sending this command. This change will therefore reduce differences between the FreeBSD and other OS drivers. Sponsored by: Intel MFC after: 3 days END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2014-03-17T22:37:17.205687Z K 7 svn:log V 109 nvme: NVMe specification dictates 4-byte alignment for PRPs (not 8). Sponsored by: Intel MFC after: 3 days END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-03-17T23:21:31.260701Z K 7 svn:log V 79 Implement apb_print_child(). Tested: * AR9344, Atheros DB120 Reference board END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-03-17T23:30:38.477523Z K 7 svn:log V 139 Notify vcpus participating in the rendezvous of the pending event to ensure that they execute the rendezvous function as soon as possible. END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-03-18T00:29:33.238300Z K 7 svn:log V 854 MFC r259535: The fasttrap fork handler is responsible for removing tracepoints in the child process that were inherited from its parent. However, this should not be done in the case of a vfork, since the fork handler ends up removing the tracepoints from the shared vm space, and userland DTrace probes in the parent will no longer fire as a result. Now the child of a vfork may trigger userland DTrace probes enabled in its parent, so modify the fasttrap probe handler to handle this case and handle the child process in the same way that it would handle the traced process. In particular, if once traces function foo() in a process that vforks, and the child calls foo(), fasttrap will treat this call as having come from the parent. This is the behaviour of the upstream code. While here, add #ifdef guards to some code that isn't present upstream. END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-03-18T00:38:36.076931Z K 7 svn:log V 854 MFC r259535: The fasttrap fork handler is responsible for removing tracepoints in the child process that were inherited from its parent. However, this should not be done in the case of a vfork, since the fork handler ends up removing the tracepoints from the shared vm space, and userland DTrace probes in the parent will no longer fire as a result. Now the child of a vfork may trigger userland DTrace probes enabled in its parent, so modify the fasttrap probe handler to handle this case and handle the child process in the same way that it would handle the traced process. In particular, if once traces function foo() in a process that vforks, and the child calls foo(), fasttrap will treat this call as having come from the parent. This is the behaviour of the upstream code. While here, add #ifdef guards to some code that isn't present upstream. END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-03-18T00:55:19.763417Z K 7 svn:log V 130 MFC r262325: Print a backtrace if the SDT(9) stub gets called so that there's at least some hope of figuring out how it happened. END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-03-18T00:55:40.486301Z K 7 svn:log V 130 MFC r262325: Print a backtrace if the SDT(9) stub gets called so that there's at least some hope of figuring out how it happened. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-03-18T00:59:49.085234Z K 7 svn:log V 80 MFC r262754: MFV r253848 (mm): Update vendor/xz from v5.0 branch to post-5.0.5 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-03-18T01:00:14.096446Z K 7 svn:log V 80 MFC r262754: MFV r253848 (mm): Update vendor/xz from v5.0 branch to post-5.0.5 END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2014-03-18T01:14:49.680454Z K 7 svn:log V 100 'pkg(8) add' has no internal restriction on number of packages. Submitted by: tj MFC after: 1 week END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2014-03-18T01:17:08.395520Z K 7 svn:log V 64 Remove comment meant for removal in r263287 X-MFC-with: 263287 END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-03-18T01:40:25.505068Z K 7 svn:log V 407 Update NetBSD Foundation copyrights to 2-clause BSD The NetBSD Foundation states "Third parties are encouraged to change the license on any files which have a 4-clause license contributed to the NetBSD Foundation to a 2-clause license." This change removes clauses 3 and 4 from copyright / license blocks that list The NetBSD Foundation as the only copyright holder. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-03-18T02:49:28.221213Z K 7 svn:log V 274 When a vcpu is deactivated it must also unblock any rendezvous that may be blocked on it. This is done by issuing a wakeup after clearing the 'vcpuid' from 'active_cpus'. Also, use CPU_CLR_ATOMIC() to guarantee visibility of the updated 'active_cpus' across all host cpus. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-03-18T06:41:17.768220Z K 7 svn:log V 52 Update USB template manual page. MFC after: 1 week END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-03-18T06:43:21.257901Z K 7 svn:log V 136 Correctly name USB template manual page and install it by default. Suggested by: Sascha Wildner MFC after: 1 week END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-03-18T06:52:11.951527Z K 7 svn:log V 102 Add missing umoscom manual page. Suggested by: Sascha Wildner MFC after: 1 week END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-03-18T07:06:31.566693Z K 7 svn:log V 99 Add missing usfs manual page. Suggested by: Sascha Wildner MFC after: 1 week END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-03-18T12:18:35.303781Z K 7 svn:log V 83 Add the AR934x NAND flash controller register definitions. Obtained from: OpenWRT END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-03-18T12:19:39.047467Z K 7 svn:log V 264 Extend the Atheros SoC support to include a method to enable/disable the NAND flash controller. Add the AR934x NAND flash controller reset routines. (It's different on subsequent SoCs.) Tested: * AR9344, Atheros DB120 reference platform Obtained from: OpenWRT END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-03-18T12:50:22.149457Z K 7 svn:log V 162 Return error when packet is dropped because of link down. Submitted-by: Boris Misenov Sponsored by: Solarflare Communications, Inc. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-03-18T13:47:27.054066Z K 7 svn:log V 158 Use standard FreeBSD license disclaimer The original was accidentally copied from a NetBSD Foundation copyright block. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-03-18T14:18:45.242947Z K 7 svn:log V 78 MFC r262741: Do not retry on CAM_FUNC_NOTAVAIL error, but return immediately. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-03-18T14:19:53.045957Z K 7 svn:log V 78 MFC r262741: Do not retry on CAM_FUNC_NOTAVAIL error, but return immediately. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-03-18T14:41:18.043830Z K 7 svn:log V 162 In kernel config files, it is supposed to be 'options' not 'options', per long standing (but recently not so strictly enforced) convention. END K 10 svn:author V 3 gnn K 8 svn:date V 27 2014-03-18T15:01:32.628123Z K 7 svn:log V 227 fix mbuf leak if it does not fit in software queue mbuf should be owned by if_transmit function in any case. Submitted-by: Andrew Rybchenko Sponsored by: Solarflare Communications, Inc. END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2014-03-18T15:43:42.722302Z K 7 svn:log V 141 Update nvme(4) and nvd(4) man pages to clarify the differences between their respective device nodes. Sponsored by: Intel MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-03-18T15:59:06.489553Z K 7 svn:log V 32 Trim at EOL. MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-03-18T16:20:33.913554Z K 7 svn:log V 514 It is not uncommon for BIOSes to report wrong RMRR entries in DMAR table. Among them, some (old AMI ?) BIOSes report entries with range like (bf7ec000, bf7ebfff). Attempts to ignore the bogus entries result in faults, so the range must be covered somehow. Provide a workaround by identity mapping the 32 pages after the bogus entry start, which seems to be enough for the reported BIOS. Reported and tested by: Jason Harmening Sponsored by: The FreeBSD Foundation MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-03-18T16:41:32.483190Z K 7 svn:log V 623 Add support for the PCI(e)-PCI bridges to the Intel VT-d driver. The bridge takes ownership of the transaction, so bsf of the requester is the bridge and not a device behind it. As result, code needs to walk the hierarchy up to use correct context. Note that PCIe->PCI-X bridges are not handled quite correctly since such bridges are allowed to only take ownership of some transactions. Also, weird but unrealistic cases of PCIe behind PCI bus are also not handled. Still, the patch provides significant step forward for the bridge handling. Submitted by: Jason Harmening MFC after: 1 week END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-03-18T16:56:05.399486Z K 7 svn:log V 134 Merge r263091: fix mbuf flags clash that lead to failure of operation of IPSEC and packet filters. PR: kern/185876 PR: kern/186755 END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-03-18T17:00:32.929955Z K 7 svn:log V 92 Switch to standard 2-clause license Approved by: hps@ Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-03-18T17:17:42.914141Z K 7 svn:log V 575 Increment fi_wgen before awakening threads polling the read socket of a FIFO. Previously, a thread sleeping in poll() could be awakened and re-poll the FIFO with the old value of fi_wgen (and thus improperly setting POLLINIGNEOF) before a thread closing a writable fifo descriptor bumped fi_wgen. The end result was that the reading thread in poll() would never see POLLHUP but could block forever (or until a timeout). This is a direct commit to 8 and 9 since the FIFO code is implemented differently in 10.x and later. The pipe-backed FIFOs in 10 do not have this bug. END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2014-03-18T18:09:08.082299Z K 7 svn:log V 147 nvme: Close hole where nvd(4) would not be notified of all nvme(4) instances if modules loaded during boot. Sponsored by: Intel MFC after: 3 days END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2014-03-18T18:10:35.488299Z K 7 svn:log V 128 nvme: Allocate all MSI resources up front so that we can fall back to INTx if necessary. Sponsored by: Intel MFC after: 3 days END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-03-18T19:23:41.433116Z K 7 svn:log V 1942 Pull in r196939 from upstream llvm trunk (by Reid Kleckner): Reland "Fix miscompile of MS inline assembly with stack realignment" This re-lands commit r196876, which was reverted in r196879. The tests have been fixed to pass on platforms with a stack alignment larger than 4. Update to clang side tests will land shortly. Pull in r196986 from upstream llvm trunk (by Reid Kleckner): Revert the backend fatal error from r196939 The combination of inline asm, stack realignment, and dynamic allocas turns out to be too common to reject out of hand. ASan inserts empy inline asm fragments and uses aligned allocas. Compiling any trivial function containing a dynamic alloca with ASan is enough to trigger the check. XFAIL the test cases that would be miscompiled and add one that uses the relevant functionality. Pull in r202930 from upstream llvm trunk (by Hans Wennborg): Check for dynamic allocas and inline asm that clobbers sp before building selection dag (PR19012) In X86SelectionDagInfo::EmitTargetCodeForMemcpy we check with MachineFrameInfo to make sure that ESI isn't used as a base pointer register before we choose to emit rep movs (which clobbers esi). The problem is that MachineFrameInfo wouldn't know about dynamic allocas or inline asm that clobbers the stack pointer until SelectionDAGBuilder has encountered them. This patch fixes the problem by checking for such things when building the FunctionLoweringInfo. Differential Revision: http://llvm-reviews.chandlerc.com/D2954 Together, these commits fix the problem encountered in the devel/emacs port on the i386 architecture, where a combination of stack realignment, alloca() and memcpy() could incidentally clobber the %esi register, leading to segfaults in the temacs build-time utility. See also: http://llvm.org/PR18171 and http://llvm.org/PR19012 Reported by: ashish PR: ports/183064 MFC after: 1 week END