]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
hw/arm: Add missing psci_conduit to NPCM8XX SoC boot info
authorGuenter Roeck <linux@roeck-us.net>
Thu, 29 May 2025 16:45:10 +0000 (17:45 +0100)
committerMichael Tokarev <mjt@tls.msk.ru>
Sun, 1 Jun 2025 13:10:07 +0000 (16:10 +0300)
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>
(cherry picked from commit e6bc01777e5a4b6ecf3414b21a2d7b4846bf4817)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
hw/arm/npcm8xx.c

index f182accc47cf5200a1870ecf92618b380771c9cf..e5a1929ed7bd0bdec52b24475e9d98c008f6449f 100644 (file)
@@ -346,6 +346,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)