Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1244814pxb; Sun, 19 Sep 2021 10:36:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy5JA5DqjgCXwg3WnT2dmRTD4PoouxvOVkNvATaFl2SHDyVL2t4WPN4o+KTXbY7DeE9/Lb0 X-Received: by 2002:a6b:f111:: with SMTP id e17mr734096iog.147.1632073011938; Sun, 19 Sep 2021 10:36:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632073011; cv=none; d=google.com; s=arc-20160816; b=ccF6tB0z5zS9hd+mBEGbuT7s71lpU5LQVOWPCGaDqTYoZwzv4G+rgtQbXTCbkXVnFe 6Mn4YYw3eoNmj9QI7iGt7nEM4WqxDBjsgStXyFL7AFl9U8jJnmLuGty5m0Nc62TpUsKQ hyaGqxb6YyARm+DFOX6NLp8S87BvRIscw14tAEWD5SS2Xd8q97PbkslxvuWQB6e7A0d0 Z+zOHF7lqlx2+ONMpRpfirDcTkXd2KKZdMHRen146L1kYO6W0UwCYYIwy/NRCAHucMha jwZcOIsKA8VsNEPu7A7pXXtWZyeMxvm6GpV0jPrNxLfxz/2akoSfWBATn2oKWB3Qnxfh Fw/w== 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=iSy0qSazpxmU03SoDhSpde0uFhTOnrJsDqywzUzjo44=; b=T7rEVZaYncbZWniXy5DtJSibVpSTUnC7vvKhJJfFkFjxQ7GTR93y5p/KkvI86HXVeM 9YJDKc9yHSOuBLoQAEnubriMrllQpjc9C0uLUXWuWf1rDj1PM8LI+9Gcpy35epmQ398t VBwkcXTrGzg1pebz3XkDsaowNPigZD+x9fhnuM5mPTkfMCsmYNHS8ASUvbRVEmeP0xal neaZ5pSFPTUQmaj9wZpccshR4BZRDz9Rq8ZYnSLR60QUSbAsGYnjzISfJOJDuLaW50er PWnuRh6+wIfZDBoO8yMLYzhx1FnPKAycnwmU+dEKN7tVOQtO0aWhWkqWPLYzYbbp2weG EdtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="d/Oz6Ktj"; 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 d21si12165187iof.73.2021.09.19.10.36.40; Sun, 19 Sep 2021 10:36:51 -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="d/Oz6Ktj"; 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 S233298AbhISP2f (ORCPT + 99 others); Sun, 19 Sep 2021 11:28:35 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:31360 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233267AbhISP2f (ORCPT ); Sun, 19 Sep 2021 11:28:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1632065229; 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=iSy0qSazpxmU03SoDhSpde0uFhTOnrJsDqywzUzjo44=; b=d/Oz6Ktj70an1Fh/hdY/CXzxFAXpARRab/K4D1QKTbt1e+6xfIau8M7TZMzxquj2C8iw7e bjSx9We6toqS8cjJkByOhxENiu1Xel3+WK1qgIC0oEJW/gb4ky+2OX6wV9xv7xVvS0WKOg YgKd9pkZr0R9WAVShiAUU3GRwQAwIWU= Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-233-lUb-M7z9O-utWIoD96Vq2w-1; Sun, 19 Sep 2021 11:27:08 -0400 X-MC-Unique: lUb-M7z9O-utWIoD96Vq2w-1 Received: by mail-ed1-f69.google.com with SMTP id 14-20020a508e4e000000b003d84544f33eso2212775edx.2 for ; Sun, 19 Sep 2021 08:27:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=iSy0qSazpxmU03SoDhSpde0uFhTOnrJsDqywzUzjo44=; b=nI9uiIdCb446qNIK9wt7vqAWQaBfZfDDXbwGbCEU1vNakHAAEYTqeZ1jnP3QyjdVJP HF/qbWrP2p/7mJi4iC1EXmAeZh1ojLgOG38s/3oPzY0m9G8QG06LkwSFd0IzjTgNuhp0 /cNs6X77KEr46vBh17mWlNj9kNAL1UdGKElJ2HB5xpzwQLVVkZ+CC5UQlq2wX2QHKG4w mGHGh65nI+itvNqAhsdN3BG/ES1POhnNZ7S28ZO+qA9L+tKokjkQALaaWCOBV07w2Hcz cuxQVrche/DU32E4Mpf42pZHxVZvLL4EDOuiM8JivY47HOC4CcEOterTulW+z+t3pslw 84KA== X-Gm-Message-State: AOAM533gXCCUpNv4U9rhoiLHMYoDTHYBwhcsago72qASMdM6cCcc2RO/ +qGosr7c+u6ajm+lUvGePNm0bpId0iDpDZ+VbtUnqt/R0sijxruCpHhLk6lXaL8kUzm71z6U6m5 oWp2BiqUsRV/2aceumRXihXnboy0tYG7hd8oyQHmQ4VuBAtIAnHZkitHzyDDpHVH6abFsK/0BbZ 83 X-Received: by 2002:a17:906:af6d:: with SMTP id os13mr23233455ejb.278.1632065227118; Sun, 19 Sep 2021 08:27:07 -0700 (PDT) X-Received: by 2002:a17:906:af6d:: with SMTP id os13mr23233435ejb.278.1632065226849; Sun, 19 Sep 2021 08:27:06 -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 p24sm874569edq.27.2021.09.19.08.27.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 19 Sep 2021 08:27:06 -0700 (PDT) Subject: Re: [PATCH v5] libata: Add ATA_HORKAGE_NO_NCQ_ON_AMD for Samsung 860 and 870 SSD. To: Tor Vic , "Martin K. Petersen" Cc: Kate Hsuan , Jens Axboe , Damien Le Moal , linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org References: <20210901151643.13562-1-hpa@redhat.com> <3e26e7a5-0d99-b993-d5ce-aa517e1bf1bb@redhat.com> <238d0841-0f03-928f-5441-89d5c9dcf9b9@redhat.com> From: Hans de Goede Message-ID: <967d7639-fc31-a209-8c21-ea8ab3718de6@redhat.com> Date: Sun, 19 Sep 2021 17:27:05 +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 Tor, On 9/19/21 4:24 PM, Tor Vic wrote: > Hi, > > I saw that v2 (?) of this patch has made it into stable, which > is quite reasonable given the number of bug reports. > Are there any plans to "enhance" this patch once sufficient data > on controller support/drive combinations has been collected? ATM there are no plans to limit these quirks, we have bug reports of queued trims being an issue over all usual chip-vendors of sata controllers (including more recent AMD models). Note that unless you have immediate "discard" enabled as an option on all layers of your storage stack (dmcrypt, device-mapper/raid, filesystem) then this change will not impact you at all. Also note that AFAIK all major distros do not enable immediate discard, instead relying on fstrim runs from a cronjob, which again means this change will not impact users of those distros. So chances are that your workload simply never triggered the issue; and this is the cause of everything always having worked fine for you. Regards, Hans