aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2025-05-29 17:45:10 +0100
committerPeter Maydell <peter.maydell@linaro.org>2025-05-29 17:45:10 +0100
commite6bc01777e5a4b6ecf3414b21a2d7b4846bf4817 (patch)
tree29d5b1a4e4983747b805b6d05ad9847c65b2197b
parente7083b02f5628f0ec63d29f2208ca5d3e963e9a8 (diff)
downloadqemu-e6bc01777e5a4b6ecf3414b21a2d7b4846bf4817.zip
qemu-e6bc01777e5a4b6ecf3414b21a2d7b4846bf4817.tar.gz
qemu-e6bc01777e5a4b6ecf3414b21a2d7b4846bf4817.tar.bz2
hw/arm: Add missing psci_conduit to NPCM8XX SoC boot info
Without psci_conduit, the Linux kernel crashes almost immediately. psci: probing for conduit method from DT. Internal error: Oops - Undefined instruction: 0000000002000000 [#1] PREEMPT SMP Fixes: ae0c4d1a1290 ("hw/arm: Add NPCM8XX SoC") Cc: qemu-stable@nongnu.org Cc: Hao Wu <wuhaotsh@google.com> Cc: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Message-id: 20250315142050.3642741-1-linux@roeck-us.net Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rw-r--r--hw/arm/npcm8xx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/arm/npcm8xx.c b/hw/arm/npcm8xx.c
index d14bf55..a276fea 100644
--- a/hw/arm/npcm8xx.c
+++ b/hw/arm/npcm8xx.c
@@ -365,6 +365,7 @@ static struct arm_boot_info npcm8xx_binfo = {
.secure_boot = false,
.board_id = -1,
.board_setup_addr = NPCM8XX_BOARD_SETUP_ADDR,
+ .psci_conduit = QEMU_PSCI_CONDUIT_SMC,
};
void npcm8xx_load_kernel(MachineState *machine, NPCM8xxState *soc)