From: Imre Kaloz <kaloz@kernel.org>
To: Thomas Bogendoerfer <tsbogend@alpha.franken.de>,
linux-mips@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH 0/4] MIPS: sgi-ip32: CRIME 1.1 and MACE PCI fixes
Date: Wed, 21 Oct 2026 21:24:14 +0200 [thread overview]
Message-ID: <20261021192418.7246-1-kaloz@kernel.org> (raw)
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
--
2.47.3
next reply other threads:[~2026-10-21 19:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-21 19:24 Imre Kaloz [this message]
2026-10-21 19:24 ` [PATCH 1/4] MIPS: sgi-ip32: Mask MACE PCI interrupts in CRIME only Imre Kaloz
2026-10-21 19:24 ` [PATCH 2/4] MIPS: sgi-ip32: Leave MACE PCI control alone in config accesses Imre Kaloz
2026-10-21 19:24 ` [PATCH 3/4] MIPS: sgi-ip32: Report the real CRIME revision Imre Kaloz
2026-10-21 19:24 ` [PATCH 4/4] MIPS: sgi-ip32: Fence PIO reads on CRIME 1.1 Imre Kaloz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261021192418.7246-1-kaloz@kernel.org \
--to=kaloz@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@vger.kernel.org \
--cc=tsbogend@alpha.franken.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®