All of lore.kernel.org
 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
  0 siblings, 0 replies; 20+ messages in thread
From: Dave Martin @ 2018-12-12 20:17 UTC (permalink / raw)
  To: kvmarm; +Cc: Marc Zyngier, 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

^ permalink raw reply	[flat|nested] 20+ messages in thread

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

Thread overview: 20+ 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 ` 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   ` Dave Martin
2018-12-13 18:30   ` Dave Martin
2018-12-13 18:30     ` Dave Martin
2018-12-13 19:11     ` Dave Martin
2018-12-13 19:11       ` Dave Martin
2018-12-14 14:25     ` Andrew Jones
2018-12-14 14:25       ` Andrew Jones
2018-12-14 14:41       ` Dave Martin
2018-12-14 14:41         ` Dave Martin
2018-12-14 14:44         ` Andrew Jones
2018-12-14 14:44           ` Andrew Jones
2018-12-18 14:00   ` Marc Zyngier
2018-12-18 14:00     ` Marc Zyngier
2018-12-18 17:28     ` Peter Maydell
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
2018-12-12 20:17   ` Dave Martin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.