[Skiboot] [PATCH] phb4/capp: Use link width to allocate STQ engines to CAPP

Stewart Smith stewart at linux.ibm.com
Tue Oct 16 18:55:24 AEDT 2018

Vaibhav Jain <vaibhav at linux.ibm.com> writes:
> Update phb4_init_capp_regs() to allocates STQ Engines to CAPP/PEC2
> based on link width instead of always assuming it to x8.
> Also re-factor the function slightly to evaluate the link-width only
> once and cache it so that it can also be used to allocate DMA read
> engines.
> Cc: stable
> 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>
> ---
>  hw/phb4.c | 46 +++++++++++++++++++++++++++++-----------------
>  1 file changed, 29 insertions(+), 17 deletions(-)


Merged to master as of 2d7419274dfad55f1909fd9ad948764d23aef978
and to 6.0.x as of 84ca6d0ce15f539421c3b2d54d0466241505fe0f

Stewart Smith
OPAL Architect, IBM.

More information about the Skiboot mailing list