Re: [PATCH v4 2/5] ppc/pnv: move PHB4 XSCOM init to phb4_realize()

2022-01-11 Thread Cédric Le Goater
On 1/11/22 01:55, Daniel Henrique Barboza wrote: The 'stack->phb_regs_mr' PHB4 passthrough XSCOM initialization relies on 'stack->phb' being not NULL. Moving 'stack->phb_regs_mr' region_init() and add_subregion() to phb4_realize() time is a natural thing to do since it's strictly PHB related.

[PATCH v4 2/5] ppc/pnv: move PHB4 XSCOM init to phb4_realize()

2022-01-10 Thread Daniel Henrique Barboza
The 'stack->phb_regs_mr' PHB4 passthrough XSCOM initialization relies on 'stack->phb' being not NULL. Moving 'stack->phb_regs_mr' region_init() and add_subregion() to phb4_realize() time is a natural thing to do since it's strictly PHB related. The remaining XSCOM initialization is also related