On 7/22/2022 2:39 PM, Dan Williams wrote:
Eliot Moss wrote:

What concerns me is that it shows "persistence_domain":"memory_controller"
when I think it should show the persistence domain as "cpu_cache", since this
system is supposed to support eADR.

This is determined by:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/acpi/nfit/core.c?h=v5.15#n3022

The first thing to check is whether your ACPI tables have that bit set,
where that flag is coming from this table:

https://uefi.org/specs/ACPI/6.4/05_ACPI_Software_Programming_Model/ACPI_Software_Programming_Model.html#platform-capabilities-structure

You can dump the table with the acpica-tools (acpidump and iasl).  Some
examples of how to extract and disassemble a table is here (see the
usage of iasl in the "how does it work" section):

https://docs.kernel.org/admin-guide/acpi/initrd_table_override.html

I wondered if maybe I needed the very latest version of ndctl for it to print
that, but I cannot build it.  I did my best to obtain the pre-reqs -- they
mostly have different names under Ubunut -- but the first meson command,
"meson setup build" hangs and if I then try the compile step it complains.

ndctl is just packaging up the kernel's sysfs attribute data into JSON.
That data is coming direct from:

/sys/bus/devices/nd/$region/persistence_domain

I am hoping someone here might be able to shed light on how I can verify that
this system does support persistence_domain cpu_cache, or if something needs
to be enabled or turned on, etc.  I have also gotten my Dell sales rep to
contact the Dell product engineers about this, but have not yet heard back.

I can't help on that side, but if you do get a contact I expect the
acpidump result from above will be useful.


Thank you, Dan!  The table in question is, I believe, the NFIT (NVDIMM
Firmware Information Table).  I can see a dump of all 488 bytes of it,
though I am not certain how to pick it apart.  Still, it would seem
that, if this system really *does* support persistence_domain:cpu_cache,
the NFIT is not set up correctly by the vendor.  However, I do wonder,
with technology like this, how much of what's going on lies on Intel's
side in terms of what the P200 boards report and how much on Dell's
side.  How these lower-level pieces go together and are configured lies
beyond my current education :-) ...

I await the Dell engineers' response to my queries.

Regards - Eliot

Reply via email to