ppc/xive: Introduce a XiveFabric interface
commitd3eb47a2a18f850c2ebd20e50d164251ad321128
authorCédric Le Goater <clg@kaod.org>
Mon, 25 Nov 2019 06:58:08 +0000 (25 07:58 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 16 Dec 2019 23:39:48 +0000 (17 10:39 +1100)
tree3bc4a31386e26c04ffcb03abfdcea91ec0aa6f5f
parent119eaa9d11cb5245fae0a2cbe4f18dda55744dfb
ppc/xive: Introduce a XiveFabric interface

The XiveFabric QOM interface acts as the PowerBUS interface between
the interrupt controller and the system and should be implemented by
the QEMU machine. On HW, the XIVE sub-engine is responsible for the
communication with the other chip is the Common Queue (CQ) bridge
unit.

This interface offers a 'match_nvt' handler to perform the CAM line
matching when looking for a XIVE Presenter with a dispatched NVT.

Reviewed-by: Greg Kurz <groug@kaod.org>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20191125065820.927-9-clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/intc/xive.c
include/hw/ppc/xive.h