All of lore.kernel.org
 help / color / mirror / Atom feed
* [GIT PULL] KVM/arm64 fixes for 5.19, take #1
@ 2022-06-09 14:17 ` Marc Zyngier
  0 siblings, 0 replies; 6+ messages in thread
From: Marc Zyngier @ 2022-06-09 14:17 UTC (permalink / raw)
  To: Paolo Bonzini
  Cc: Alexandru Elisei, David Brazdil, Eric Auger, Mark Brown,
	Mark Rutland, sunliming, Will Deacon, James Morse,
	Suzuki K Poulose, Oliver Upton, linux-arm-kernel, kvmarm, kvm,
	kernel-team

Hi Paolo,

Here's the first set of fixes for 5.19. Nothing major (one fix for the
GICv2 emulation, one for the embryonic protected VM support), the rest
being a bunch of small scale cleanup that I have decided to take now
rather than leaving them for later.

Please pull,

	M.

The following changes since commit f2906aa863381afb0015a9eb7fefad885d4e5a56:

  Linux 5.19-rc1 (2022-06-05 17:18:54 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-fixes-5.19-1

for you to fetch changes up to bcbfb588cf323929ac46767dd14e392016bbce04:

  KVM: arm64: Drop stale comment (2022-06-09 13:24:02 +0100)

----------------------------------------------------------------
KVM/arm64 fixes for 5.19, take #1

- Properly reset the SVE/SME flags on vcpu load

- Fix a vgic-v2 regression regarding accessing the pending
  state of a HW interrupt from userspace (and make the code
  common with vgic-v3)

- Fix access to the idreg range for protected guests

- Ignore 'kvm-arm.mode=protected' when using VHE

- Return an error from kvm_arch_init_vm() on allocation failure

- A bunch of small cleanups (comments, annotations, indentation)

----------------------------------------------------------------
Marc Zyngier (7):
      KVM: arm64: Always start with clearing SVE flag on load
      KVM: arm64: Always start with clearing SME flag on load
      KVM: arm64: Don't read a HW interrupt pending state in user context
      KVM: arm64: Replace vgic_v3_uaccess_read_pending with vgic_uaccess_read_pending
      KVM: arm64: Warn if accessing timer pending state outside of vcpu context
      KVM: arm64: Handle all ID registers trapped for a protected VM
      KVM: arm64: Drop stale comment

Will Deacon (4):
      KVM: arm64: Return error from kvm_arch_init_vm() on allocation failure
      KVM: arm64: Ignore 'kvm-arm.mode=protected' when using VHE
      KVM: arm64: Extend comment in has_vhe()
      KVM: arm64: Remove redundant hyp_assert_lock_held() assertions

sunliming (1):
      KVM: arm64: Fix inconsistent indenting

 Documentation/admin-guide/kernel-parameters.txt |  1 -
 arch/arm64/include/asm/kvm_host.h               |  5 ---
 arch/arm64/include/asm/virt.h                   |  3 ++
 arch/arm64/kernel/cpufeature.c                  | 10 +-----
 arch/arm64/kvm/arch_timer.c                     |  3 ++
 arch/arm64/kvm/arm.c                            | 10 ++++--
 arch/arm64/kvm/fpsimd.c                         |  2 ++
 arch/arm64/kvm/hyp/nvhe/mem_protect.c           |  4 ---
 arch/arm64/kvm/hyp/nvhe/sys_regs.c              | 42 ++++++++++++++++++++-----
 arch/arm64/kvm/vgic/vgic-mmio-v2.c              |  4 +--
 arch/arm64/kvm/vgic/vgic-mmio-v3.c              | 40 ++---------------------
 arch/arm64/kvm/vgic/vgic-mmio.c                 | 40 ++++++++++++++++++++---
 arch/arm64/kvm/vgic/vgic-mmio.h                 |  3 ++
 arch/arm64/kvm/vmid.c                           |  2 +-
 14 files changed, 95 insertions(+), 74 deletions(-)

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

* [GIT PULL] KVM/arm64 fixes for 5.19, take #1
@ 2022-06-09 14:17 ` Marc Zyngier
  0 siblings, 0 replies; 6+ messages in thread
From: Marc Zyngier @ 2022-06-09 14:17 UTC (permalink / raw)
  To: Paolo Bonzini
  Cc: kernel-team, kvm, Will Deacon, Mark Brown, sunliming, kvmarm,
	linux-arm-kernel

Hi Paolo,

Here's the first set of fixes for 5.19. Nothing major (one fix for the
GICv2 emulation, one for the embryonic protected VM support), the rest
being a bunch of small scale cleanup that I have decided to take now
rather than leaving them for later.

Please pull,

	M.

The following changes since commit f2906aa863381afb0015a9eb7fefad885d4e5a56:

  Linux 5.19-rc1 (2022-06-05 17:18:54 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-fixes-5.19-1

for you to fetch changes up to bcbfb588cf323929ac46767dd14e392016bbce04:

  KVM: arm64: Drop stale comment (2022-06-09 13:24:02 +0100)

----------------------------------------------------------------
KVM/arm64 fixes for 5.19, take #1

- Properly reset the SVE/SME flags on vcpu load

- Fix a vgic-v2 regression regarding accessing the pending
  state of a HW interrupt from userspace (and make the code
  common with vgic-v3)

- Fix access to the idreg range for protected guests

- Ignore 'kvm-arm.mode=protected' when using VHE

- Return an error from kvm_arch_init_vm() on allocation failure

- A bunch of small cleanups (comments, annotations, indentation)

----------------------------------------------------------------
Marc Zyngier (7):
      KVM: arm64: Always start with clearing SVE flag on load
      KVM: arm64: Always start with clearing SME flag on load
      KVM: arm64: Don't read a HW interrupt pending state in user context
      KVM: arm64: Replace vgic_v3_uaccess_read_pending with vgic_uaccess_read_pending
      KVM: arm64: Warn if accessing timer pending state outside of vcpu context
      KVM: arm64: Handle all ID registers trapped for a protected VM
      KVM: arm64: Drop stale comment

Will Deacon (4):
      KVM: arm64: Return error from kvm_arch_init_vm() on allocation failure
      KVM: arm64: Ignore 'kvm-arm.mode=protected' when using VHE
      KVM: arm64: Extend comment in has_vhe()
      KVM: arm64: Remove redundant hyp_assert_lock_held() assertions

sunliming (1):
      KVM: arm64: Fix inconsistent indenting

 Documentation/admin-guide/kernel-parameters.txt |  1 -
 arch/arm64/include/asm/kvm_host.h               |  5 ---
 arch/arm64/include/asm/virt.h                   |  3 ++
 arch/arm64/kernel/cpufeature.c                  | 10 +-----
 arch/arm64/kvm/arch_timer.c                     |  3 ++
 arch/arm64/kvm/arm.c                            | 10 ++++--
 arch/arm64/kvm/fpsimd.c                         |  2 ++
 arch/arm64/kvm/hyp/nvhe/mem_protect.c           |  4 ---
 arch/arm64/kvm/hyp/nvhe/sys_regs.c              | 42 ++++++++++++++++++++-----
 arch/arm64/kvm/vgic/vgic-mmio-v2.c              |  4 +--
 arch/arm64/kvm/vgic/vgic-mmio-v3.c              | 40 ++---------------------
 arch/arm64/kvm/vgic/vgic-mmio.c                 | 40 ++++++++++++++++++++---
 arch/arm64/kvm/vgic/vgic-mmio.h                 |  3 ++
 arch/arm64/kvm/vmid.c                           |  2 +-
 14 files changed, 95 insertions(+), 74 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.19, take #1
@ 2022-06-09 14:17 ` Marc Zyngier
  0 siblings, 0 replies; 6+ messages in thread
From: Marc Zyngier @ 2022-06-09 14:17 UTC (permalink / raw)
  To: Paolo Bonzini
  Cc: Alexandru Elisei, David Brazdil, Eric Auger, Mark Brown,
	Mark Rutland, sunliming, Will Deacon, James Morse,
	Suzuki K Poulose, Oliver Upton, linux-arm-kernel, kvmarm, kvm,
	kernel-team

Hi Paolo,

Here's the first set of fixes for 5.19. Nothing major (one fix for the
GICv2 emulation, one for the embryonic protected VM support), the rest
being a bunch of small scale cleanup that I have decided to take now
rather than leaving them for later.

Please pull,

	M.

The following changes since commit f2906aa863381afb0015a9eb7fefad885d4e5a56:

  Linux 5.19-rc1 (2022-06-05 17:18:54 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-fixes-5.19-1

for you to fetch changes up to bcbfb588cf323929ac46767dd14e392016bbce04:

  KVM: arm64: Drop stale comment (2022-06-09 13:24:02 +0100)

----------------------------------------------------------------
KVM/arm64 fixes for 5.19, take #1

- Properly reset the SVE/SME flags on vcpu load

- Fix a vgic-v2 regression regarding accessing the pending
  state of a HW interrupt from userspace (and make the code
  common with vgic-v3)

- Fix access to the idreg range for protected guests

- Ignore 'kvm-arm.mode=protected' when using VHE

- Return an error from kvm_arch_init_vm() on allocation failure

- A bunch of small cleanups (comments, annotations, indentation)

----------------------------------------------------------------
Marc Zyngier (7):
      KVM: arm64: Always start with clearing SVE flag on load
      KVM: arm64: Always start with clearing SME flag on load
      KVM: arm64: Don't read a HW interrupt pending state in user context
      KVM: arm64: Replace vgic_v3_uaccess_read_pending with vgic_uaccess_read_pending
      KVM: arm64: Warn if accessing timer pending state outside of vcpu context
      KVM: arm64: Handle all ID registers trapped for a protected VM
      KVM: arm64: Drop stale comment

Will Deacon (4):
      KVM: arm64: Return error from kvm_arch_init_vm() on allocation failure
      KVM: arm64: Ignore 'kvm-arm.mode=protected' when using VHE
      KVM: arm64: Extend comment in has_vhe()
      KVM: arm64: Remove redundant hyp_assert_lock_held() assertions

sunliming (1):
      KVM: arm64: Fix inconsistent indenting

 Documentation/admin-guide/kernel-parameters.txt |  1 -
 arch/arm64/include/asm/kvm_host.h               |  5 ---
 arch/arm64/include/asm/virt.h                   |  3 ++
 arch/arm64/kernel/cpufeature.c                  | 10 +-----
 arch/arm64/kvm/arch_timer.c                     |  3 ++
 arch/arm64/kvm/arm.c                            | 10 ++++--
 arch/arm64/kvm/fpsimd.c                         |  2 ++
 arch/arm64/kvm/hyp/nvhe/mem_protect.c           |  4 ---
 arch/arm64/kvm/hyp/nvhe/sys_regs.c              | 42 ++++++++++++++++++++-----
 arch/arm64/kvm/vgic/vgic-mmio-v2.c              |  4 +--
 arch/arm64/kvm/vgic/vgic-mmio-v3.c              | 40 ++---------------------
 arch/arm64/kvm/vgic/vgic-mmio.c                 | 40 ++++++++++++++++++++---
 arch/arm64/kvm/vgic/vgic-mmio.h                 |  3 ++
 arch/arm64/kvm/vmid.c                           |  2 +-
 14 files changed, 95 insertions(+), 74 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.19, take #1
  2022-06-09 14:17 ` Marc Zyngier
  (?)
@ 2022-06-09 14:31   ` Paolo Bonzini
  -1 siblings, 0 replies; 6+ messages in thread
From: Paolo Bonzini @ 2022-06-09 14:31 UTC (permalink / raw)
  To: Marc Zyngier
  Cc: Alexandru Elisei, David Brazdil, Eric Auger, Mark Brown,
	Mark Rutland, sunliming, Will Deacon, James Morse,
	Suzuki K Poulose, Oliver Upton, linux-arm-kernel, kvmarm, kvm,
	kernel-team

On 6/9/22 16:17, Marc Zyngier wrote:
>    git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-fixes-5.19-1

Pulled, thanks.

Paolo


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

* Re: [GIT PULL] KVM/arm64 fixes for 5.19, take #1
@ 2022-06-09 14:31   ` Paolo Bonzini
  0 siblings, 0 replies; 6+ messages in thread
From: Paolo Bonzini @ 2022-06-09 14:31 UTC (permalink / raw)
  To: Marc Zyngier
  Cc: kernel-team, kvm, Will Deacon, Mark Brown, sunliming, kvmarm,
	linux-arm-kernel

On 6/9/22 16:17, Marc Zyngier wrote:
>    git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-fixes-5.19-1

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.19, take #1
@ 2022-06-09 14:31   ` Paolo Bonzini
  0 siblings, 0 replies; 6+ messages in thread
From: Paolo Bonzini @ 2022-06-09 14:31 UTC (permalink / raw)
  To: Marc Zyngier
  Cc: Alexandru Elisei, David Brazdil, Eric Auger, Mark Brown,
	Mark Rutland, sunliming, Will Deacon, James Morse,
	Suzuki K Poulose, Oliver Upton, linux-arm-kernel, kvmarm, kvm,
	kernel-team

On 6/9/22 16:17, Marc Zyngier wrote:
>    git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-fixes-5.19-1

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:[~2022-06-09 14:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-09 14:17 [GIT PULL] KVM/arm64 fixes for 5.19, take #1 Marc Zyngier
2022-06-09 14:17 ` Marc Zyngier
2022-06-09 14:17 ` Marc Zyngier
2022-06-09 14:31 ` Paolo Bonzini
2022-06-09 14:31   ` Paolo Bonzini
2022-06-09 14:31   ` 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.