diff options
author | Alejandro Jimenez <alejandro.j.jimenez@oracle.com> | 2025-06-17 15:04:22 +0000 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2025-07-14 09:16:40 -0400 |
commit | ff3dcb3bf652912466dcc1cd10d3267f185c212e (patch) | |
tree | 197b2634e9f1f4815ea3a1ebdc295402e3691f4b /rust/qemu-api | |
parent | c63b8d1425ba8b3b08ee4f7346457fd8a7f12a24 (diff) | |
download | qemu-ff3dcb3bf652912466dcc1cd10d3267f185c212e.zip qemu-ff3dcb3bf652912466dcc1cd10d3267f185c212e.tar.gz qemu-ff3dcb3bf652912466dcc1cd10d3267f185c212e.tar.bz2 |
amd_iommu: Update bitmasks representing DTE reserved fields
The DTE validation method verifies that all bits in reserved DTE fields are
unset. Update them according to the latest definition available in AMD I/O
Virtualization Technology (IOMMU) Specification - Section 2.2.2.1 Device
Table Entry Format. Remove the magic numbers and use a macro helper to
generate bitmasks covering the specified ranges for better legibility.
Note that some reserved fields specify that events are generated when they
contain non-zero bits, or checks are skipped under certain configurations.
This change only updates the reserved masks, checks for special conditions
are not yet implemented.
Cc: qemu-stable@nongnu.org
Signed-off-by: Alejandro Jimenez <alejandro.j.jimenez@oracle.com>
Reviewed-by: Vasant Hegde <vasant.hegde@amd.com>
Message-Id: <20250617150427.20585-4-alejandro.j.jimenez@oracle.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'rust/qemu-api')
0 files changed, 0 insertions, 0 deletions