Re: [PATCH for-7.2 03/10] ppc/pnv: set root port chassis and slot using Bus properties

2022-08-03 Thread Cédric Le Goater
On 8/3/22 15:44, Daniel Henrique Barboza wrote: For default root ports we have a way of accessing chassis and slot, before root_port_realize(), via pnv_phb_attach_root_port(). For the future user created root ports this won't be the case: we can't use this helper because we don't have access to t

[PATCH for-7.2 03/10] ppc/pnv: set root port chassis and slot using Bus properties

2022-08-03 Thread Daniel Henrique Barboza
For default root ports we have a way of accessing chassis and slot, before root_port_realize(), via pnv_phb_attach_root_port(). For the future user created root ports this won't be the case: we can't use this helper because we don't have access to the PHB phb-id/chip-id values. In earlier patches