]> git.proxmox.com Git - mirror_qemu.git/commit
ppc/pnv: fix XSCOM core addressing on POWER9
authorCédric Le Goater <clg@kaod.org>
Mon, 15 Jan 2018 18:04:04 +0000 (19:04 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Tue, 16 Jan 2018 22:35:24 +0000 (09:35 +1100)
commitc035851ac0584e1491f6d0fa28d92a8c7a872362
tree2211f3edf3928fe127f1f40a9b21732083feaa82
parentb3b066e9d8640a5d143cf9241e00160f30d9a89d
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>
hw/ppc/pnv.c
hw/ppc/pnv_core.c
include/hw/ppc/pnv.h
include/hw/ppc/pnv_xscom.h
tests/pnv-xscom-test.c