On Thu, May 16, 2019 at 2:58 AM Christoph Hellwig <h...@infradead.org> wrote: > > Can you still send me the dmesg output with the AHCI debug patch? > I'm curious why we can't do 64-bit DMA to your device.
Christoph, here is the dmesg output with your patch. 64-bit mode is not enabled. ahci 0000:00:11.4: version 3.0 ahci 0000:00:11.4: failed to set 64-bit mask! ahci 0000:00:11.4: AHCI 0001.0300 32 slots 4 ports 6 Gbps 0x1 impl SATA mode ahci 0000:00:11.4: flags: 64bit ncq pm led clo pio slum part ems apst scsi host0: ahci scsi host1: ahci scsi host2: ahci scsi host3: ahci ata1: SATA max UDMA/133 abar m2048@0xf733d000 port 0xf733d100 irq 26 ata2: DUMMY ata3: DUMMY ata4: DUMMY ahci 0000:00:1f.2: failed to set 64-bit mask! ahci 0000:00:1f.2: AHCI 0001.0300 32 slots 4 ports 6 Gbps 0x3 impl RAID mode ahci 0000:00:1f.2: flags: 64bit ncq pm led clo pio slum part ems apst scsi host4: ahci scsi host5: ahci scsi host6: ahci scsi host7: ahci ata5: SATA max UDMA/133 abar m2048@0xf7336000 port 0xf7336100 irq 27 ata6: SATA max UDMA/133 abar m2048@0xf7336000 port 0xf7336180 irq 27 ata7: DUMMY ata8: DUMMY Remember: this is running a 32-bit kernel on 64-bit hardware (Sandy Beach E5-2630). The IOMMU was successfully enabled too. DMAR: IOMMU enabled pci 0000:ff:0b.0: Adding to iommu group 0 pci 0000:ff:0b.1: Adding to iommu group 0 - Matthew