All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] Misc VT-d changes
@ 2026-07-29  9:59 Teddy Astie
  2026-07-29  9:59 ` [PATCH 2/5] vtd: Ensure context entry is cleared properly Teddy Astie
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: Teddy Astie @ 2026-07-29  9:59 UTC (permalink / raw)
  To: xen-devel; +Cc: Teddy Astie, Jan Beulich, Andrew Cooper, Roger Pau Monné

[-- Attachment #1: Type: text/plain, Size: 1457 bytes --]

A small series of misc VT-d changes.

The first two sound like a potential security issue (compiler-related),
but not occuring in practice (discussed in security mailing list and
asked to be sent to public).

The 3rd one displays from which IOMMU orginated a fault to help debugging.

The 4th one is a bugfix for machines with unhandled SAGAW (e.g 5-level
pagetable support) to avoid "disabling passthrough" while we were errorneously
disabling the ability to configure Dom0 devices in "passthrough mode".

Last patch moves the intremap table to xenheap to simplify the logic to access
the entries and make it less error-prone.

No intended functionnal changes.

CI: https://gitlab.com/xen-project/people/tsnake41/xen/-/pipelines/2714830581

Teddy Astie (5):
  vtd: Ensure root entry is updated consistently
  vtd: Ensure context entry is cleared properly
  vtd: Print originating iommu on faults
  vtd: Don't disable hwdom passthrough on unhandled SAGAW bits
  vtd: Move intremap table to xenheap

 xen/drivers/passthrough/vtd/intremap.c | 61 +++++++++-----------------
 xen/drivers/passthrough/vtd/iommu.c    | 38 ++++++++--------
 xen/drivers/passthrough/vtd/iommu.h    | 16 +------
 xen/drivers/passthrough/vtd/utils.c    | 22 +++-------
 4 files changed, 45 insertions(+), 92 deletions(-)

-- 
2.54.0



--
Teddy Astie | Vates XCP-ng Developer

XCP-ng & Xen Orchestra - Vates solutions

web: https://vates.tech

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2026-08-05 13:04 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-29  9:59 [PATCH 0/5] Misc VT-d changes Teddy Astie
2026-07-29  9:59 ` [PATCH 2/5] vtd: Ensure context entry is cleared properly Teddy Astie
2026-08-04 16:04   ` Jan Beulich
2026-07-29  9:59 ` [PATCH 3/5] vtd: Print originating iommu on faults Teddy Astie
2026-08-05  9:31   ` Jan Beulich
2026-07-29  9:59 ` [PATCH 4/5] vtd: Don't disable hwdom passthrough on unhandled SAGAW bits Teddy Astie
2026-08-05  9:41   ` Jan Beulich
2026-07-29  9:59 ` [PATCH 5/5] vtd: Move intremap table to xenheap Teddy Astie
2026-08-05  9:44   ` Jan Beulich
2026-08-05 10:06     ` Andrew Cooper
2026-08-05 12:42       ` Teddy Astie
2026-07-29 10:05 ` [RESEND PATCH 1/5] vtd: Ensure root entry is updated consistently Teddy Astie
2026-08-04 15:58   ` Jan Beulich
2026-08-05 13:03     ` Teddy Astie

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.