Commit bdf492f5 authored by Rafał Miłecki's avatar Rafał Miłecki Committed by John W. Linville

ssb: fix PCI(e) driver regression causing oops on PCI cards

We were incorrectly executing PCIe specific workarounds on PCI cards.
This resulted in:
Machine check in kernel mode.
Caused by (from SRR1=149030): Transfer error ack signal
Oops: Machine check, sig: 7 [#1]
Reported-by: default avatarAndreas Schwab <schwab@linux-m68k.org>
Signed-off-by: default avatarRafał Miłecki <zajec5@gmail.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent dfe21582
...@@ -539,10 +539,12 @@ void ssb_pcicore_init(struct ssb_pcicore *pc) ...@@ -539,10 +539,12 @@ void ssb_pcicore_init(struct ssb_pcicore *pc)
if (!pc->hostmode) if (!pc->hostmode)
ssb_pcicore_init_clientmode(pc); ssb_pcicore_init_clientmode(pc);
/* Additional always once-executed workarounds */ /* Additional PCIe always once-executed workarounds */
ssb_pcicore_serdes_workaround(pc); if (dev->id.coreid == SSB_DEV_PCIE) {
/* TODO: ASPM */ ssb_pcicore_serdes_workaround(pc);
/* TODO: Clock Request Update */ /* TODO: ASPM */
/* TODO: Clock Request Update */
}
} }
static u32 ssb_pcie_read(struct ssb_pcicore *pc, u32 address) static u32 ssb_pcie_read(struct ssb_pcicore *pc, u32 address)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment