[PATCH v8 10/10] nvdimm: Add ioctl to return command mask.