All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Liu, Jingqi" <jingqi.liu@intel.com>
To: Joao Martins <joao.m.martins@oracle.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 09:16:02 +0800	[thread overview]
Message-ID: <6b809ac5-1251-c80e-bbf6-82aa47333c1b@intel.com> (raw)
In-Reply-To: <7de3eccb-f0b4-a858-2fc4-addfc7b198aa@oracle.com>

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".

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


  reply	other threads:[~2020-04-08  1:17 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 [this message]
2020-04-08  9:28         ` Joao Martins
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=6b809ac5-1251-c80e-bbf6-82aa47333c1b@intel.com \
    --to=jingqi.liu@intel.com \
    --cc=dan.j.williams@intel.com \
    --cc=joao.m.martins@oracle.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.