Re: New pmap status update

Jason Thorpe <[email protected]> Sun, 14 Dec 2025 16:55:26 -0500
Newsgroups gmane.os.netbsd.ports.m68k
Message-ID <[email protected]>

> On Dec 14, 2025, at 9:25=E2=80=AFAM, Izumi Tsutsui =
<[email protected]> wrote:
>=20
> I've tried SMALL020 kernel (i.e. traditional pmap) around 20251207
> (via netboot) and unfortunately it gets panic() due to another
> TAS instruction in _kernel_lock() (maybe __cpu_simple_lock_try()?):

Yes, looks like it=E2=80=99s __cpu_simple_lock() and/or =
__cpu_simple_lock_try().  I=E2=80=99ll add a __HAVE_M68K_BROKEN_RMC =
check in <m68k/lock.h> and make it use _atomic_cas_32() in that case.

-- thorpej