[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH v2 2/4] automation: select APLIC and IMSIC to handle both wired interrupts and MSIs
By default, the `aia` option is set to "none" which selects the SiFive PLIC for handling wired interrupts. However, since PLIC is now considered obsolete and will not be supported by Xen now, APLIC and IMSIC are selected instead to manage both wired interrupts and MSIs. Signed-off-by: Oleksii Kurochko <oleksii.kurochko@xxxxxxxxx> Acked-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> --- Tests results: https://gitlab.com/xen-project/people/olkur/xen/-/pipelines/1734636979 Based on the source code of Qemu the support of AIA should be present from 7.0.0: 28d8c281200f ("hw/riscv: virt: Add optional AIA IMSIC support to virt machine") ``` $ git tag --contains 28d8c281200f20a060c456c81fd1564f3d119fda staging-mjt-test trivial-patches-pull-request v7.0.0 v7.0.0-rc0 v7.0.0-rc1 v7.0.0-rc2 v7.0.0-rc3 v7.0.0-rc4 v7.1.0 ... ``` And in Xen's GitLab CI it is used 7.2.11: ``` $ CONTAINER_NO_PULL=1 CONTAINER=bookworm-riscv64 ./automation/scripts/containerize *** Launching container ... user@6a1d1f0077fe:/build$ qemu-system-riscv64 --version QEMU emulator version 7.2.11 (Debian 1:7.2+dfsg-7+deb12u6) Copyright (c) 2003-2022 Fabrice Bellard and the QEMU Project developers ``` --- Changes in v2: - Acked-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> --- automation/scripts/qemu-smoke-riscv64.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/automation/scripts/qemu-smoke-riscv64.sh b/automation/scripts/qemu-smoke-riscv64.sh index 8f755d0a6a..b2e112c942 100755 --- a/automation/scripts/qemu-smoke-riscv64.sh +++ b/automation/scripts/qemu-smoke-riscv64.sh @@ -6,7 +6,7 @@ set -ex -o pipefail rm -f smoke.serial export TEST_CMD="qemu-system-riscv64 \ - -M virt \ + -M virt,aia=aplic-imsic \ -smp 1 \ -nographic \ -m 2g \ -- 2.48.1
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |