mbox series

[v2,0/4] KVM: arm64: TLBI fixes for the pgtable code

Message ID 20240327124853.11206-1-will@kernel.org (mailing list archive)
Headers show
Series KVM: arm64: TLBI fixes for the pgtable code | expand

Message

Will Deacon March 27, 2024, 12:48 p.m. UTC
Hi again,

This is version two of the series I previously posted on Monday:

  https://lore.kernel.org/r/20240325185158.8565-1-will@kernel.org

We've got a long weekend coming up in the UK, so I wanted to get this
out before I chuck the laptop in the river.

Changes since v1 include:

  * Add Ryan's Reviewed-by on the third patch
  * Add an extra patch to ensure correct alignment of range TLBI address
    argument
  * Tweak commit messages

Cheers,

Will

Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Gavin Shan <gshan@redhat.com>
Cc: Marc Zyngier <maz@kernel.org>
Cc: Mostafa Saleh <smostafa@google.com>
Cc: Oliver Upton <oliver.upton@linux.dev>
Cc: Quentin Perret <qperret@google.com>
Cc: Raghavendra Rao Ananta <rananta@google.com>
Cc: Ryan Roberts <ryan.roberts@arm.com>
Cc: Shaoqin Huang <shahuang@redhat.com>

--->8

Will Deacon (4):
  KVM: arm64: Don't defer TLB invalidation when zapping table entries
  KVM: arm64: Don't pass a TLBI level hint when zapping table entries
  KVM: arm64: Use TLBI_TTL_UNKNOWN in __kvm_tlb_flush_vmid_range()
  KVM: arm64: Ensure target address is granule-aligned for range TLBI

 arch/arm64/kvm/hyp/nvhe/tlb.c |  3 ++-
 arch/arm64/kvm/hyp/pgtable.c  | 23 +++++++++++++++--------
 arch/arm64/kvm/hyp/vhe/tlb.c  |  3 ++-
 3 files changed, 19 insertions(+), 10 deletions(-)

Comments

Marc Zyngier March 30, 2024, 10 a.m. UTC | #1
On Wed, 27 Mar 2024 12:48:49 +0000,
Will Deacon <will@kernel.org> wrote:
> 
> Hi again,
> 
> This is version two of the series I previously posted on Monday:
> 
>   https://lore.kernel.org/r/20240325185158.8565-1-will@kernel.org
> 
> We've got a long weekend coming up in the UK, so I wanted to get this
> out before I chuck the laptop in the river.
> 
> Changes since v1 include:
> 
>   * Add Ryan's Reviewed-by on the third patch
>   * Add an extra patch to ensure correct alignment of range TLBI address
>     argument
>   * Tweak commit messages

For the series,

Reviewed-by: Marc Zyngier <maz@kernel.org>

	M.
Shaoqin Huang April 1, 2024, 2:57 a.m. UTC | #2
On 3/27/24 20:48, Will Deacon wrote:
> Hi again,
> 
> This is version two of the series I previously posted on Monday:
> 
>    https://lore.kernel.org/r/20240325185158.8565-1-will@kernel.org
> 
> We've got a long weekend coming up in the UK, so I wanted to get this
> out before I chuck the laptop in the river.
> 
> Changes since v1 include:
> 
>    * Add Ryan's Reviewed-by on the third patch
>    * Add an extra patch to ensure correct alignment of range TLBI address
>      argument
>    * Tweak commit messages
> 
> Cheers,
> 
> Will

Reviewed-by: Shaoqin Huang <shahuang@redhat.com>

> 
> Cc: Catalin Marinas <catalin.marinas@arm.com>
> Cc: Gavin Shan <gshan@redhat.com>
> Cc: Marc Zyngier <maz@kernel.org>
> Cc: Mostafa Saleh <smostafa@google.com>
> Cc: Oliver Upton <oliver.upton@linux.dev>
> Cc: Quentin Perret <qperret@google.com>
> Cc: Raghavendra Rao Ananta <rananta@google.com>
> Cc: Ryan Roberts <ryan.roberts@arm.com>
> Cc: Shaoqin Huang <shahuang@redhat.com>
> 
> --->8
> 
> Will Deacon (4):
>    KVM: arm64: Don't defer TLB invalidation when zapping table entries
>    KVM: arm64: Don't pass a TLBI level hint when zapping table entries
>    KVM: arm64: Use TLBI_TTL_UNKNOWN in __kvm_tlb_flush_vmid_range()
>    KVM: arm64: Ensure target address is granule-aligned for range TLBI
> 
>   arch/arm64/kvm/hyp/nvhe/tlb.c |  3 ++-
>   arch/arm64/kvm/hyp/pgtable.c  | 23 +++++++++++++++--------
>   arch/arm64/kvm/hyp/vhe/tlb.c  |  3 ++-
>   3 files changed, 19 insertions(+), 10 deletions(-)
>
Oliver Upton April 1, 2024, 8:46 a.m. UTC | #3
On Wed, 27 Mar 2024 12:48:49 +0000, Will Deacon wrote:
> This is version two of the series I previously posted on Monday:
> 
>   https://lore.kernel.org/r/20240325185158.8565-1-will@kernel.org
> 
> We've got a long weekend coming up in the UK, so I wanted to get this
> out before I chuck the laptop in the river.
> 
> [...]

Applied to kvmarm/fixes, thanks!

[1/4] KVM: arm64: Don't defer TLB invalidation when zapping table entries
      commit: f62d4c3eb687d87b616b4279acec7862553bda77
[2/4] KVM: arm64: Don't pass a TLBI level hint when zapping table entries
      commit: 36e008323926036650299cfbb2dca704c7aba849
[3/4] KVM: arm64: Use TLBI_TTL_UNKNOWN in __kvm_tlb_flush_vmid_range()
      commit: 0f0ff097bf77663b8d2692e33d56119947611bb0
[4/4] KVM: arm64: Ensure target address is granule-aligned for range TLBI
      commit: 4c36a156738887c1edd78589fe192d757989bcde