lkml.org 
[lkml]   [2019]   [Jun]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH v3 08/10] device-dax: Add a driver for "hmem" devices
    On Fri, Jun 7, 2019 at 12:54 PM Dave Hansen <dave.hansen@intel.com> wrote:
    >
    > On 6/7/19 12:27 PM, Dan Williams wrote:
    > > This consumes "hmem" devices the producer of "hmem" devices is saved for
    > > a follow-on patch so that it can reference the new CONFIG_DEV_DAX_HMEM
    > > symbol to gate performing the enumeration work.
    >
    > Do these literally show up as /dev/hmemX?

    No, everything shows as daxX.Y character devices across hmem and pmem
    producers. For example:

    # daxctl list -RDu
    [
    {
    "path":"/platform/hmem.1",
    "id":1,
    "size":"4.00 GiB (4.29 GB)",
    "align":2097152,
    "devices":[
    {
    "chardev":"dax1.0",
    "size":"4.00 GiB (4.29 GB)"
    }
    ]
    },
    {
    "path":"/LNXSYSTM:00/LNXSYBUS:00/ACPI0012:00/ndbus0/region2/dax2.1",
    "id":2,
    "size":"125.01 GiB (134.23 GB)",
    "align":2097152,
    "devices":[
    {
    "chardev":"dax2.0",
    "size":"125.01 GiB (134.23 GB)"
    }
    ]
    },
    {
    "path":"/platform/hmem.0",
    "id":0,
    "size":"4.00 GiB (4.29 GB)",
    "align":2097152,
    "devices":[
    {
    "chardev":"dax0.0",
    "size":"4.00 GiB (4.29 GB)"
    }
    ]
    }
    ]

    \
     
     \ /
      Last update: 2019-06-07 22:08    [W:5.161 / U:0.120 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site