[Skiboot] [PATCH] hw/phb3: Update capi initialization sequence

Stewart Smith stewart at linux.vnet.ibm.com
Mon Aug 1 15:23:24 AEST 2016


Frederic Barrat <fbarrat at linux.vnet.ibm.com> writes:
> Update the capi initialization sequence following circumvention
> document for SW251259. It helps with EEH recovery for CAPI.
>
> Signed-off-by: Frederic Barrat <fbarrat at linux.vnet.ibm.com>
> ---
>
> Stewart: this should also be considered for all the stable branches
>
>  hw/phb3.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/hw/phb3.c b/hw/phb3.c
> index 5d865f6..4c27309 100644
> --- a/hw/phb3.c
> +++ b/hw/phb3.c
> @@ -3287,10 +3287,11 @@ static void phb3_init_capp_regs(struct phb3 *p)
>  /* override some inits with CAPI defaults */
>  static void phb3_init_capp_errors(struct phb3 *p)
>  {
> -	out_be64(p->regs + PHB_ERR_AIB_FENCE_ENABLE,       0xffffffdd0c80ffc0);
> +	out_be64(p->regs + PHB_ERR_AIB_FENCE_ENABLE,       0xffffffdd8c80ffc0);
>  	out_be64(p->regs + PHB_OUT_ERR_AIB_FENCE_ENABLE,   0x9cf3fe08f8dc700f);
>  	out_be64(p->regs + PHB_INA_ERR_AIB_FENCE_ENABLE,   0xffff57fbff01ffde);
>  	out_be64(p->regs + PHB_INB_ERR_AIB_FENCE_ENABLE,   0xfcffe0fbff7ff0ec);
> +	out_be64(p->regs + PHB_LEM_ERROR_MASK,		   0x40018e2400022482);
>  }

I don't seem to have access to that bug, plus, I really don't like us
referencing internal bug numbers in external repositories.

so, what is this change? Why? Where is it documented? If it's internal
documentation, please point me at it.

-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list