From: sashiko-bot@kernel.org
To: chenglong.ma <longpareto@gmail.com>
Cc: virtualization@lists.linux.dev,
"Michael S. Tsirkin" <mst@redhat.com>,
"Eugenio Perez" <eperezma@redhat.com>
Subject: Re: [PATCH] vduse: don't set VM_IO on the domain file mapping
Date: Wed, 25 Nov 2026 16:12:18 +0000 [thread overview]
Message-ID: <sashiko-outbox-233722@kernel.org> (raw)
In-Reply-To: <20261125160128.796-1-longpareto@gmail.com>
> Commit bb2e6f166547 ("vduse: fix VA/PA confusion in the coherent page fault path")
> set VM_IO on the domain file mapping so that
> vhost_vdpa_va_map() would skip it. Since 99fd6bf43d5d, mm refuses VM_IO
> on mm-managed mappings: mmap() of the domain file fails with a
> WARN_ON_ONCE() and -EINVAL, which breaks VDUSE userspace.
>
> VDUSE is currently broken in 7.4 because of this. Please treat this as
> a hotfix for 7.4.
>
> VM_IO is not needed. vduse_domain_set_map() already rejects vhost-vdpa
> entries backed by the domain file, and the file check in
> vduse_domain_get_coherent_page() keeps any other entry from being
> translated as a physical address. A self-referencing mapping now
> reaches vduse_domain_set_map() and is refused with -EINVAL.
>
> Fixes: bb2e6f166547 ("vduse: fix VA/PA confusion in the coherent page fault path")
> Reported-by: Lorenzo Stoakes (ARM) <ljs@kernel.org>
> Closes: https://lore.kernel.org/r/awWOpS3HR_2FTN3I@gremlin
> Suggested-by: Lorenzo Stoakes (ARM) <ljs@kernel.org>
> Signed-off-by: chenglong.ma <longpareto@gmail.com>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261125160128.796-1-longpareto@gmail.com?part=1
next prev parent reply other threads:[~2026-11-25 16:12 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-25 16:01 [PATCH] vduse: don't set VM_IO on the domain file mapping chenglong.ma
2026-11-25 16:12 ` sashiko-bot [this message]
2026-11-25 16:38 ` Lorenzo Stoakes (ARM)
2026-11-25 18:05 ` Michael S. Tsirkin
2026-11-25 18:34 ` Lorenzo Stoakes (ARM)
2026-11-25 18:06 ` Michael S. Tsirkin
-- strict thread matches above, loose matches on Subject: below --
2026-11-25 15:28 chenglong.ma
2026-11-25 15:39 ` Lorenzo Stoakes (ARM)
2026-11-25 15:42 ` sashiko-bot
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=sashiko-outbox-233722@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=eperezma@redhat.com \
--cc=longpareto@gmail.com \
--cc=mst@redhat.com \
--cc=sashiko-reviews@lists.linux.dev \
--cc=virtualization@lists.linux.dev \
/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.