From: "Mika Penttilä" <mpenttil@redhat.com>
To: Alexandru Elisei <alexandru.elisei@arm.com>,
Aveline Noir <jm5905938@gmail.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
linux-mm@kvack.org, Ralph Campbell <rcampbell@nvidia.com>,
Jason Gunthorpe <jgg@ziepe.ca>, Leon Romanovsky <leon@kernel.org>,
Shuah Khan <shuah@kernel.org>,
David Hildenbrand <david@kernel.org>,
"Liam R. Howlett" <liam@infradead.org>,
Vlastimil Babka <vbabka@kernel.org>,
Mike Rapoport <rppt@kernel.org>, Michal Hocko <mhocko@suse.com>,
stable@vger.kernel.org
Subject: Re: [PATCH] lib/test_hmm: invalidate all mirrors on device-private migration
Date: Wed, 25 Nov 2026 18:40:12 +0200 [thread overview]
Message-ID: <be640357-419b-4c78-8d96-3c698424ecd8@redhat.com> (raw)
In-Reply-To: <awb5agUP80qz8iss@raptor>
Hi,
On 11/25/26 17:06, Alexandru Elisei wrote:
> Hi,
>
> On Thu, Nov 26, 2026 at 01:25:41AM +1100, Aveline Noir wrote:
>> Hi Alex
>>
>> On Thu, Nov 26, 2026 at 1:15 AM Alexandru Elisei
>> <alexandru.elisei@arm.com> wrote:
>>
>>> Might be something on my side? I'll investigate further, but I'm not very
>>> familiar with the code.
>>
>> I reproduced the same 0 versus 523264 assertion on x86-64 when the separate
>> mm/hmm: account for subpage offsets in device-private PMDs fix was absent.
>> With that fix, the test passed. May you check whether it is in your test tree?
>
> Indeed, I didn't have the patch in my tree, now the test passes!
>
> Tested on a Radxa Orion O6 board (arm64 architecture):
>
> Tested-by: Alexandru Elisei <alexandru.elisei@arm.com>
>
> Thanks,
> Alex
>
Did you run the full selftest?
Without skipping own invalidations the normal migrate to device test fails
( With no skip, migrate_vma_setup()'s invalidation erases the caller's own entries) :
# RUN hmm.hmm_device_private.migrate_fault ...
# hmm-tests.c:1023:migrate_fault:Expected ret (-2) == 0 (0)
# migrate_fault: Test terminated by assertion
# FAIL hmm.hmm_device_private.migrate_fault
not ok 14 hmm.hmm_device_private.migrate_fault
As told I will be sending a proper fix for the two fds invalidaton case as a follow up to my other changes to test.hmm.c
--Mika
next prev parent reply other threads:[~2026-11-25 16:40 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-25 6:53 [PATCH] lib/test_hmm: invalidate all mirrors on device-private migration Andrew Morton
2026-11-25 14:15 ` Alexandru Elisei
2026-11-25 14:25 ` Aveline Noir
2026-11-25 15:06 ` Alexandru Elisei
2026-11-25 16:40 ` Mika Penttilä [this message]
2026-11-26 1:58 ` Aveline Noir
2026-11-26 12:23 ` Alexandru Elisei
2026-11-25 15:06 ` Mika Penttilä
2026-11-25 15:35 ` Aveline Noir
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=be640357-419b-4c78-8d96-3c698424ecd8@redhat.com \
--to=mpenttil@redhat.com \
--cc=akpm@linux-foundation.org \
--cc=alexandru.elisei@arm.com \
--cc=david@kernel.org \
--cc=jgg@ziepe.ca \
--cc=jm5905938@gmail.com \
--cc=leon@kernel.org \
--cc=liam@infradead.org \
--cc=linux-mm@kvack.org \
--cc=mhocko@suse.com \
--cc=rcampbell@nvidia.com \
--cc=rppt@kernel.org \
--cc=shuah@kernel.org \
--cc=stable@vger.kernel.org \
--cc=vbabka@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox