Re: [PATCH v2 0/3] KVM: arm64: Minor page fault handler improvement

2021-04-07 Thread Marc Zyngier
On Tue, 16 Mar 2021 12:11:23 +0800, Gavin Shan wrote:
> The series includes several minior improvements to stage-2 page fault
> handler: PATCH[1/2] are cleaning up the code. PATCH[3] don't retrieve
> the memory slot again in the page fault handler to save a bit CPU cycles.
> 
> Changelog
> =
> v2:
>* Rebased to 5.12.rc3 and include r-bs from Keqian  (Gavin)
>* Drop patch to fix IPA limit boundary issue(Keqian)
>* Comments on why we use __gfn_to_pfn_memslot() (Keqian)
> 
> [...]

Applied to kvm-arm64/memslot-fixes, thanks!

[1/3] KVM: arm64: Hide kvm_mmu_wp_memory_region()
  commit: eab62148478d339a37c7a6b37d34182ccf5056ad
[2/3] KVM: arm64: Use find_vma_intersection()
  commit: c728fd4ce75e9c342ea96facc5a2fe5ddb976a67
[3/3] KVM: arm64: Don't retrieve memory slot again in page fault handler
  commit: 10ba2d17d2972926c60e01dace6d7a3f8d968c4f

Cheers,

M.
-- 
Without deviation from the norm, progress is not possible.




[PATCH v2 0/3] KVM: arm64: Minor page fault handler improvement

2021-03-15 Thread Gavin Shan
The series includes several minior improvements to stage-2 page fault
handler: PATCH[1/2] are cleaning up the code. PATCH[3] don't retrieve
the memory slot again in the page fault handler to save a bit CPU cycles.

Changelog
=
v2:
   * Rebased to 5.12.rc3 and include r-bs from Keqian  (Gavin)
   * Drop patch to fix IPA limit boundary issue(Keqian)
   * Comments on why we use __gfn_to_pfn_memslot() (Keqian)

Gavin Shan (3):
  KVM: arm64: Hide kvm_mmu_wp_memory_region()
  KVM: arm64: Use find_vma_intersection()
  KVM: arm64: Don't retrieve memory slot again in page fault handler

 arch/arm64/include/asm/kvm_host.h |  1 -
 arch/arm64/kvm/mmu.c  | 21 ++---
 2 files changed, 14 insertions(+), 8 deletions(-)

-- 
2.23.0