Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp4272809pxb; Tue, 31 Aug 2021 00:40:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxpiLdyFlRZrGaZQ7ZtLDwXqKT2AvlA9u9XKa1T5iOZ9YLxuWzMbOBPW6wptn/yUPgN7ev5 X-Received: by 2002:a17:906:1945:: with SMTP id b5mr22687822eje.347.1630395628791; Tue, 31 Aug 2021 00:40:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630395628; cv=none; d=google.com; s=arc-20160816; b=OGdciiOgUumcoU2JXR6g+ggcIU7osIfugxWxq1h4/e0RT4XEpp6XyXx/fkxVlqMlR+ fjlg8m5djeQqleS1zNougjKBnWU3hl7JuQPa5N54/fwDTbb2uUsEWaqCU2iTWKvAdq71 L6VBd6tTVNfCZlTK+3ZAK/wwLgbliaZIcoYfnh7zGG8CCFgm7uMqyn3P2qdsWJzgnlyY FC3Vff1JAJY3U8rqatJ7/70GcYivVwcFh162vwALGTv5ePziSmJSku1C5ow+LLTfmKSl Av47HHLG2a3cJSLAEfKKZw1r4nsOB6YGSgvLXVe7xE1SjbON3FTfRCg2vtMrwVvSTRMp YIbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=5mQhLKnJ2xoUp4bk3hcpO+tGdeMZNuwhxgy5Bf2xxIw=; b=LMtraVDN8s9Dvtpfa2/enxsg1JFgt8hvNBnI3hFgYqTXCctd5FQ9mxy1gMqwNE4/kG eoLR1Hx4iDmBomP5XerCunsNd1eOhED+T1qAR2i0DMPSV9GnPcHoHy7vInPltXsuydyr YFPAnohP4zhRGc3K8/8f440MGWnPB87M7J4SmOScZQHAo0WGBLp4ybRFyc6+SVmgZmsU ppFxd3qTt3SXoeNPd9uGW/6EmpnX2uaNB+qSCe8CWLo3ej3OtKfnLte39S3mpcrwdblf DVgB2PwacnUiXnqwmeRzebtYR6TL0cOcaiWSNgf5WGISOJO7sGMuF0gK16/T7hUpQDdB VJGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=HrTBd8O1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p26si18147103edu.78.2021.08.31.00.39.57; Tue, 31 Aug 2021 00:40:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=HrTBd8O1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239463AbhHaHjF (ORCPT + 99 others); Tue, 31 Aug 2021 03:39:05 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:52235 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231537AbhHaHjE (ORCPT ); Tue, 31 Aug 2021 03:39:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1630395489; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5mQhLKnJ2xoUp4bk3hcpO+tGdeMZNuwhxgy5Bf2xxIw=; b=HrTBd8O1NIvc16KxTg+z+jMW94eprrgOQzsHMJoNAdM74MBWudKlaks7TzLWGTnFsoI6Xg tsNzvJXqCkC2PxT+2JvCyn5pG9M7lJIbR4BotEz/uLqK9SRny7WbdkZMChIZomY6SrC5sG uE6R/q9N9PJ9hJpwHhsopupQ8BMntuY= Received: from mail-ej1-f71.google.com (mail-ej1-f71.google.com [209.85.218.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-458-uu9qxoYxNDSHhtgoyAcG2g-1; Tue, 31 Aug 2021 03:38:07 -0400 X-MC-Unique: uu9qxoYxNDSHhtgoyAcG2g-1 Received: by mail-ej1-f71.google.com with SMTP id v19-20020a170906b013b02905b2f1bbf8f3so698561ejy.6 for ; Tue, 31 Aug 2021 00:38:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=5mQhLKnJ2xoUp4bk3hcpO+tGdeMZNuwhxgy5Bf2xxIw=; b=BUca0xqVmMXdxvlUy3zB7PsTtzrPG9kcN03v+cPu2p20yolhMvZWPEWX2u/yHTHgxU dvxF1QDB9njpAm2JgYltGNbHmwfmz7126SlwhvQ1BcPYf0nUvtPNunpABljhhXu0fT27 JC7JAOFgvX2VJiWgl76fw+KufTrvYmEx1QdBvFSXxyPXcU4UHl5xsPAh320Q2u80ev3B oAJdHQwMsfSIYqJ8fqVY53b6tHPfyDcGespq/LazsBbzJciTEWZfSdmgXZ9Ye9zp2c/7 s2xVLj5mdRzv3akVJJXNIfgLKKctidw23TBYSI3T30MStMSDQcxjJ5EsvfnHwwhn4Nxj eZHg== X-Gm-Message-State: AOAM5327Zj7SJAxiRyYueGxfSPrw4AJrgjUtcdizX9ArrtJF5hIbJ3tM mT7QsUbTqEHo6NJSZwTcau62ML/lvJV/ZqOJL5F4Tm5Xiy26gy9ttepxdaBEPkhaJJx2nIybNwr zwcSikFdMXaVJNlDzHma+feiSIxDWJHvnw+nMgX6pnyixBMumupufsauFOuvQVOVCQq0GhoaNnk Kx X-Received: by 2002:a17:906:7716:: with SMTP id q22mr30015663ejm.457.1630395485929; Tue, 31 Aug 2021 00:38:05 -0700 (PDT) X-Received: by 2002:a17:906:7716:: with SMTP id q22mr30015653ejm.457.1630395485727; Tue, 31 Aug 2021 00:38:05 -0700 (PDT) Received: from x1.localdomain (2001-1c00-0c1e-bf00-1054-9d19-e0f0-8214.cable.dynamic.v6.ziggo.nl. [2001:1c00:c1e:bf00:1054:9d19:e0f0:8214]) by smtp.gmail.com with ESMTPSA id f30sm7609956ejl.78.2021.08.31.00.38.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 31 Aug 2021 00:38:05 -0700 (PDT) Subject: Re: [PATCH v3 0/1] libata: Add ATA_HORKAGE_NONCQ_ON_AMD for Samsung 860 and 870 SSD. To: Damien Le Moal , Kate Hsuan , Jens Axboe Cc: "linux-ide@vger.kernel.org" , "linux-kernel@vger.kernel.org" References: <20210830144253.289542-1-hpa@redhat.com> From: Hans de Goede Message-ID: Date: Tue, 31 Aug 2021 09:38:04 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 8/30/21 11:45 PM, Damien Le Moal wrote: > On 2021/08/30 23:43, Kate Hsuan wrote: >> Many users reported the issue when running the system with Samsung 860, >> 870 SSD, and AMD chipset. Therefore, completely disabling the NCQ can >> avoid this issue. >> >> Entire disabling NCQ for Samsung 860/870 SSD will cause I/O performance >> drop. In this case, a flag ATA_HORKAGE_NONCQ_ON_AMD is introduced to >> used to perform an additional check for these SSDs. If it finds its parent >> ATA controller is AMD, the NCQ will be disabled. Otherwise, the NCQ is kept >> to enable. > > For a single patch, generally, a cover letter is not needed. Especially so in > this case since your cover letter message is the same as the patch commit message. > >> >> Changes since v3 >> * Modified the flag from ATA_HORKAGE_NONCQ_ON_ASMEDIA_AMD_MARVELL to >> ATA_HORKAGE_NONCQ_ON_AMD. >> * Modified and fixed the code to completely disable NCQ on AMD controller. > > Technically, this is a v2 right ? Also, by "completely", did you mean "always" ? > (see patch comments). Right, as mentioned in my reply to the v1 which was accidentally labelled v2 I suggested to just make this v3 to avoid confusion, otherwise we would have 2 v2-s. Regards, Hans