ppc/pnv: Set P10 core xscom region size to match hardware
authorNicholas Piggin <npiggin@gmail.com>
Thu, 6 Jul 2023 05:39:22 +0000 (15:39 +1000)
committerDaniel Henrique Barboza <danielhb413@gmail.com>
Fri, 7 Jul 2023 07:47:50 +0000 (04:47 -0300)
commitaa2addf96f2629101ef0aa0c9226d38867c72d76
tree17a202612bd770cb98d2d2a93664a59d744cd014
parentb0afb574bad3c3a27acd2c3e7a17306a3648b0ac
ppc/pnv: Set P10 core xscom region size to match hardware

The P10 core xscom memory regions overlap because the size is wrong.
The P10 core+L2 xscom region size is allocated as 0x1000 (with some
unused ranges). "EC" is used as a closer match, as "EX" includes L3
which has a disjoint xscom range that would require a different
region if it were implemented.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Tested-by: Cédric Le Goater <clg@kaod.org>
Message-ID: <20230706053923.115003-2-npiggin@gmail.com>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
hw/ppc/pnv_core.c
include/hw/ppc/pnv_core.h
include/hw/ppc/pnv_xscom.h