On Tue, 5 Nov 2024, Thomas Bogendoerfer wrote: > > > force 32-bit DMA addressing for pre-ISP1040C hardware and let the > > > system determine whether 64-bit DMA addressing is available for > > > ISP1040C and later devices? > > > > Yep, that is the correct approach. > > > > Thomas: Can you confirm that your SGI hardware has a C rev 1040 ISP? > > they are ISP1040B, so IMHO the revision is not the point. Yet there appears to be a difference somewhere between the two supposedly identical chips that makes one work with 64-bit addressing while the other does not. Is it possible that the ISP1040B used in SGI systems has been modified on request and not relabeled before QLogic chose to put it on the general market? I can see the spread is very narrow between the dates of the ISP1040B and ISP1040C datasheets available: Feb 5th vs Jul 29th, 1997. Thomas, Magnus, can you please check what hardware revision is actually reported by your devices? Also a dump of the PCI configuration space would be very useful, or at the very least the value of the PCI Revision ID register, which is independent from the hardware revision reported via the device I/O registers. The firmware is loaded by us, so I presume it's the same version on both systems (I can see 7.65.06 in Debian, the same as in the report upthread), and that only leaves any variable to the PCI bus logic onchip. If all else fails, I would still recommend to disable by default 32-bit DMA addressing for pre-ISP1040C hardware, as that matches documentation, and then have a platform quirk to enable it specifically for ISP1040B for the relevant SGI configurations. But I do hope there is a better approach possible. Maciej