ppc/pnv: move phb_regs_mr to PnvPHB4

After recent changes, this MemoryRegion can be migrated to PnvPHB4
without too much trouble.

Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20220113192952.911188-11-danielhb413@gmail.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
This commit is contained in:
Daniel Henrique Barboza 2022-01-18 12:56:31 +01:00 committed by Cédric Le Goater
parent 867683d86e
commit 293a1d27e3
2 changed files with 6 additions and 6 deletions

View file

@ -117,6 +117,9 @@ struct PnvPHB4 {
uint64_t nest_regs[PHB4_PEC_NEST_STK_REGS_COUNT];
MemoryRegion nest_regs_mr;
/* PHB pass-through XSCOM */
MemoryRegion phb_regs_mr;
/* Memory windows from PowerBus to PHB */
MemoryRegion phbbar;
MemoryRegion intbar;
@ -170,9 +173,6 @@ struct PnvPhb4PecStack {
/* My own stack number */
uint32_t stack_no;
/* PHB pass-through XSCOM */
MemoryRegion phb_regs_mr;
/* The owner PEC */
PnvPhb4PecState *pec;