From: Itaru Kitayama <itaru.kitayama@linux.dev>
To: Alison Schofield <alison.schofield@intel.com>
Cc: linux-cxl@vger.kernel.org
Subject: Re: ndctl cxl test suite fails in arm64 QEMU
Date: Fri, 28 Feb 2025 21:15:03 +0900 [thread overview]
Message-ID: <Z8Gox/nWhijHQUWq@vm4> (raw)
In-Reply-To: <Z75G2UKmx7G59u7P@aschofie-mobl2.lan>
On Tue, Feb 25, 2025 at 02:40:25PM -0800, Alison Schofield wrote:
> On Tue, Feb 25, 2025 at 01:09:57PM +0900, Itaru Kitayama wrote:
> > Hi,
> >
> > Has anyone noticed the ndctl cxl test suite failures I reported below on arm64, QEMU emulation?
> >
> > https://github.com/pmem/ndctl/issues/278
> >
> > I’m using Jonathan’s latest CXL capable QEMU [1], and the latest CXL kernel [2].
>
> Hi Itaru,
>
> Looking at region.c:size_store() it seems that alloc_hpa() is failing.
> (kstrtou64 is arch independent and it works for me with same script &
> value)
alloc_hpa() calls into core kernel codes and ends up with -ERANGE from get_free_mem_region().
Given it is generic kernel core code, not sure at this moment where I should look for.
Thanks,
Itaru.
>
> Check the dmesg log at the time of the failure. alloc_hpa() may be
> emitting a message. (In the run_qemu.sh cmdline add '--cxl-debug')
>
> Sounds like Marc is on to something and maybe the KASLR is known
> to cause this problem.
>
> Thanks for posting to this list and send any further questions or
> comments. Happy to have you using run_qemu.sh and the cxl tests!
>
> Alison
>
>
> >
> > [1] https://gitlab.com/jic23/qemu/ cxl-2025-02-20
> > [2] https://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl.git/
> >
> > Thanks,
> > Itaru.
next prev parent reply other threads:[~2025-03-05 0:54 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-25 4:09 ndctl cxl test suite fails in arm64 QEMU Itaru Kitayama
2025-02-25 17:08 ` Marc Herbert
2025-02-25 22:37 ` Itaru Kitayama
2025-02-25 22:48 ` Alison Schofield
2025-02-25 23:53 ` Itaru Kitayama
2025-02-26 18:45 ` Alison Schofield
2025-02-26 22:07 ` Itaru Kitayama
2025-02-27 0:44 ` Itaru Kitayama
2025-02-27 5:31 ` Itaru Kitayama
2025-02-26 19:30 ` Dave Jiang
2025-02-26 22:04 ` Itaru Kitayama
2025-03-01 0:27 ` Marc Herbert
2025-02-26 8:02 ` Itaru Kitayama
2025-02-25 22:40 ` Alison Schofield
2025-02-28 12:15 ` Itaru Kitayama [this message]
2025-02-28 14:34 ` Itaru Kitayama
2025-03-07 1:44 ` Itaru Kitayama
2025-03-13 9:11 ` Jonathan Cameron
2025-03-25 10:14 ` Itaru Kitayama
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=Z8Gox/nWhijHQUWq@vm4 \
--to=itaru.kitayama@linux.dev \
--cc=alison.schofield@intel.com \
--cc=linux-cxl@vger.kernel.org \
/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.