Re: [PATCH] target/riscv/kvm: Fix exposure of Zkr

2024-04-23 Thread Alistair Francis
On Mon, Apr 22, 2024 at 11:47 PM Andrew Jones wrote: > > The Zkr extension may only be exposed to KVM guests if the VMM > implements the SEED CSR. Use the same implementation as TCG. > > Without this patch, running with a KVM which does not forward the > SEED CSR access to QEMU will result in an I

Re: [PATCH] target/riscv/kvm: Fix exposure of Zkr

2024-04-22 Thread Daniel Henrique Barboza
On 4/22/24 10:46, Andrew Jones wrote: The Zkr extension may only be exposed to KVM guests if the VMM implements the SEED CSR. Use the same implementation as TCG. Without this patch, running with a KVM which does not forward the SEED CSR access to QEMU will result in an ILL exception being inj

[PATCH] target/riscv/kvm: Fix exposure of Zkr

2024-04-22 Thread Andrew Jones
The Zkr extension may only be exposed to KVM guests if the VMM implements the SEED CSR. Use the same implementation as TCG. Without this patch, running with a KVM which does not forward the SEED CSR access to QEMU will result in an ILL exception being injected into the guest (this results in Linux