Home
last modified time | relevance | path

Searched hist:"0 ef1ffc7" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/powerpc/boot/dts/
H A Dmicrowatt.dts0ef1ffc7 Thu May 19 07:57:06 CDT 2022 Joel Stanley <joel@jms.id.au> powerpc/microwatt: Add mmu bits to device tree

In commit 5402e239d09f ("powerpc/64s: Get LPID bit width from device
tree") the kernel tried to determine the pid and lpid bits from the
device tree. If they are not found, there is a fallback, but Microwatt
wasn't covered as it has the unusual configuration of being both !HV and
bare metal.

Set the values in the device tree to avoid having to add a special case.
The lpid value is the only one required, but add both for completeness.

Fixes: 5402e239d09f ("powerpc/64s: Get LPID bit width from device tree")
Signed-off-by: Joel Stanley <joel@jms.id.au>
Acked-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220519125706.593532-1-joel@jms.id.au