Skip to contentSkip to conversation

ASMedia ASM1062 (AHCI) hang after "ahci 0000:28:00.0:Using 64-bit DMA addresses"

DISCUSSION Niklas Cassel 1 participant 1 message Jan 31, 2024 1 message not in the archive libata

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 49 lines · Szuying Chen

---

Quoted 28 lines · Niklas Cassel

Hello Szuying,

Please have a look at:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/ata?id=20730e9b277873deeb6637339edcba64468f3da3

This commit is already in Linus's tree and will thus be included in the upcoming v6.8 release.

However, this quirk is currently only applied for:
PCI device id: 0x0611 and 0x0612
see:

$ git grep ASMEDIA origin/master drivers/ata
origin/master:drivers/ata/ahci.c:       { PCI_VDEVICE(ASMEDIA, 0x0601), board_ahci },   /* ASM1060 */
origin/master:drivers/ata/ahci.c:       { PCI_VDEVICE(ASMEDIA, 0x0602), board_ahci },   /* ASM1060 */
origin/master:drivers/ata/ahci.c:       { PCI_VDEVICE(ASMEDIA, 0x0611), board_ahci_43bit_dma }, /* ASM1061 */
origin/master:drivers/ata/ahci.c:       { PCI_VDEVICE(ASMEDIA, 0x0612), board_ahci_43bit_dma }, /* ASM1061/1062 */
origin/master:drivers/ata/ahci.c:       { PCI_VDEVICE(ASMEDIA, 0x0621), board_ahci },   /* ASM1061R */
origin/master:drivers/ata/ahci.c:       { PCI_VDEVICE(ASMEDIA, 0x0622), board_ahci },   /* ASM1062R */
origin/master:drivers/ata/ahci.c:       { PCI_VDEVICE(ASMEDIA, 0x0624), board_ahci },   /* ASM1062+JMB575 */
origin/master:drivers/ata/ahci.c:       { PCI_VDEVICE(ASMEDIA, 0x1062), board_ahci },   /* ASM1062A */
origin/master:drivers/ata/ahci.c:       { PCI_VDEVICE(ASMEDIA, 0x1064), board_ahci },   /* ASM1064 */
origin/master:drivers/ata/ahci.c:       { PCI_VDEVICE(ASMEDIA, 0x1164), board_ahci },   /* ASM1164 */
origin/master:drivers/ata/ahci.c:       { PCI_VDEVICE(ASMEDIA, 0x1165), board_ahci },   /* ASM1165 */
origin/master:drivers/ata/ahci.c:       { PCI_VDEVICE(ASMEDIA, 0x1166), board_ahci },   /* ASM1166 */
Quoted 4 lines

Could you please supply a complete list of buggy ASMedia SATA controllers? (I.e. all ASMedia SATA controllers that only support 43-bit DMA addresses, yet claiming to have support for 64-bit addressing.)

Hello Niklas,

ASMedia SATA controllers that only support 43-bit DMA addresses are listed below:
PCI device id:

        0x0601  /* ASM1060 */
        0x0602  /* ASM1060 */
        0x0611  /* ASM1061 */
        0x0612  /* ASM1061/1062 */
        0x0621  /* ASM1061R */
        0x0622  /* ASM1062R */
        0x0624  /* ASM1062+JMB575 */
Quoted 2 lines

Thanks,
Szuying

Hello Szuying,

Thank you for getting back so quickly!

Kind regards,
Niklas