MIPS: sgi-ip32: CRIME 1.1 and MACE PCI fixes
Status from this message: applied to mips-fixes
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | MIPS: sgi-ip32: Mask MACE PCI interrupts in CRIME onlyarch/ arch/ | +8 | 1 reply | |
| 2/4 | MIPS: sgi-ip32: Leave MACE PCI control alone in config accessesarch/ arch/ | +21 | 1 reply | |
| 3/4 | MIPS: sgi-ip32: Report the real CRIME revisionarch/ arch/ | +22 | 1 reply | |
| 4/4 | MIPS: sgi-ip32: Fence PIO reads on CRIME 1.1arch/ arch/ arch/ +1 more | +72 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] MIPS: sgi-ip32: CRIME 1.1 and MACE PCI fixes
This series fixes hangs and stale PIO reads on SGI O2 machines with a CRIME 1.1 memory controller.
Patches 1-2 stop the MACE PCI code from issuing a bridge register sequence that hangs the machine under DMA load: slot interrupts are masked in CRIME and the bridge control register is left alone at run time, as IRIX, OpenBSD and NetBSD do.
Patch 3 reports the real CRIME revision, which the current code reads as 1 on both 1.1 and 1.4. Patch 4 fences PIO reads on CRIME 1.1, where a read that follows an aic7880 status register read within a few microseconds returns stale data; the fence stays off on 1.4.
Patches 1-2 are independent of 3-4 and are marked for stable.
Tested on O2 systems with CRIME 1.1 and 1.4.
Imre Kaloz (4):
MIPS: sgi-ip32: Mask MACE PCI interrupts in CRIME only
MIPS: sgi-ip32: Leave MACE PCI control alone in config accesses
MIPS: sgi-ip32: Report the real CRIME revision
MIPS: sgi-ip32: Fence PIO reads on CRIME 1.1
arch/mips/include/asm/io.h | 11 +++++ arch/mips/include/asm/ip32/crime.h | 2 +- .../include/asm/mach-generic/read-fence.h | 20 +++++++++ arch/mips/include/asm/mach-ip32/read-fence.h | 29 ++++++++++++ arch/mips/pci/ops-mace.c | 26 ++++++++--- arch/mips/pci/pci-ip32.c | 9 +++- arch/mips/sgi-ip32/crime.c | 38 +++++++++++++--- arch/mips/sgi-ip32/ip32-irq.c | 45 ++----------------- 8 files changed, 123 insertions(+), 57 deletions(-) create mode 100644 arch/mips/include/asm/mach-generic/read-fence.h create mode 100644 arch/mips/include/asm/mach-ip32/read-fence.h
base-commit: 24a19b953e2a3d0ea5a8c4951a0ab8f32720c907
Signature · 1 line
2.47.3