diff options
| author | Marc Zyngier <[email protected]> | 2018-09-27 15:53:22 +0000 |
|---|---|---|
| committer | Will Deacon <[email protected]> | 2018-10-01 13:38:26 +0000 |
| commit | 2a3f93459d689d990b3ecfbe782fec89b97d3279 (patch) | |
| tree | fe727ff9274645032d41c463d5c3593b4760f1dd /net/tipc/node.c | |
| parent | arm64: KVM: Tighten guest core register access from userspace (diff) | |
| download | kernel-2a3f93459d689d990b3ecfbe782fec89b97d3279.tar.gz kernel-2a3f93459d689d990b3ecfbe782fec89b97d3279.zip | |
arm64: KVM: Sanitize PSTATE.M when being set from userspace
Not all execution modes are valid for a guest, and some of them
depend on what the HW actually supports. Let's verify that what
userspace provides is compatible with both the VM settings and
the HW capabilities.
Cc: <[email protected]>
Fixes: 0d854a60b1d7 ("arm64: KVM: enable initialization of a 32bit vcpu")
Reviewed-by: Christoffer Dall <[email protected]>
Reviewed-by: Mark Rutland <[email protected]>
Reviewed-by: Dave Martin <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'net/tipc/node.c')
0 files changed, 0 insertions, 0 deletions
