Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp872786pxb; Wed, 1 Sep 2021 11:48:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy1Vk0rrERy+KBldJ8T9XrpKRBrD7Xo3QSU10Zl7ZwDpqrZ15jsnBSu7y70v0659nVSUWNp X-Received: by 2002:a5e:d70a:: with SMTP id v10mr861714iom.10.1630522091433; Wed, 01 Sep 2021 11:48:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630522091; cv=none; d=google.com; s=arc-20160816; b=wnyONP0ULFkSIvHM6wnP4BEn20NPqarldAs08UwJ2+hYiXqX2caKQdEezQ6ZRyXlP9 xtuMYmH0KsUNNHw/VOVpWzSJw937pvPBCWk0XEVIjdGQA+5RRQ+0FrMWD7XfTQvR8OYq YQciq1QxaO1EOjW42fGo2pwFQlb6Fres3SU1IuGLpuNtP7VbeqsgKrWZVG/amt2MUeOv bAdlbF5YuXv5jYYi6/wdoPkG7HGqNexbpstK7hdQS3ciOmUp5ERELh7OK+xBQxfMmt1s 3R8mH98ToK+rc5tGLHM45H3jPYwZ5SJdptpfymDQg6A8c7p1eib0DX1JoNbSO9BX4vCF hSJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=VuAFtE5tH+k/1J5m7DWoHGj8sWp6YOyq2WnD4vK38S8=; b=GG4wi33Fnh52oDnl9OeDYMTFZCZsqdCJ35XkFkZLQsO7K4NLGNhtObHocjGDXbhSKn asF44ALKoPGwUVFmtnrZW2pOkzHT9TDdHOJuDRun8i+NUq+op1tLmdnRx7QQlo9MPXWM mG4ljrVPbLa8dVas2DS4NSknc5RxDoO7uTdXr4K+sTI6TPgB0rY+vWLRGZk+DgMdUY/B j+uir+zhvL+vrkjRFpm7hLo6vBtEcNYCHnKvjzRQLK3Gd8uZVdfSIuCdJmZdbkrY/Urh UEVIPB78a59ZFEZj35Q/koJsqJmmRY+qJtcq/8SWQwY4AFab+m6t/IgKVff0LjGqQUOP pohw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=ad2Ir0Fj; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d7si377998ilg.5.2021.09.01.11.47.59; Wed, 01 Sep 2021 11:48:11 -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=@infradead.org header.s=casper.20170209 header.b=ad2Ir0Fj; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242126AbhIAGeU (ORCPT + 99 others); Wed, 1 Sep 2021 02:34:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59418 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231501AbhIAGeT (ORCPT ); Wed, 1 Sep 2021 02:34:19 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B9AD0C061575; Tue, 31 Aug 2021 23:33:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=VuAFtE5tH+k/1J5m7DWoHGj8sWp6YOyq2WnD4vK38S8=; b=ad2Ir0FjPU5azc2pRQ2IBgWAQ0 QFXAS1BH/DIBARUP+qd/I+WyngEAvozEnhT/oFrtzbutc4s6DQZltuK/cy2drYU1zMrdtDk6FnM7W 4FxlbMwdkgR/LXY35IWCr06FJVmB3jZviCZCgJwhFOin7wI/4U0qT88W86paX+KaD4h9tV+wkT/Us 5SyvagCbF7PQ/dfrA6exYL4tLayA0yMneoNPVRjsNq8EkmtmL1NLDef2BCjKzedNBghOpAUTnsloi 5YMJtS5Digp6O77LnM8IRd3Z+6HtIDroL35Q42fes6nQ4vr8s0R/hMfFjLh21Mcyv5iqoypYCTh3E kLAaaHuQ==; Received: from hch by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1mLJnV-001xAu-PC; Wed, 01 Sep 2021 06:32:45 +0000 Date: Wed, 1 Sep 2021 07:32:33 +0100 From: Christoph Hellwig To: Kate Hsuan Cc: Jens Axboe , Hans de Goede , Damien Le Moal , linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4] libata: Add ATA_HORKAGE_NO_NCQ_ON_AMD for Samsung 860 and 870 SSD. Message-ID: References: <20210901045220.27746-1-hpa@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210901045220.27746-1-hpa@redhat.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 01, 2021 at 12:52:20PM +0800, Kate Hsuan wrote: > Many users are reporting that the Samsung 860 and 870 SSD are having > various issues when combined with AMD SATA controllers and only > completely disabling NCQ helps to avoid these issues. > > Always disabling NCQ for Samsung 860/870 SSDs regardless of the host > SATA adapter vendor will cause I/O performance degradation with well > behaved adapters. To limit the performance impact to AMD adapters, > introduce the ATA_HORKAGE_NO_NCQ_ON_AMD flag to force disable NCQ > only for these adapters. > > BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=201693 > Signed-off-by: Kate Hsuan Looks good, Reviewed-by: Christoph Hellwig