On Mon, Nov 25, 2024 at 8:56 PM Maciej W. Rozycki <macro@xxxxxxxxxxx> wrote: > I had hoped for full `lspci -xxx' dumps actually, which could reveal > differences perhaps in the device-specific range of config registers. Here we go: SCSI storage controller: QLogic Corp. ISP1020/1040 Fast-wide SCSI (rev 05) 00: 77 10 20 10 07 00 00 02 05 00 00 01 10 40 00 00 10: 01 a0 00 00 00 00 e1 fa 00 00 00 00 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30: 00 00 e0 fa 00 00 00 00 00 00 00 00 0b 01 00 00 40: 34 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80: 77 10 20 10 07 00 00 02 05 00 00 01 10 40 00 00 90: 01 a0 00 00 00 00 e1 fa 00 00 00 00 00 00 00 00 a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 b0: 00 00 e0 fa 00 00 00 00 00 00 00 00 0b 01 00 00 c0: 34 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > Given that your HPZ440 system appears to have an IOMMU chances are it's > used such as to squeeze all PCI-side DMA mappings into the low 32-bit > range for the very purpose of avoiding issues with odd devices. > I've gotten my hands on a Supermicro X9SRA board with 128GB of memory. BIOS is in legacy mode with all the 64-bit PCI stuff enabled. The ISP1040 card works fine, no errors reported at boot or in the message file dma_get_required_mask() returns a 32-bit mask but the card works in wíth both 32 and 64 bits masks. The DMA_BIT_MASK seems to have no affect on how the addresses are generated, they always stay below the full 32-bit range in either case. It seems like the x86_64 will not trigger the issue with 64-bit addresses on the ISP1040 card. Maybe I can test this on sparc as well, I'll see what I can put together. /Magnus