From: Igor Mammedov <imammedo@redhat.com>
To: Robert Hoo <robert.hu@linux.intel.com>
Cc: xiaoguangrong.eric@gmail.com, mst@redhat.com,
jingqi.liu@intel.com, qemu-devel@nongnu.org, ani@anisinha.ca,
robert.hu@intel.com, dan.j.williams@intel.com
Subject: Re: [PATCH 0/2] Init vNVDIMM LSA if applicable
Date: Thu, 31 Mar 2022 14:03:25 +0200 [thread overview]
Message-ID: <20220331140325.5fc23fd8@redhat.com> (raw)
In-Reply-To: <1648537663-126032-1-git-send-email-robert.hu@linux.intel.com>
On Tue, 29 Mar 2022 15:07:41 +0800
Robert Hoo <robert.hu@linux.intel.com> wrote:
> QEMU option "-device nvdimm,...,label-size=" designates a vNVDIMM with
> Label Storage Area (LSA), where stores the namespace labels and conforms to
> some format and rules defined by NVDIMM label protocol[1].
>
> Recent guest Kernel, will by validating LSA to determine if the NVDIMM is
> label-capable. So without initialization, guest Kernel will judge it
> label-less, though it actually support label.
>
> This patch set, is to init vNVDIMM's LSA, so that guest Kernel can
> correctly identify and use it.
>
> [1]:
> https://uefi.org/sites/default/files/resources/ACPI_Spec_6_4_Jan22.pdf,
> Section 13.19.
perhaps there is a typo here,
In above spec, chapter 13 is "ACPI SYSTEM MANAGEMENT BUS INTERFACE SPECIFICATION"
and there is only 13.1-13.3 there.
>
> Robert Hoo (2):
> NVDIMM: rename NVDIMM::label_size to NVDIMM::lsa_size
> NVDIMM: Init vNVDIMM's LSA index block if it hasn't been
>
> docs/nvdimm.txt | 4 +-
> hw/acpi/nvdimm.c | 14 +-
> hw/mem/nvdimm.c | 381 ++++++++++++++++++++++++++++++++++++++--
> include/hw/mem/nvdimm.h | 108 +++++++++++-
> 4 files changed, 485 insertions(+), 22 deletions(-)
>
>
> base-commit: 27fc9f365d6f60ff86c2e2be57289bb47a2be882
next prev parent reply other threads:[~2022-03-31 12:18 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-29 7:07 [PATCH 0/2] Init vNVDIMM LSA if applicable Robert Hoo
2022-03-29 7:07 ` [PATCH 1/2] NVDIMM: rename NVDIMM::label_size to NVDIMM::lsa_size Robert Hoo
2022-03-29 7:07 ` [PATCH 2/2] NVDIMM: Init vNVDIMM's LSA index block if it hasn't been Robert Hoo
2022-03-31 12:09 ` Igor Mammedov
2022-03-31 13:08 ` Robert Hoo
2022-03-31 14:41 ` Igor Mammedov
2022-04-01 4:07 ` Robert Hoo
2022-04-01 8:54 ` Igor Mammedov
2022-03-31 12:03 ` Igor Mammedov [this message]
2022-03-31 13:03 ` [PATCH 0/2] Init vNVDIMM LSA if applicable Robert Hoo
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=20220331140325.5fc23fd8@redhat.com \
--to=imammedo@redhat.com \
--cc=ani@anisinha.ca \
--cc=dan.j.williams@intel.com \
--cc=jingqi.liu@intel.com \
--cc=mst@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=robert.hu@intel.com \
--cc=robert.hu@linux.intel.com \
--cc=xiaoguangrong.eric@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.