Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4071501pxf; Tue, 23 Mar 2021 01:39:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzksw9gKPuJrkNSRNd4RSI7o1f58CNGB0outk+jzTTIAfaOPRy5GoQq4RGdTJWgdrUSJvZa X-Received: by 2002:a17:906:524f:: with SMTP id y15mr3768582ejm.65.1616488785147; Tue, 23 Mar 2021 01:39:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616488785; cv=none; d=google.com; s=arc-20160816; b=ht2M24sb3sajgioGbp/cEacRohUCGl02JFR/oxLJ8INLU6E8WWARfQ0DGEVn+3f3Yh RBG2/tLenyKTwenffnGImNpo1GR6gfqQOIhifO2ntkrUW1g8APDtSC7dGP3vOmchV1lL k+l/p2NEvUjz89M5EQeoWFhL1G3iP0FK8WibRnODDZNsD3zI86ioOmP8iub1AdMpfTic drmOiiDO4ArVD1revhbsCsu+Fkq9IFMJBzEQWSesHsN8mWM2oa/HEUHuZqbG28AcSu8o m8oN3uJc9M1Qi7qhpro3eZMwLubUDMcw+9EXNIZjF2P9vhlKKf/frPqbTgtZfhkXwxu4 57pw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:cms-type:in-reply-to :content-disposition:mime-version:message-id:subject:cc:to:from:date :dkim-signature:dkim-filter; bh=RAJW6KXGMCgfP+KxJg+mnX3RSzCjtZMNvC5Qa4T70Iw=; b=Yxtoos7BkWCN/K7Gi6Acf3XeN1n0evI2WUKR6l+xnMGHbsHvPiEimzR8ffqSnFqP7F B/YLTU9TkRrhwhRYRnxUuaSZQtPmMj00GlIjvII9PTaaTem+pr/P1pVlgxapBPFd/Aeo f26aes0oClChucOra1Rntzuz69lucDUcXceKKnPv/fn1CizMzpSltYAfZOcGwM/3Sjsu 10/TE+Ns/Sf7UuhOYFlWORhETJWy4gofoldUmmxSnY0VB9TGyiosSrQbrgWujuUNvtoK zQfqyMqS5FsHe1jOcAZYPZsrJF/HS52R8DwxmAataPDKObKMAaK9Gw+af9ajfahYQRpW V5RA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=qg1dprva; 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=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v2si12999123ejg.251.2021.03.23.01.39.22; Tue, 23 Mar 2021 01:39:44 -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=@samsung.com header.s=mail20170921 header.b=qg1dprva; 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=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229810AbhCWIiZ (ORCPT + 99 others); Tue, 23 Mar 2021 04:38:25 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:37621 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230070AbhCWIhx (ORCPT ); Tue, 23 Mar 2021 04:37:53 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20210323083751euoutp02d4de61b5fee9100be6654e3692bf68b1~u6_HNimtY1416514165euoutp02E for ; Tue, 23 Mar 2021 08:37:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20210323083751euoutp02d4de61b5fee9100be6654e3692bf68b1~u6_HNimtY1416514165euoutp02E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1616488671; bh=RAJW6KXGMCgfP+KxJg+mnX3RSzCjtZMNvC5Qa4T70Iw=; h=Date:From:To:CC:Subject:In-Reply-To:References:From; b=qg1dprvamhRUbo3/AcgKd5LrBampkc+ntGEJRbbx2vAn52YSRxaZ73+CwQloQ2XD+ 0FeGRBH/AhrlZcNrj3rYNrMTdB2IOMMH6pwQ+/6GJtAyphStjytwyE8GR4GBGlydkI /Gzxo6HEh+UWeenvW515+bs1MU85C1b/uazGpWnQ= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20210323083751eucas1p1bfc19447901aa1737df2b8fee83a7e5f~u6_HDsipM1368513685eucas1p1e; Tue, 23 Mar 2021 08:37:51 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id C5.DB.09439.FD8A9506; Tue, 23 Mar 2021 08:37:51 +0000 (GMT) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20210323083750eucas1p14d21230ac758194d854ca336caf7f3f2~u6_GyfjrA2514925149eucas1p1P; Tue, 23 Mar 2021 08:37:50 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20210323083750eusmtrp15c88d878c40a90e53b03a356af76352c~u6_Gxh9_T0377003770eusmtrp15; Tue, 23 Mar 2021 08:37:50 +0000 (GMT) X-AuditID: cbfec7f5-c03ff700000024df-ed-6059a8df690a Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id DF.B3.08696.ED8A9506; Tue, 23 Mar 2021 08:37:50 +0000 (GMT) Received: from CAMSVWEXC02.scsc.local (unknown [106.1.227.72]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20210323083750eusmtip27e021e64b28aa1631915825ba88f0a01~u6_GpMQNb0860508605eusmtip2e; Tue, 23 Mar 2021 08:37:50 +0000 (GMT) Received: from CAMSVWEXC01.scsc.local (2002:6a01:e347::6a01:e347) by CAMSVWEXC02.scsc.local (2002:6a01:e348::6a01:e348) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 23 Mar 2021 08:37:50 +0000 Received: from localhost (106.110.32.47) by CAMSVWEXC01.scsc.local (106.1.227.71) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Tue, 23 Mar 2021 08:37:49 +0000 Date: Tue, 23 Mar 2021 09:37:49 +0100 From: Javier =?utf-8?B?R29uesOhbGV6?= To: Christoph Hellwig CC: Keith Busch , Dmitry Monakhov , , , Subject: Re: [PATCH 1/1] nvme-pci: add the DISABLE_WRITE_ZEROES quirk for a Samsung PM1725a Message-ID: <20210323083749.r272grolxozf3w2f@mpHalley.local> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8"; format="flowed" Content-Disposition: inline In-Reply-To: <20210311104712.GA16218@lst.de> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprEKsWRmVeSWpSXmKPExsWy7djPc7r3V0QmGHxex2ox6/ZrFou7b96z WKxcfZTJYtKha4wWl3fNYbOYv+wpuwObx6ZVnWwem5fUe+y+2cDm8XmTnEf7gW4mj1cX17MH sEVx2aSk5mSWpRbp2yVwZXw4tISxYC9HxYHe9SwNjN/Zuhg5OSQETCQedyxn72Lk4hASWMEo sXRDKxOE84VRYseB2awgVUICnxklbkxghek4cPM9C0TRckaJj18WQ3UAFR2+DFIF4pxhlHg8 cTNU2V6gWX9b2EH6WQRUJdpaLzCC2GwC9hKXlt1iBrFFBJQknr46ywjSwCywjVHiyYG3YA3C ArESP6aeAFvOK2AjcXPTHRYIW1Di5MwnYDazgJVE54cmoBoOIFtaYvk/DpAwp4COxMGdT5lB ZkoI3OCQ6N55hQniCReJ+Yv6WSBsYYlXx7ewQ9gyEqcn97B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KnJz5hAXE ZhawkJg5/zzQJA4gW1pi+T8OkDCngI7EwZ1PmScwCs1C0jELSccshI4FjMyrGEVSS4tz03OL jfSKE3OLS/PS9ZLzczcxAuNr27GfW3Ywrnz1Ue8QIxMH4yFGCQ5mJRHelvCIBCHelMTKqtSi /Pii0pzU4kOMpkA/T2SWEk3OB0Z4Xkm8oZmBqaGJmaWBqaWZsZI4r8mRNfFCAumJJanZqakF qUUwfUwcnFINTPoOr5d1pS7j84sSlY1sPywTeu3KzglbLQ9NbedM5X6j08nM807S6NPDDTHv JmYWmDe67g4/UXEseDV/14QmfxPDORKzj31yaSjTeT0zpGLC83NuqpW1AmFGRZwX8412y8l1 PY6Na7qc/Ynz9BmJHfuYyhRbZ2jLnhP4bMld+snEwHXh5VUrrLaqzJ/h3OlRkCquzqo4U8rk 8qTk7Mb3l66UmBgcOnLzSqyVGmPao4YnUgFz5jx/knjfdf4f4eX6p/6cuJ1gdapZqe/j2Q23 zTKS6nos/4vbMTJsun5jTfjsCNnYN1/mX0k3mPphkvEhg/Qnna/XHJD0jLmx9cGSWU87v6jn /8x+zLXsZ+2ZIiWW4oxEQy3mouJEACMwrck4AwAA X-CMS-MailID: 20210323083750eucas1p14d21230ac758194d854ca336caf7f3f2 X-Msg-Generator: CA X-RootMTR: 20210323083750eucas1p14d21230ac758194d854ca336caf7f3f2 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20210323083750eucas1p14d21230ac758194d854ca336caf7f3f2 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> <20210311104712.GA16218@lst.de> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11.03.2021 11:47, Christoph Hellwig wrote: >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. Quick question. It seems like the current quirk simply disables write-zeroes. Would you be open for a quirk that aligns with MDTS for models that implemented it this way before TP4040?