archive mirror
 help / color / mirror / Atom feed
From: Michael Ellerman <>
To: Vaibhav Jain <>,,
Cc: Michael Ellerman <>,
	"Aneesh Kumar K . V" <>,
	Shivaprasad G Bhat <>
Subject: Re: [PATCH] powerpc/papr_scm: Mark nvdimm as unarmed if needed during probe
Date: Fri, 30 Apr 2021 00:01:27 +1000	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

On Mon, 29 Mar 2021 17:01:03 +0530, Vaibhav Jain wrote:
> In case an nvdimm is found to be unarmed during probe then set its
> NDD_UNARMED flag before nvdimm_create(). This would enforce a
> read-only access to the ndimm region. Presently even if an nvdimm is
> unarmed its not marked as read-only on ppc64 guests.
> The patch updates papr_scm_nvdimm_init() to force query of nvdimm
> health via __drc_pmem_query_health() and if nvdimm is found to be
> unarmed then set the nvdimm flag ND_UNARMED for nvdimm_create().

Applied to powerpc/next.

[1/1] powerpc/papr_scm: Mark nvdimm as unarmed if needed during probe

Linux-nvdimm mailing list --
To unsubscribe send an email to

      parent reply	other threads:[~2021-04-29 14:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-29 11:31 [PATCH] powerpc/papr_scm: Mark nvdimm as unarmed if needed during probe Vaibhav Jain
2021-03-30  5:03 ` Aneesh Kumar K.V
2021-04-29 14:01 ` Michael Ellerman [this message]

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \ \

* 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;
as well as URLs for NNTP newsgroup(s).