KVM: arm/arm64: Revamp sysreg reset checks
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | KVM: arm64: Don't write junk to sysregs on resetarch/ | +18 | 3 replies | |
| 2/2 | KVM: arm: Don't write junk to CP15 registers on resetarch/ | +15 | 0 replies |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by.
| Patch | Zenghui Yu |
|---|---|
| 1/2 | T-b |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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