[PATCH 3/7] powerpc: introduce the ePAPR embedded hypervisor vmpic driver

Kumar Gala kumar.gala at freescale.com
Wed Jun 22 21:41:41 EST 2011


On May 19, 2011, at 8:54 AM, Timur Tabi wrote:

> From: Ashish Kalra <ashish.kalra at freescale.com>
> 
> 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 <ashish.kalra at freescale.com>
> Signed-off-by: Timur Tabi <timur at freescale.com>
> ---
> 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


More information about the Linuxppc-dev mailing list