Re: [PATCH 1/5] KVM: RISC-V: refactor vector state reset
From: Andrew Jones
Date: Fri Apr 25 2025 - 08:58:46 EST
On Thu, Apr 03, 2025 at 01:25:20PM +0200, Radim Krčmář wrote:
> Do not depend on the reset structures.
>
> vector.datap is a kernel memory pointer that needs to be preserved as it
> is not a part of the guest vector data.
>
> Signed-off-by: Radim Krčmář <rkrcmar@xxxxxxxxxxxxxxxx>
> ---
> arch/riscv/include/asm/kvm_vcpu_vector.h | 6 ++----
> arch/riscv/kvm/vcpu.c | 5 ++++-
> arch/riscv/kvm/vcpu_vector.c | 13 +++++++------
> 3 files changed, 13 insertions(+), 11 deletions(-)
>
Reviewed-by: Andrew Jones <ajones@xxxxxxxxxxxxxxxx>