]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
powerpc64: Implement Radix MMU for POWER9 CPUs
authorjhibbits <jhibbits@FreeBSD.org>
Mon, 11 May 2020 02:33:37 +0000 (02:33 +0000)
committerjhibbits <jhibbits@FreeBSD.org>
Mon, 11 May 2020 02:33:37 +0000 (02:33 +0000)
commit12efb4c059410ae9030225e07e2445490e2e3902
tree3acf8098fe04207f73c0631102ff1c98e2d13388
parentc3ef0c2592393ff9ab0cde6a5311e395f47c71eb
powerpc64: Implement Radix MMU for POWER9 CPUs

Summary:
POWER9 supports two MMU formats: traditional hashed page tables, and Radix
page tables, similar to what's presesnt on most other architectures.  The
PowerISA also specifies a process table -- a table of page table pointers--
which on the POWER9 is only available with the Radix MMU, so we can take
advantage of it with the Radix MMU driver.

Written by Matt Macy.

Differential Revision: https://reviews.freebsd.org/D19516
20 files changed:
sys/conf/files.powerpc
sys/powerpc/aim/aim_machdep.c
sys/powerpc/aim/mmu_oea.c
sys/powerpc/aim/mmu_oea64.c
sys/powerpc/aim/mmu_radix.c [new file with mode: 0644]
sys/powerpc/booke/pmap.c
sys/powerpc/include/cpufunc.h
sys/powerpc/include/mmuvar.h
sys/powerpc/include/param.h
sys/powerpc/include/pmap.h
sys/powerpc/include/proc.h
sys/powerpc/include/pte.h
sys/powerpc/include/spr.h
sys/powerpc/include/sr.h
sys/powerpc/include/vmparam.h
sys/powerpc/powerpc/machdep.c
sys/powerpc/powerpc/mmu_if.m
sys/powerpc/powerpc/pmap_dispatch.c
sys/powerpc/powerpc/trap.c
sys/vm/vm_fault.c