Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4214245pxf; Tue, 23 Mar 2021 05:48:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwrKrxKVpBLlNDYn9tUsvtD+YXVXUh7f80VDCHrVP/DTH/vv1F1QjZXxPwyLsMN6dJWMd7D X-Received: by 2002:aa7:db95:: with SMTP id u21mr4436899edt.152.1616503714104; Tue, 23 Mar 2021 05:48:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616503714; cv=none; d=google.com; s=arc-20160816; b=z0RnQLng1RWFE7oWS4MKKKSsTRZ8ZAZc3rHOHOVeyX7V7dOmIcwyzi1ebrtX2AazM8 NeM/6xNy5WLamBxXcZJ5xNJ5VUIzHVo7Re74mJj+JI0Hg0jizboCXvArbevq57tPfZfR b7fLasQMhL9ARE01zXWT38KTSmaXsvs/RGpu6D2wIrXlpvom4Ajpg5JLmsnKgP0Y2sUq uXkTu7E/olK1pMmuOuxavqyHB+w/BX/2LY1e3JtKUDWkN9vGVB6M4CI4raFOcj+41Ef0 CoYqFo3FD118JeiFjmb6MqElTSVO/M6NDSqWPMhnVVrdY9yjd1MnWSBqdzBJmxTvkXfu APpQ== 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-transfer-encoding:content-disposition:mime-version :message-id:subject:cc:to:from:date:dkim-signature:dkim-filter; bh=F9YbOt2z/GtVDoNDHvqo1d0D7rtuPi/FENivTe2yq7I=; b=FE2folmHlgfMrye9rUWnrKNIiof/m3potugLVPVvONcZqLUnx6BBPnI+uFtQS4q5Kh mIKOAnu2H1zJ0DZXCh8nS4Eo71aeS9YxGcJ+Pw796v7Ungh9LCwq11+MYPZS2phfe0En a0GorcYlsmT7vWQjZiDcbNssYbGccayHk4i8cXLGyCnniBzIs+1wiyquBQb+i96N5kG8 QTOjpAQxsEQ6H6HDfVHgIczUJtmNbDm0WJtwvpqZMu3nzS37YEBEmuc9RgWvoL+DhtKc nYuP6u7xfvB4aLyCGSwTxtHA0uq5OfUaTiSeCpiyl2WTmWMe/SVgVaVMQ0LU0bYwPOmo Lwkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=i8zgQ84P; 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 nc38si6294147ejc.362.2021.03.23.05.48.10; Tue, 23 Mar 2021 05:48:34 -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=i8zgQ84P; 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 S231272AbhCWMns (ORCPT + 99 others); Tue, 23 Mar 2021 08:43:48 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:62420 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231142AbhCWMn0 (ORCPT ); Tue, 23 Mar 2021 08:43:26 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20210323124324euoutp01880c7322da504b4ee49d979b8f7ebb55~u_Ug8AXa52257022570euoutp01x for ; Tue, 23 Mar 2021 12:43:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20210323124324euoutp01880c7322da504b4ee49d979b8f7ebb55~u_Ug8AXa52257022570euoutp01x DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1616503404; bh=F9YbOt2z/GtVDoNDHvqo1d0D7rtuPi/FENivTe2yq7I=; h=Date:From:To:CC:Subject:In-Reply-To:References:From; b=i8zgQ84PpqmMFvUjV6LX12JWdVr1wUbUhTWdKuRB3MOT0PCI6n2569Qsmaf9ZtGE0 ipqLJ2UZCchqMi/oTZM9rTdOZnHr11R+LZck2CmuyujdmrcSbJqFOctBfbYg7BR2RK tUQvl/K40EENW5erIsTVV1mYoGxjbGJV+o02iubY= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20210323124324eucas1p23464d80e834a0702735d1e473b58c08d~u_UgzpKGS2660126601eucas1p2B; Tue, 23 Mar 2021 12:43:24 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 68.17.09452.C62E9506; Tue, 23 Mar 2021 12:43:24 +0000 (GMT) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20210323124324eucas1p1b36ca121137d41e9c20cf8e9a684256d~u_UgemILe1361913619eucas1p1S; Tue, 23 Mar 2021 12:43:24 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20210323124324eusmtrp168be8b4e8b7cd6c057ee36b9fb4e2250~u_Ugd6_je1369713697eusmtrp1T; Tue, 23 Mar 2021 12:43:24 +0000 (GMT) X-AuditID: cbfec7f2-a9fff700000024ec-9f-6059e26c3269 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id CA.11.08696.C62E9506; Tue, 23 Mar 2021 12:43:24 +0000 (GMT) Received: from CAMSVWEXC02.scsc.local (unknown [106.1.227.72]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20210323124324eusmtip132a8513fcbd6ed470cb4a3fd9a1448ec~u_UgU6BZR1267512675eusmtip1t; Tue, 23 Mar 2021 12:43:24 +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 12:43:23 +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 12:43:23 +0000 Date: Tue, 23 Mar 2021 13:43:22 +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: <20210323124322.qchyk7boyzklwv3v@mpHalley.local> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20210323123121.GA31105@lst.de> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprLKsWRmVeSWpSXmKPExsWy7djP87o5jyITDFat0LKYdfs1i8XdN+9Z LFauPspkMenQNUaLy7vmsFnMX/aU3YHNY9OqTjaPzUvqPXbfbGDz+LxJzqP9QDeTx6uL69kD 2KK4bFJSczLLUov07RK4Mk5Om85S0MxS8W3zFNYGxgXMXYycHBICJhI/Pn9jB7GFBFYwSlw/ Ld/FyAVkf2GUeHfyESuE85lRYnrbPrYuRg6wjofNfhDx5YwSh48sY4MrOtXYxQzhnGGUaL+3 lwnC2cso8XbVIlaQJSwCqhILHq1mArHZBOwlLi27BXaIiICSxNNXZxlBGpgFtjFKPDnwFuwq YYFYiR9TT4A18wrYSPRemMMMYQtKnJz5hAXEZhawkuj80MQKch+zgLTE8n8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NYhOwl7i07BYz iC0ioCTx9NVZRpAGZoFtjBJPDrwFWyEsECvxY+oJVhCbV8BGovfCHGaIqROYJe5tPcgMkRCU ODnzCQuIzSxgITFz/nlGkB+YBaQllv/jgAjLSzRvnQ1WzimgI9Gx+ATzBEbhWUi6ZyHpnoXQ PQtJ9wJGllWMIqmlxbnpucVGesWJucWleel6yfm5mxiBsbjt2M8tOxhXvvqod4iRiYPxEKME B7OSCG9LeESCEG9KYmVValF+fFFpTmrxIUZTYFhMZJYSTc4HJoO8knhDMwNTQxMzSwNTSzNj JXFekyNr4oUE0hNLUrNTUwtSi2D6mDg4pRqYmuesCrqmsWsZz+fMF/PvbmwqPzhr+Txfi+cf J5joefTXi5x+EFJ9TENvyp8ljZp8SRM+vLm030Pnw9Kec3KfcqYvvrljUZaZM6O8crbt+uh0 3i67XWaT/3zdyL6EP7j77qYXp56ouyaHuute2GnlXuQSupVTaPOdzTOlVj5tDpwyWcwtbe+0 B3/Pf7jvfvoyy8LNSonX1AUNdAqjPDebeFj5Xki7enDz/e4Te5/OzNJWZ7Wy7z1upNWloGdu tYgvWW91bbNJfpjN6a9uJ2Lmze3ZXlNr7ZW5bdaheToxj1xOan6Ys0hxslr+25MWiZzO38Md ElyNn25x3lb16ruo1VfLqhvblHbe2T5DRMS1Q4mlOCPRUIu5qDgRAGZDw+pOAwAA X-CMS-MailID: 20210323124324eucas1p1b36ca121137d41e9c20cf8e9a684256d 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> <20210323083749.r272grolxozf3w2f@mpHalley.local> <20210323123121.GA31105@lst.de> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 23.03.2021 13:31, Christoph Hellwig wrote: >On Tue, Mar 23, 2021 at 09:37:49AM +0100, Javier González wrote: >> 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? > >Aligning to MDTS is our current behavior, although all kernels up to >5.11 had a bug in the calculation. I see. Let me check internally and see what's going on with write-zeroes on this model.