From: weimin xiong <15927021679@163.com>
To: Jean-Philippe Brucker <jpb@kernel.org>,
Joerg Roedel <joro@8bytes.org>, Will Deacon <will@kernel.org>
Cc: Robin Murphy <robin.murphy@arm.com>,
virtualization@lists.linux.dev, iommu@lists.linux.dev,
linux-kernel@vger.kernel.org,
Xiong Weimin <xiongweimin@kylinos.cn>
Subject: [PATCH v1 0/2] iommu/virtio: Harden event handling
Date: Tue, 14 Jul 2026 10:59:12 +0800 [thread overview]
Message-ID: <20260714025914.193580-1-15927021679@163.com> (raw)
From: Xiong Weimin <xiongweimin@kylinos.cn>
Hi,
This follow-up series hardens virtio-iommu event handling.
It is based on the probe error handling fixes sent earlier:
[PATCH v1 0/2] iommu/virtio: Fix probe error handling
Message-ID: <20260714024949.190014-1-15927021679@163.com>
The first patch makes sure vq->vdev->priv is initialized before
virtqueues can invoke callbacks. The second patch rejects short event
buffers before reading the event contents.
Xiong Weimin (2):
iommu/virtio: Set driver data before enabling virtqueues
iommu/virtio: Reject short event buffers
drivers/iommu/virtio-iommu.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
--
2.43.0
next reply other threads:[~2026-07-14 2:59 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-14 2:59 weimin xiong [this message]
2026-07-14 2:59 ` [PATCH v1 1/2] iommu/virtio: Set driver data before enabling virtqueues weimin xiong
2026-07-22 21:42 ` Will Deacon
2026-07-14 2:59 ` [PATCH v1 2/2] iommu/virtio: Reject short event buffers weimin xiong
2026-07-22 21:41 ` Will Deacon
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=20260714025914.193580-1-15927021679@163.com \
--to=15927021679@163.com \
--cc=iommu@lists.linux.dev \
--cc=joro@8bytes.org \
--cc=jpb@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robin.murphy@arm.com \
--cc=virtualization@lists.linux.dev \
--cc=will@kernel.org \
--cc=xiongweimin@kylinos.cn \
/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
all inboxes | Powered by JetHome®