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

Niklas Cassel
2024-01-31T11:06:45Z

On Tue, Jan 30, 2024 at 01:57:57PM +0800, Szuying Chen wrote:
> Signed-off-by: Szuying Chen <Chloe_Chen@asmedia.com.tw>
> ---
>
> On 1/29/24 17:53, Niklas Cassel wrote:
> > 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 */
> >
> >
> > 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 */
>
> Thanks,
> Szuying

Hello Szuying,

Thank you for getting back so quickly!

Kind regards,
Niklas