[Skiboot] [PATCH v2] phb4/capp: Update DMA read engines set in APC_FSM_READ_MASK based on link-width

Stewart Smith stewart at linux.ibm.com
Wed Aug 15 14:51:09 AEST 2018


Vaibhav Jain <vaibhav at linux.ibm.com> writes:
> Commit 47c09cdfe7a3("phb4/capp: Calculate STQ/DMA read engines based
> on link-width for PEC") update the CAPP init sequence by calculating
> the needed STQ/DMA-read engines based on link width and populating it
> in XPEC_NEST_CAPP_CNTL register. This however needs to be synchronized
> with the value set in CAPP APC FSM Read Machine Mask Register.
>
> Hence this patch update phb4_init_capp_regs() to calculate the link
> width of the stack on PEC2 and populate the same values as previously
> populated in PEC CAPP_CNTL register.
>
> Cc: stable # v5.7+
> Fixes: 47c09cdfe7a3("phb4/capp: Calculate STQ/DMA read engines based on link-width for PEC")
> Signed-off-by: Vaibhav Jain <vaibhav at linux.ibm.com>
> Reviewed-by: Andrew Donnellan <andrew.donnellan at au1.ibm.com>
> Reviewed-by: Frederic Barrat <fbarrat at linux.vnet.ibm.com>
> ---
> Change-log:
>
> v2 -> Suffixed the constants with 'ULL' [Andrew]
> ---
>  hw/phb4.c | 22 ++++++++++++++++++----
>  1 file changed, 18 insertions(+), 4 deletions(-)

Thanks, merged to master as of ef9caad57e59ffc1a9ee44d38a161f624993b67b
and backported to 6.0.x as of 9bcde78b4e83ef75bd0a6a5a4c3c5311891ae516


-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list