]> git.baikalelectronics.ru Git - kernel.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)
commit534236905941b598d7f60268b4c6406f77cb426c
treef13a46c8673a636ccf77125112a47d0ccfef97c3
parent7ae11f7de3834def68e8390f5d5cca8eac0c2d4f
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