swh:1:snp:2ca5d6eff8f04a671c0d5b13646cede522c64b7d

sort by:
Revision Author Date Message Commit Date
d2bc43f MF11 r320731,320749,320759: Add Amazon Elastic Network Adapter driver and turn it on in EC2 AMI builds Approved by: re (gjb) Relnotes: FreeBSD now supports "next generation" Enhanced Networking in the Amazon EC2 cloud Sponsored by: Amazon.com Inc. (original work) 07 July 2017, 00:34:51 UTC
f293e3b MF11 r320685: Update to ELF Tool Chain snapshot at r3561 This update is primarily bug fixes in C++ symbol demangling, including: - rvalue reference - builtin type auto and decltype(auto) - revamped support for function return types - formatting fixes - omit void when its the only param - ref-qualifiers and others in function types - type qualifiers in pointer-to-member function types - incorrect handling regarding CV-qualifiers in function types - ref-qualifier found in nested-name - properly handle <name> ::= <substitute><template-args> - make sure that nested function name is not a substitute candidate - correctly handle expression in template args - skip unknown substitution abbreviations Also r320663 libelftc: bump version, tracking import in r320343 Approved by: re (gjb) Sponsored by: The FreeBSD Foundation 06 July 2017, 18:30:52 UTC
e103b24 MFS r320744: MFC r320690: Defer ACPI taskqueue creation to SI_SUB_KICK_SCHEDULER. PR: 220277 Approved by: re (gjb) 06 July 2017, 17:31:38 UTC
82b782b Update the pkg(8) configuration for the default installation and the dvd1.iso to use the quarterly set, now that the new quarterly branch exists and packages have built. This commit was deferred when branching releng/11.1, since the 2017Q3 branch did not exist yet. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation 06 July 2017, 17:22:33 UTC
7ffae98 MFS11 r320697: MFC r320599: Fix Vagrant image upload after recent API changes. - Update ATLAS_UPLOAD_URL to avoid various regular expressions from failing to match due to redirections. - Use ATLAS_UPLOAD_URL throughout the script. - Adjust several regular expression patterns. Approved by: re (kib) Sponsored by: The FreeBSD Foundation 06 July 2017, 04:03:21 UTC
5f2cafa MFS r320605, r320610: MFC r303052, r309017 (by alc): Omit v_cache_count when computing the number of free pages, since its value is always 0. Approved by: re (gjb, kib) 05 July 2017, 19:24:53 UTC
1da3ad1 MFS r320684: MFC r320451 (by cem): Complete support for the IO_APPEND flag in fuse. Approved by: re (gjb) 05 July 2017, 17:29:07 UTC
46c44e0 Document r320654, rcmd deprecation. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation 05 July 2017, 17:06:29 UTC
342e1d5 Merge r320645 from stable/11 into releng/11.1: Add deprecation notices for all rcmd tools Approved by: re (gjb) Relnotes: yes 04 July 2017, 18:36:02 UTC
a89f3a5 MFC r320422: Do not ignore an error from vm_mmap_object(). Approved by: re (delphij) 04 July 2017, 05:37:58 UTC
8963fad Merge r320602 from stable/11 into releng/11.1: ------------------------------------------------------------------------ r320602 | ken | 2017-07-03 09:34:21 -0600 (Mon, 03 Jul 2017) | 45 lines MFC r320421: ------------------------------------------------------------------------ r320421 | ken | 2017-06-27 13:26:02 -0600 (Tue, 27 Jun 2017) | 37 lines Fix a panic in camperiphfree(). If a peripheral driver (e.g. da, sa, cd) is added or removed from the peripheral driver list while an unrelated peripheral driver instance (e.g. da0, sa5, cd2) is going away and is inside camperiphfree(), we could dereference an invalid pointer. When peripheral drivers are added or removed (see periphdriver_register() and periphdriver_unregister()), the peripheral driver array is resized and existing entries are moved. Although we hold the topology lock while we traverse the peripheral driver list, we retain a pointer to the location of the peripheral driver pointer and then drop the topology lock. So we are still vulnerable to the list getting moved around while the lock is dropped. To solve the problem, cache a copy of the peripheral driver pointer. If its storage location in the list changes while we have the lock dropped, it won't have any effect. This doesn't solve the issue that peripheral drivers ("da", "cd", as opposed to individual instances like "da0", "cd0") are not generally part of a reference counting scheme to guard against deregistering them while there are instances active. The caller (generally the person unloading a module) has to be aware of active drivers and not unload something that is in use. sys/cam/cam_periph.c: In camperiphfree(), cache a pointer to the peripheral driver instance to avoid holding a pointer to an invalid memory location in the event that the peripheral driver list changes while we have the topology lock dropped. PR: kern/219701 Submitted by: avg Sponsored by: Spectra Logic ------------------------------------------------------------------------ ------------------------------------------------------------------------ Approved by: re (gjb) 03 July 2017, 18:20:45 UTC
0946c31 Merge r320600 from stable/11 into releng/11.1: ------------------------------------------------------------------------ r320600 | ken | 2017-07-03 09:10:16 -0600 (Mon, 03 Jul 2017) | 30 lines MFC r320420: ------------------------------------------------------------------------ r320420 | ken | 2017-06-27 11:55:25 -0600 (Tue, 27 Jun 2017) | 25 lines In scsi_zbc_in(), fill in the length in the ZBC IN CDB. Without the allocation length set, the target will either reject the command or complete it without transferring any data. This fixes the REPORT ZONES command for SCSI ZBC protocol devices, as well as ATA ZAC protocol devices that are behind a SCSI to ATA translation layer. (LSI/Broadcom's 12Gb SAS adapters translate ZBC commands to ZAC commands.) Those are Host Aware and Host Managed SMR drives. This will fix REPORT ZONE commands sent to the da(4) driver via the GEOM bio interface and zonectl, and REPORT ZONE commands sent from camcontrol(8). Note that in the case of camcontrol(8), we currently only send SCSI ZBC commands to native SCSI protocol devices, not ATA devices behind a SAT layer. sys/cam/scsi/scsi_da.c: Fill in the length field in scsi_zbc_in(). Sponsored by: Spectra Logic ------------------------------------------------------------------------ ------------------------------------------------------------------------ Approved by: re (gjb) 03 July 2017, 18:07:09 UTC
915de37 MFS11 r320596: MFC r320488: Correct the branch naming convention in param.h. While here, consistently use upper-case 'X' to represent the version number. Approved by: re (kib, marius) Sponsored by: The FreeBSD Foundation 03 July 2017, 13:46:58 UTC
2bc3ea2 Merge from stable/11 r320593: Fix IPv6 extension header parsing. The length field doesn't include the first 8 octets. Obtained from: Yandex LLC Approved by: re (marius) 03 July 2017, 10:10:04 UTC
a7f9a7e MFS r320586: MFC r320093: Check return value of seteuid() and bail out if we fail. Approved by: re (kib) 03 July 2017, 05:42:55 UTC
c25b7d9 MFS r320566: MFC r320390: With r318394 seems it breaks gpart(8) in some embedded systems such like PCEngines, RPI1-B, Alix and APU2 boards as well as NanoBSD with the following message: vnode_pager_generic_getpages_done: I/O read error 5 Seems the breakage was because it was missed to include acr in glabel update. Approved by: re (delphij) 03 July 2017, 05:04:44 UTC
b9a1c2c MFS r320581: MFC r320494: Fix double free by reverting r300385 and r300624 which was false positive reported by cppcheck. Approved by: re (kib) 03 July 2017, 04:25:28 UTC
3b1ef08 MFC r320316: Do not try to unmark MAP_ENTRY_IN_TRANSITION marked by other thread. Approved by: re (gjb) 01 July 2017, 22:54:52 UTC
2f9a41c release.ent: - Update versions, and switch from 'snapshot' to 'release'. errata/article.xml: - Prune stale entries from 11.0-RELEASE. - Bump copyright date. relnotes/article.xml: - Remove several empty sections. readme/article.xml: - Fix a malformed URL. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation 30 June 2017, 19:22:35 UTC
b3a3ba9 - Copy stable/11@r320475 to releng/11.1 as part of the 11.1-RELEASE cycle. - Prune svn:mergeinfo from the new branch. - Bump __FreeBSD_version. - Rename releng/11.1 to RC1. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation 29 June 2017, 23:56:50 UTC
d5fe2b3 MFC r320372: Fix a memory leak in ses_get_elm_devnames(). Approved by: re (gjb) 29 June 2017, 17:34:48 UTC
7340a7f MFC r320353: linux_getdents, linux_readdir: fix mismatch between malloc and free tags Approved by: re (gjb) 29 June 2017, 12:49:03 UTC
065871a MFC r320263: Use a longer buffer for messages in ERROR chunks. MFC r320264: Check the length of a COOKIE chunk before accessing fields in it. MFC r320300: Handle sctp_get_next_param() in a consistent way. Approved by: re (marius@) 28 June 2017, 21:08:21 UTC
935e5ec MFC r315518 Avoid unnecessary calls to vm_map_protect() in elf_load_section(). Typically, when elf_load_section() unconditionally passed VM_PROT_ALL to elf_map_insert(), it was needlessly enabling execute access on the mapping, and it would later have to call vm_map_protect() to correct the mapping's access rights. Now, instead, elf_load_section() always passes its parameter "prot" to elf_map_insert(). So, elf_load_section() must only call vm_map_protect() if it needs to remove the write access that was temporarily granted to perform a copyout(). Approved by: re (kib) 28 June 2017, 05:28:15 UTC
392696b MFC r320202: Call pmap_copy() only for map entries which have the backing object instantiated. Approved by: re (delphij) 28 June 2017, 05:20:28 UTC
9f1122a MFC r320201: Assert that the protection of a new map entry is a subset of the max protection. Approved by: re (delphij) 28 June 2017, 04:25:20 UTC
18ebab9 MFC r314310 Refine the fix from r312954. Specifically, add a new PDE-only flag, PG_PROMOTED, that indicates whether lingering 4KB page mappings might need to be flushed on a PDE change that restricts or destroys a 2MB page mapping. This flag allows the pmap to avoid range invalidations that are both unnecessary and costly. Approved by: re (kib) 28 June 2017, 04:01:29 UTC
cc98e9c MFC r320123: Fix a potential sleep while holding a mutex in the sa(4) driver. If the user issues a MTIOCEXTGET ioctl, and the tape drive in question has a serial number that is longer than 80 characters, we malloc a buffer in saextget() to hold the output of cam_strvis(). Since a mutex is held in that codepath, doing a M_WAITOK malloc could lead to sleeping while holding a mutex. Change it to a M_NOWAIT malloc and bail out if we fail to allocate the memory. Devices with serial numbers longer than 80 bytes are very rare (I don't recall seeing one), so this should be a very unusual case to hit. But it is a bug that should be fixed. sys/cam/scsi/scsi_sa.c: In saextget(), if we need to malloc a buffer to hold the output of cam_strvis(), don't wait for the memory. Fail and return an error if we can't allocate the memory immediately. PR: kern/220094 Submitted by: Jia-Ju Bai <baijiaju1990@163.com> Sponsored by: Spectra Logic Approved by: re (gjb) 27 June 2017, 12:56:36 UTC
a05c086 MFC r320307: Fix indent. Approved by: re (marius) 27 June 2017, 10:50:48 UTC
63da2fb MFC r320314: Remove the description of MAP_HASSEMAPHORE. Approved by: re (marius) 27 June 2017, 10:09:00 UTC
bcb04bc MFC r320313: Fix typo. Approved by: re (marius) 27 June 2017, 09:42:56 UTC
e9919ec MFC r320175 Add pkts_cnt_oversized to stats. Approved by: re(marius) 26 June 2017, 19:36:24 UTC
4be2d76 MFC of 320176: Allow '_' in labels when specifying -L to newfs. PR: 220163 Reported by: Keve Nagy Reviewed by: kib Approved by: re@ (Xin Li) 26 June 2017, 17:29:32 UTC
7b94232 MFC r320121: Ignore the P_SYSTEM process flag, and do not request VM_MAP_WIRE_SYSTEM mode when wiring the newly grown stack. Approved by: re (marius) 26 June 2017, 12:37:11 UTC
b9bf763 MFC r320125: Fix batched unload for DMAR busdma in qi mode. Approved by: re (marius) 26 June 2017, 12:30:39 UTC
14e70f0 MFC r320108: Allow negative aio_offset only for the read and write LIO ops on device nodes. Approved by: re (marius) 26 June 2017, 12:17:04 UTC
9b99d4e MFC r320259: jedec_ts: read device id from the correct register Approved by: re (marius) 26 June 2017, 09:32:57 UTC
a74cf75 MFC 320184 hyperv/storvsc: Reduce log verbosity On some windows hosts TEST_UNIT_READY command will return SRB_STATUS_ERROR and sense data "NOT READY asc:3a,1 (Medium not present - tray closed)", this occurs periodically, and not hurt anything else. So, we prefer to ignore this kind of errors. Approved by: re (delphij) PR: 219973 Submitted by: Hongjiang Zhang <hongzhan microsoft com> Sponsored by: Microsoft Differential Revision: https://reviews.freebsd.org/D11271 26 June 2017, 05:56:49 UTC
c7925e6 MFC r320242, r320256: Update leap-seconds to leap-seconds.3676924800. As per https://datacenter.iers.org/eop/-/somos/5Rgv/latest/16: INTERNATIONAL EARTH ROTATION AND REFERENCE SYSTEMS SERVICE (IERS) SERVICE INTERNATIONAL DE LA ROTATION TERRESTRE ET DES SYSTEMES DE REFERENCE SERVICE DE LA ROTATION TERRESTRE OBSERVATOIRE DE PARIS 61, Av. de l'Observatoire 75014 PARIS (France) Tel. : 33 (0) 1 40 51 23 35 FAX : 33 (0) 1 40 51 22 91 Internet : services.iers@obspm.fr Paris, 9 January 2017 Bulletin C 53 To authorities responsible for the measurement and distribution of time INFORMATION ON UTC - TAI NO leap second will be introduced at the end of June 2017. The difference between Coordinated Universal Time UTC and the International Atomic Time TAI is : from 2017 January 1, 0h UTC, until further notice : UTC-TAI = -37 s Leap seconds can be introduced in UTC at the end of the months of December or June, depending on the evolution of UT1-TAI. Bulletin C is mailed every six months, either to announce a time step in UTC, or to confirm that there will be no time step at the next possible date. Christian BIZOUARD Director Earth Orientation Center of IERS Observatoire de Paris, France Obtained from: ftp://time.nist.gov/pub/leap-seconds.3676924800 Approved by: re@ (delphij@) 26 June 2017, 05:42:35 UTC
0c055d2 Fix an incorrect revision number. Submitted by: David Marec <david dot marec at @davenulle dot .org> Approved by: re (implicit) Sponsored by: The FreeBSD Foundation 25 June 2017, 18:01:27 UTC
f66a5c9 MFC r320216: Fix use-after-free introduced in r300388. In r300388, endnetconfig() was called on nc_handle which would release the associated netconfig structure, which means tmpnconf->nc_netid would be a use-after-free. Solve this by doing endnetconfig() in return paths instead. Reported by: jemalloc via kevlo Reviewed by: cem, ngie (earlier version) Approved by: re (kib) 25 June 2017, 17:42:27 UTC
3075d49 MFC r320052: Do not leak syslog_mutex on cancellation. Approved by: re (marius) 24 June 2017, 14:41:57 UTC
bb815a4 MFC r320051: Correct translations between abridged and full x87 tags. Approved by: re (marius) 24 June 2017, 13:53:47 UTC
d2d3859 MFC r320206,r320207: r320206: Follow-up r308602: Don't add missing headers to .depend.tables.h. r320207: Tweak r320206: Still create the TABLE but not the .depend entry for missing headers. Approved by: re (gjb) 23 June 2017, 20:49:23 UTC
6ae706b MFC r320174,r320204: r320174: Fix 'make clean all' to work again. r320204: Fix various 'make *clean *all *install' combinations. PR: 219819 Approved by: re (gjb) 23 June 2017, 20:38:21 UTC
2070f59 MFC r319861: META_MODE: NO_FILEMON should imply nofilemon. Approved by: re (gjb) 23 June 2017, 20:25:58 UTC
8a22ace MFC r319862,r319996,r320030: r319862: META_MODE: Show .ERROR_CMD in error. r319996: WITH_META_MODE: Don't try showing command if .ERROR_META_FILE is empty. r320030: WITH_META_MODE: End each ERROR_CMD CMD line with ';'. Approved by: re (gjb, marius) 23 June 2017, 20:07:56 UTC
515849d MFC r320012,r320028,r320061,r320118: r320012: Fix LIBAMU location to fix 'stale .depend' rebuilds in usr.sbin/amd. r320028: Fix more incorrect library directories fix 'stale .depend' rebuilds. r320061: Fix Makefiles which override LIBDIR to not add incorrect dependencies into .depend. r320118: Follow-up r320061: Need to respect make.conf/env LIBDIR overrides. Approved by: re (gjb) 23 June 2017, 19:44:20 UTC
fe83e36 MFC r320038: Style. Approved by: re (gjb) 23 June 2017, 18:57:56 UTC
d86d258 Update stable/11 to BETA3 as part of the 11.1-RELEASE cycle. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation 23 June 2017, 00:00:00 UTC
3415893 MFC r320124: Fix the !TD_IS_IDLETHREAD(curthread) locking assertions. Approved by: re (kib) 22 June 2017, 18:40:34 UTC
b3e08fd Document r320218, primes(6) updated to new limit of 2^64-1. Document r320164, qlnxe(4) firmware and hardware support updates. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation 22 June 2017, 13:31:44 UTC
031f569 MFC r319975: Some minor improvements to vnode_pager_generic_putpages(). Approved by: re (marius) 22 June 2017, 11:03:42 UTC
6db86c4 MFC r319491: Skip setting the MTU in the netfront driver (xn# devices) if the new MTU is the same as the old MTU. In particular, on Amazon EC2 "T2" instances without this change, the network interface is reinitialized every 30 minutes due to the MTU being (re)set when a new DHCP lease is obtained. Approved by: re (delphij) 22 June 2017, 05:30:27 UTC
dd0bf74 MFC r31956[12]: Teach primes(6) to enumerate primes up to 2^64 - 1. Approved by: re (delphij) Relnotes: primes(6) now enumerates primes beyond 3825123056546413050, up to a new limit of 2^64 - 1. > Description of fields to fill in above: 76 columns --| > PR: If and which Problem Report is related. > Submitted by: If someone else sent in the change. > Reported by: If someone else reported the issue. > Reviewed by: If someone else reviewed your modification. > Approved by: If you needed approval for this commit. > Obtained from: If the change is from a third party. > MFC after: N [day[s]|week[s]|month[s]]. Request a reminder email. > MFH: Ports tree branch name. Request approval for merge. > Relnotes: Set to 'yes' for mention in release notes. > Security: Vulnerability reference (one per line) or description. > Sponsored by: If the change was sponsored by an organization. > Differential Revision: https://reviews.freebsd.org/D### (*full* phabric URL needed). > Empty fields above will be automatically removed. _M . M usr.bin/factor/factor.6 M usr.bin/primes/primes.c M usr.bin/primes/primes.h M usr.bin/primes/spsp.c 22 June 2017, 05:26:08 UTC
6ea8696 MFC r320183: Reduce code duplication in rpc.lockd. Reuse create_service code instead of duplicating it in lookup_addresses for kernel NLM. As a (good) side effect this also fixed a few issues that were already fixed in the former but never applied to the latter. Approved by: re (gjb) 22 June 2017, 05:22:21 UTC
056bf73 MFC 319702: Fix an off-by-one error in the VM page array on some systems. r313186 changed how the size of the VM page array was calculated to be less wasteful. For most systems, the amount of memory is divided by the overhead required by each page (a page of data plus a struct vm_page) to determine the maximum number of available pages. However, if the remainder for the first non-available page was at least a page of data (so that the only memory missing was a struct vm_page), this last page was left in phys_avail[] but was not allocated an entry in the VM page array. Handle this case by explicitly excluding the page from phys_avail[]. Approved by: re (kib) 21 June 2017, 14:36:25 UTC
cd07d9a MFC r318968: Add missing usage and getopt(3) options - Add the missing option 'n' to the getopt(3) string - Add the missing options 'libxo' and 'N' to the usage message - Add the missing options 'M' and 'N' to the man-page Submitted by: Keegan Drake H.P. <kdrakehp@zoho.com> Differential Revision: https://reviews.freebsd.org/D10915 Approved by: re (gjb) 20 June 2017, 20:19:57 UTC
8cb47ee MFC r319964 Upgrade STORMFW to 8.30.0.0 and ecore version to 8.30.0.0 Add support for pci deviceID 0x8070 for QLE41xxx product line which supports 10GbE/25GbE/40GbE Approved by: re(gjb) 20 June 2017, 19:16:06 UTC
0a72ccc MFC r319932: Fix handling of subpage BIO_WRITE and BIO_DELETE requests on swap MDs. Approved by: re (gjb) 20 June 2017, 17:38:25 UTC
5f381d2 MFC 319490: Remove stale cap_rights_get(2) manpage. The documentation moved to section 3 several years ago, but 'man cap_rights_get' pulls up cap_rights_limit(2) (which is MLINKed to cap_rights_get.2) instead of cap_rights_get(3). Approved by: re (gjb) 20 June 2017, 15:55:15 UTC
67fe4a3 MFC 318996: Add descriptions for AES-GCM IPSec authentication (AH) counters. Approved by: re (gjb) Sponsored by: Chelsio Communications 20 June 2017, 15:10:14 UTC
0bb9341 MFC r319916: Remove stray return. Approved by: re (marius) 20 June 2017, 12:40:25 UTC
6ea17b8 MFC r319895: Resurrect RTF_RNH_LOCKED flag and restore ability to call rtalloc1_fib() with acquired RIB lock. This fixes a possible panic due to trying to acquire RIB rlock when it is already exclusive locked. PR: 215963, 215122 Sponsored by: Yandex LLC Approved by: re (delphij) 20 June 2017, 05:57:28 UTC
cf29c5b Direct commit to stable/11 to correctly setting the EIAC and IMS registers to the same values when processing interrupts. This reverts a change made in r286831 that was not fully reverted in r311979 This resolves PR https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211219 PR: 211219 Submitted by: Franco Fitchner <franco@opnsense.org> Approved by: re (marius) 19 June 2017, 15:03:47 UTC
006c5cd MFC r318867: fix vmxnet3 crash when LRO is enabled The crash can occur when all of the following conditions are true: - a packet consists of multiple segments (requires LRO enabled) - there has been a failure to allocate an mbuf for the packet and the packet has to be dropped - a host (vmware) still owned at least one segment of the packet, so the driver had to wait for another interrupt to proceed to discarding the remaining segment(s) Reviewed by: rstone Approved by: re (gjb) Sponsored by: Panzura 19 June 2017, 14:45:20 UTC
43ef723 Fix units in the r320088 entry. [1] While here, move to a more appropriate section. Submitted by: rpokala [1] Approved by: re (implicit) Sponsored by: The FreeBSD Foundation 19 June 2017, 14:30:01 UTC
7bc56ff MFC r319942 (jhb): Don't try to assign interrupts to a CPU on single-CPU systems. All interrupts are routed to the sole CPU in that case implicitly. This is a regression in EARLY_AP_STARTUP. Previously the 'assign_cpu' variable was only set when a multi-CPU system finished booting, so its value both meant that interrupts could be assigned and that there was more than one CPU. PR: 219882 Approved by: re (kib) Sponsored by: The FreeBSD Foundation 19 June 2017, 13:26:38 UTC
0aa30e9 Document r320088, default EFI partition size change. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation 19 June 2017, 13:25:47 UTC
f876d94 MFC r320035: Move the description of kern.kq_calloutmax sysctl into a new paragraph for better presentation. Approved by: re (delphij) 19 June 2017, 07:15:47 UTC
aeb7c44 MFC r320034: Start a new sentence on the new line. Approved by: re (delphij) 19 June 2017, 06:48:21 UTC
e42ec96 MFC r319962: Correct example directory location. Submitted by: olivier@ Approved by: re@ (kib@) 19 June 2017, 05:01:51 UTC
6e0c2e5 bsdinstall: use consistent EFI configuration across platforms MFC r320007: - increase arm64 EFI partition to 200M, as x86 - use EFI_BOOTPART_SIZE and EFI_BOOTPART_PATH macros on x86 - increase ZFS EFI partition to 200M MFC r320008: bsdinstall: correct comment after r320007 PR: 201898 Approved by: re (kib) Relnotes: Yes Sponsored by: The FreeBSD Foundation 19 June 2017, 03:07:00 UTC
6de087e MFC r319676: patch: if reading fails, do not go into infinite loop asking for a filename. This can happen if no tty is available. Obtained from: OpenBSD (CVS rev 1.54) Approved by: re (marius) 18 June 2017, 21:46:54 UTC
ec57dfe MFC r319355: Minor code optimisation. Avoid locking the global CUSE lock when the polling flags are zero. Approved by: re (kib) 18 June 2017, 18:09:31 UTC
1bfabcb MFC r317928 Add necessary bits to get FreeBSD booting on the Unifi Security Gateway Summary: The Ubiquiti Unifi Security Gateway is virtually identical to the EdgeRouter Lite, with a smaller PCB and apparently a different board identifier. Simply adding the new board identifier alongside the ERL identifier, FreeBSD boots successfully, and can access the needed peripherals. Approved by: re(bdrewery) 18 June 2017, 17:20:48 UTC
95ac510 MFC r319972: Use static device numbering instead of dynamic one when creating mlx4en network interfaces. This prevents infinite unit number growth typically when the mlx4en driver is used inside virtual machines which support runtime PCI attach and detach. Approved by: re (gjb) Sponsored by: Mellanox Technologies 18 June 2017, 11:46:17 UTC
b9f5177 lld: Fix weak symbols on arm and aarch64 MFC r319955: lld: sort relocations No functional change; applied to facilitate merge of later LLD commit. MFC r319956: lld: Fix weak symbols on arm and aarch64 Given .weak target .global _start _start: b target The intention is that the branch goes to the instruction after the branch, effectively turning it on a nop. The branch adds the runtime PC, but we were adding it statically too. I noticed the oddity by inspection, but llvm-objdump seems to agree, since it now prints things like: b #-4 <_start+0x4> Obtained from: LLD r298797, r305212 Approved by: re (gjb) Sponsored by: The FreeBSD Foundation 17 June 2017, 19:00:12 UTC
98ac821 MFC r319539: Mitigate several problems with the softdep_request_cleanup() on busy host. Approved by: re (gjb) 17 June 2017, 17:10:50 UTC
0bd61f7 Update stable/11 to BETA2 as part of the 11.1-RELEASE cycle. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation 16 June 2017, 00:00:01 UTC
50f2061 MFC r319540 The data type returned by vmoff() is too narrow in its range. This could break the transmission of files longer than 4 GB on 32-bit architectures. Approved by: re (gjb) 15 June 2017, 18:49:46 UTC
aca6f52 MFC: r319863 bsdinstall: Make ZFS min_auto_ashift adjustment persistent MFC: r319864 bsdinstall: support Auto ZFS mode for ARM64 Approved by: re (gjb) 15 June 2017, 17:44:16 UTC
6c17434 MFC: r319866, r319867 top: Change the way the ZFS ARC compression ratio is calculated remove overhead statistics, already included in other counters Approved by: re (gjb) 15 June 2017, 17:43:40 UTC
b46c9b5 MFC r318995 In r118390, the swap pager's approach to striping swap allocation over multiple devices was changed. However, swapoff_one() was not fully and correctly converted. In particular, with r118390's introduction of a per- device blist, the maximum swap block size, "dmmax", became irrelevant to swapoff_one()'s operation. Moreover, swapoff_one() was performing out-of- range operations on the per-device blist that were silently ignored by blist_fill(). This change corrects both of these problems with swapoff_one(), which will allow us to potentially increase MAX_PAGEOUT_CLUSTER. Previously, swapoff_one() would panic inside of blist_fill() if you increased MAX_PAGEOUT_CLUSTER. MFC r319001 After r118390, the variable "dmmax" was neither the correct strip size nor the correct maximum block size. Moreover, after r318995, it serves no purpose except to provide information to user space through a read- sysctl. This change eliminates the variable "dmmax" but retains the sysctl. It also corrects the value returned by the sysctl. MFC r319604 Halve the memory being internally allocated by the blist allocator. In short, half of the memory that is allocated to implement the radix tree is wasted because we did not change "u_daddr_t" to be a 64-bit unsigned int when we changed "daddr_t" to be a 64-bit (signed) int. (See r96849 and r96851.) MFC r319612 When the function blist_fill() was added to the kernel in r107913, the swap pager used a different scheme for striping the allocation of swap space across multiple devices. And, although blist_fill() was intended to support fill operations with large counts, the old striping scheme never performed a fill larger than the stripe size. Consequently, the misplacement of a sanity check in blst_meta_fill() went undetected. Now, moving forward in time to r118390, a new scheme for striping was introduced that maintained a blist allocator per device, but as noted in r318995, swapoff_one() was not fully and correctly converted to the new scheme. This change completes what was started in r318995 by fixing the underlying bug in blst_meta_fill() that stops swapoff_one() from simply performing a single blist_fill() operation. MFC r319627 Starting in r118390, swaponsomething() began to reserve the blocks at the beginning of a swap area for a disk label. However, neither r118390 nor r118544, which increased the reservation from one to two blocks, correctly accounted for these blocks when updating the variable "swap_pager_avail". This change corrects that error. MFC r319655 Originally, this file could be compiled as a user-space application for testing purposes. However, over the years, various changes to the kernel have broken this feature. This revision applies some fixes to get user- space compilation working again. There are no changes in this revision to code that is used by the kernel. Approved by: re (kib) 15 June 2017, 17:06:04 UTC
5775a12 MFC 319670 Fix SMBFS when saved passwords are greater than 18 character PR: 132302 Submitted by: dhorn2000@gmail.com guru@unixarea.de Approved by: re (gjb) 15 June 2017, 16:12:45 UTC
77c87ed MFC r319954: Modernize FreeBSD version numbers in freebsd-update(8). While here, expand a contraction to make textproc/igor happy. Approved by: re (kib) Sponsored by: The FreeBSD Foundation 15 June 2017, 15:50:17 UTC
89794c9 MFC r319852: Fix buffer lengths. After r319369, the RPC code validates caller supplied buffer length in taddr2uaddr. When no -h is specified, the sizeof(ai_addr) is used, which is always smaller than the required size and therefore uaddr would be NULL, causing the kernel to copyin() from userland NULL and fail with EFAULT. Approved by: re (kib) 15 June 2017, 15:24:15 UTC
ea35789 MFC r319869: Decode recently added flags. Approved by: re (marius) 15 June 2017, 15:08:54 UTC
b489963 Null pointer must be checked before use. This fixes a regression introduced in r318716. Note it is a direct commit to stable/11 because head removed support for idle page zeroing in r305362. PR: 219994 Reviewed by: markj Approved by: re (gjb) 15 June 2017, 02:39:33 UTC
3a742d6 MFC: 319690 Approved by: re (marius) r319690 hyperv/pcib: use the device serial number as PCI domain Currently the PCI domain is initialized with the instance GUID in vmbus_pcib_attach(). It turns out the GUID can change across VM reboot, while some users want a persistent value for PCI domain. The solution is that we can change to use the device serial number, which starts with 1 and is unique within a VM. Obtained from: Haiyang Zhang Sponsored by: Microsoft 14 June 2017, 13:44:32 UTC
aa633b1 MFC r319825: More accurately handle early EFER restoration on resume. Approved by: re (delphij) 14 June 2017, 05:12:09 UTC
88f9b3d MFC r307517, r314342, r316357, r317545, r317777: r307517: Typo fixed: arbitraty -> arbitrary. PR: 213559 r314342: bhyve: document virtio-console in the manpage r316357: Minor style improvements in bhyve.8 Replace "as of now" with "at present". As the change is a really minor one, don't bump .Dd. r317545: Document raw framebuffer device and XHCI device configurations. r317777: Improve documentation of fbuf device. Approved by: grehan (mentor) Approved by: re (gjb) 13 June 2017, 22:34:42 UTC
c716171 MFC r317428 (cognet): fix arm64 MSI In arm_gicv2m_alloc_msi(), if we found a suitable irq range, leave the loop before we increase irq again, or we'd end up choosing an irq, and then really using the next one, even if it's not available. Also in the inner loop, correct the end check so that we check every irq, even the last one. This makes the msk(4) adapter able to use MSI on Softiron Overdrive 1000. PR: 219956 Approved by: re (gjb) 13 June 2017, 18:59:34 UTC
b275896 MFC r319610: usr.sbin/sesutil: correct 'locate all off' to deactivate empty slot LEDs PR: 217409 Approved by: re (marius) 13 June 2017, 15:23:49 UTC
7748166 Document r319884, make(1) version 20170510. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation 13 June 2017, 01:13:09 UTC
27f805a Update bmake to 20170510 Approved by: re@ 13 June 2017, 00:22:15 UTC
9029ab5 MFC r313398: Approved by: re (gjb) Apply r274475's to expr.oxout.tab.c to fix the test on FreeBSD YYINT on FreeBSD is int, not short I'll work with the upstream maintainer or come up with a build method of modifying their definitions on install instead of having to modify tests to match our forked YYINT definition. PR: 216891 12 June 2017, 17:37:18 UTC
9c1e421 MFC r319571: On success, getrandom() Linux system call returns the number of bytes that were copied to the buffer supplied by the user. PR: 219464 Submitted by: Maciej Pasternacki Reported by: Maciej Pasternacki Approved by: re (kib) 11 June 2017, 09:33:09 UTC
abce719 MFC r318765: Allow cpuset_{get,set}affinity in capabilities mode Approved by: re (marius) 11 June 2017, 02:04:39 UTC
3e8fb7d MFC r319518: Ensure that cached struct thread does not keep spurious td_su reference on an UFS mount point. MFC r319519: Clean possible td_su reference on the struct mount being unmounted as the last step of ffs_unmount(). Approved by: re (gjb) 10 June 2017, 11:14:54 UTC
back to top