From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ot1-x342.google.com (mail-ot1-x342.google.com [IPv6:2607:f8b0:4864:20::342]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id B86AA21290DEE for ; Fri, 7 Jun 2019 13:07:41 -0700 (PDT) Received: by mail-ot1-x342.google.com with SMTP id p4so3016201oti.0 for ; Fri, 07 Jun 2019 13:07:41 -0700 (PDT) MIME-Version: 1.0 References: <155993563277.3036719.17400338098057706494.stgit@dwillia2-desk3.amr.corp.intel.com> <155993567538.3036719.16306480832003017141.stgit@dwillia2-desk3.amr.corp.intel.com> In-Reply-To: From: Dan Williams Date: Fri, 7 Jun 2019 13:07:30 -0700 Message-ID: Subject: Re: [PATCH v3 08/10] device-dax: Add a driver for "hmem" devices List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-nvdimm-bounces@lists.01.org Sender: "Linux-nvdimm" To: Dave Hansen Cc: X86 ML , kbuild test robot , Ard Biesheuvel , Peter Zijlstra , Dave Hansen , Linux Kernel Mailing List , linux-nvdimm , linux-efi List-ID: On Fri, Jun 7, 2019 at 12:54 PM Dave Hansen 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)" } ] } ] _______________________________________________ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm