android_kernel_sony_sdm845/arch/arm64/include/uapi/asm
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Marc Zyngier b8beca48a5 arm/arm64: KVM: Add PSCI version selection API
commit 85bd0ba1ff9875798fad94218b627ea9f768f3c3 upstream.

Although we've implemented PSCI 0.1, 0.2 and 1.0, we expose either 0.1
or 1.0 to a guest, defaulting to the latest version of the PSCI
implementation that is compatible with the requested version. This is
no different from doing a firmware upgrade on KVM.

But in order to give a chance to hypothetical badly implemented guests
that would have a fit by discovering something other than PSCI 0.2,
let's provide a new API that allows userspace to pick one particular
version of the API.

This is implemented as a new class of "firmware" registers, where
we expose the PSCI version. This allows the PSCI version to be
save/restored as part of a guest migration, and also set to
any supported version if the guest requires it.

Cc: stable@vger.kernel.org #4.16
Reviewed-by: Christoffer Dall <cdall@kernel.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-05-09 09:50:19 +02:00
..
auxvec.h arm64: Define AT_VECTOR_SIZE_ARCH for ARCH_DLINFO 2016-07-29 10:45:58 +01:00
bitsperlong.h
byteorder.h arm64: big-endian: fix byteorder include 2013-10-25 15:59:32 +01:00
fcntl.h
hwcap.h arm64: Add support for Half precision floating point 2016-02-26 15:37:01 +00:00
Kbuild arm64: uapi: expose our struct ucontext to the uapi headers 2015-01-23 18:07:49 +00:00
kvm.h arm/arm64: KVM: Add PSCI version selection API 2018-05-09 09:50:19 +02:00
param.h
perf_regs.h ARM64: perf: add support for perf registers API 2014-03-13 11:22:37 +00:00
posix_types.h arm64: uid16: fix __kernel_old_{gid,uid}_t definitions 2014-06-18 12:41:09 +01:00
ptrace.h arm64/ptrace: Avoid uninitialised struct padding in fpr_set() 2017-01-26 08:24:41 +01:00
setup.h
sigcontext.h arm64: fix build error in sigcontext.h 2014-06-18 12:41:56 +01:00
siginfo.h
signal.h arm64: Fix MINSIGSTKSZ and SIGSTKSZ 2015-10-12 17:40:12 +01:00
stat.h
statfs.h
ucontext.h arm64: uapi: expose our struct ucontext to the uapi headers 2015-01-23 18:07:49 +00:00
unistd.h asm-generic: Drop renameat syscall from default list 2016-05-05 00:42:21 +02:00