From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0316BC433EF for ; Tue, 15 Mar 2022 13:23:02 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 3748217C6; Tue, 15 Mar 2022 14:22:10 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 3748217C6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1647350580; bh=R6kae4TacDga4tv85BVle/IEKjeiwayJakAldc1t3Gw=; h=Date:From:To:Subject:References:In-Reply-To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=d+yf3fsdJGp77ES5TmcoDgrF+TaaZsEjhLFvBnTxsFNcDeN8rZU5YpzsdIZ2ti36M LK3Oyn/Kc7leS8hc2zX9krnwff0Yx8hO+BSI3eSRGx3oiZVYbLJ+Fr+DnZEJbZduXk pEgqAjfe9Xzq4SOn3tkQt2zPSsqDRSc5wCyJTaKI= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id D9D00F800FF; Tue, 15 Mar 2022 14:22:09 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 565C0F80162; Tue, 15 Mar 2022 14:22:08 +0100 (CET) Received: from verein.lst.de (verein.lst.de [213.95.11.211]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 15854F80095 for ; Tue, 15 Mar 2022 14:22:05 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 15854F80095 Received: by verein.lst.de (Postfix, from userid 2407) id 796F568AA6; Tue, 15 Mar 2022 14:22:02 +0100 (CET) Date: Tue, 15 Mar 2022 14:22:02 +0100 From: Christoph Hellwig To: Mark Hsieh Subject: Re: [PATCH] [v2] nvme-pci: disable write zeros support on specific SSDs Message-ID: <20220315132202.GA12452@lst.de> References: <20220315132059.12747-1-mark_hsieh@wistron.corp-partner.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220315132059.12747-1-mark_hsieh@wistron.corp-partner.google.com> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: alsa-devel@alsa-project.org, Mark_Hsieh@wistron.com, sagi@grimberg.me, linux-kernel@vger.kernel.org, linux-nvme@lists.infradead.org, axboe@fb.com, kbusch@kernel.org, hch@lst.de X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" On Tue, Mar 15, 2022 at 09:20:59PM +0800, Mark Hsieh wrote: > Like commit 5611ec2b9814 ("nvme-pci: prevent SK hynix PC400 from using > Write Zeroes command"), Micron has the same issue: > [ 6305.633887] blk_update_request: operation not supported error, dev > nvme0n1, sector 340812032 op 0x9:(WRITE_ZEROES) flags 0x0 phys_seg 0 prio class 0 > > So also disable Write Zeroes command on Micron. This still ignores all the questions I've asked. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7E2E2C433F5 for ; Tue, 15 Mar 2022 13:26:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=KhOqNwhXH9qPVTmsEa9LpViaMD4BRIEJ0+BqnlSvlho=; b=OIOJn4z7Ew0cA1ZJcQw8oenyZn ab/zKx++vUZ3l76QD5ogNEONAFXMJB62KJPrFrQAbPdaIk8uYNdPNVOF3XJcSLm5Y0NUMlXp7XLB6 tDAH9iWeTWJRGZqLwRVP0ipmb7Y8PXYG+9XfbOOKFpzYeyUPBpPKS5lzv7+5UKcSRR8D4eCM9kJow tmrb48hyNndxmb2nu2n21obs+iGdcumvyfyd9fvkmCNxKaximhncrgZ6yW8ARfepQJlGyMOkZjuzU JbedU8WiRLYQCCmRIZaG5Y6dqks90/ivMROmmBT6DWeoSfSEQrBgEFaN0dgh5voetAKLVupY32Nc2 g1jY09Xw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nU7C2-009BVA-0f; Tue, 15 Mar 2022 13:26:30 +0000 Received: from verein.lst.de ([213.95.11.211]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nU77o-0099cz-V7 for linux-nvme@lists.infradead.org; Tue, 15 Mar 2022 13:22:10 +0000 Received: by verein.lst.de (Postfix, from userid 2407) id 796F568AA6; Tue, 15 Mar 2022 14:22:02 +0100 (CET) Date: Tue, 15 Mar 2022 14:22:02 +0100 From: Christoph Hellwig To: Mark Hsieh Cc: linux-kernel@vger.kernel.org, linux-nvme@lists.infradead.org, sagi@grimberg.me, hch@lst.de, axboe@fb.com, kbusch@kernel.org, alsa-devel@alsa-project.org, Mark_Hsieh@wistron.com Subject: Re: [PATCH] [v2] nvme-pci: disable write zeros support on specific SSDs Message-ID: <20220315132202.GA12452@lst.de> References: <20220315132059.12747-1-mark_hsieh@wistron.corp-partner.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220315132059.12747-1-mark_hsieh@wistron.corp-partner.google.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220315_062209_239784_B2998D71 X-CRM114-Status: UNSURE ( 9.99 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-nvme@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-nvme" Errors-To: linux-nvme-bounces+linux-nvme=archiver.kernel.org@lists.infradead.org On Tue, Mar 15, 2022 at 09:20:59PM +0800, Mark Hsieh wrote: > Like commit 5611ec2b9814 ("nvme-pci: prevent SK hynix PC400 from using > Write Zeroes command"), Micron has the same issue: > [ 6305.633887] blk_update_request: operation not supported error, dev > nvme0n1, sector 340812032 op 0x9:(WRITE_ZEROES) flags 0x0 phys_seg 0 prio class 0 > > So also disable Write Zeroes command on Micron. This still ignores all the questions I've asked.