public inbox for linux-ide@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] ahci: Extend ASM1061 43-bit DMA address quirk to other ASM106x parts
@ 2024-01-30 13:21 Lennert Buytenhek
  2024-01-31 11:30 ` Niklas Cassel
  0 siblings, 1 reply; 2+ messages in thread
From: Lennert Buytenhek @ 2024-01-30 13:21 UTC (permalink / raw)
  To: Niklas Cassel, Damien Le Moal, linux-ide
  Cc: linux-kernel, Robin Murphy, John Garry, Joerg Roedel,
	Szuying Chen, Jesse1_Chang, Richard_Hsu, Chloe_Chen

ASMedia have confirmed that all ASM106x parts currently listed in
ahci_pci_tbl[] suffer from the 43-bit DMA address limitation that we ran
into on the ASM1061, and therefore, we need to apply the quirk added by
commit 20730e9b2778 ("ahci: add 43-bit DMA address quirk for ASMedia
ASM1061 controllers") to the other supported ASM106x parts as well.

Cc: stable@vger.kernel.org
Signed-off-by: Lennert Buytenhek <kernel@wantstofly.org>
---
Changes in v2:
- Add Cc: stable@ (requested by Damien)
- Fix commit reference style (requested by Niklas)

Link to v1: https://lore.kernel.org/linux-ide/ZbjgTmR5FbAnb-Ua@wantstofly.org/
---
 drivers/ata/ahci.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c
index d2460fa985b7..da2e74fce2d9 100644
--- a/drivers/ata/ahci.c
+++ b/drivers/ata/ahci.c
@@ -606,13 +606,13 @@ static const struct pci_device_id ahci_pci_tbl[] = {
 	{ PCI_VDEVICE(PROMISE, 0x3781), board_ahci },   /* FastTrak TX8660 ahci-mode */
 
 	/* ASMedia */
-	{ PCI_VDEVICE(ASMEDIA, 0x0601), board_ahci },	/* ASM1060 */
-	{ PCI_VDEVICE(ASMEDIA, 0x0602), board_ahci },	/* ASM1060 */
+	{ PCI_VDEVICE(ASMEDIA, 0x0601), board_ahci_43bit_dma },	/* ASM1060 */
+	{ PCI_VDEVICE(ASMEDIA, 0x0602), board_ahci_43bit_dma },	/* ASM1060 */
 	{ PCI_VDEVICE(ASMEDIA, 0x0611), board_ahci_43bit_dma },	/* ASM1061 */
 	{ PCI_VDEVICE(ASMEDIA, 0x0612), board_ahci_43bit_dma },	/* ASM1061/1062 */
-	{ PCI_VDEVICE(ASMEDIA, 0x0621), board_ahci },   /* ASM1061R */
-	{ PCI_VDEVICE(ASMEDIA, 0x0622), board_ahci },   /* ASM1062R */
-	{ PCI_VDEVICE(ASMEDIA, 0x0624), board_ahci },   /* ASM1062+JMB575 */
+	{ PCI_VDEVICE(ASMEDIA, 0x0621), board_ahci_43bit_dma },	/* ASM1061R */
+	{ PCI_VDEVICE(ASMEDIA, 0x0622), board_ahci_43bit_dma },	/* ASM1062R */
+	{ PCI_VDEVICE(ASMEDIA, 0x0624), board_ahci_43bit_dma },	/* ASM1062+JMB575 */
 	{ PCI_VDEVICE(ASMEDIA, 0x1062), board_ahci },	/* ASM1062A */
 	{ PCI_VDEVICE(ASMEDIA, 0x1064), board_ahci },	/* ASM1064 */
 	{ PCI_VDEVICE(ASMEDIA, 0x1164), board_ahci },   /* ASM1164 */
-- 
2.43.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v2] ahci: Extend ASM1061 43-bit DMA address quirk to other ASM106x parts
  2024-01-30 13:21 [PATCH v2] ahci: Extend ASM1061 43-bit DMA address quirk to other ASM106x parts Lennert Buytenhek
@ 2024-01-31 11:30 ` Niklas Cassel
  0 siblings, 0 replies; 2+ messages in thread
From: Niklas Cassel @ 2024-01-31 11:30 UTC (permalink / raw)
  To: Lennert Buytenhek
  Cc: Damien Le Moal, linux-ide, linux-kernel, Robin Murphy, John Garry,
	Joerg Roedel, Szuying Chen, Jesse1_Chang, Richard_Hsu, Chloe_Chen

On Tue, Jan 30, 2024 at 03:21:51PM +0200, Lennert Buytenhek wrote:
> ASMedia have confirmed that all ASM106x parts currently listed in
> ahci_pci_tbl[] suffer from the 43-bit DMA address limitation that we ran
> into on the ASM1061, and therefore, we need to apply the quirk added by
> commit 20730e9b2778 ("ahci: add 43-bit DMA address quirk for ASMedia
> ASM1061 controllers") to the other supported ASM106x parts as well.
> 
> Cc: stable@vger.kernel.org
> Signed-off-by: Lennert Buytenhek <kernel@wantstofly.org>
> ---
> Changes in v2:
> - Add Cc: stable@ (requested by Damien)
> - Fix commit reference style (requested by Niklas)
> 
> Link to v1: https://lore.kernel.org/linux-ide/ZbjgTmR5FbAnb-Ua@wantstofly.org/
> ---

Applied:
https://git.kernel.org/pub/scm/linux/kernel/git/libata/linux.git/log/?h=for-6.8-fixes

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-01-31 11:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-30 13:21 [PATCH v2] ahci: Extend ASM1061 43-bit DMA address quirk to other ASM106x parts Lennert Buytenhek
2024-01-31 11:30 ` Niklas Cassel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox