]> git.ipfire.org Git - thirdparty/qemu.git/commit
spapr/xive: use SPAPR_IRQ_IPI to define IPI ranges exposed to the guest
authorCédric Le Goater <clg@kaod.org>
Fri, 6 Mar 2020 12:33:07 +0000 (13:33 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Tue, 17 Mar 2020 04:08:50 +0000 (15:08 +1100)
commit52d3403d1e4dab51706f0ede70f88edae2b2ec04
tree11d85016f691410c0ebda2378988df03f2e51fe1
parenta7017b203770fdc87e05a7f1b977ac30ce6adea6
spapr/xive: use SPAPR_IRQ_IPI to define IPI ranges exposed to the guest

The "ibm,xive-lisn-ranges" defines ranges of interrupt numbers that
the guest can use to configure IPIs. It starts at 0 today but it could
change to some other offset. Make clear which IRQ range we are
exposing by using SPAPR_IRQ_IPI in the property definition.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20200306123307.1348-1-clg@kaod.org>
Reviewed-by: Greg Kurz <groug@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/intc/spapr_xive.c