diff options
author | Cédric Le Goater | 2019-11-25 07:58:19 +0100 |
---|---|---|
committer | David Gibson | 2019-12-17 00:39:48 +0100 |
commit | f22f56dd483b27f8c4463dbb310029dd9161bb04 (patch) | |
tree | 35aa65734c403c91a93c124abd18f317e2e5a5c9 /include/hw/ppc | |
parent | ppc/pnv: Introduce a pnv_xive_block_id() helper (diff) | |
download | qemu-f22f56dd483b27f8c4463dbb310029dd9161bb04.tar.gz qemu-f22f56dd483b27f8c4463dbb310029dd9161bb04.tar.xz qemu-f22f56dd483b27f8c4463dbb310029dd9161bb04.zip |
ppc/pnv: Extend XiveRouter with a get_block_id() handler
When doing CAM line compares, fetch the block id from the interrupt
controller which can have set the PC_TCTXT_CHIPID field.
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20191125065820.927-20-clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include/hw/ppc')
-rw-r--r-- | include/hw/ppc/xive.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/ppc/xive.h b/include/hw/ppc/xive.h index 9c0bf2c301..1b7b89098f 100644 --- a/include/hw/ppc/xive.h +++ b/include/hw/ppc/xive.h @@ -351,6 +351,7 @@ typedef struct XiveRouterClass { XiveNVT *nvt); int (*write_nvt)(XiveRouter *xrtr, uint8_t nvt_blk, uint32_t nvt_idx, XiveNVT *nvt, uint8_t word_number); + uint8_t (*get_block_id)(XiveRouter *xrtr); } XiveRouterClass; int xive_router_get_eas(XiveRouter *xrtr, uint8_t eas_blk, uint32_t eas_idx, @@ -431,7 +432,6 @@ typedef struct XiveENDSource { DeviceState parent; uint32_t nr_ends; - uint8_t block_id; /* ESB memory region */ uint32_t esb_shift; |