Skip to content

support NFIT platform capabilities

Ross Zwisler linux-nvdimm nvdimm qemu-devel 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest4 patches 24 repliesIn review
  2. v31 of 4 patches 0 repliesSuperseded
  3. v24 patches 5 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v13 patches10 repliesSuperseded

Changes in v4 from the cover letter

* Updated the text in docs/nvdimm.txt to make it clear that the value being passed in on the command line in an integer made up of various bit fields. (Rob Elliott)

* Updated the "Highest Valid Capability" byte to be dynamic based on the highest valid bit in the user's input. (Rob Elliott)

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4nvdimm: fix typo in label-size definitionhw/mem/nvdimm.c include/hw/mem/nvdimm.h+2 -20 replies
2/4tests/.gitignore: add entry for generated filetests/.gitignore+1 -03 replies
3/4nvdimm, acpi: support NFIT platform capabilitiesdocs/nvdimm.txt hw/acpi/nvdimm.c hw/i386/pc.c +2 more+105 -417 replies
4/4ACPI testing: test NFIT platform capabilitiestests/acpi-test-data/pc/NFIT.dimmpxm tests/acpi-test-data/q35/NFIT.dimmpxm tests/bios-tables-test.c+1 -10 replies

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by.

PatchStefan HajnocziIgor MammedovEric Blake
1/4R-b R-b
2/4R-b
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v4 thread

Cover letter [qemu PATCH v4 0/4] support NFIT platform capabilities

Changes since v3:
* Updated the text in docs/nvdimm.txt to make it clear that the value being passed in on the command line in an integer made up of various bit fields. (Rob Elliott)

* Updated the "Highest Valid Capability" byte to be dynamic based on the highest valid bit in the user's input. (Rob Elliott)

---

The first 2 patches in this series clean up some things I noticed while coding.

Patch 3 adds support for the new Platform Capabilities Structure, which was added to the NFIT in ACPI 6.2 Errata A. We add a machine command line option "nvdimm-cap":

-machine pc,accel=kvm,nvdimm,nvdimm-cap=2

which allows the user to pass in a value for this structure. When such a value is passed in we will generate the new NFIT subtable.

Patch 4 adds code to the "make check" self test infrastructure so that we generate the new Platform Capabilities Structure, and adds it to the expected NFIT output so that we test for it.

Ross Zwisler (4):
nvdimm: fix typo in label-size definition tests/.gitignore: add entry for generated file nvdimm, acpi: support NFIT platform capabilities ACPI testing: test NFIT platform capabilities

 docs/nvdimm.txt                       |  27 ++++++++++++++++++++
 hw/acpi/nvdimm.c                      |  45 +++++++++++++++++++++++++++++++---
 hw/i386/pc.c                          |  31 +++++++++++++++++++++++
 hw/mem/nvdimm.c                       |   2 +-
 include/hw/i386/pc.h                  |   1 +
 include/hw/mem/nvdimm.h               |   7 +++++-
 tests/.gitignore                      |   1 +
 tests/acpi-test-data/pc/NFIT.dimmpxm  | Bin 224 -> 240 bytes
 tests/acpi-test-data/q35/NFIT.dimmpxm | Bin 224 -> 240 bytes
 tests/bios-tables-test.c              |   2 +-
 10 files changed, 109 insertions(+), 7 deletions(-)
Signature · 6 lines
2.14.3

_______________________________________________
Linux-nvdimm mailing list
[email protected]
https://lists.01.org/mailman/listinfo/linux-nvdimm