linux-alpha.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/1] scsi: qla1280: Make 64-bit DMA addressing a Kconfig option
@ 2025-07-28 16:34 Magnus Lindholm
  2025-07-28 16:34 ` [PATCH 1/1] " Magnus Lindholm
  2025-07-31  9:40 ` [PATCH 0/1] " Maciej W. Rozycki
  0 siblings, 2 replies; 7+ messages in thread
From: Magnus Lindholm @ 2025-07-28 16:34 UTC (permalink / raw)
  To: linux-kernel, linux-scsi, linux-alpha, martin.petersen,
	James.Bottomley, hch, macro
  Cc: linmag7

After spending quite some time trying to make the qla1280 driver work
with 64-bit DMA on alpha/tsunami systems with more than 2GB RAM, I
haven't given up on finding the root cause why this doesn't work but
I propose making 32/64 bit optional in the kernel config. Many thanks
to Martin, James, Maciej, Thomas and Christoph who has take the time
to provide feedback and testing during my attempts.

Some platforms like for example the SGI Octace2, require full 64-bit
addressing in order for the qla1280 driver to work. On other systems,
like the tsunami based Alpha systems, 32-bit PCI Qlogic SCSI controllers
(like the ISP1040 series) will not work properly on systems with more
than 2GB RAM installed. For some reason the combination of using PCI DAC
cycles and the enabling the DMA "monster window" on the tsunami based
alphas will result in file system corruption with the Qlogic ISP driver.
This is not the case on other alpha systems, such as rawhide based
systems, like the Alphaserver 4100, on this platform cards like
the qlogic 32-bit PCI (ISP1040B) works fine with PCI DAC cycles and
the "monster window" enabled. In order for the qla1280 driver to work
with ISP1040 chips on tsunami based alphas the driver must be compiled
with 32-bit DMA addressing. Most SRM firmware versions allow alphas to
boot from Qlogic ISP1040 SCSI controllers and hence having a simple way
to limit DMA addressing to 32-bits is relevant.

 drivers/scsi/Kconfig   | 17 +++++++++++++++++
 drivers/scsi/qla1280.c |  2 ++
 2 files changed, 19 insertions(+)

-- 
2.49.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-09-01 21:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-28 16:34 [PATCH 0/1] scsi: qla1280: Make 64-bit DMA addressing a Kconfig option Magnus Lindholm
2025-07-28 16:34 ` [PATCH 1/1] " Magnus Lindholm
2025-07-29  7:32   ` Christoph Hellwig
2025-07-29  8:58     ` Magnus Lindholm
2025-07-31  9:40 ` [PATCH 0/1] " Maciej W. Rozycki
2025-08-05  8:52   ` Magnus Lindholm
2025-09-01 21:41     ` Magnus Lindholm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).