Re: [PATCH v3] powerpc/64s: Get LPID bit width from device tree

2021-12-07 Thread Michael Ellerman
On Mon, 29 Nov 2021 13:09:15 +1000, Nicholas Piggin wrote: > Allow the LPID bit width and partition table size to be set at runtime > from the device tree. > > Move the PID bit width detection into the same place. > > KVM does not support using the extra bits yet, this is mainly required > to

[PATCH v3] powerpc/64s: Get LPID bit width from device tree

2021-11-28 Thread Nicholas Piggin
Allow the LPID bit width and partition table size to be set at runtime from the device tree. Move the PID bit width detection into the same place. KVM does not support using the extra bits yet, this is mainly required to get the PTCR register values correct (so KVM will run but it will not