ppc/pnv: introduce PnvPHB4 'pec' property
commitd2704eb3fd5093224fb14ecbfdc916d42d42416b
authorDaniel Henrique Barboza <danielhb413@gmail.com>
Tue, 18 Jan 2022 11:56:31 +0000 (18 12:56 +0100)
committerCédric Le Goater <clg@kaod.org>
Tue, 18 Jan 2022 11:56:31 +0000 (18 12:56 +0100)
tree0b8a5a26f652a7f3baf5c77549046eae6af3600a
parent293a1d27e34810dfa70193b480d0ac265801f1f3
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>
hw/pci-host/pnv_phb4.c
hw/pci-host/pnv_phb4_pec.c
include/hw/pci-host/pnv_phb4.h