linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] KVM: arm64: Minor improvements to RAZ register handling
@ 2021-10-11 10:58 Alexandru Elisei
  2021-10-11 10:58 ` [PATCH v2 1/3] KVM: arm64: Return early from read_id_reg() if register is RAZ Alexandru Elisei
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Alexandru Elisei @ 2021-10-11 10:58 UTC (permalink / raw)
  To: maz, linux-arm-kernel, kvmarm, james.morse, suzuki.poulose, drjones

What sparked these small patches is the series that fixed the PMU reset
values and their visibility from userspace, more specifically the
discussion around the patch that removed the PMSWINC_EL0 shadow register
[1].

The patches are straightforward cleanups without any changes in
functionality.

Tested on a rockpro64, by running kvm-unit-tests under qemu.

Changes in v2:

* Added patch #3 ("KVM: arm64: Replace get_raz_id_reg() with get_raz_reg()"), as
  suggested by Drew.
* Rebased on top of v5.15-rc5.
* Gathered Reviewed-by, thanks!
* A few small commit message changes to patch #1.

[1] https://www.spinics.net/lists/kvm-arm/msg47976.html

Alexandru Elisei (3):
  KVM: arm64: Return early from read_id_reg() if register is RAZ
  KVM: arm64: Use get_raz_reg() for userspace reads of PMSWINC_EL0
  KVM: arm64: Replace get_raz_id_reg() with get_raz_reg()

 arch/arm64/kvm/sys_regs.c | 26 +++++++++++++++++---------
 1 file changed, 17 insertions(+), 9 deletions(-)

-- 
2.33.0


_______________________________________________
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] 7+ messages in thread

end of thread, other threads:[~2021-10-11 13:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-11 10:58 [PATCH v2 0/3] KVM: arm64: Minor improvements to RAZ register handling Alexandru Elisei
2021-10-11 10:58 ` [PATCH v2 1/3] KVM: arm64: Return early from read_id_reg() if register is RAZ Alexandru Elisei
2021-10-11 10:58 ` [PATCH v2 2/3] KVM: arm64: Use get_raz_reg() for userspace reads of PMSWINC_EL0 Alexandru Elisei
2021-10-11 12:45   ` Andrew Jones
2021-10-11 10:58 ` [PATCH v2 3/3] KVM: arm64: Replace get_raz_id_reg() with get_raz_reg() Alexandru Elisei
2021-10-11 12:45   ` Andrew Jones
2021-10-11 13:17 ` [PATCH v2 0/3] KVM: arm64: Minor improvements to RAZ register handling Marc Zyngier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).