aboutsummaryrefslogtreecommitdiff
path: root/hw/phb3.c
diff options
context:
space:
mode:
authorGavin Shan <gwshan@linux.vnet.ibm.com>2016-06-22 13:17:58 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-07-05 18:11:55 +1000
commitae0339ee4c6541505da0780644288784a6c88b49 (patch)
treeb2dd9330c4fc17df86a61c5a4d53ecd899393f0d /hw/phb3.c
parent37550b7059edaaaf80e45cd93a7235f948687fe9 (diff)
downloadskiboot-ae0339ee4c6541505da0780644288784a6c88b49.zip
skiboot-ae0339ee4c6541505da0780644288784a6c88b49.tar.gz
skiboot-ae0339ee4c6541505da0780644288784a6c88b49.tar.bz2
PHB3: Disable UTL outbound discard error interrupt
The UTL outbound discard error (bit#12) in UTL_PCIE_PORT_IRQ_EN (offset: 0x558) isn't set in initial setup. It's set wrongly after a reset on root port. With this bit set, frozen (all) error was observed on the PHB to which a LPFC adapter is connected directly. This removes the bit in reset handler to avoid the unexpected frozen (all) error. BZ: 142877 Reported-by: Pridhiviraj Paidipeddi <ppaidipe@in.ibm.com> Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw/phb3.c')
-rw-r--r--hw/phb3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/phb3.c b/hw/phb3.c
index 0b64532..905fdf4 100644
--- a/hw/phb3.c
+++ b/hw/phb3.c
@@ -1974,7 +1974,7 @@ static void phb3_prepare_link_change(struct pci_slot *slot,
out_be64(p->regs + UTL_PCIE_PORT_STATUS,
0xffdfffffffffffff);
out_be64(p->regs + UTL_PCIE_PORT_IRQ_EN,
- 0xad5a800000000000);
+ 0xad52800000000000);
/* Don't block PCI-CFG */
p->flags &= ~PHB3_CFG_BLOCKED;