All of lore.kernel.org
 help / color / mirror / Atom feed
* [GIT PULL] KVM/arm64 fixes for 5.12, take #2
@ 2021-03-12 16:00 ` Marc Zyngier
  0 siblings, 0 replies; 6+ messages in thread
From: Marc Zyngier @ 2021-03-12 16:00 UTC (permalink / raw)
  To: Paolo Bonzini
  Cc: Andrew Jones, Ard Biesheuvel, Catalin Marinas, Eric Auger,
	Kees Cook, Nathan Chancellor, Sami Tolvanen, Will Deacon,
	James Morse, Julien Thierry, Suzuki K Poulose, kernel-team,
	linux-arm-kernel, kvm, kvmarm

Hi Paolo,

Here's the second batch of KVM/arm64 fixes for 5.12. The most notable
item is the tidying up of the way we deal with the guest physical
space, which had a couple of warts. The other patches address i-cache
isolation between vcpus (they are supposed to be vcpu-private, but can
not being so...), and a fix for a link-time issue that can occur with
LTO.

Note that this time around, this pull request is on top of kvm/next,
right after the patches you applied last week.

Please pull,

	M.

The following changes since commit 357ad203d45c0f9d76a8feadbd5a1c5d460c638b:

  KVM: arm64: Fix range alignment when walking page tables (2021-03-06 04:18:41 -0500)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-fixes-5.12-2

for you to fetch changes up to 262b003d059c6671601a19057e9fe1a5e7f23722:

  KVM: arm64: Fix exclusive limit for IPA size (2021-03-12 15:43:22 +0000)

----------------------------------------------------------------
KVM/arm64 fixes for 5.12, take #2

- Fix a couple of branches that could be impossible to resolve at
  link time when objects are far apart, such as with LTO
- Mandate i-cache invalidation when two vcpus are sharing a physical CPU
- Fail VM creation if the implicit IPA size isn't supported
- Don't reject memslots that reach the IPA limit without breaching it

----------------------------------------------------------------
Marc Zyngier (3):
      KVM: arm64: Ensure I-cache isolation between vcpus of a same VM
      KVM: arm64: Reject VM creation when the default IPA size is unsupported
      KVM: arm64: Fix exclusive limit for IPA size

Sami Tolvanen (1):
      KVM: arm64: Don't use cbz/adr with external symbols

 Documentation/virt/kvm/api.rst     |  3 +++
 arch/arm64/include/asm/kvm_asm.h   |  4 ++--
 arch/arm64/kvm/arm.c               |  7 ++++++-
 arch/arm64/kvm/hyp/entry.S         |  6 ++++--
 arch/arm64/kvm/hyp/nvhe/hyp-main.c |  6 +++---
 arch/arm64/kvm/hyp/nvhe/tlb.c      |  3 ++-
 arch/arm64/kvm/hyp/vhe/tlb.c       |  3 ++-
 arch/arm64/kvm/mmu.c               |  3 +--
 arch/arm64/kvm/reset.c             | 12 ++++++++----
 9 files changed, 31 insertions(+), 16 deletions(-)

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [GIT PULL] KVM/arm64 fixes for 5.12, take #2
@ 2021-03-12 16:00 ` Marc Zyngier
  0 siblings, 0 replies; 6+ messages in thread
From: Marc Zyngier @ 2021-03-12 16:00 UTC (permalink / raw)
  To: Paolo Bonzini
  Cc: kernel-team, Kees Cook, kvm, Catalin Marinas, kvmarm,
	Nathan Chancellor, linux-arm-kernel, Sami Tolvanen, Will Deacon

Hi Paolo,

Here's the second batch of KVM/arm64 fixes for 5.12. The most notable
item is the tidying up of the way we deal with the guest physical
space, which had a couple of warts. The other patches address i-cache
isolation between vcpus (they are supposed to be vcpu-private, but can
not being so...), and a fix for a link-time issue that can occur with
LTO.

Note that this time around, this pull request is on top of kvm/next,
right after the patches you applied last week.

Please pull,

	M.

The following changes since commit 357ad203d45c0f9d76a8feadbd5a1c5d460c638b:

  KVM: arm64: Fix range alignment when walking page tables (2021-03-06 04:18:41 -0500)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-fixes-5.12-2

for you to fetch changes up to 262b003d059c6671601a19057e9fe1a5e7f23722:

  KVM: arm64: Fix exclusive limit for IPA size (2021-03-12 15:43:22 +0000)

----------------------------------------------------------------
KVM/arm64 fixes for 5.12, take #2

- Fix a couple of branches that could be impossible to resolve at
  link time when objects are far apart, such as with LTO
- Mandate i-cache invalidation when two vcpus are sharing a physical CPU
- Fail VM creation if the implicit IPA size isn't supported
- Don't reject memslots that reach the IPA limit without breaching it

----------------------------------------------------------------
Marc Zyngier (3):
      KVM: arm64: Ensure I-cache isolation between vcpus of a same VM
      KVM: arm64: Reject VM creation when the default IPA size is unsupported
      KVM: arm64: Fix exclusive limit for IPA size

Sami Tolvanen (1):
      KVM: arm64: Don't use cbz/adr with external symbols

 Documentation/virt/kvm/api.rst     |  3 +++
 arch/arm64/include/asm/kvm_asm.h   |  4 ++--
 arch/arm64/kvm/arm.c               |  7 ++++++-
 arch/arm64/kvm/hyp/entry.S         |  6 ++++--
 arch/arm64/kvm/hyp/nvhe/hyp-main.c |  6 +++---
 arch/arm64/kvm/hyp/nvhe/tlb.c      |  3 ++-
 arch/arm64/kvm/hyp/vhe/tlb.c       |  3 ++-
 arch/arm64/kvm/mmu.c               |  3 +--
 arch/arm64/kvm/reset.c             | 12 ++++++++----
 9 files changed, 31 insertions(+), 16 deletions(-)
_______________________________________________
kvmarm mailing list
kvmarm@lists.cs.columbia.edu
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [GIT PULL] KVM/arm64 fixes for 5.12, take #2
@ 2021-03-12 16:00 ` Marc Zyngier
  0 siblings, 0 replies; 6+ messages in thread
From: Marc Zyngier @ 2021-03-12 16:00 UTC (permalink / raw)
  To: Paolo Bonzini
  Cc: Andrew Jones, Ard Biesheuvel, Catalin Marinas, Eric Auger,
	Kees Cook, Nathan Chancellor, Sami Tolvanen, Will Deacon,
	James Morse, Julien Thierry, Suzuki K Poulose, kernel-team,
	linux-arm-kernel, kvm, kvmarm

Hi Paolo,

Here's the second batch of KVM/arm64 fixes for 5.12. The most notable
item is the tidying up of the way we deal with the guest physical
space, which had a couple of warts. The other patches address i-cache
isolation between vcpus (they are supposed to be vcpu-private, but can
not being so...), and a fix for a link-time issue that can occur with
LTO.

Note that this time around, this pull request is on top of kvm/next,
right after the patches you applied last week.

Please pull,

	M.

The following changes since commit 357ad203d45c0f9d76a8feadbd5a1c5d460c638b:

  KVM: arm64: Fix range alignment when walking page tables (2021-03-06 04:18:41 -0500)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-fixes-5.12-2

for you to fetch changes up to 262b003d059c6671601a19057e9fe1a5e7f23722:

  KVM: arm64: Fix exclusive limit for IPA size (2021-03-12 15:43:22 +0000)

----------------------------------------------------------------
KVM/arm64 fixes for 5.12, take #2

- Fix a couple of branches that could be impossible to resolve at
  link time when objects are far apart, such as with LTO
- Mandate i-cache invalidation when two vcpus are sharing a physical CPU
- Fail VM creation if the implicit IPA size isn't supported
- Don't reject memslots that reach the IPA limit without breaching it

----------------------------------------------------------------
Marc Zyngier (3):
      KVM: arm64: Ensure I-cache isolation between vcpus of a same VM
      KVM: arm64: Reject VM creation when the default IPA size is unsupported
      KVM: arm64: Fix exclusive limit for IPA size

Sami Tolvanen (1):
      KVM: arm64: Don't use cbz/adr with external symbols

 Documentation/virt/kvm/api.rst     |  3 +++
 arch/arm64/include/asm/kvm_asm.h   |  4 ++--
 arch/arm64/kvm/arm.c               |  7 ++++++-
 arch/arm64/kvm/hyp/entry.S         |  6 ++++--
 arch/arm64/kvm/hyp/nvhe/hyp-main.c |  6 +++---
 arch/arm64/kvm/hyp/nvhe/tlb.c      |  3 ++-
 arch/arm64/kvm/hyp/vhe/tlb.c       |  3 ++-
 arch/arm64/kvm/mmu.c               |  3 +--
 arch/arm64/kvm/reset.c             | 12 ++++++++----
 9 files changed, 31 insertions(+), 16 deletions(-)

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [GIT PULL] KVM/arm64 fixes for 5.12, take #2
  2021-03-12 16:00 ` Marc Zyngier
  (?)
@ 2021-03-12 18:15   ` Paolo Bonzini
  -1 siblings, 0 replies; 6+ messages in thread
From: Paolo Bonzini @ 2021-03-12 18:15 UTC (permalink / raw)
  To: Marc Zyngier
  Cc: Andrew Jones, Ard Biesheuvel, Catalin Marinas, Eric Auger,
	Kees Cook, Nathan Chancellor, Sami Tolvanen, Will Deacon,
	James Morse, Julien Thierry, Suzuki K Poulose, kernel-team,
	linux-arm-kernel, kvm, kvmarm

On 12/03/21 17:00, Marc Zyngier wrote:
> Hi Paolo,
> 
> Here's the second batch of KVM/arm64 fixes for 5.12. The most notable
> item is the tidying up of the way we deal with the guest physical
> space, which had a couple of warts. The other patches address i-cache
> isolation between vcpus (they are supposed to be vcpu-private, but can
> not being so...), and a fix for a link-time issue that can occur with
> LTO.
> 
> Note that this time around, this pull request is on top of kvm/next,
> right after the patches you applied last week.
> 
> Please pull,
> 
> 	M.
> 
> The following changes since commit 357ad203d45c0f9d76a8feadbd5a1c5d460c638b:
> 
>    KVM: arm64: Fix range alignment when walking page tables (2021-03-06 04:18:41 -0500)
> 
> are available in the Git repository at:
> 
>    git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-fixes-5.12-2
> 
> for you to fetch changes up to 262b003d059c6671601a19057e9fe1a5e7f23722:
> 
>    KVM: arm64: Fix exclusive limit for IPA size (2021-03-12 15:43:22 +0000)
> 
> ----------------------------------------------------------------
> KVM/arm64 fixes for 5.12, take #2
> 
> - Fix a couple of branches that could be impossible to resolve at
>    link time when objects are far apart, such as with LTO
> - Mandate i-cache invalidation when two vcpus are sharing a physical CPU
> - Fail VM creation if the implicit IPA size isn't supported
> - Don't reject memslots that reach the IPA limit without breaching it
> 
> ----------------------------------------------------------------
> Marc Zyngier (3):
>        KVM: arm64: Ensure I-cache isolation between vcpus of a same VM
>        KVM: arm64: Reject VM creation when the default IPA size is unsupported
>        KVM: arm64: Fix exclusive limit for IPA size
> 
> Sami Tolvanen (1):
>        KVM: arm64: Don't use cbz/adr with external symbols
> 
>   Documentation/virt/kvm/api.rst     |  3 +++
>   arch/arm64/include/asm/kvm_asm.h   |  4 ++--
>   arch/arm64/kvm/arm.c               |  7 ++++++-
>   arch/arm64/kvm/hyp/entry.S         |  6 ++++--
>   arch/arm64/kvm/hyp/nvhe/hyp-main.c |  6 +++---
>   arch/arm64/kvm/hyp/nvhe/tlb.c      |  3 ++-
>   arch/arm64/kvm/hyp/vhe/tlb.c       |  3 ++-
>   arch/arm64/kvm/mmu.c               |  3 +--
>   arch/arm64/kvm/reset.c             | 12 ++++++++----
>   9 files changed, 31 insertions(+), 16 deletions(-)
> 

Pulled, thanks.

Paolo


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [GIT PULL] KVM/arm64 fixes for 5.12, take #2
@ 2021-03-12 18:15   ` Paolo Bonzini
  0 siblings, 0 replies; 6+ messages in thread
From: Paolo Bonzini @ 2021-03-12 18:15 UTC (permalink / raw)
  To: Marc Zyngier
  Cc: kernel-team, Kees Cook, kvm, Catalin Marinas, kvmarm,
	Nathan Chancellor, linux-arm-kernel, Sami Tolvanen, Will Deacon

On 12/03/21 17:00, Marc Zyngier wrote:
> Hi Paolo,
> 
> Here's the second batch of KVM/arm64 fixes for 5.12. The most notable
> item is the tidying up of the way we deal with the guest physical
> space, which had a couple of warts. The other patches address i-cache
> isolation between vcpus (they are supposed to be vcpu-private, but can
> not being so...), and a fix for a link-time issue that can occur with
> LTO.
> 
> Note that this time around, this pull request is on top of kvm/next,
> right after the patches you applied last week.
> 
> Please pull,
> 
> 	M.
> 
> The following changes since commit 357ad203d45c0f9d76a8feadbd5a1c5d460c638b:
> 
>    KVM: arm64: Fix range alignment when walking page tables (2021-03-06 04:18:41 -0500)
> 
> are available in the Git repository at:
> 
>    git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-fixes-5.12-2
> 
> for you to fetch changes up to 262b003d059c6671601a19057e9fe1a5e7f23722:
> 
>    KVM: arm64: Fix exclusive limit for IPA size (2021-03-12 15:43:22 +0000)
> 
> ----------------------------------------------------------------
> KVM/arm64 fixes for 5.12, take #2
> 
> - Fix a couple of branches that could be impossible to resolve at
>    link time when objects are far apart, such as with LTO
> - Mandate i-cache invalidation when two vcpus are sharing a physical CPU
> - Fail VM creation if the implicit IPA size isn't supported
> - Don't reject memslots that reach the IPA limit without breaching it
> 
> ----------------------------------------------------------------
> Marc Zyngier (3):
>        KVM: arm64: Ensure I-cache isolation between vcpus of a same VM
>        KVM: arm64: Reject VM creation when the default IPA size is unsupported
>        KVM: arm64: Fix exclusive limit for IPA size
> 
> Sami Tolvanen (1):
>        KVM: arm64: Don't use cbz/adr with external symbols
> 
>   Documentation/virt/kvm/api.rst     |  3 +++
>   arch/arm64/include/asm/kvm_asm.h   |  4 ++--
>   arch/arm64/kvm/arm.c               |  7 ++++++-
>   arch/arm64/kvm/hyp/entry.S         |  6 ++++--
>   arch/arm64/kvm/hyp/nvhe/hyp-main.c |  6 +++---
>   arch/arm64/kvm/hyp/nvhe/tlb.c      |  3 ++-
>   arch/arm64/kvm/hyp/vhe/tlb.c       |  3 ++-
>   arch/arm64/kvm/mmu.c               |  3 +--
>   arch/arm64/kvm/reset.c             | 12 ++++++++----
>   9 files changed, 31 insertions(+), 16 deletions(-)
> 

Pulled, thanks.

Paolo

_______________________________________________
kvmarm mailing list
kvmarm@lists.cs.columbia.edu
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [GIT PULL] KVM/arm64 fixes for 5.12, take #2
@ 2021-03-12 18:15   ` Paolo Bonzini
  0 siblings, 0 replies; 6+ messages in thread
From: Paolo Bonzini @ 2021-03-12 18:15 UTC (permalink / raw)
  To: Marc Zyngier
  Cc: Andrew Jones, Ard Biesheuvel, Catalin Marinas, Eric Auger,
	Kees Cook, Nathan Chancellor, Sami Tolvanen, Will Deacon,
	James Morse, Julien Thierry, Suzuki K Poulose, kernel-team,
	linux-arm-kernel, kvm, kvmarm

On 12/03/21 17:00, Marc Zyngier wrote:
> Hi Paolo,
> 
> Here's the second batch of KVM/arm64 fixes for 5.12. The most notable
> item is the tidying up of the way we deal with the guest physical
> space, which had a couple of warts. The other patches address i-cache
> isolation between vcpus (they are supposed to be vcpu-private, but can
> not being so...), and a fix for a link-time issue that can occur with
> LTO.
> 
> Note that this time around, this pull request is on top of kvm/next,
> right after the patches you applied last week.
> 
> Please pull,
> 
> 	M.
> 
> The following changes since commit 357ad203d45c0f9d76a8feadbd5a1c5d460c638b:
> 
>    KVM: arm64: Fix range alignment when walking page tables (2021-03-06 04:18:41 -0500)
> 
> are available in the Git repository at:
> 
>    git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-fixes-5.12-2
> 
> for you to fetch changes up to 262b003d059c6671601a19057e9fe1a5e7f23722:
> 
>    KVM: arm64: Fix exclusive limit for IPA size (2021-03-12 15:43:22 +0000)
> 
> ----------------------------------------------------------------
> KVM/arm64 fixes for 5.12, take #2
> 
> - Fix a couple of branches that could be impossible to resolve at
>    link time when objects are far apart, such as with LTO
> - Mandate i-cache invalidation when two vcpus are sharing a physical CPU
> - Fail VM creation if the implicit IPA size isn't supported
> - Don't reject memslots that reach the IPA limit without breaching it
> 
> ----------------------------------------------------------------
> Marc Zyngier (3):
>        KVM: arm64: Ensure I-cache isolation between vcpus of a same VM
>        KVM: arm64: Reject VM creation when the default IPA size is unsupported
>        KVM: arm64: Fix exclusive limit for IPA size
> 
> Sami Tolvanen (1):
>        KVM: arm64: Don't use cbz/adr with external symbols
> 
>   Documentation/virt/kvm/api.rst     |  3 +++
>   arch/arm64/include/asm/kvm_asm.h   |  4 ++--
>   arch/arm64/kvm/arm.c               |  7 ++++++-
>   arch/arm64/kvm/hyp/entry.S         |  6 ++++--
>   arch/arm64/kvm/hyp/nvhe/hyp-main.c |  6 +++---
>   arch/arm64/kvm/hyp/nvhe/tlb.c      |  3 ++-
>   arch/arm64/kvm/hyp/vhe/tlb.c       |  3 ++-
>   arch/arm64/kvm/mmu.c               |  3 +--
>   arch/arm64/kvm/reset.c             | 12 ++++++++----
>   9 files changed, 31 insertions(+), 16 deletions(-)
> 

Pulled, thanks.

Paolo


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-03-12 18:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-12 16:00 [GIT PULL] KVM/arm64 fixes for 5.12, take #2 Marc Zyngier
2021-03-12 16:00 ` Marc Zyngier
2021-03-12 16:00 ` Marc Zyngier
2021-03-12 18:15 ` Paolo Bonzini
2021-03-12 18:15   ` Paolo Bonzini
2021-03-12 18:15   ` Paolo Bonzini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.