]> asedeno.scripts.mit.edu Git - linux.git/commit
KVM: arm64: Add capability to advertise ptrauth for guest
authorAmit Daniel Kachhap <amit.kachhap@arm.com>
Tue, 23 Apr 2019 04:42:37 +0000 (10:12 +0530)
committerMarc Zyngier <marc.zyngier@arm.com>
Wed, 24 Apr 2019 14:30:40 +0000 (15:30 +0100)
commita243c16d18be130b17cf1064e9115de73bfdff5a
treef13a46c8673a636ccf77125112a47d0ccfef97c3
parenta22fa321d13b0264976cbbc1d22f4c27c41d3642
KVM: arm64: Add capability to advertise ptrauth for guest

This patch advertises the capability of two cpu feature called address
pointer authentication and generic pointer authentication. These
capabilities depend upon system support for pointer authentication and
VHE mode.

The current arm64 KVM partially implements pointer authentication and
support of address/generic authentication are tied together. However,
separate ABI requirements for both of them is added so that any future
isolated implementation will not require any ABI changes.

Signed-off-by: Amit Daniel Kachhap <amit.kachhap@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Christoffer Dall <christoffer.dall@arm.com>
Cc: kvmarm@lists.cs.columbia.edu
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Documentation/virtual/kvm/api.txt
arch/arm64/kvm/reset.c
include/uapi/linux/kvm.h