Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp955405rdb; Tue, 30 Jan 2024 03:59:43 -0800 (PST) X-Google-Smtp-Source: AGHT+IG5uSzna6GamzIPxwcuaZSsYv3gYSS7lQGgS4d9iDuEI2geBR9W7Z+tjiftHk/N4vI5uRhA X-Received: by 2002:a05:622a:552:b0:42a:a70a:f633 with SMTP id m18-20020a05622a055200b0042aa70af633mr4225838qtx.34.1706615983522; Tue, 30 Jan 2024 03:59:43 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706615983; cv=pass; d=google.com; s=arc-20160816; b=WOZygTBKq8C+bsfwMUxsercn+v8rK5EZhhDoKQY6s7r4t+YKp9/KsYIDdTsZe8RHCi eZ3t0tQmZSSxUfVqJEPu9BE0gfUFu4GdoxLb68NqStSP+wmecmAMzCPy1+O5G4MORe3y suwZgvJuHXLdCGm3C8PQrbvLoz4t6oyB1mwFfhgZSFDpgDQ5pj0WKKRHZWUES2wxDHL0 DcvUgApPRS8PbzbIuLscctIVF/yhOKC3o54tJUq0N84EoBWuRV8yhCxo9iZGI8KV3C1T Py6XPd19PsFqb6c4DSCeDrZChudNcrS22m5B64jTzmSxKK4COifOWmAjdizEkpazuG0n ThCQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=rv9Mcy1WSW4GJNC30Bqs4IbLNSpGIE06p30qV7BbEUg=; fh=J+FaMqqgXrkE3kQpWRKf3UQ/1+PBGINPjRI3r6E2YDE=; b=r+vTuEf8w/K68wbNTFO8hMR1Uk3mAPlP/GhOQ8m/6RguP2L8xi39Ivg99ldlg2IXXy 0Jlucnww+OdnbWc8kt+PfR5oBj/4hJe9BBOepe/CRizBdYcKQIsCQlL7QHYpo6ScIIWK QPOl8Pn3qRPMdD1fjawqVaPZmQ5iI34kirSS1TTMAQNnrjtCgDN98go/Rk6s08neuoch pk5WPwW/ay36NMAMDyhoKMPt2KkSKOVcKBCro2r2FSvR96r0Y+WF54+p4alAu+OGfkFD kjrkAXJZYxDMVNoxNN3wrSmUIq8tg3OeSx25ivTYoepID8ffRThzJNMP6s0xHrS04TTP Q+LQ== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=wantstofly.org); spf=pass (google.com: domain of linux-kernel+bounces-44564-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-44564-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id y6-20020a05622a120600b0042aa738fb14si3900819qtx.473.2024.01.30.03.59.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 03:59:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-44564-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=wantstofly.org); spf=pass (google.com: domain of linux-kernel+bounces-44564-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-44564-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 389D61C25EDE for ; Tue, 30 Jan 2024 11:59:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7F951679F0; Tue, 30 Jan 2024 11:59:35 +0000 (UTC) Received: from mail.wantstofly.org (hmm.wantstofly.org [213.239.204.108]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8907467E60; Tue, 30 Jan 2024 11:59:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.239.204.108 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706615975; cv=none; b=NIa+2YATVhmbXHbt1N6ckl4+YAlSAqEHm43ZDzEJWQG/1ZiGm5KpOz75O/Y8xPSinPo9O0mQ1Y7DU3zwmKVosEnHzbM0t52BO2jQwJAarlEcezj4241Qfb/Esu/RS40PI58yyX0n7u7kjumy7p73whTyJ8lC7yh8i8lq2IHVuK0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706615975; c=relaxed/simple; bh=/EbS7QCd5gU5yDybrgjByI/a3znatbuHH67Z4bVG8NA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=b2P3qKyXoFezCnBr7eSLPRwWhFtIj+F9XDIpKl1uljx2MUXFVRgf9PyWKtbKjXV82FqKiQa+WuJMEDNZFeYhZIWgDtXgqcgWrjpt4dLfmUSRSpDphkwjDcH7GM2hthnmQXu3bwtVKJhifZEMNfpbqLHn8pGpcbfJTV4ghkqKuOg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=wantstofly.org; spf=pass smtp.mailfrom=wantstofly.org; arc=none smtp.client-ip=213.239.204.108 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=wantstofly.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=wantstofly.org Received: by mail.wantstofly.org (Postfix, from userid 1000) id E87AD7F711; Tue, 30 Jan 2024 13:59:28 +0200 (EET) Date: Tue, 30 Jan 2024 13:59:28 +0200 From: Lennert Buytenhek To: Damien Le Moal Cc: Niklas Cassel , linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org, Robin Murphy , John Garry , Joerg Roedel , Szuying Chen , Jesse1_Chang@asmedia.com.tw, Richard_Hsu@asmedia.com.tw, Chloe_Chen@asmedia.com.tw Subject: Re: [PATCH] ahci: Extend ASM1061 43-bit DMA address quirk to other ASM106x parts Message-ID: References: <6ab581f1-385c-49af-bff3-aacd1cdbe1d8@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6ab581f1-385c-49af-bff3-aacd1cdbe1d8@kernel.org> On Tue, Jan 30, 2024 at 08:46:23PM +0900, Damien Le Moal 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 to the other supported ASM106x parts as well. > > > > Signed-off-by: Lennert Buytenhek > > I think this needs a cc: stable tag. The commit that is likely responsible for surfacing this issue is 791c2b17fb40 which went into v6.6 -- so would this then be appropriate, or do you think this should be backported to older versions as well? Cc: stable@vger.kernel.org # 6.6.x > > --- > > 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 */