Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp240880pxf; Thu, 11 Mar 2021 02:48:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJy7V2mcJhDEoF/gWT2jRbM/HMNKEv4Kv1Cd+S3PmriBQr58NF1rg/7Q9UQBfLHB+RonEWCP X-Received: by 2002:aa7:db95:: with SMTP id u21mr7815234edt.152.1615459732646; Thu, 11 Mar 2021 02:48:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615459732; cv=none; d=google.com; s=arc-20160816; b=h/gdP1DG/M5xaG7c9uE+dHjT0FB+mdSO/kWPwRX6alP2Lu04QtYaw46cJGIwPSttkm Ss7M/s3WqyUsCDlCclV77m+ds3z2emX/xR9Zf353U9e6BqXetRRNvt5OCOPje1rNmJs0 F/I7IgW/Vanh8O8JJ2B05QyZAttAX4AR33EQYzFkwJM4l8NUod1WH/1ft89Sp8Wi0zCz kKL3dD6OSge2RaiOqF22hhu+Ro7/6bvZDFqrTmsGXXi0sBQdaBFJ/AsevEutZuZLrXRb ZFcHAEzmuc5TaU54OASamCoc6hwSp1D37/FlJN7NWjWruQxoG3z/wZJSNQ+xzMUTd97A rUBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=5Blr8DQtVCBEWvwlVXPPMileCZ2jXX3J2x4RUKvbhK0=; b=sX5YRbJQqQpe+7jqMveM26j+e8+YdjZn8iKT6HUdnmrxfPiODflS3c/fhdBcNWxxNV SXjGt+/iGOJyw8bZizqItv/ypAbti2b0ey4vlSJAQCIqwn0oRFWX9WEnmTSVwCgz73Cx FE8nDluIfah+wsukOpbaZWo7+MWG2C7OVRQTFJk6ZEAXsjdw4Wm5VU8p5Vzuodwp1+WN immXbCo2TfS6HjcXbPQisjsqKR5Hv1WBGzGX3e8+oBckrNJuDl8cgVCInQzJohg4y44l hmjiEIWm5JPXNjvdm1wioFhX9JW7uUq5eU6E/FkcGoIB/5cu1/s5pald29iA4VpHJMqO D/vQ== ARC-Authentication-Results: i=1; mx.google.com; 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 d2si1542569edv.66.2021.03.11.02.48.29; Thu, 11 Mar 2021 02:48:52 -0800 (PST) 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; 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 S232470AbhCKKr2 (ORCPT + 99 others); Thu, 11 Mar 2021 05:47:28 -0500 Received: from verein.lst.de ([213.95.11.211]:40356 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232394AbhCKKrP (ORCPT ); Thu, 11 Mar 2021 05:47:15 -0500 Received: by verein.lst.de (Postfix, from userid 2407) id 037A468B05; Thu, 11 Mar 2021 11:47:13 +0100 (CET) Date: Thu, 11 Mar 2021 11:47:12 +0100 From: Christoph Hellwig To: Keith Busch Cc: Christoph Hellwig , Dmitry Monakhov , linux-kernel@vger.kernel.org, linux-nvme@lists.infradead.org, Chaitanya.Kulkarni@wdc.com Subject: Re: [PATCH 1/1] nvme-pci: add the DISABLE_WRITE_ZEROES quirk for a Samsung PM1725a Message-ID: <20210311104712.GA16218@lst.de> References: <1615377076-3251-1-git-send-email-dmtrmonakhov@yandex-team.ru> <20210310132156.GA12145@lst.de> <20210310134110.GA13063@lst.de> <20210310200030.GA3377333@dhcp-10-100-145-180.wdc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210310200030.GA3377333@dhcp-10-100-145-180.wdc.com> User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 10, 2021 at 12:00:30PM -0800, Keith Busch wrote: > On Wed, Mar 10, 2021 at 02:41:10PM +0100, Christoph Hellwig wrote: > > On Wed, Mar 10, 2021 at 02:21:56PM +0100, Christoph Hellwig wrote: > > > Can you try this patch instead? > > > > > > http://lists.infradead.org/pipermail/linux-nvme/2021-February/023183.html > > > > Actually, please try the patch below instead, it looks like our existing > > logic messes up the units: > > This seems like a good opportunity to incorporate TP4040 for non-MDTS > command limits. I sent a proposal here > > http://lists.infradead.org/pipermail/linux-nvme/2021-March/023522.html > > And it defaults to your suggestion if the controller doesn't implement > the capability. I think TP4040 is good and useful, but I defintively want the pure fix get in first.