Re: [PATCH v2] libnvdimm, nd_blk: mask off reserved status bits

2016-08-08 Thread Dan Williams
On Mon, Aug 8, 2016 at 12:10 PM, Ross Zwisler wrote: > On Tue, Aug 02, 2016 at 12:26:53PM -0600, Ross Zwisler wrote: >> The "NVDIMM Block Window Driver Writer's Guide": >> >> http://pmem.io/documents/ >> http://pmem.io/documents/NVDIMM_DriverWritersGuide-July-2016.pdf >> >> defines the layout of t

Re: [PATCH v2] libnvdimm, nd_blk: mask off reserved status bits

2016-08-08 Thread Ross Zwisler
On Tue, Aug 02, 2016 at 12:26:53PM -0600, Ross Zwisler wrote: > The "NVDIMM Block Window Driver Writer's Guide": > > http://pmem.io/documents/ > http://pmem.io/documents/NVDIMM_DriverWritersGuide-July-2016.pdf > > defines the layout of the block window status register. For the July 2016 > versio

[PATCH v2] libnvdimm, nd_blk: mask off reserved status bits

2016-08-02 Thread Ross Zwisler
The "NVDIMM Block Window Driver Writer's Guide": http://pmem.io/documents/ http://pmem.io/documents/NVDIMM_DriverWritersGuide-July-2016.pdf defines the layout of the block window status register. For the July 2016 version of the spec linked to above, this happens in Figure 4 on page 26. The onl