mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
ppc/pnv: fix XSCOM core addressing on POWER9
The XSCOM base address of the core chiplet was wrongly calculated. Use the OPAL macros to fix that and do a couple of renames. Signed-off-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
b3b066e9d8
commit
c035851ac0
5 changed files with 37 additions and 21 deletions
|
@ -192,7 +192,7 @@ static void pnv_core_realize(DeviceState *dev, Error **errp)
|
|||
|
||||
snprintf(name, sizeof(name), "xscom-core.%d", cc->core_id);
|
||||
pnv_xscom_region_init(&pc->xscom_regs, OBJECT(dev), &pnv_core_xscom_ops,
|
||||
pc, name, PNV_XSCOM_EX_CORE_SIZE);
|
||||
pc, name, PNV_XSCOM_EX_SIZE);
|
||||
return;
|
||||
|
||||
err:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue