KVM: arm64: Fix splat relating to idregs debugfs
Status from this message: Applied to kvmarm/next, thanks!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | KVM: arm64: Fail the idreg iterator if idregs aren't initializedarch/ | +2 | 0 replies | |
| 2/2 | KVM: arm64: Don't initialize idreg debugfs w/ preemption disabledarch/ arch/ arch/ | +13 | 0 replies |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Marc Zyngier |
|---|---|
| Series | R-b |
| 1/2 | |
| 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: arm64: Fix splat relating to idregs debugfs
Looks like we're calling in to debugfs w/ preemption disabled, which explodes when trying to take the parent inode's rwsem.
This is easy enough to work around, and we can just initialize at the time of VM creation. No idreg values yet? Too bad, just kick an error back at the user. All two of them.
Applies to kvmarm/next.
Oliver Upton (2):
KVM: arm64: Fail the idreg iterator if idregs aren't initialized
KVM: arm64: Don't initialize idreg debugfs w/ preemption disabled
arch/arm64/include/asm/kvm_host.h | 1 + arch/arm64/kvm/arm.c | 4 ++++ arch/arm64/kvm/sys_regs.c | 16 ++++++++++------ 3 files changed, 15 insertions(+), 6 deletions(-)
base-commit: bec0d120679f0033cca017e8f9e0f3782d261dc7
Signature · 1 line
2.44.0.rc1.240.g4c46232300-goog