freebsd-src/sys/powerpc
Doug Moore d9b8e5a748 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
Differential Revision:	https://reviews.freebsd.org/D41846

(cherry picked from commit 8763b9862f)
(cherry picked from commit a4c7a3f7f5)

Approved by:	re (gjb)
2023-09-22 20:49:16 -05:00
..
aim powerpc pmap: initialize kernel pmap radix trie 2023-09-22 20:49:16 -05:00
amigaone
booke
conf
cpufreq
fpu
include
mambo
mikrotik
mpc85xx
ofw
powermac
powernv
powerpc
ps3
pseries
psim