opnsense-src/sys/powerpc/aim
Doug Moore a4c7a3f7f5 powerpc pmap: initialize kernel pmap radix trie
Commit 2d2bcba7ba changed radix trie
implementation and made it necessary that radix tries be initialized
with vm_radix_init. @dbaio reports that in some configurations, there
is a powerpc boot panic and that this commit introduced the
problem. In powerpc/aim/mmu_radix.c, the radix trie in kernel_pmap is
initialized by zeroing all its fields.

Add a call to vm_radix_init to properly initialize
kernel_pmap->pm_radix.

Reported by:	dbaio
Reviewed by:	alc, jhibbits
Fixes:	2d2bcba7ba drop NULL check from radix trie search
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D41846

(cherry picked from commit 8763b9862f90dc3bdbbc5e3c2664890be7c1f0c4)
2023-09-19 21:09:37 -05:00
..
aim_machdep.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
locore.S sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
locore32.S sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
locore64.S sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
mmu_oea.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
mmu_oea64.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
mmu_oea64.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mmu_radix.c powerpc pmap: initialize kernel pmap radix trie 2023-09-19 21:09:37 -05:00
moea64_native.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
mp_cpudep.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
slb.c sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
trap_subr32.S sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
trap_subr64.S sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00