diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2021-11-09 17:59:32 +1000 |
---|---|---|
committer | Cédric Le Goater <clg@kaod.org> | 2021-11-10 07:28:47 +0100 |
commit | 9b85f7d961f21ec482559914e957ba233e29efd2 (patch) | |
tree | 0e9faecee8ee2d91a47e0c38c0c5d6cbf565386e /external/mambo | |
parent | f3261cdb2e163463165d81de44447c4eb35cae2b (diff) | |
download | skiboot-9b85f7d961f21ec482559914e957ba233e29efd2.zip skiboot-9b85f7d961f21ec482559914e957ba233e29efd2.tar.gz skiboot-9b85f7d961f21ec482559914e957ba233e29efd2.tar.bz2 |
hdata: add mmu-pid-bits and mmu-lpid-bits for POWER10 CPUs
This adds ibm,mmu-pid-bits and a new ibm,mmu-lpid-bits to POWER10 CPUs.
POWER9 Linux has some workarounds for processors bugs that means it's
probably safer to not add the entries there.
Linux already hard codes these values correctly on these processors, but
this allows more flexibility to change things.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'external/mambo')
-rw-r--r-- | external/mambo/skiboot.tcl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/external/mambo/skiboot.tcl b/external/mambo/skiboot.tcl index fb6c935..ebabeb7 100644 --- a/external/mambo/skiboot.tcl +++ b/external/mambo/skiboot.tcl @@ -553,6 +553,11 @@ for { set c 0 } { $c < $mconf(cpus) } { incr c } { mysim of addprop $cpu_node array64 "ibm,pa-features" reg } + if { $default_config == "P10" } { + mysim of addprop $cpu_node int "ibm,mmu-pid-bits" 20 + mysim of addprop $cpu_node int "ibm,mmu-lpid-bits" 12 + } + set irqreg [list] for { set t 0 } { $t < $mconf(threads) } { incr t } { mysim mcm 0 cpu $c thread $t set spr pc $mconf(boot_pc) |