diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2018-09-27 16:53:22 +0100 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2018-10-01 14:38:26 +0100 |
commit | 2a3f93459d689d990b3ecfbe782fec89b97d3279 (patch) | |
tree | fe727ff9274645032d41c463d5c3593b4760f1dd /tools/perf/scripts/python/stackcollapse.py | |
parent | d26c25a9d19b5976b319af528886f89cf455692d (diff) |
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: <stable@vger.kernel.org>
Fixes: 0d854a60b1d7 ("arm64: KVM: enable initialization of a 32bit vcpu")
Reviewed-by: Christoffer Dall <christoffer.dall@arm.com>
Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Dave Martin <Dave.Martin@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions