Re: [PATCH V4 RESEND 0/3] Fixup & optimize hgatp mode & vmid detect functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Aug 21, 2025 at 7:56 PM <guoren@xxxxxxxxxx> wrote:
>
> From: "Guo Ren (Alibaba DAMO Academy)" <guoren@xxxxxxxxxx>
>
> Here are serval fixup & optmizitions for hgatp detect according
> to the RISC-V Privileged Architecture Spec.
>
> ---
> Changes in v4:
>  - Involve ("RISC-V: KVM: Prevent HGATP_MODE_BARE passed"), which
>    explain why gstage_mode_detect needs reset HGATP to zero.
>  - RESEND for wrong mailing thread.
>
> Changes in v3:
>  - Add "Fixes" tag.
>  - Involve("RISC-V: KVM: Remove unnecessary HGATP csr_read"), which
>    depends on patch 1.
>
> Changes in v2:
>  - Fixed build error since kvm_riscv_gstage_mode() has been modified.
> ---
>
> Fangyu Yu (1):
>   RISC-V: KVM: Write hgatp register with valid mode bits
>
> Guo Ren (Alibaba DAMO Academy) (2):
>   RISC-V: KVM: Remove unnecessary HGATP csr_read
>   RISC-V: KVM: Prevent HGATP_MODE_BARE passed
>
>  arch/riscv/kvm/gstage.c | 27 ++++++++++++++++++++++++---
>  arch/riscv/kvm/main.c   | 35 +++++++++++++++++------------------
>  arch/riscv/kvm/vmid.c   |  8 +++-----
>  3 files changed, 44 insertions(+), 26 deletions(-)
>
> --
> 2.40.1
>

Queued this series for Linux-6.18

Regards,
Anup





[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux