]> Git Repo - qemu.git/commit
pseries: Add support for level interrupts to XICS
authorDavid Gibson <[email protected]>
Wed, 7 Mar 2012 15:12:21 +0000 (15:12 +0000)
committerAlexander Graf <[email protected]>
Thu, 15 Mar 2012 12:12:12 +0000 (13:12 +0100)
commitd07fee7e8ad9d3611404fa145270d3b885b2772a
tree0612fa251e7e968bbd5558575e17678ed70d12df
parenteb6ea4b22e89d4c6ed510c7cfcd33d15be92733b
pseries: Add support for level interrupts to XICS

The pseries "xics" interrupt controller, like most interrupt
controllers can support both message (i.e. edge sensitive) interrupts
and level sensitive interrupts, but it needs to know which are which.

When I implemented the xics emulation for qemu, the only devices we
supported were the PAPR virtual IO devices.  These devices only use
message interrupts, so they were the only ones I implemented in xics.

Since then, however, we have added support for PCI devices, which use
level sensitive interrupts.  It turns out the message interrupt logic
still actually works most of the time for these, but there are
circumstances where we can lost interrupts due to the incorrect
interrupt logic.

This patch, therefore, implements the correct xics level-sensitive
interrupt logic.  The type of the interrupt is set when a device
allocates a new xics interrupt.

Signed-off-by: David Gibson <[email protected]>
Signed-off-by: Alexander Graf <[email protected]>
hw/spapr.c
hw/spapr.h
hw/spapr_pci.c
hw/spapr_vio.c
hw/xics.c
hw/xics.h
This page took 0.02458 seconds and 4 git commands to generate.