Please sign in to comment.
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: <firstname.lastname@example.org> Fixes: 0d854a6 ("arm64: KVM: enable initialization of a 32bit vcpu") Reviewed-by: Christoffer Dall <email@example.com> Reviewed-by: Mark Rutland <firstname.lastname@example.org> Reviewed-by: Dave Martin <Dave.Martin@arm.com> Signed-off-by: Marc Zyngier <email@example.com> Signed-off-by: Will Deacon <firstname.lastname@example.org>
- Loading branch information...