]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: BookE: Implement EPR exit
authorAlexander Graf <agraf@suse.de>
Fri, 4 Jan 2013 17:12:48 +0000 (18:12 +0100)
committerAlexander Graf <agraf@suse.de>
Thu, 10 Jan 2013 12:42:31 +0000 (13:42 +0100)
commit694567323973ff799ffa58e812d5c41ad60a9006
treeb163d427c9dcff066330d4ac13de529a9831a044
parentbd5e686392e42d1d1cebbcf26bb0a07f598f24ff
KVM: PPC: BookE: Implement EPR exit

The External Proxy Facility in FSL BookE chips allows the interrupt
controller to automatically acknowledge an interrupt as soon as a
core gets its pending external interrupt delivered.

Today, user space implements the interrupt controller, so we need to
check on it during such a cycle.

This patch implements logic for user space to enable EPR exiting,
disable EPR exiting and EPR exiting itself, so that user space can
acknowledge an interrupt when an external interrupt has successfully
been delivered into the guest vcpu.

Signed-off-by: Alexander Graf <agraf@suse.de>
Documentation/virtual/kvm/api.txt
arch/powerpc/include/asm/kvm_host.h
arch/powerpc/include/asm/kvm_ppc.h
arch/powerpc/kvm/booke.c
arch/powerpc/kvm/powerpc.c
include/linux/kvm_host.h
include/uapi/linux/kvm.h