WSL2-Linux-Kernel/arch/powerpc/boot/dts
Joel Stanley 0ef1ffc718 powerpc/microwatt: Add mmu bits to device tree
In commit 5402e239d0 ("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: 5402e239d0 ("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
2022-05-22 15:59:54 +10:00
..
fsl powerpc/85xx/p2020: Add fsl,mpc8548-pmc node 2022-05-22 15:58:28 +10:00
Makefile powerpc: Remove Xilinx PPC405/PPC440 support 2020-05-28 23:24:34 +10:00
a3m071.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
a4m072.dts powerpc/5200: dts: fix pci ranges warnings 2021-10-22 15:22:04 +11:00
ac14xx.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
acadia.dts powerpc: dts: replace 'linux,stdout-path' with 'stdout-path' 2018-03-20 16:47:54 +11:00
adder875-redboot.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
adder875-uboot.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
akebono.dts powerpc/boot/dts: Fix dtc "pciex" warnings 2020-06-30 14:38:00 +10:00
amigaone.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
arches.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
asp834x-redboot.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
bamboo.dts powerpc/44x/bamboo: Fix PCI range 2018-12-20 22:21:20 +11:00
bluestone.dts powerpc/4xx: Complete removal of MSI support 2021-12-09 11:52:20 +01:00
canyonlands.dts powerpc/4xx: Complete removal of MSI support 2021-12-09 11:52:20 +01:00
charon.dts powerpc/5200: dts: fix memory node unit name 2021-10-22 15:22:04 +11:00
cm5200.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
currituck.dts powerpc/boot/dts: Fix dtc "pciex" warnings 2020-06-30 14:38:00 +10:00
digsy_mtc.dts powerpc/dts: Remove "spidev" nodes 2021-12-21 20:17:58 +11:00
ebony.dts powerpc: dts: replace 'linux,stdout-path' with 'stdout-path' 2018-03-20 16:47:54 +11:00
eiger.dts powerpc: dts: replace 'linux,stdout-path' with 'stdout-path' 2018-03-20 16:47:54 +11:00
ep88xc.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
ep8248e.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
fsp2.dts powerpc: dts: replace 'linux,stdout-path' with 'stdout-path' 2018-03-20 16:47:54 +11:00
gamecube.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
glacier.dts powerpc/boot/dts: Fix dtc "pciex" warnings 2020-06-30 14:38:00 +10:00
haleakala.dts powerpc/boot/dts: Fix dtc "pciex" warnings 2020-06-30 14:38:00 +10:00
holly.dts powerpc: dts: replace 'linux,stdout-path' with 'stdout-path' 2018-03-20 16:47:54 +11:00
hotfoot.dts powerpc: dts: replace 'linux,stdout-path' with 'stdout-path' 2018-03-20 16:47:54 +11:00
icon.dts xsysace: Remove SYSACE driver 2021-03-23 10:27:38 -06:00
iss4xx-mpic.dts powerpc/dts: Standardize DTS status assignments from "ok" to "okay" 2019-02-22 00:10:15 +11:00
iss4xx.dts powerpc: dts: replace 'linux,stdout-path' with 'stdout-path' 2018-03-20 16:47:54 +11:00
katmai.dts powerpc/4xx: Complete removal of MSI support 2021-12-09 11:52:20 +01:00
kilauea.dts powerpc/4xx: Complete removal of MSI support 2021-12-09 11:52:20 +01:00
klondike.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
kmeter1.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
ksi8560.dts powerpc: dts: replace 'linux,stdout-path' with 'stdout-path' 2018-03-20 16:47:54 +11:00
kuroboxHD.dts powerpc/fsl: update compatiable on fsl 16550 uart nodes 2012-01-04 15:38:40 -06:00
kuroboxHG.dts powerpc/fsl: update compatiable on fsl 16550 uart nodes 2012-01-04 15:38:40 -06:00
lite5200.dts powerpc/5200: dts: fix memory node unit name 2021-10-22 15:22:04 +11:00
lite5200b.dts powerpc/5200: dts: fix memory node unit name 2021-10-22 15:22:04 +11:00
makalu.dts powerpc/boot/dts: Fix dtc "pciex" warnings 2020-06-30 14:38:00 +10:00
media5200.dts powerpc/5200: dts: fix memory node unit name 2021-10-22 15:22:04 +11:00
mgcoge.dts powerpc/devicetrees: Change 'gpios' to 'cs-gpios' on fsl, spi nodes 2020-01-23 21:31:14 +11:00
microwatt.dts powerpc/microwatt: Add mmu bits to device tree 2022-05-22 15:59:54 +10:00
motionpro.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
mpc832x_mds.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
mpc832x_rdb.dts powerpc/devicetrees: Change 'gpios' to 'cs-gpios' on fsl, spi nodes 2020-01-23 21:31:14 +11:00
mpc834x_mds.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
mpc836x_mds.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
mpc836x_rdk.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
mpc866ads.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
mpc885ads.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
mpc5121.dtsi treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
mpc5121ads.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
mpc5125twr.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
mpc5200b.dtsi powerpc/5200: dts: fix memory node unit name 2021-10-22 15:22:04 +11:00
mpc7448hpc2.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
mpc8272ads.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
mpc8308_p1m.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
mpc8308rdb.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
mpc8313erdb.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
mpc8315erdb.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
mpc8349emitx.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
mpc8349emitxgp.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
mpc8377_mds.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
mpc8377_rdb.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
mpc8377_wlan.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
mpc8378_mds.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
mpc8378_rdb.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
mpc8379_mds.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
mpc8379_rdb.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
mpc8610_hpcd.dts powerpc/devicetrees: Change 'gpios' to 'cs-gpios' on fsl, spi nodes 2020-01-23 21:31:14 +11:00
mucmc52.dts powerpc/5200: dts: fix pci ranges warnings 2021-10-22 15:22:04 +11:00
mvme5100.dts powerpc: dts: replace 'linux,stdout-path' with 'stdout-path' 2018-03-20 16:47:54 +11:00
o2d.dts powerpc/5200: dts: fix memory node unit name 2021-10-22 15:22:04 +11:00
o2d.dtsi powerpc/dts: Remove "spidev" nodes 2021-12-21 20:17:58 +11:00
o2d300.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
o2dnt2.dts powerpc/5200: dts: fix memory node unit name 2021-10-22 15:22:04 +11:00
o2i.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
o2mnt.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
o3dnt.dts powerpc/5200: dts: fix memory node unit name 2021-10-22 15:22:04 +11:00
obs600.dts powerpc: dts: replace 'linux,stdout-path' with 'stdout-path' 2018-03-20 16:47:54 +11:00
pcm030.dts powerpc/5200: dts: fix pci ranges warnings 2021-10-22 15:22:04 +11:00
pcm032.dts powerpc/5200: dts: fix memory node unit name 2021-10-22 15:22:04 +11:00
pdm360ng.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
pq2fads.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
ps3.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 167 2019-05-30 11:26:39 -07:00
rainier.dts powerpc: dts: replace 'linux,stdout-path' with 'stdout-path' 2018-03-20 16:47:54 +11:00
redwood.dts powerpc/4xx: Complete removal of MSI support 2021-12-09 11:52:20 +01:00
sam440ep.dts powerpc: dts: replace 'linux,stdout-path' with 'stdout-path' 2018-03-20 16:47:54 +11:00
sequoia.dts powerpc: dts: replace 'linux,stdout-path' with 'stdout-path' 2018-03-20 16:47:54 +11:00
socrates.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
storcenter.dts powerpc: dts: replace 'linux,stdout-path' with 'stdout-path' 2018-03-20 16:47:54 +11:00
stx_gp3_8560.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
stxssa8555.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
taishan.dts powerpc: dts: replace 'linux,stdout-path' with 'stdout-path' 2018-03-20 16:47:54 +11:00
tqm8xx.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
tqm5200.dts powerpc/5200: dts: fix memory node unit name 2021-10-22 15:22:04 +11:00
tqm8540.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
tqm8541.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
tqm8548-bigflash.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
tqm8548.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
tqm8555.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
tqm8560.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
uc101.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
warp.dts powerpc: dts: replace 'linux,stdout-path' with 'stdout-path' 2018-03-20 16:47:54 +11:00
wii.dts powerpc: wii.dts: Expose HW_SRNPROT on this platform 2021-12-16 10:46:35 +01:00
xcalibur1501.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 419 2019-06-05 17:37:15 +02:00
xpedite5200.dts powerpc: dts: Fix some I2C unit addresses 2022-01-31 13:45:24 +11:00
xpedite5200_xmon.dts powerpc: dts: Fix some I2C unit addresses 2022-01-31 13:45:24 +11:00
xpedite5301.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 419 2019-06-05 17:37:15 +02:00
xpedite5330.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 419 2019-06-05 17:37:15 +02:00
xpedite5370.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 419 2019-06-05 17:37:15 +02:00
yosemite.dts powerpc: dts: replace 'linux,stdout-path' with 'stdout-path' 2018-03-20 16:47:54 +11:00