* [GIT PULL] KVM/riscv changes for 6.13
@ 2024-11-08 11:37 Anup Patel
2024-11-08 17:15 ` Paolo Bonzini
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Anup Patel @ 2024-11-08 11:37 UTC (permalink / raw)
To: Paolo Bonzini
Cc: Palmer Dabbelt, Palmer Dabbelt, Andrew Jones, Atish Patra,
Atish Patra,
open list:KERNEL VIRTUAL MACHINE FOR RISC-V (KVM/riscv),
KVM General, linux-riscv
Hi Paolo,
We have the following KVM RISC-V changes for 6.13:
1) Accelerate KVM RISC-V when running as a guest
2) Perf support to collect KVM guest statistics from host side
In addition, the pointer masking support (Ssnpm and
Smnpm) for KVM guest is going through the RISC-V tree.
I also have Svade and Svadu support for host and guest
in my queue which I will send in the second week of the
merge window to avoid conflict with the RISC-V tree.
Please pull.
Regards,
Anup
The following changes since commit 81983758430957d9a5cb3333fe324fd70cf63e7e:
Linux 6.12-rc5 (2024-10-27 12:52:02 -1000)
are available in the Git repository at:
https://github.com/kvm-riscv/linux.git tags/kvm-riscv-6.13-1
for you to fetch changes up to 332fa4a802b16ccb727199da685294f85f9880cb:
riscv: kvm: Fix out-of-bounds array access (2024-11-05 13:27:32 +0530)
----------------------------------------------------------------
KVM/riscv changes for 6.13
- Accelerate KVM RISC-V when running as a guest
- Perf support to collect KVM guest statistics from host side
----------------------------------------------------------------
Anup Patel (13):
RISC-V: KVM: Order the object files alphabetically
RISC-V: KVM: Save/restore HSTATUS in C source
RISC-V: KVM: Save/restore SCOUNTEREN in C source
RISC-V: KVM: Break down the __kvm_riscv_switch_to() into macros
RISC-V: KVM: Replace aia_set_hvictl() with aia_hvictl_value()
RISC-V: KVM: Don't setup SGEI for zero guest external interrupts
RISC-V: Add defines for the SBI nested acceleration extension
RISC-V: KVM: Add common nested acceleration support
RISC-V: KVM: Use nacl_csr_xyz() for accessing H-extension CSRs
RISC-V: KVM: Use nacl_csr_xyz() for accessing AIA CSRs
RISC-V: KVM: Use SBI sync SRET call when available
RISC-V: KVM: Save trap CSRs in kvm_riscv_vcpu_enter_exit()
RISC-V: KVM: Use NACL HFENCEs for KVM request based HFENCEs
Björn Töpel (1):
riscv: kvm: Fix out-of-bounds array access
Quan Zhou (2):
riscv: perf: add guest vs host distinction
riscv: KVM: add basic support for host vs guest profiling
Yong-Xuan Wang (1):
RISC-V: KVM: Fix APLIC in_clrip and clripnum write emulation
arch/riscv/include/asm/kvm_host.h | 10 ++
arch/riscv/include/asm/kvm_nacl.h | 245 ++++++++++++++++++++++++++++++++++++
arch/riscv/include/asm/perf_event.h | 6 +
arch/riscv/include/asm/sbi.h | 120 ++++++++++++++++++
arch/riscv/kernel/perf_callchain.c | 38 ++++++
arch/riscv/kvm/Kconfig | 1 +
arch/riscv/kvm/Makefile | 27 ++--
arch/riscv/kvm/aia.c | 114 +++++++++++------
arch/riscv/kvm/aia_aplic.c | 3 +-
arch/riscv/kvm/main.c | 63 +++++++++-
arch/riscv/kvm/mmu.c | 4 +-
arch/riscv/kvm/nacl.c | 152 ++++++++++++++++++++++
arch/riscv/kvm/tlb.c | 57 ++++++---
arch/riscv/kvm/vcpu.c | 191 +++++++++++++++++++++-------
arch/riscv/kvm/vcpu_sbi.c | 11 +-
arch/riscv/kvm/vcpu_switch.S | 137 ++++++++++++--------
arch/riscv/kvm/vcpu_timer.c | 28 ++---
17 files changed, 1022 insertions(+), 185 deletions(-)
create mode 100644 arch/riscv/include/asm/kvm_nacl.h
create mode 100644 arch/riscv/kvm/nacl.c
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [GIT PULL] KVM/riscv changes for 6.13
2024-11-08 11:37 [GIT PULL] KVM/riscv changes for 6.13 Anup Patel
@ 2024-11-08 17:15 ` Paolo Bonzini
2024-12-11 22:32 ` patchwork-bot+linux-riscv
2024-12-11 22:49 ` patchwork-bot+linux-riscv
2 siblings, 0 replies; 4+ messages in thread
From: Paolo Bonzini @ 2024-11-08 17:15 UTC (permalink / raw)
To: Anup Patel
Cc: Palmer Dabbelt, Palmer Dabbelt, Andrew Jones, Atish Patra,
Atish Patra,
open list:KERNEL VIRTUAL MACHINE FOR RISC-V (KVM/riscv),
KVM General, linux-riscv
On 11/8/24 12:37, Anup Patel wrote:
> Hi Paolo,
>
> We have the following KVM RISC-V changes for 6.13:
> 1) Accelerate KVM RISC-V when running as a guest
> 2) Perf support to collect KVM guest statistics from host side
>
> In addition, the pointer masking support (Ssnpm and
> Smnpm) for KVM guest is going through the RISC-V tree.
>
> I also have Svade and Svadu support for host and guest
> in my queue which I will send in the second week of the
> merge window to avoid conflict with the RISC-V tree.
>
> Please pull.
Pulled, thanks.
Paolo
> Regards,
> Anup
>
> The following changes since commit 81983758430957d9a5cb3333fe324fd70cf63e7e:
>
> Linux 6.12-rc5 (2024-10-27 12:52:02 -1000)
>
> are available in the Git repository at:
>
> https://github.com/kvm-riscv/linux.git tags/kvm-riscv-6.13-1
>
> for you to fetch changes up to 332fa4a802b16ccb727199da685294f85f9880cb:
>
> riscv: kvm: Fix out-of-bounds array access (2024-11-05 13:27:32 +0530)
>
> ----------------------------------------------------------------
> KVM/riscv changes for 6.13
>
> - Accelerate KVM RISC-V when running as a guest
> - Perf support to collect KVM guest statistics from host side
>
> ----------------------------------------------------------------
> Anup Patel (13):
> RISC-V: KVM: Order the object files alphabetically
> RISC-V: KVM: Save/restore HSTATUS in C source
> RISC-V: KVM: Save/restore SCOUNTEREN in C source
> RISC-V: KVM: Break down the __kvm_riscv_switch_to() into macros
> RISC-V: KVM: Replace aia_set_hvictl() with aia_hvictl_value()
> RISC-V: KVM: Don't setup SGEI for zero guest external interrupts
> RISC-V: Add defines for the SBI nested acceleration extension
> RISC-V: KVM: Add common nested acceleration support
> RISC-V: KVM: Use nacl_csr_xyz() for accessing H-extension CSRs
> RISC-V: KVM: Use nacl_csr_xyz() for accessing AIA CSRs
> RISC-V: KVM: Use SBI sync SRET call when available
> RISC-V: KVM: Save trap CSRs in kvm_riscv_vcpu_enter_exit()
> RISC-V: KVM: Use NACL HFENCEs for KVM request based HFENCEs
>
> Björn Töpel (1):
> riscv: kvm: Fix out-of-bounds array access
>
> Quan Zhou (2):
> riscv: perf: add guest vs host distinction
> riscv: KVM: add basic support for host vs guest profiling
>
> Yong-Xuan Wang (1):
> RISC-V: KVM: Fix APLIC in_clrip and clripnum write emulation
>
> arch/riscv/include/asm/kvm_host.h | 10 ++
> arch/riscv/include/asm/kvm_nacl.h | 245 ++++++++++++++++++++++++++++++++++++
> arch/riscv/include/asm/perf_event.h | 6 +
> arch/riscv/include/asm/sbi.h | 120 ++++++++++++++++++
> arch/riscv/kernel/perf_callchain.c | 38 ++++++
> arch/riscv/kvm/Kconfig | 1 +
> arch/riscv/kvm/Makefile | 27 ++--
> arch/riscv/kvm/aia.c | 114 +++++++++++------
> arch/riscv/kvm/aia_aplic.c | 3 +-
> arch/riscv/kvm/main.c | 63 +++++++++-
> arch/riscv/kvm/mmu.c | 4 +-
> arch/riscv/kvm/nacl.c | 152 ++++++++++++++++++++++
> arch/riscv/kvm/tlb.c | 57 ++++++---
> arch/riscv/kvm/vcpu.c | 191 +++++++++++++++++++++-------
> arch/riscv/kvm/vcpu_sbi.c | 11 +-
> arch/riscv/kvm/vcpu_switch.S | 137 ++++++++++++--------
> arch/riscv/kvm/vcpu_timer.c | 28 ++---
> 17 files changed, 1022 insertions(+), 185 deletions(-)
> create mode 100644 arch/riscv/include/asm/kvm_nacl.h
> create mode 100644 arch/riscv/kvm/nacl.c
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [GIT PULL] KVM/riscv changes for 6.13
2024-11-08 11:37 [GIT PULL] KVM/riscv changes for 6.13 Anup Patel
2024-11-08 17:15 ` Paolo Bonzini
@ 2024-12-11 22:32 ` patchwork-bot+linux-riscv
2024-12-11 22:49 ` patchwork-bot+linux-riscv
2 siblings, 0 replies; 4+ messages in thread
From: patchwork-bot+linux-riscv @ 2024-12-11 22:32 UTC (permalink / raw)
To: Anup Patel
Cc: linux-riscv, pbonzini, palmer, palmer, ajones, atishp, atishp,
kvm-riscv, kvm
Hello:
This pull request was applied to riscv/linux.git (fixes)
by Paolo Bonzini <pbonzini@redhat.com>:
On Fri, 8 Nov 2024 17:07:34 +0530 you wrote:
> Hi Paolo,
>
> We have the following KVM RISC-V changes for 6.13:
> 1) Accelerate KVM RISC-V when running as a guest
> 2) Perf support to collect KVM guest statistics from host side
>
> In addition, the pointer masking support (Ssnpm and
> Smnpm) for KVM guest is going through the RISC-V tree.
>
> [...]
Here is the summary with links:
- [GIT,PULL] KVM/riscv changes for 6.13
https://git.kernel.org/riscv/c/e3e0f9b7ae28
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [GIT PULL] KVM/riscv changes for 6.13
2024-11-08 11:37 [GIT PULL] KVM/riscv changes for 6.13 Anup Patel
2024-11-08 17:15 ` Paolo Bonzini
2024-12-11 22:32 ` patchwork-bot+linux-riscv
@ 2024-12-11 22:49 ` patchwork-bot+linux-riscv
2 siblings, 0 replies; 4+ messages in thread
From: patchwork-bot+linux-riscv @ 2024-12-11 22:49 UTC (permalink / raw)
To: Anup Patel
Cc: linux-riscv, pbonzini, palmer, palmer, ajones, atishp, atishp,
kvm-riscv, kvm
Hello:
This pull request was applied to riscv/linux.git (for-next)
by Paolo Bonzini <pbonzini@redhat.com>:
On Fri, 8 Nov 2024 17:07:34 +0530 you wrote:
> Hi Paolo,
>
> We have the following KVM RISC-V changes for 6.13:
> 1) Accelerate KVM RISC-V when running as a guest
> 2) Perf support to collect KVM guest statistics from host side
>
> In addition, the pointer masking support (Ssnpm and
> Smnpm) for KVM guest is going through the RISC-V tree.
>
> [...]
Here is the summary with links:
- [GIT,PULL] KVM/riscv changes for 6.13
https://git.kernel.org/riscv/c/e3e0f9b7ae28
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-12-11 22:48 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-08 11:37 [GIT PULL] KVM/riscv changes for 6.13 Anup Patel
2024-11-08 17:15 ` Paolo Bonzini
2024-12-11 22:32 ` patchwork-bot+linux-riscv
2024-12-11 22:49 ` patchwork-bot+linux-riscv
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox