Statistics
| Branch: | Revision:

root / hw / intc @ 9554233c

Name Size
Makefile.objs 1 kB
apic.c 23.5 kB
apic_common.c 10.8 kB
arm_gic.c 21.6 kB
arm_gic_common.c 5.5 kB
arm_gic_kvm.c 5.5 kB
armv7m_nvic.c 18.2 kB
etraxfs_pic.c 5.1 kB
exynos4210_combiner.c 15.2 kB
exynos4210_gic.c 14.4 kB
gic_internal.h 5.2 kB
grlib_irqmp.c 9.3 kB
heathrow_pic.c 5.8 kB
i8259.c 13.5 kB
i8259_common.c 4.9 kB
imx_avic.c 11.8 kB
ioapic.c 7.4 kB
ioapic_common.c 3.3 kB
lm32_pic.c 4.5 kB
omap_intc.c 17.9 kB
openpic.c 45.4 kB
openpic_kvm.c 7.5 kB
pl190.c 7.9 kB
puv3_intc.c 3.3 kB
realview_gic.c 2.3 kB
sh_intc.c 13.3 kB
slavio_intctl.c 13.9 kB
xics.c 23.3 kB
xics_kvm.c 14.3 kB
xilinx_intc.c 5.2 kB

Latest revisions

# Date Author Comment
b45ff2d9 10/26/2013 12:25 am Alexey Kardashevskiy

xics: convert init() to realize()

This fixes XICS according new QOM rules.

This converts ICS's init() callbacks to realize().

This converts legacy qdev_init_nofail() to property_set(realized).

Signed-off-by: Alexey Kardashevskiy <>
Reviewed-by: Andreas Färber <>...

456df19c 10/26/2013 12:25 am Alexey Kardashevskiy

xics: add missing const specifiers to TypeInfo

This adds missing const specifiers to ICS and ICP TypeInfo's.

Signed-off-by: Alexey Kardashevskiy <>
Reviewed-by: Andreas Färber <>
Signed-off-by: Alexander Graf <>

5a3d7b23 10/26/2013 12:25 am Alexey Kardashevskiy

xics: split to xics and xics-common

The upcoming XICS-KVM support will use bits of emulated XICS code.
So this introduces new level of hierarchy - "xics-common" class. Both
emulated XICS and XICS-KVM will inherit from it and override class
callbacks when required....

5eb92ccc 10/26/2013 12:25 am Alexey Kardashevskiy

xics: add cpu_setup callback

This adds a cpu_setup callback to the XICS device class (as XICS-KVM
will do it different), xics_cpu_setup() will call it if it is set.

Signed-off-by: Alexey Kardashevskiy <>
Signed-off-by: Alexander Graf <>

11ad93f6 10/26/2013 12:25 am David Gibson

xics-kvm: Support for in-kernel XICS interrupt controller

Recent (host) kernels support emulating the PAPR defined "XICS" interrupt
controller system within KVM. This patch allows qemu to initialize and
configure the in-kernel XICS, and keep its state in sync with qemu's XICS...

075edbe3 10/26/2013 12:25 am Benjamin Herrenschmidt

xics: Implement H_IPOLL

This adds support for the H_IPOLL hypercall which the guest
uses to poll for a pending interrupt. This hypercall is
mandatory for PAPR+ and there is no way for the guest to
detect whether it is supported or not so just add it.

Signed-off-by: Benjamin Herrenschmidt <>...

5d87e4b7 10/26/2013 12:25 am Benjamin Herrenschmidt

xics: Implement H_XIRR_X

This implements H_XIRR_X hypercall in addition to H_XIRR as
it is mandatory for PAPR+ and there is no way for the guest to
detect whether it is supported or not so just add it.

As the Partition Adjunct Option is not supported at the moment,...

9554233c 10/26/2013 12:25 am Alexey Kardashevskiy

xics-kvm: enable irqfd for MSI

This enables IRQFD support for sPAPR. The feature decreases the latency
of interrupt handling.

To enable IRQFD for MSI, this sets kvm_gsi_direct_mapping to true which
enables direct MSI mapping.

To enable IRQFD for LSI (level triggered INTx interrupts), a PCI host bus...

9ccff2a4 10/26/2013 12:25 am Alexey Kardashevskiy

xics: replace fprintf with error_report

This replaces old-style fprintf with new style error_report.

Signed-off-by: Alexey Kardashevskiy <>
Reviewed-by: Andreas Färber <>
Acked-by: David Gibson <>
Signed-off-by: Alexander Graf <>

d1b5682d 10/26/2013 12:25 am Alexey Kardashevskiy

xics: add pre_save/post_load dispatchers

The upcoming support of in-kernel XICS will redefine migration callbacks
for both ICS and ICP so classes and callback pointers are added.

Signed-off-by: Alexey Kardashevskiy <>
Signed-off-by: Alexander Graf <>

View revisions

Also available in: Atom