On Tue, Jun 5, 2018 at 5:00 PM, Vishal Verma <vishal.l.ve...@intel.com> wrote: > The ARS status command defines a 'flags' field that wasn't being exposed > via an API yet. Add a new ndctl_cmd_ars_get_flags() helper to retrieve > this field. > > Reported-by: Jacek Zloch <jacek.zl...@intel.com> > Cc: Dan Williams <dan.j.willi...@intel.com> > Signed-off-by: Vishal Verma <vishal.l.ve...@intel.com>
I'm wondering if we should add a 'get' routine for each flag value as to not expose the binary representation of the flags in case they ever change. The hope is that if some other platform added their own ARS-like facility that we would be able to reuse these routines and translate between ACPI and a theoretical Open Firmware implementation, for example. _______________________________________________ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm