diff options
author | Cédric Le Goater <clg@kaod.org> | 2021-08-09 15:45:27 +0200 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2021-08-27 12:41:13 +1000 |
commit | 379090306cbb9202375dbb66fb3415e82f46ed2f (patch) | |
tree | 2521e4fd8d3b3ea72b0a6b3a2e5e405b55d3e409 /hw | |
parent | 458c6f0180de9978c6e88b6afef19be2214b01d7 (diff) | |
download | qemu-379090306cbb9202375dbb66fb3415e82f46ed2f.zip qemu-379090306cbb9202375dbb66fb3415e82f46ed2f.tar.gz qemu-379090306cbb9202375dbb66fb3415e82f46ed2f.tar.bz2 |
ppc/pnv: add a chip topology index for POWER10
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20210809134547.689560-7-clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/ppc/pnv_xscom.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/ppc/pnv_xscom.c b/hw/ppc/pnv_xscom.c index be7018e..faa488e 100644 --- a/hw/ppc/pnv_xscom.c +++ b/hw/ppc/pnv_xscom.c @@ -284,6 +284,8 @@ int pnv_dt_xscom(PnvChip *chip, void *fdt, int root_offset, _FDT(xscom_offset); g_free(name); _FDT((fdt_setprop_cell(fdt, xscom_offset, "ibm,chip-id", chip->chip_id))); + _FDT((fdt_setprop_cell(fdt, xscom_offset, "ibm,primary-topology-index", + chip->chip_id))); _FDT((fdt_setprop_cell(fdt, xscom_offset, "#address-cells", 1))); _FDT((fdt_setprop_cell(fdt, xscom_offset, "#size-cells", 1))); _FDT((fdt_setprop(fdt, xscom_offset, "reg", reg, sizeof(reg)))); |