linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Fix KVM_GET_REG_LIST invalid register ID regression
@ 2018-12-12 20:17 Dave Martin
  2018-12-12 20:17 ` [PATCH v2 1/2] KVM: arm64: Filter out invalid core register IDs in KVM_GET_REG_LIST Dave Martin
  2018-12-12 20:17 ` [PATCH v2 2/2] KVM: arm64: Factor out KVM_GET_REG_LIST core register enumeration Dave Martin
  0 siblings, 2 replies; 10+ messages in thread
From: Dave Martin @ 2018-12-12 20:17 UTC (permalink / raw)
  To: kvmarm; +Cc: Marc Zyngier, Peter Maydell, Christoffer Dall, linux-arm-kernel

Since commit d26c25a9d19b ("arm64: KVM: Tighten guest core register
access from userspace"), KVM_{GET,SET}_ONE_REG rejects register IDs
that do not correspond to a single underlying architectural register.

This series proposed a fix for this regression along with some related
refactoring.

Comments welcome.

This series now looks straightforward, but has only been build-tested
so far.


Dave Martin (2):
  KVM: arm64: Filter out invalid core register IDs in KVM_GET_REG_LIST
  KVM: arm64: Factor out KVM_GET_REG_LIST core register enumeration

 arch/arm64/kvm/guest.c | 74 ++++++++++++++++++++++++++++++++++++++++++--------
 1 file changed, 62 insertions(+), 12 deletions(-)

-- 
2.1.4


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

end of thread, other threads:[~2018-12-18 17:28 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-12 20:17 [PATCH v2 0/2] Fix KVM_GET_REG_LIST invalid register ID regression Dave Martin
2018-12-12 20:17 ` [PATCH v2 1/2] KVM: arm64: Filter out invalid core register IDs in KVM_GET_REG_LIST Dave Martin
2018-12-13 18:30   ` Dave Martin
2018-12-13 19:11     ` Dave Martin
2018-12-14 14:25     ` Andrew Jones
2018-12-14 14:41       ` Dave Martin
2018-12-14 14:44         ` Andrew Jones
2018-12-18 14:00   ` Marc Zyngier
2018-12-18 17:28     ` Peter Maydell
2018-12-12 20:17 ` [PATCH v2 2/2] KVM: arm64: Factor out KVM_GET_REG_LIST core register enumeration Dave Martin

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).