linux/arch/arm/include/uapi/asm
Christoffer Dall 99a1db7a2c KVM: arm/arm64: Allow setting the timer IRQ numbers from userspace
First we define an ABI using the vcpu devices that lets userspace set
the interrupt numbers for the various timers on both the 32-bit and
64-bit KVM/ARM implementations.

Second, we add the definitions for the groups and attributes introduced
by the above ABI.  (We add the PMU define on the 32-bit side as well for
symmetry and it may get used some day.)

Third, we set up the arch-specific vcpu device operation handlers to
call into the timer code for anything related to the
KVM_ARM_VCPU_TIMER_CTRL group.

Fourth, we implement support for getting and setting the timer interrupt
numbers using the above defined ABI in the arch timer code.

Fifth, we introduce error checking upon enabling the arch timer (which
is called when first running a VCPU) to check that all VCPUs are
configured to use the same PPI for the timer (as mandated by the
architecture) and that the virtual and physical timers are not
configured to use the same IRQ number.

Signed-off-by: Christoffer Dall <cdall@linaro.org>
Reviewed-by: Marc Zyngier <marc.zyngier@arm.com>
2017-06-08 16:59:57 +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 uapi: export all headers under uapi directories 2017-05-11 00:21:54 +09:00
kvm_para.h
kvm.h KVM: arm/arm64: Allow setting the timer IRQ numbers from userspace 2017-06-08 16:59:57 +02:00
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
types.h ARM: put types.h in uapi 2017-01-13 17:02:38 +00:00
unistd.h ARM: wire up new pkey syscalls 2016-10-19 10:18:47 +01:00