Skip to content

Commit

Permalink
capi: Mask Psl Credit timeout error for P9
Browse files Browse the repository at this point in the history
Mask the PSL credit timeout error in CAPP FIR Mask register
bit(46). As per the h/w team this error is now deprecated and shouldn't
cause any fir-action for P9.

Signed-off-by: Vaibhav Jain <vaibhav@linux.vnet.ibm.com>
Acked-by: Christophe Lombard <clombard@linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
  • Loading branch information
vaibhav92 authored and stewartsmith committed Sep 28, 2017
1 parent cca6c34 commit 80c8e4a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions hw/phb4.c
Expand Up @@ -3616,6 +3616,10 @@ static void phb4_init_capp_regs(struct phb4 *p)
/* CAPP FIR MASK */
xscom_write(p->chip_id, CAPP_FIR_MASK + offset, 0x80031f98d8717000);

/* Mask the CAPP PSL Credit Timeout Register error */
xscom_write_mask(p->chip_id, CAPP_FIR_MASK + offset,
PPC_BIT(46), PPC_BIT(46));

/* Deassert TLBI_FENCED and tlbi_psl_is_dead */
xscom_write(p->chip_id, CAPP_ERR_STATUS_CTRL + offset, 0);
}
Expand Down

0 comments on commit 80c8e4a

Please sign in to comment.