diff options
| author | Alejandro Jimenez <alejandro.j.jimenez@oracle.com> | 2025-09-19 21:35:12 +0000 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2025-10-05 16:13:02 -0400 |
| commit | f6b5644c90847a9a7b9d2926556e1e71c4d1c797 (patch) | |
| tree | 36523ce4b908a1527d843d88059f54193e3d6b2a /scripts/lib/kdoc/kdoc_parser.py | |
| parent | a9721c5d80ff23a018f40cc3693678a60630c659 (diff) | |
| download | qemu-f6b5644c90847a9a7b9d2926556e1e71c4d1c797.zip qemu-f6b5644c90847a9a7b9d2926556e1e71c4d1c797.tar.gz qemu-f6b5644c90847a9a7b9d2926556e1e71c4d1c797.tar.bz2 | |
amd_iommu: Do not assume passthrough translation when DTE[TV]=0
The AMD I/O Virtualization Technology (IOMMU) Specification (see Table
8: V, TV, and GV Fields in Device Table Entry), specifies that a DTE
with V=1, TV=0 does not contain a valid address translation information.
If a request requires a table walk, the walk is terminated when this
condition is encountered.
Do not assume that addresses for a device with DTE[TV]=0 are passed
through (i.e. not remapped) and instead terminate the page table walk
early.
Fixes: d29a09ca6842 ("hw/i386: Introduce AMD IOMMU")
Signed-off-by: Alejandro Jimenez <alejandro.j.jimenez@oracle.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Message-ID: <20250919213515.917111-20-alejandro.j.jimenez@oracle.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions
