Linux CXL
 help / color / mirror / Atom feed
From: Alison Schofield <alison.schofield@intel.com>
To: Davidlohr Bueso <dave@stgolabs.net>
Cc: vishal.l.verma@intel.com, y-goto@fujitsu.com,
	dave.jiang@intel.com, dan.j.williams@intel.com,
	linux-cxl@vger.kernel.org, nvdimm@lists.linux.dev
Subject: Re: [PATCH -ndctl] cxl/memdev: Introduce sanitize-memdev functionality
Date: Tue, 18 Feb 2025 08:34:03 -0800	[thread overview]
Message-ID: <Z7S2e0Bi7OMUviWo@aschofie-mobl2.lan> (raw)
In-Reply-To: <ngnoxz6w6q3y6korof6mepzvw2jyx4trlii7zon5jcoafobbfp@4z5ld55qgvqy>

On Mon, Sep 30, 2024 at 02:39:33PM -0700, Davidlohr Bueso wrote:
> On Mon, 30 Sep 2024, Davidlohr Bueso wrote:\n

Hi David,

Checking on patches we noted as needing review in last months collab,
and now I'm thinking this one is pending a v2 from you. Is that right?

--Alison

> 
> >     cxl sanitize-memdev -e mem0 <-- secure erase
> >     cxl sanitize-memdev mem0 <-- sanitize
> 
> Not related to this patch (I will post v2), but just for future reference, and
> perhaps someone has thoughts. Whenever the kernel supports Media Operation
> (4402h in 3.1), I see this utility expanding to something like:
> 
>       cxl sanitize-memdev --zero A1-A2 [B1-B2 C1-C2] <-- zero-out ranges
>       cxl sanitize-memdev --zero mem0 <-- internally use all the mem0 range
>       cxl sanitize-memdev A1-A2 [B1-B2 C1-C2] <-- sanitize ranges
>       cxl sanitize-memdev -e A1-A2 [B1-B2 C1-C2] <-- error
> 
> ... and perhaps the kernel would need a security/zero as well as a
> security/{sanitize_range,zero_range} set of files.
> 
> Of course the underlying memdev for the specified ranges would still need to be
> offline entirely, just as is now.

  reply	other threads:[~2025-02-18 16:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-28 21:16 [PATCH -ndctl] cxl/memdev: Introduce sanitize-memdev functionality Davidlohr Bueso
2024-09-30 17:36 ` Alison Schofield
2024-09-30 19:29   ` Davidlohr Bueso
2024-09-30 21:39     ` Davidlohr Bueso
2025-02-18 16:34       ` Alison Schofield [this message]
2025-02-18 16:55         ` Davidlohr Bueso
2024-12-10  7:38 ` Yasunori Gotou (Fujitsu)

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=Z7S2e0Bi7OMUviWo@aschofie-mobl2.lan \
    --to=alison.schofield@intel.com \
    --cc=dan.j.williams@intel.com \
    --cc=dave.jiang@intel.com \
    --cc=dave@stgolabs.net \
    --cc=linux-cxl@vger.kernel.org \
    --cc=nvdimm@lists.linux.dev \
    --cc=vishal.l.verma@intel.com \
    --cc=y-goto@fujitsu.com \
    /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