Re: [PATCH 3/7] powerpc: introduce the ePAPR embedded hypervisor vmpic driver
Kumar Gala <[email protected]> Wed, 22 Jun 2011 06:41:41 -0500
| Newsgroups | gmane.linux.kernel,gmane.linux.ports.ppc64.devel,gmane.linux.console |
|---|---|
| Message-ID | <[email protected]> |
On May 19, 2011, at 8:54 AM, Timur Tabi wrote: > From: Ashish Kalra <[email protected]> > > The Freescale ePAPR reference hypervisor provides interrupt controller services > via a hypercall interface, instead of emulating the MPIC controller. This is > called the VMPIC. > > The ePAPR "virtual interrupt controller" provides interrupt controller services > for external interrupts. External interrupts received by a partition can come > from two sources: > > - 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. > > Both types of interrupts are processed using the same programming model and > same set of hypercalls. > > Signed-off-by: Ashish Kalra <[email protected]> > Signed-off-by: Timur Tabi <[email protected]> > --- > 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