Merge branch 'freebsd/current/main' into hardened/current/master
* freebsd/current/main:
lualoader: use floor division to get correct type
cat: Fix potential memory leak
Add 'tmp' to the list of FILESYSTEMS dependencies. Some scripts that depend on FILESYSTEMS run mktemp(1). For systems that have read-only root this is broken until memory disk based /tmp is instantiated. At least 'os-release' and 'motd' are subject to this problem.
Revert 97ec6eba653a07. There shouldn't be a dependency of 'tmp' on remote filesystems. Discussed this with Brooks and he can't find evidence that provoked the change in 2005. If anything gets broken I will fix it in a different way, not via rc sequence change.
cat: capsicumize it
Extract the logic from pmap_kextract
Remove the old dts imported tree.
Switch to the new device-tree vendor tree
gpiokeys: Use the new device-tree vendor include
arm64: Directly use #include <dt-binding/...>
Re-apply f81b2b9a8abd to the new device-tree import
Revert upstream commit 27c90e5e48d0
Merge branch 'freebsd/current/master' into hardened/current/master
* freebsd/current/master:
devinfo: add man page links
devinfo: fix memory leak on error paths
Remove unneeded cast to struct iommu_domain *.
Add a few macroses for conversion between DMAR unit, domain, ctx and IOMMU unit, domain, ctx.
rms: fix typo: bitmamp -> bitmap
mmccam: Hold the periph during init
mmcam: Use a static length sbuf buffer
mmccam: mmc_xpt: We're only interested about losing the device
cache: factor away failed vexec handling
cache: assorted tidy ups
cache: factor away lockless dot lookup and add missing stat + sdt probe
vfs: add vfs_op_thread_enter/exit _crit variants
cache: add missing numcache detrement on insertion failure
rms: add a comment explaining performance deficiencies of write locking
Remove extra memset() left after r342388.
Import DTS from Linux 5.8
[4 lines not shown]
MFC r358430, r359934-r359936, r359939, r359969, r360093
r358430:
dts: Update our copy for arm, arm64 and riscv dts to Linux 5.5
r359934:
dts: Import DTS from Linux 5.6
r359935:
allwinner: aw_thermal: Cope with DTS changes
The upstream DTS now include the thermal device node and the SID
calibration entry.
Update our driver to cope with this change and remove the DTB
overlays that aren't needed anymore.
X-MFC-With: r359934
r359936:
[27 lines not shown]
MFC r358430, r359934-r359936, r359939, r359969, r360093
r358430:
dts: Update our copy for arm, arm64 and riscv dts to Linux 5.5
r359934:
dts: Import DTS from Linux 5.6
r359935:
allwinner: aw_thermal: Cope with DTS changes
The upstream DTS now include the thermal device node and the SID
calibration entry.
Update our driver to cope with this change and remove the DTB
overlays that aren't needed anymore.
X-MFC-With: r359934
r359936:
[27 lines not shown]
Merge branch 'freebsd/current/master' into hardened/current/master
* freebsd/current/master:
Makefile.inc1: remove stale dependency cleanup from 2018
dts: patch the am33xx dts for upcoming clock support
Import DTS files from Linux 5.7
Also pass SKEIN_USE_ASM to the assembler, via AFLAGS
librtld_db: Handle anonymous mappings below the first file mapping.
skein_block_asm.S: use #ifdef not .ifdef, for Clang IAS
zfsbootcfg: use vfs.root.mountfrom and update nextboot on every vdev
Apply C SKEIN_LOOP setting only to skein_block.c
Belatedly bump .Dd for r361783
geom_label: Use provider aliasing to alias upstream geoms
geom: Don't re-add duplicate aliases
Merge branch 'freebsd/current/master' into hardened/current/master
* freebsd/current/master:
Remove bogus use of useracc() in (clock_)nanosleep.
Centralize compatability translation macros.
modules: dtb: allwinner: Remove non existant files
allwinner: aw_thermal: Cope with DTS changes
files: Add mmc_fdt_helpers for mmccam enabled config
sysent: re-roll after r359930
Mark closefrom(2) COMPAT12, reimplement in libc to wrap close_range
Import DTS files from Linux 5.6
arm: dwmmc: Use mmc_fdt_helpers
Improve the TCP blackhole detection. The principle is to reduce the MSS in two steps and try each candidate two times. However, if two candidates are the same (which is the case in TCP/IPv6), this candidate was tested four times. This patch ensures that each candidate actually reduced the MSS and is only tested 2 times. This reduces the time window of missclassifying a temporary outage as an MTU issue.
arm: allwinner: aw_mmc: Use the mmc_fdt_helper
Those functions are here to help fdt mmc controller drivers to parse the dts to find the supported speeds and the regulators. Not all DTS have every settings properly defined so host controller will still have to add some caps themselves. It also add a mmc_fdt_gpio_setup function which will read the cd-gpios property and register it as the CD pin. If the pin support interrupts one will be registered and the cd_helper function will be called. If the pin doesn't support interrupts the internal taskqueue will poll for change and call the same cd_helper function. mmc_fdt_gpio_setup will also parse the wp-gpio property and MMC drivers can know the write-protect pin value by calling the mmc_fdt_gpio_get_readonly function.
Make sonewconn() overflow messages have per-socket rate-limits and values.