Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp5903675iob; Tue, 10 May 2022 06:24:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyl7DAZcZKS2BMIqxz2MqKGn04nUne//5XGkKYjk4jlURM7YF27Xn/bTEv4FS1jeylXinA7 X-Received: by 2002:a17:907:980f:b0:6f8:616f:eccc with SMTP id ji15-20020a170907980f00b006f8616fecccmr14491761ejc.381.1652189075787; Tue, 10 May 2022 06:24:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652189075; cv=none; d=google.com; s=arc-20160816; b=Ln+aTazXcrrAgrZJb5U7orF4FUlvifLH+DE6HI5VN/ogklaweY5r0j7as4Jflmz3Zq OyL0T71b4bkGwX8KIMiSOl7IihS8Uc7ZaV08fYTuC5WKSZuwnJt+huTtKWbT6S1Y5PIz 6VlRsaQ+YByhODi0/kL1s2zaj1ekr1EenVnQSJZpslURr+BPrg1h+GxqT3b4evqKAL0n MA4fLbhtAGHvBHHG2UOJcsLcJclPwvaWJ7YtuWRTJDWWCPWe26knbhpagw/I2AoV4bmw m6g8V89Iez8KsI37UGGGI0zduyeQHfHevAZriiW4oRqslrjP1165pLGA057pNfKyoLI3 NQ8w== 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=DNRn4fUaBHY7dyYdE36lHeZVSZC5IBBeYtKkKpRnr08=; b=K5kWop1iAlJqoNfO1aXqXusZYe4x6saAyfkuZmxBOBXWCHX3fcx2gGjb6QwjBhbPMK lvIhRoboADO7N+z2hlFEHEtnFzjAirVPru5sRgvtfjfGVVD4l/lW0WwLn5wHWwfsbXd/ QPzFhfAwmJyWY6YxTrdVBWGOJBgDSn4I1ZtmvkRhvPLBfNOI77LGpJ/XsDvEHGsH6OKq pNYcK2HssGMUn+sxoRUb3Psoqs2r5B/ySDWBNAgxKYWQdMTrFO18QRsBX1q8DOEjazWU H6ObU7/rdftZvT8701jTSKt4ACZlSOmuSrNHLd2Qgx9MXXWRBxAfXiNv9X9A/2T8/S6t epjg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c10-20020a05640227ca00b00425d7b21928si17451518ede.98.2022.05.10.06.24.07; Tue, 10 May 2022 06:24:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236800AbiEJFxJ (ORCPT + 99 others); Tue, 10 May 2022 01:53:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44520 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232053AbiEJFxE (ORCPT ); Tue, 10 May 2022 01:53:04 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 548B82B09EE for ; Mon, 9 May 2022 22:49:08 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id 5617168AFE; Tue, 10 May 2022 07:49:04 +0200 (CEST) Date: Tue, 10 May 2022 07:49:04 +0200 From: Christoph Hellwig To: zhenwei pi Cc: kbusch@kernel.org, hch@lst.de, sagi@grimberg.me, axboe@fb.com, linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/3] nvme: introduce bit 5 of smart critical warning Message-ID: <20220510054904.GA10460@lst.de> References: <20220507065026.260306-1-pizhenwei@bytedance.com> <20220507065026.260306-2-pizhenwei@bytedance.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220507065026.260306-2-pizhenwei@bytedance.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, May 07, 2022 at 02:50:24PM +0800, zhenwei pi wrote: > According to NVM Express v1.4, Section 5.14.1.2 ("SMART / Health > Information"), introduce bit 5 for "Persistent Memory Region has become > read-only or unreliable". Given that Linux does not support the PMR, do we really need this?