On Thu, Mar 21, 2019 at 7:09 PM Dexuan Cui <de...@microsoft.com> wrote: [..] > > That way if the user enters any of the unsupported options, they will > > just fail normally, and the user will be expected to provide the right > > options for the environment they know they're running in. > > When the user enters any of the unsupported options, they will only > get an "no dimms to monitor" error, which gives no hint why the > error happens, and confuses the user...
For the monitor it should be ok to specify options and thresholds that the DIMM does not support. The events simply won't fire. Now if the user cares to know which events are supported / live we can add "list" enumeration interface for that, but I otherwise think monitor should just silently handle unsupported monitor options. _______________________________________________ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm