ppc/pnv: introduce PnvPHB4 'pec' property

This property will track the owner PEC of this PHB. For now it's
redundant since we can retrieve the PEC via phb->stack->pec but it
will not be redundant when we get rid of the stack device.

Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Message-Id: <20220114180719.52117-2-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 293a1d27e3
commit d2704eb3fd
3 changed files with 18 additions and 6 deletions

View file

@ -84,6 +84,9 @@ struct PnvPHB4 {
uint64_t version;
/* The owner PEC */
PnvPhb4PecState *pec;
char bus_path[8];
/* Main register images */