diff options
author | Cédric Le Goater <clg@kaod.org> | 2019-11-25 07:58:18 +0100 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2019-12-17 10:39:48 +1100 |
commit | dc2526e45a0ffebc88d7ed007d906f669827f834 (patch) | |
tree | 5cf5412af13cc63ae4415cd0346862c641b4a8b5 /include | |
parent | d1f2a574b9f686a1ddc634c2c01381fdc04eb37c (diff) | |
download | qemu-dc2526e45a0ffebc88d7ed007d906f669827f834.zip qemu-dc2526e45a0ffebc88d7ed007d906f669827f834.tar.gz qemu-dc2526e45a0ffebc88d7ed007d906f669827f834.tar.bz2 |
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')
-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 4fdaa92..f4c7caa 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. |