From: Christoph Hellwig <hch@infradead.org>
To: Gilles Buloz <Gilles.Buloz@kontron.com>
Cc: "linux-nvme@lists.infradead.org" <linux-nvme@lists.infradead.org>
Subject: Re: NVMe write protection support
Date: Mon, 1 Aug 2022 11:34:31 -0700 [thread overview]
Message-ID: <YugctzU0uDZvfAal@infradead.org> (raw)
In-Reply-To: <DU0PR10MB62528F66099C2311E2AF1EEE809A9@DU0PR10MB6252.EURPRD10.PROD.OUTLOOK.COM>
On Mon, Aug 01, 2022 at 08:36:12AM +0000, Gilles Buloz wrote:
> Dear developers,
> In case an NVMe module has a write protection feature,
Do you mean the "Namespace Write Protection Config", Feature Identifier
84h? In that case you need to set bit 0 in the NSATTR field in the
Identify Namespace data structure(s) and the kernel will mark the
namespace read only.
If you mean something else, please clarify.
next prev parent reply other threads:[~2022-08-01 18:34 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-01 8:36 NVMe write protection support Gilles Buloz
2022-08-01 10:01 ` Chao Leng
2022-08-01 12:41 ` Gilles BULOZ
2022-08-01 16:39 ` Keith Busch
2022-08-01 18:34 ` Christoph Hellwig [this message]
2022-08-02 9:20 ` Gilles Buloz
2022-08-06 8:35 ` Christoph Hellwig
2022-08-25 8:26 ` Gilles Buloz
2022-08-26 19:39 ` Jonathan Derrick
2022-08-26 19:40 ` Jonathan Derrick
2022-09-13 17:17 ` Gilles BULOZ
2022-09-19 14:59 ` Christoph Hellwig
2022-09-30 17:49 ` Gilles BULOZ
2022-10-03 6:24 ` Christoph Hellwig
2022-10-20 17:31 ` Gilles BULOZ
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YugctzU0uDZvfAal@infradead.org \
--to=hch@infradead.org \
--cc=Gilles.Buloz@kontron.com \
--cc=linux-nvme@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox