From: Joao Martins <joao.m.martins@oracle.com>
To: "Liu, Jingqi" <jingqi.liu@intel.com>,
Paolo Bonzini <pbonzini@redhat.com>,
Dan Williams <dan.j.williams@intel.com>
Cc: qemu-devel@nongnu.org, Richard Henderson <rth@twiddle.net>
Subject: Re: [PATCH] exec: fetch the alignment of Linux devdax pmem character device nodes
Date: Wed, 8 Apr 2020 10:28:35 +0100 [thread overview]
Message-ID: <9a001cb3-a81c-2c42-b957-5b841686672e@oracle.com> (raw)
In-Reply-To: <6b809ac5-1251-c80e-bbf6-82aa47333c1b@intel.com>
On 4/8/20 2:16 AM, Liu, Jingqi wrote:
> On 4/7/2020 11:51 PM, Joao Martins wrote:
>> On 4/7/20 3:31 PM, Paolo Bonzini wrote:
>>> On 07/04/20 12:59, Joao Martins wrote:
>>>> Perhaps, you meant instead:
>>>>
>>>> /sys/dev/char/%d:%d/align
>>>>
>>>> ?
>>>>
> Hi Joao,
>
> In my machine with real NVDIMM, the devdax device is as follows:
>
> $ ll /dev/dax0.0
> crw------- 1 root root 250, 6 3月 25 15:16 /dev/dax0.0
>
> $ ls /sys/dev/char/250\:6/align
> ls: cannot access '/sys/dev/char/250:6/align': No such file or directory
>
> $ ls /sys/dev/char/250\:6/device/align
>
> /sys/dev/char/250:6/device/align
>
> So:
> The file of "/sys/dev/char/%d:%d/align" does not exist.
> It should be "/sys/dev/char/%d:%d/device/align".
>
The 'align' (without the ../) was my mistake as I was testing with other wip
patches.
Albeit, still retain my comment to 'device/align' as it is relying on an
deprecated path, so perhaps we should look other alternatives.
I had the deprecated dax class disabled (DEV_DAX_PMEM_COMPAT=n), and 'device'
does not exist on that cases.
> Anyone has a real NVDIMM can help double check. Thanks.
>
> Hi Dan,
>
> You may have a real NVDIMM, in what directory is the 'align' file ?
>
> Thanks,
>
> Jingqi
>
>>> So it works with that change?
>> Yeah.
>>
>> Joao
next prev parent reply other threads:[~2020-04-08 9:30 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-01 3:13 [PATCH] exec: fetch the alignment of Linux devdax pmem character device nodes Jingqi Liu
2020-04-07 7:29 ` Liu, Jingqi
2020-04-07 8:08 ` Paolo Bonzini
2020-04-07 8:16 ` Dan Williams
2020-04-07 11:42 ` Joao Martins
2020-04-07 8:39 ` Liu, Jingqi
2020-04-07 10:59 ` Joao Martins
2020-04-07 14:31 ` Paolo Bonzini
2020-04-07 15:51 ` Joao Martins
2020-04-08 1:16 ` Liu, Jingqi
2020-04-08 9:28 ` Joao Martins [this message]
2020-04-07 16:55 ` Dan Williams
2020-04-07 18:28 ` Joao Martins
2020-04-07 18:29 ` Paolo Bonzini
2020-04-08 2:25 ` Liu, Jingqi
2020-04-08 9:42 ` Joao Martins
2020-04-09 14:33 ` Liu, Jingqi
2020-04-09 16:46 ` Dan Williams
2020-04-09 17:02 ` Paolo Bonzini
2020-04-10 1:48 ` Liu, Jingqi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9a001cb3-a81c-2c42-b957-5b841686672e@oracle.com \
--to=joao.m.martins@oracle.com \
--cc=dan.j.williams@intel.com \
--cc=jingqi.liu@intel.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=rth@twiddle.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).