android_kernel_sony_sdm845/arch/arm/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 ARM: 8329/1: miscellaneous vdso infrastructure, preparation 2015-03-27 22:20:45 +00:00
byteorder.h
fcntl.h
hwcap.h ARM: 7982/1: introduce HWCAP2 feature bits for ARMv8 Crypto Extensions 2014-02-25 11:40:50 +00:00
ioctls.h
Kbuild ARM: 8329/1: miscellaneous vdso infrastructure, preparation 2015-03-27 22:20:45 +00:00
kvm.h arm/arm64: KVM: Add PSCI version selection API 2018-05-09 09:50:19 +02:00
kvm_para.h
mman.h
perf_regs.h ARM: perf: add support for perf registers API 2013-09-30 16:41:50 +01:00
posix_types.h
ptrace.h ARM: Add base support for ARMv7-M 2013-04-17 21:38:10 +02:00
setup.h
sigcontext.h
signal.h unify SS_ONSTACK/SS_DISABLE definitions 2012-12-19 18:07:39 -05:00
stat.h
statfs.h
swab.h
unistd.h ARM: wire up new pkey syscalls 2016-10-19 10:18:47 +01:00