summary refs log tree commit diff stats
path: root/python/scripts
diff options
context:
space:
mode:
authorSairaj Kodilkar <sarunkod@amd.com>2025-08-01 11:35:04 +0530
committerMichael S. Tsirkin <mst@redhat.com>2025-08-01 10:23:50 -0400
commita7842d94067cddc80b47ac42fb6e49e2fc02a3c5 (patch)
tree61381976f8e88aa28e5b4ebe830ec1d7ee41bf3d /python/scripts
parent47d50cc421b832650822d73431d920bb8a80bc38 (diff)
downloadfocaccia-qemu-a7842d94067cddc80b47ac42fb6e49e2fc02a3c5.tar.gz
focaccia-qemu-a7842d94067cddc80b47ac42fb6e49e2fc02a3c5.zip
hw/i386/amd_iommu: Move IOAPIC memory region initialization to the end
Setting up IOAPIC memory region requires mr_sys and mr_ir. Currently
these two memory regions are setup after the initializing the IOAPIC
memory region, which cause `amdvi_host_dma_iommu()` to use unitialized
mr_sys and mr_ir.

Move the IOAPIC memory region initialization to the end in order to use
the mr_sys and mr_ir regions after they are fully initialized.

Fixes: 577c470f4326 ("x86_iommu/amd: Prepare for interrupt remap support")
Signed-off-by: Sairaj Kodilkar <sarunkod@amd.com>
Reviewed-by: Vasant Hegde <vasant.hegde@amd.com>
Message-Id: <20250801060507.3382-4-sarunkod@amd.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'python/scripts')
0 files changed, 0 insertions, 0 deletions