Skip to content

KVM: arm/arm64: Revamp sysreg reset checks

Marc Zyngier kvm kvmarm linux-arm-kernel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2KVM: arm64: Don't write junk to sysregs on resetarch/arm64/kvm/sys_regs.c+18 -143 replies
2/2KVM: arm: Don't write junk to CP15 registers on resetarch/arm/kvm/coproc.c+15 -80 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchZenghui Yu
1/2T-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] KVM: arm/arm64: Revamp sysreg reset checks

The way we deal with sysreg reset is terrible, as we write junk to them while other parts of the system may be evaluating these. That's obviously wrong. Instead, let's switch to a mode where we track which sysregs have had a reset function applied to them.

The result is less bad, but my gut feeling is that we'd be better of without any of this. Comments welcome.

Marc Zyngier (2):
KVM: arm64: Don't write junk to sysregs on reset
KVM: arm: Don't write junk to CP15 registers on reset

 arch/arm/kvm/coproc.c     | 23 +++++++++++++++--------
 arch/arm64/kvm/sys_regs.c | 32 ++++++++++++++++++--------------
 2 files changed, 33 insertions(+), 22 deletions(-)
Signature · 1 line
2.20.1