In pmap_bootstrap, when importing the PROM translations into the kernel pmap,
authormiod <miod@openbsd.org>
Tue, 10 Jan 2023 17:38:10 +0000 (17:38 +0000)
committermiod <miod@openbsd.org>
Tue, 10 Jan 2023 17:38:10 +0000 (17:38 +0000)
commit62c9789faf5920d426759b0f0df158a585fc84e5
tree2eeee11b3caa044d9490565f84a352a7a2585a1a
parent8352e4cbf29a350bf5cbfdf08f7f8c573d9b4847
In pmap_bootstrap, when importing the PROM translations into the kernel pmap,
be sure to clear all software bits from the TTEs, for these bits will have
different meanings in OpenBSD.

Tested on a large set of sun4u and sun4v systems of different eras to not
cause any regression, should be safe enough.
sys/arch/sparc64/sparc64/pmap.c