aboutsummaryrefslogtreecommitdiff
path: root/hdata/cpu-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'hdata/cpu-common.c')
-rw-r--r--hdata/cpu-common.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/hdata/cpu-common.c b/hdata/cpu-common.c
index bf821c1..2248f9b 100644
--- a/hdata/cpu-common.c
+++ b/hdata/cpu-common.c
@@ -123,6 +123,10 @@ struct dt_node * add_core_common(struct dt_node *cpus,
if (proc_gen >= proc_gen_p9)
dt_add_property_cells(cpu, "ibm,processor-radix-AP-encodings",
0x0000000c, 0xa0000010, 0x20000015, 0x4000001e);
+ if (proc_gen >= proc_gen_p10) {
+ dt_add_property_cells(cpu, "ibm,mmu-pid-bits", 20);
+ dt_add_property_cells(cpu, "ibm,mmu-lpid-bits", 12);
+ }
/* HPT segment page size encodings, common to all supported CPUs */
dt_add_property_cells(cpu, "ibm,segment-page-sizes",