Skip to contentSkip to conversation

kunit: tool: update riscv QEMU config with new serial dependency

PATCH In review Brendan Higgins 2 participants 2 messages May 12, 2022

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kunit: tool: update riscv QEMU config with new serial dependency

The config for the serial console for riscv, CONFIG_SERIAL_EARLYCON_RISCV_SBI, added a dependency, CONFIG_RISCV_SBI_V01, at some point, so add that in to the base arch config.

---
 tools/testing/kunit/qemu_configs/riscv.py | 1 +
 1 file changed, 1 insertion(+)
tools/testing/kunit/qemu_configs/riscv.py +1 -0
index 9e528087cd7c..a7a4ab8093b1 100644
@@ -21,6 +21,7 @@ CONFIG_SOC_VIRT=y
 CONFIG_SERIAL_8250=y
 CONFIG_SERIAL_8250_CONSOLE=y
 CONFIG_SERIAL_OF_PLATFORM=y
+CONFIG_RISCV_SBI_V01=y
 CONFIG_SERIAL_EARLYCON_RISCV_SBI=y''',
 			   qemu_arch='riscv64',
 			   kernel_path='arch/riscv/boot/Image',

base-commit: feb9c5e19e913b53cb536a7aa7c9f20107bb51ec

Signature · 1 line
2.36.0.550.gb090851708-goog
Reviewed-by on v1 1/1
#1 lore raw
Quoted 8 lines · Brendan Higgins' via KUnit Development

The config for the serial console for riscv, CONFIG_SERIAL_EARLYCON_RISCV_SBI, added a dependency, CONFIG_RISCV_SBI_V01, at some point, so add that in to the base arch config.

---

Thanks! I actually hit this issue looking at rust stuff the other day, but didn't have a chance to look into it properly.

This looks good, and works for me.

-- David

Quoted 24 lines
 tools/testing/kunit/qemu_configs/riscv.py | 1 +
 1 file changed, 1 insertion(+)
tools/testing/kunit/qemu_configs/riscv.py +1 -0
index 9e528087cd7c..a7a4ab8093b1 100644
@@ -21,6 +21,7 @@ CONFIG_SOC_VIRT=y
 CONFIG_SERIAL_8250=y
 CONFIG_SERIAL_8250_CONSOLE=y
 CONFIG_SERIAL_OF_PLATFORM=y
+CONFIG_RISCV_SBI_V01=y
 CONFIG_SERIAL_EARLYCON_RISCV_SBI=y''',
                           qemu_arch='riscv64',
                           kernel_path='arch/riscv/boot/Image',

base-commit: feb9c5e19e913b53cb536a7aa7c9f20107bb51ec --
2.36.0.550.gb090851708-goog

--
You received this message because you are subscribed to the Google Groups "KUnit Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/kunit-dev/20220512003026.3413497-1-brendanhiggins%40google.com.