d0180f0acb
In the ACPI specification [1], the 'unarmed' bit is set when a device
cannot accept a persistent write. This means that when a memdev is
read-only, the 'unarmed' flag must be turned on. The logic is correct,
just changing the error message.
[1] ACPI NFIT NVDIMM Region Mapping Structure "NVDIMM State Flags" Bit 3
Fixes:
|
||
---|---|---|
.. | ||
cxl_type3.c | ||
Kconfig | ||
memory-device.c | ||
meson.build | ||
npcm7xx_mc.c | ||
nvdimm.c | ||
pc-dimm.c | ||
sparse-mem.c | ||
trace-events | ||
trace.h |