Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp969915rdb; Tue, 30 Jan 2024 04:24:14 -0800 (PST) X-Google-Smtp-Source: AGHT+IFFluwqD1kSwvunwWT87zQMZhKaN42JqkDrYzlHiK6wvtF1ICiNfTtEZxoWgYc7QMn4P4yz X-Received: by 2002:a05:6a00:cce:b0:6de:2f36:8284 with SMTP id b14-20020a056a000cce00b006de2f368284mr3831459pfv.3.1706617454396; Tue, 30 Jan 2024 04:24:14 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706617454; cv=pass; d=google.com; s=arc-20160816; b=qsjTe9uJUaJZx29fC9u7+XU20AekhoUyzeBjPzORMIdnxDAkzjWEpBwROSAkFmGulp Ma4bw0ou40YHeh/bCo4ss4Zgf17Xeme7Qd74/Up1Mu+F+9fa1dE3szmBd+4YomzQByqt jwh7nwJY6MPdn9DDMNVIeIqH2O82oalqW/1MucKKhXzKxxKA2DT2CSi0JlDCjA/1XrTF Wx+h2wkvolRZVF5NgU5dnNjjIxFF1YdWbNOLQZwJ5xdQh8j8iXUfLK+WAwBWeYkLF4hu Vcgb/nafNWl9R7FtL+mJjpUkAbvnR91LmaJPvc96gfHTp1CKWI57FGorbRtdCngn1jxD c1GQ== 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:dkim-signature; bh=vP6uGrC0XEwyliWlRLtohnVvw3nVEGXKmCYw2zksX5g=; fh=QAoElWA74NmKOjdQ/y+5ge5ZvCJOrHpdL+B1xoBkOGw=; b=Jo38laA7W2fSSYM7fJzVxs5ddAvv6M80Oi+Q3RB01egCSvHSm9OM3NrYVoVGscMV3/ zHXHLorQZKLk8go5thWu8rKPckpjea8x8hPGMb+kbyf5Scu28/yc2KQ3MzZXpglg2K95 RjjPrD53bzobUVtXN7ZtVmmd9iLSdzeG+2K6ocKchvLx51z5VYSNtwg+SEK6OzPCTnOM gBnq8+iyxuDGNq1Kjyk7X2YXLlvJzFbjQLT1CNqfW2XGFZhTb5MMEBjdSqOfGRo/oJfi QcqBqyRNXkGVugbig6pFty24eVkWUqux/POPGVFGpp/igG5guwZdR4M6CiQHJGI3EYRh 3VbA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=KL6krSr2; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-44594-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-44594-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id y18-20020a62f252000000b006da28981d64si7449065pfl.149.2024.01.30.04.24.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 04:24:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-44594-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=KL6krSr2; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-44594-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-44594-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 381A4288C1F for ; Tue, 30 Jan 2024 12:23:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E2A5467E90; Tue, 30 Jan 2024 12:23:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="KL6krSr2" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 0621967A19; Tue, 30 Jan 2024 12:23:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706617422; cv=none; b=IDKdoEIq6xcQh8gwbsAmZlosg9AvSYBz1r9tJiRFimOj6xChxgtbYIeMTWkqD1uGPTDQdBiFr1uHx6dEq+xIf11DkZgqj4qAMa+B4t2hxzl2Uc8Rq2a6z/pYPoTTA96OhbNOmd63mLmZBu5Vuh6d0Z5i6kh0xTU7tB/nUhlhOiY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706617422; c=relaxed/simple; bh=+CG0gHXhGQd6gIXHHpPcppBsL3Jvua/zJuWx/hwao1M=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=cZrbKdqIe9RClyXk/sGvaeWaX//VrorGkUAlOoEHYT/c6yDXlcReHjcNEZJg4GPcnveHeW5wAQXCrxjwXTJqCp9dEDcWRiOeXks78SNN/b/Ew3YpBlCHxcQIymum8yQCJ2pjBbTDoaYGU9witphoo9d9d1f/cKcfkxEtbVvt3qc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=KL6krSr2; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id C4B7CC433F1; Tue, 30 Jan 2024 12:23:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706617421; bh=+CG0gHXhGQd6gIXHHpPcppBsL3Jvua/zJuWx/hwao1M=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=KL6krSr2qYbE1Z3p0Hkxqg9LWKs150EKM+ipc/LQMVq8al/hPeFusrDD1WOnmw5Pq qg6U85Tr9VZptmGWoxEEOvwS9SRGsgtGtcNYtot1iOQkGHQ0YbqqnK6fRAmtbHD76J GevLqORAKe3EuM09tYjKTQueONXZ7VmRBqZYID9DJTr2jrEc2u8zUVDIvpmhBDKY7N sCp6T1kdeyizyGbEnNZ8WoI0eWGJnUpFv3ar+tPxr+70op6CFG36ZnR3U3OF9QVsDI NgMPNS00yvg3M6BIRz9alT2ig9PHiEGDN7jNvjFdZjjtcdQAoDm0yCpbJz9Gdda6pA MRBUvW7Vw6FUA== Date: Tue, 30 Jan 2024 13:23:35 +0100 From: Niklas Cassel To: Lennert Buytenhek Cc: Damien Le Moal , 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: 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: On Tue, Jan 30, 2024 at 01:41:02PM +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 to the other supported ASM106x parts as well. Lennert, thanks a lot for sending this follow up patch. However, checkpatch.pl complains: ERROR: Please use git commit description style 'commit <12+ chars of sha1> ("")' - ie: 'commit 20730e9b2778 ("ahci: add 43-bit DMA address quirk for ASMedia ASM1061 controllers")' #44: commit 20730e9b2778 to the other supported ASM106x parts as well. Perhaps send a v2 with this fixed, and Cc: stable like Damien requested. Kind regards, Niklas > > Signed-off-by: Lennert Buytenhek <kernel@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