arm64: constify miscellaneous pin and clock tables

2022-04-16 Thread Christian Weisgerber
So I did "objdump -t bsd | fgrep 'O .data' | sort -k5r" on arm64. Oh my. The diff below constifies a myriad of pin, clock, etc. tables. This is all very mechanical. An arm64 GENERIC.MP kernel still builds and boots with this. OK? M sys/dev/fdt/amlclock.c M sys/dev/fdt/amlpinctrl.c M sys/dev

move vmm(4) spinout paranoia behind MP_LOCKDEBUG

2022-04-16 Thread Dave Voutila
This tucks all the spinout paranoia behind `#ifdef MP_LOCKDEBUG` and uses the same approach used in amd64's pmap's TLB shootdown code. Part of me wants to remove this altogether, but I'm not sure it's outlived its usefulness quite yet. Three areas that busy wait on ipi's are modified: 1. vmm_sta

match driver rkanxdp(4) with netbsd further...

2022-04-16 Thread Peter J. Philipp
Hi, I don't know if we're locked but I'd like to point out that in NetBSD's http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/arm/rockchip/rk_anxdp.c.diff?r1=1.3&r2=1.4&only_with_tag=MAIN There is this change from 0x3 to 0x2. I don't know if it'll help me, as I have a pinephone pro and this driv