dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Benjamin Leggett <benjamin@edera.io>
To: sashiko-reviews@lists.linux.dev
Cc: dri-devel@lists.freedesktop.org
Subject: Re: [PATCH] drm/virtio: use the DMA API for resource backing on Xen
Date: Thu, 06 Aug 2026 22:55:16 -0400	[thread overview]
Message-ID: <875x1m8wrv.fsf@edera.io> (raw)
In-Reply-To: <20260806231002.27B4D1F000E9@smtp.kernel.org>

sashiko-bot@kernel.org writes:

> [Severity: High]
> This is a pre-existing issue, but while enabling the DMA API for Xen PV
> domains, does this leave guest-bound transfers vulnerable to data corruption
> with SWIOTLB bounce buffers?

Yep, preexisting issue, but not reachable via plain `virtio-vga`.

Only reachable, AFAICT, if `has_virgl_3d` is enabled. The missing `_for_cpu`` sync
is pre-existing since 8f44ca223345 and pretty orthogonal to this change.

A correct fix most likely belongs in the completion path rather than at submission,
anyway, so I’m not sure it makes a lot of sense to include in this patch.

Happy to do that in a followup/separate patch, if requested.

Ben

  parent reply	other threads:[~2026-08-07  2:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-06 22:54 [PATCH] drm/virtio: use the DMA API for resource backing on Xen Benjamin Leggett via B4 Relay
2026-08-06 23:10 ` sashiko-bot
2026-08-06 23:53   ` Benjamin Leggett
2026-08-07  2:55   ` Benjamin Leggett [this message]
2026-08-11 15:49 ` Dmitry Osipenko
2026-08-14 13:41 ` Dmitry Osipenko
2026-08-18 17:48   ` Benjamin Leggett

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=875x1m8wrv.fsf@edera.io \
    --to=benjamin@edera.io \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=sashiko-reviews@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox