Pull up following revision(s) (requested by gutteridge in ticket #231):
external/bsd/unbound/include/config.h: revision 1.15
unbound: readjust PID path so rc scripts work again
Readdresses PR bin/57242 "unbound rc.d script does not work with
chrooted unbound".
Pull up following revision(s) (requested by skrll in ticket #230):
sys/arch/arm/include/profile.h: revision 1.20
sys/arch/arm/include/asm.h: revision 1.40
sys/arch/arm/include/profile.h: revision 1.21
sys/arch/arm/include/profile.h: revision 1.19
arm: fix profile support
gcc on arm has defaulted to arm/bpabi.h over arm/netbsd-elf.h since
external/gpl3/gcc/dist/gcc/config.gcc:1.70
date: 2021-06-15 09:22:23 +0100
which has meant that profiling expects __gnu_mcount_nc
This commit provides __gnu_mcount_nc and ditches non-EABI support (and
arm26 support)
Fix the armv4 builds
... but use the riht register for returns.
Pull up following revision(s) (requested by rillig in ticket #229):
common/lib/libutil/snprintb.c: revision 1.50
common/lib/libutil/snprintb.c: revision 1.51
tests/lib/libutil/t_snprintb.c: revision 1.40
tests/lib/libutil/t_snprintb.c: revision 1.41
tests/lib/libutil/t_snprintb.c: revision 1.42
lib/libutil/snprintb.3: revision 1.40
lib/libutil/snprintb.3: revision 1.41
tests/lib/libutil/t_snprintb.c: revision 1.38
tests/lib/libutil/t_snprintb.c: revision 1.39
tests/snprintb: clean up comments
libutil/snprintb: allow 'f' to be combined with ':'
But only if the numeric value can be clearly distinguished from the
description. This style is used by sh3/dmacreg.h.
tests/snprintb: test for out-of-memory writes
[17 lines not shown]
Pull up following revision(s) (requested by gutteridge in ticket #228):
sys/external/gpl2/dts/dist/arch/arm64/boot/dts/rockchip/rk3399-nanopi-r4s.dts: revision 1.2
share/installboot/evbarm/boards.plist: revision 1.17
sys/dev/ic/rtl8169.c: revision 1.182
evbarm/boards.plist: add nanopi-r4s
rk3399-nanopi-r4s.dts: apply upstream USB fix
This gives us the addition of:
[ 1.0000040] rkusbphy2 at rkusb1: USB2 host port
This is taken from the following commit (applied to a different file
in the current Linux tree; it should be included in the DTS update
skrll@ is planning, but could be simpler to pull up to netbsd-11 in
this form):
From 38f4aa34a5f737ea8588dac320d884cc2e762c03 Mon Sep 17 00:00:00 2001
From: Justin Klaassen <justin%tidylabs.net at localhost>
[23 lines not shown]
Pull up following revision(s) (requested by skrll in ticket #1252):
sys/stand/efiboot/version: revision 1.34 (patch)
sys/stand/efiboot/bootarm/Makefile: revision 1.10
PR/60069 NetBSD non booting on H3 Allwinner
Disable EFI runtime support on arm as it doesn't play nicely with many
FWs where things go south after/during the call to SetVirtualAddressMap
Also seen by cp- on Odriod-XU4
Pull up following revision(s) (requested by skrll in ticket #227):
sys/stand/efiboot/version: revision 1.34
sys/stand/efiboot/bootarm/Makefile: revision 1.10
PR/60069 NetBSD non booting on H3 Allwinner
Disable EFI runtime support on arm as it doesn't play nicely with many
FWs where things go south after/during the call to SetVirtualAddressMap
Also seen by cp- on Odriod-XU4
Pull up following revision(s) (requested by skrll in ticket #226):
lib/libc/compat/arch/arm/gen/compat_setjmp.S: revision 1.6
tests/lib/libc/setjmp/t_setjmp.c: revision 1.14
PR/59351 compat_setjmp is busted
Apply the patch in the PR from Valery Ushakov (thanks) which restores
the restoration of r0, lr after the call to sigblock that was lost in
revision 1.3
Remove atf_tc_expect_signal for arm now that PR port-arm/59351 is fixed
Pull up following revision(s) (requested by wiz in ticket #1251):
distrib/sets/lists/comp/mi: revision 1.2521
external/mit/expat/lib/libexpat/Makefile: revision 1.5
expat: install expat_config.h
recently required by python311
Pull up following revision(s) (requested by wiz in ticket #225):
distrib/sets/lists/comp/mi: revision 1.2521
external/mit/expat/lib/libexpat/Makefile: revision 1.5
expat: install expat_config.h
recently required by python311
Pull up following revision(s) (requested by mrg in ticket #224):
sys/kern/kern_cpu.c: revision 1.101
sys/kern/kern_runq.c: revision 1.73
cpu_is_better: fix comparison
the current coding always return true.
this commit fixes it to return if the first one is better
than the other one, which i believe is the author's intention.
fix a regression in the
"partly prepare for more than 2-level CPU speed scheduler support"
change.
sched_catchlwp: fix an inverted conditional
fix a regression in the
"partly prepare for more than 2-level CPU speed scheduler support"
change.
Pull up following revision(s) (requested by skrll in ticket #223):
sys/arch/riscv/conf/kern.ldscript: revision 1.9
Provide the kernel_text symbol for the benfit of sys/kern/subr_prof.c
Pull up following revision(s) (requested by skrll in ticket #222):
sys/arch/riscv/conf/GENERIC64: revision 1.24
sys/arch/riscv/sunxi/files.sunxi: revision 1.5
sys/arch/arm/sunxi/sunxi_mmc.c: revision 1.50
risc-v: add support for allwinner,sun20i-d1-mmc
From Rui-Xiang Guo via port-riscv
Pull up following revision(s) (requested by skrll in ticket #221):
sys/arch/riscv/riscv/cpufunc.c: revision 1.1
sys/arch/riscv/riscv/cpufunc.c: revision 1.2
sys/arch/riscv/conf/files.riscv: revision 1.18
sys/arch/riscv/include/pmap.h: revision 1.26
sys/arch/riscv/include/cpufunc.h: revision 1.2
sys/arch/riscv/riscv/pmap_machdep.c: revision 1.24
sys/arch/riscv/riscv/cpu.c: revision 1.11
sys/arch/riscv/riscv/riscv_machdep.c: revision 1.48
risc-v: handle T-Head L1 caches
Provide and use hooks for L1 cache operations on the T-Head processors.
Re-worked from diffs provided by Rui-Xiang Guo via port-riscv.
Fix primary cache function prototypes to fix build on rv32
Pull up following revision(s) (requested by skrll in ticket #220):
sys/arch/riscv/conf/GENERIC64: revision 1.23
sys/arch/riscv/sunxi/files.sunxi: revision 1.4
sys/arch/arm/sunxi/sunxi_wdt.c: revision 1.7
sunxi: support allwinner,sun20i-d1-wdt
From Rui-Xiang Guo via port-riscv
Pull up following revision(s) (requested by thorpej in ticket #219):
sys/dev/ic/clmpcc.c: revision 1.55
No need for an informational printf to flagged as an error.
From Denis Ahrens.
Pull up following revision(s) (requested by mlelstv in ticket #2007):
sys/dev/pci/esm.c: revision 1.67
With the device_t split, esm(4) got damaged since the wrong pointer
is passed around.
Fixes PR install/59621
Pull up following revision(s) (requested by mlelstv in ticket #1250):
sys/dev/pci/esm.c: revision 1.67
With the device_t split, esm(4) got damaged since the wrong pointer
is passed around.
Fixes PR install/59621
Pull up following revision(s) (requested by mlelstv in ticket #218):
sys/dev/pci/esm.c: revision 1.67
With the device_t split, esm(4) got damaged since the wrong pointer
is passed around.
Fixes PR install/59621
Pull up following revision(s) (requested by skrll in ticket #216):
libexec/ld.elf_so/tls.c: revision 1.29
PR/60011: TLS alignment wrong on powerpc
Fix previous where I only got the alignment right for the architectures
where the thread pointer points to the struct tcb. Handle the
architectures that have a thread pointer that is relative to end of the
struct tcb, e.g. powerpc.
Hopefully the commit in the tls.c explains what's going on.
Thanks to riastrah@ and andvar@ for comments/things to fix.
Pull up following revision(s) (requested by hans in ticket #1248):
sys/arch/vax/boot/boot/conf.c: revision 1.19
sys/arch/vax/boot/boot/ra.c: revision 1.23
sys/arch/vax/boot/boot/vaxstand.h: revision 1.12
sys/arch/vax/uba/uba_mainbus.c: revision 1.15
vax/uba: fix detection of CMD CQD-22x MSCP controllers
Certain models of CMD MSCP controllers fail to be detected by uda(4) if
they have been booted from. This failure mode has been introduced in
revision 1.11 of uba_mainbus.c, when scanning for Qbus/Unibus memories
was added. They are deteced fine when NetBSD is booted from any other
device such as over the network.
When NetBSD is booted from a MSCP controller, the boot loader sets up
the Qbus map to provide the controller with a small command/response
ring in memory to be used for I/O. Once the kernel is loaded and uba(4)
is attaching, the Qbus map is cleared while scanning for memories. It
[47 lines not shown]
Pull up the following, requested by kre in ticket #215:
external/public-domain/tz/dist/CONTRIBUTING up to 1.1.1.10
external/public-domain/tz/dist/Makefile up to 1.5
external/public-domain/tz/dist/NEWS up to 1.6
external/public-domain/tz/dist/README up to 1.3
external/public-domain/tz/dist/SECURITY up to 1.1.1.2
external/public-domain/tz/dist/TZDATA_VERSION up to 1.44
external/public-domain/tz/dist/africa up to 1.3
external/public-domain/tz/dist/antarctica up to 1.4
external/public-domain/tz/dist/asia up to 1.16
external/public-domain/tz/dist/australasia up to 1.12
external/public-domain/tz/dist/backzone up to 1.4
external/public-domain/tz/dist/calendars up to 1.1.1.3
external/public-domain/tz/dist/checknow.awk up to 1.4
external/public-domain/tz/dist/etcetera up to 1.4
external/public-domain/tz/dist/europe up to 1.5
external/public-domain/tz/dist/iso3166.tab up to 1.1.1.10
external/public-domain/tz/dist/leap-seconds.list up to 1.11
[11 lines not shown]
Pull up following revision(s) (requested by joe in ticket #213):
sys/net/npf/npf_socket.c: revision 1.5
ensure softnet lock is held rather re-locking
If we are about to interact with sockets
we should just ensure that the softnet_lock is held.
Because sockets initializations acquire that lock.
fixes PR kern/60060
Pull up following revision(s) (requested by andvar in ticket #2006):
share/man/man7/sysctl.7: revision 1.168
sysctl(7): fix kernel parameter name: s/UVHMIST/UVMHIST/.
Pull up following revision(s) (requested by andvar in ticket #1245):
share/man/man7/sysctl.7: revision 1.168
sysctl(7): fix kernel parameter name: s/UVHMIST/UVMHIST/.