[Skiboot] [PATCH] hw/phb3: Update capi initialization sequence
Russell Currey
ruscur at russell.cc
Sun Jul 31 08:38:02 AEST 2016
On Fri, 2016-07-29 at 10:39 +0200, Frederic Barrat wrote:
> Update the capi initialization sequence following circumvention
> document for SW251259. It helps with EEH recovery for CAPI.
Mentioning an internal bug number isn't particularly useful on a public mailing
list. What exactly does this change help with?
>
> 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, 0x40018e2400
> 022482);
> }
>
> static int64_t phb3_set_capi_mode(struct phb *phb, uint64_t mode,
More information about the Skiboot
mailing list