diff options
| author | Alejandro Jimenez <alejandro.j.jimenez@oracle.com> | 2025-09-19 21:35:08 +0000 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2025-10-05 16:13:01 -0400 |
| commit | cb906e6f69d9ac7de819ad83a0e8a89d836a6bb8 (patch) | |
| tree | ac0099e3fba73d89d4735b2d7fc87794cbd824d9 /include/standard-headers/linux/input-event-codes.h | |
| parent | b6a59a2ebf13df35370440b63ea1b8cf0f06435b (diff) | |
| download | focaccia-qemu-cb906e6f69d9ac7de819ad83a0e8a89d836a6bb8.tar.gz focaccia-qemu-cb906e6f69d9ac7de819ad83a0e8a89d836a6bb8.zip | |
amd_iommu: Toggle memory regions based on address translation mode
Enable the appropriate memory region for an address space depending on the address translation mode selected for it. This is currently based on a generic x86 IOMMU property, and only done during the address space initialization. Extract the code into a helper and toggle the regions based on whether the specific address space is using address translation (via the newly introduced addr_translation field). Later, region activation will also be controlled by availability of DMA remapping capability (via dma-remap property to be introduced in follow up changes). Signed-off-by: Alejandro Jimenez <alejandro.j.jimenez@oracle.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Message-ID: <20250919213515.917111-16-alejandro.j.jimenez@oracle.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/standard-headers/linux/input-event-codes.h')
0 files changed, 0 insertions, 0 deletions