On Wed, Feb 8, 2017 at 10:19 PM, Yoshimi Ichiyanagi
<[email protected]> wrote:
> Thank you, I could enable DAX PMD suport for HPE NVDIMM modules.
>
> The following ndctl command changed the nvdimm device type
> from "namespace_io_device_type" to "nd_pfn_device_type", right?
Not quite... the namepsace is still namespace_io_device_type, but we
assign it to a nd_pfn_device_type instance. I.e. something like:
echo namespace0.0 > /sys/bus/nd/devices/pfn0.0/namespace
Then when we enable that pfn0.0 device it writes metadata to
namespace0.0 indicating that the kernel should allocate memmap entries
for that address range.
> I did the following:
> ------
> # ndctl create-namespace --reconfig=namespace1.0 --mode=memory --force
> {
> "dev":"namespace1.0",
> "mode":"memory",
> "size":33820770304,
> "uuid":"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX",
> "blockdev":"pmem1"
> }
Yup, looks good.
_______________________________________________
Linux-nvdimm mailing list
[email protected]
https://lists.01.org/mailman/listinfo/linux-nvdimm