Add PAPR H_VIO_SIGNAL hypercall and infrastructure for VIO interrupts
authorDavid Gibson <david@gibson.dropbear.id.au>
Fri, 1 Apr 2011 04:15:26 +0000 (15:15 +1100)
committerAlexander Graf <agraf@suse.de>
Fri, 1 Apr 2011 16:34:56 +0000 (18:34 +0200)
commitbd67482a524c6de053a84ddff42318741ab16d6a
tree01f3616328994f4680cb6dd0bc1cc9aa3e6f9858
parent8f5aef781bf39a7f84d6aaba35d035a9753ef064
Add PAPR H_VIO_SIGNAL hypercall and infrastructure for VIO interrupts

This patch adds infrastructure to support interrupts from PAPR virtual IO
devices.  This includes correctly advertising those interrupts in the
device tree, and implementing the H_VIO_SIGNAL hypercall, used to
enable and disable individual device interrupts.

Signed-off-by: David Gibson <dwg@au1.ibm.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/spapr.c
hw/spapr_vio.c
hw/spapr_vio.h