diff options
author | Cédric Le Goater | 2019-11-25 07:58:18 +0100 |
---|---|---|
committer | David Gibson | 2019-12-17 00:39:48 +0100 |
commit | dc2526e45a0ffebc88d7ed007d906f669827f834 (patch) | |
tree | 5cf5412af13cc63ae4415cd0346862c641b4a8b5 /include/hw/ppc/pnv_xive.h | |
parent | ppc/xive: Synthesize interrupt from the saved IPB in the NVT (diff) | |
download | qemu-dc2526e45a0ffebc88d7ed007d906f669827f834.tar.gz qemu-dc2526e45a0ffebc88d7ed007d906f669827f834.tar.xz qemu-dc2526e45a0ffebc88d7ed007d906f669827f834.zip |
ppc/pnv: Introduce a pnv_xive_block_id() helper
When PC_TCTXT_CHIPID_OVERRIDE is configured, the PC_TCTXT_CHIPID field
overrides the hardwired chip ID in the Powerbus operations and for CAM
compares. This is typically used in the one block-per-chip configuration
to associate a unique block id number to each IC of the system.
Simplify the model with a pnv_xive_block_id() helper and remove
'tctx_chipid' which becomes useless.
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20191125065820.927-19-clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include/hw/ppc/pnv_xive.h')
-rw-r--r-- | include/hw/ppc/pnv_xive.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/hw/ppc/pnv_xive.h b/include/hw/ppc/pnv_xive.h index 4fdaa9247d..f4c7caad40 100644 --- a/include/hw/ppc/pnv_xive.h +++ b/include/hw/ppc/pnv_xive.h @@ -72,9 +72,6 @@ typedef struct PnvXive { /* Interrupt controller registers */ uint64_t regs[0x300]; - /* Can be configured by FW */ - uint32_t tctx_chipid; - /* * Virtual Structure Descriptor tables : EAT, SBE, ENDT, NVTT, IRQ * These are in a SRAM protected by ECC. |