spapr/xive: Add source status helpers
commit621f70d21027a914eda1446134193a24e7a662d5
authorCédric Le Goater <clg@kaod.org>
Mon, 4 Oct 2021 21:21:41 +0000 (4 23:21 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Thu, 21 Oct 2021 00:42:47 +0000 (21 11:42 +1100)
treea6deeb9fb2832c5d358b2dfd36b75900d393afc8
parentafc9fcde55296b83f659de9da3cdf044812a6eeb
spapr/xive: Add source status helpers

and use them to set and test the ASSERTED bit of LSI sources.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20211004212141.432954-1-clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/intc/spapr_xive.c
hw/intc/spapr_xive_kvm.c
hw/intc/xive.c
include/hw/ppc/xive.h