Re: [PATCH v2 2/8] ppc/pnv: reduce stack->stack_no usage

2022-01-17 Thread Cédric Le Goater
On 1/14/22 19:07, Daniel Henrique Barboza wrote: 'stack->stack_no' represents the order that a stack appears in its PEC. Its primary use is in XSCOM address space calculation in pnv_phb4_xscom_realize() when calculating the memory region offset. This attribute is redundant with phb->phb_id, whic

[PATCH v2 2/8] ppc/pnv: reduce stack->stack_no usage

2022-01-14 Thread Daniel Henrique Barboza
'stack->stack_no' represents the order that a stack appears in its PEC. Its primary use is in XSCOM address space calculation in pnv_phb4_xscom_realize() when calculating the memory region offset. This attribute is redundant with phb->phb_id, which is calculated via pnv_phb4_pec_get_phb_id() using