aboutsummaryrefslogtreecommitdiff
path: root/hw/intc/xive2.c
diff options
context:
space:
mode:
authorDaniel Henrique Barboza <dbarboza@ventanamicro.com>2025-03-27 12:20:52 -0300
committerAlistair Francis <alistair.francis@wdc.com>2025-03-28 16:50:25 +1000
commit897c68fb795cf03b89b6688a6f945d68a765c3e4 (patch)
tree1c247cce61a9d87b476db87e29bcc8bad701eff0 /hw/intc/xive2.c
parente768f0246ce2625880800a2bdce78438b5e9282c (diff)
downloadqemu-897c68fb795cf03b89b6688a6f945d68a765c3e4.zip
qemu-897c68fb795cf03b89b6688a6f945d68a765c3e4.tar.gz
qemu-897c68fb795cf03b89b6688a6f945d68a765c3e4.tar.bz2
Revert "target/riscv/kvm: add missing KVM CSRs"
This commit breaks KVM boot on older kernels, like reported in [1], due to senvcfg not being available in them. There's also another problem related to scounteren. Using a recent enough guest buildroot, 'ping' will be build with rdtime support. In this case, doing a ping in a KVM guest while exposing scounteren will result in an error. The root cause relates to how KVM handles scounteren, but QEMU can work around it by initializing scounteren with the host value during init(). Fixing these issues in a non-rushed-bandaid manner results in an amount of design changes that I don't feel comfortable pushing during code freeze, so for 10.0 we'll remove the CSRs and re-introduce them in 10.1 with the adequate support. This reverts commit 4db19d5b21e058e6eb3474b6be470d1184afaa9e. [1] https://lore.kernel.org/qemu-riscv/CABJz62OfUDHYkQ0T3rGHStQprf1c7_E0qBLbLKhfv=+jb0SYAw@mail.gmail.com/ Reported-by: Andrea Bolognani <abologna@redhat.com> Signed-off-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com> Message-ID: <20250327152052.707657-1-dbarboza@ventanamicro.com> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'hw/intc/xive2.c')
0 files changed, 0 insertions, 0 deletions