neovim: Update to 0.12.0
Seems ok from a quick test (I'm writing this commit message using it!)
but worth to use more in order to replace editors/neovim.
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]
py-ruff: update to 0.15.8.
Preview features
[ruff] New rule unnecessary-if (RUF050) (#24114)
[ruff] New rule useless-finally (RUF072) (#24165)
[ruff] New rule f-string-percent-format (RUF073): warn when using % operator on an f-string (#24162)
[pyflakes] Recognize frozendict as a builtin for Python 3.15+ (#24100)
Bug fixes
[flake8-async] Use fully-qualified anyio.lowlevel import in autofix (ASYNC115) (#24166)
[flake8-bandit] Check tuple arguments for partial paths in S607 (#24080)
[pyflakes] Skip undefined-name (F821) for conditionally deleted variables (#24088)
E501/W505/formatter: Exclude nested pragma comments from line width calculation (#24071)
Fix %foo? parsing in IPython assignment expressions (#24152)
analyze graph: resolve string imports that reference attributes, not just modules (#24058)
Rule changes
[23 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