[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH for-7.2 10/10] ppc/pnv: user creatable pnv-phb for powernv10
From: |
Daniel Henrique Barboza |
Subject: |
[PATCH for-7.2 10/10] ppc/pnv: user creatable pnv-phb for powernv10 |
Date: |
Wed, 3 Aug 2022 10:44:59 -0300 |
Given that powernv9 and powernv10 uses the same pnv-phb backend, the
logic to allow user created pnv-phbs for powernv10 is already in place.
Let's flip the switch.
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
---
hw/ppc/pnv.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/hw/ppc/pnv.c b/hw/ppc/pnv.c
index b6314dc961..02f287feab 100644
--- a/hw/ppc/pnv.c
+++ b/hw/ppc/pnv.c
@@ -2159,6 +2159,8 @@ static void pnv_machine_power10_class_init(ObjectClass
*oc, void *data)
pmc->dt_power_mgt = pnv_dt_power_mgt;
xfc->match_nvt = pnv10_xive_match_nvt;
+
+ machine_class_allow_dynamic_sysbus_dev(mc, TYPE_PNV_PHB);
}
static bool pnv_machine_get_hb(Object *obj, Error **errp)
--
2.36.1
- [PATCH for-7.2 02/10] ppc/pnv: add phb-id/chip-id PnvPHB4RootBus properties, (continued)
- [PATCH for-7.2 05/10] ppc/pnv: turn chip8->phbs[] into a PnvPHB* array, Daniel Henrique Barboza, 2022/08/03
- [PATCH for-7.2 10/10] ppc/pnv: user creatable pnv-phb for powernv10,
Daniel Henrique Barboza <=
- [PATCH for-7.2 09/10] ppc/pnv: change pnv_phb4_get_pec() to also retrieve chip10->pecs, Daniel Henrique Barboza, 2022/08/03
- [PATCH for-7.2 07/10] ppc/pnv: add PHB4 helpers for user created pnv-phb, Daniel Henrique Barboza, 2022/08/03
- [PATCH for-7.2 04/10] ppc/pnv: add helpers for pnv-phb user devices, Daniel Henrique Barboza, 2022/08/03
- Re: [PATCH for-7.2 00/10] enable pnv-phb user created devices, Frederic Barrat, 2022/08/05