Re: [PATCH 3/7] powerpc: introduce the ePAPR embedded hypervisor vmpic driver
From: Kumar Gala <hidden>
Date: 2011-06-22 11:41:55
Also in:
lkml
On May 19, 2011, at 8:54 AM, Timur Tabi wrote:
From: Ashish Kalra <redacted> =20 The Freescale ePAPR reference hypervisor provides interrupt controller =
services
via a hypercall interface, instead of emulating the MPIC controller. =
This is
called the VMPIC. =20 The ePAPR "virtual interrupt controller" provides interrupt controller =
services
for external interrupts. External interrupts received by a partition =
can come
from two sources: =20 - Hardware interrupts - hardware interrupts come from external interrupt lines or on-chip I/O devices. - Virtual interrupts - virtual interrupts are generated by the =
hypervisor
as part of some hypervisor service or hypervisor-created virtual =
device.
=20 Both types of interrupts are processed using the same programming =
model and
same set of hypercalls. =20 Signed-off-by: Ashish Kalra <redacted> Signed-off-by: Timur Tabi <redacted> --- arch/powerpc/include/asm/ehv_pic.h | 40 +++++ arch/powerpc/platforms/Kconfig | 4 + arch/powerpc/sysdev/Makefile | 1 + arch/powerpc/sysdev/ehv_pic.c | 302 =
++++++++++++++++++++++++++++++++++++
4 files changed, 347 insertions(+), 0 deletions(-) create mode 100644 arch/powerpc/include/asm/ehv_pic.h create mode 100644 arch/powerpc/sysdev/ehv_pic.c
applied to next - k=