summary refs log tree commit diff stats
path: root/hw/intc/omap_intc.c
diff options
context:
space:
mode:
authorSairaj Kodilkar <sarunkod@amd.com>2025-08-01 11:35:05 +0530
committerMichael S. Tsirkin <mst@redhat.com>2025-08-01 10:23:50 -0400
commit47d3b32d6fb1c6ec8afb78d12d2420dbbb4c3499 (patch)
tree5d1cb126c8b542073bab7ecfd56797d0fbc6063e /hw/intc/omap_intc.c
parenta7842d94067cddc80b47ac42fb6e49e2fc02a3c5 (diff)
downloadfocaccia-qemu-47d3b32d6fb1c6ec8afb78d12d2420dbbb4c3499.tar.gz
focaccia-qemu-47d3b32d6fb1c6ec8afb78d12d2420dbbb4c3499.zip
hw/i386/amd_iommu: Fix amdvi_write*()
amdvi_write*() function do not preserve the older values of W1C bits in
the MMIO register. This results in all W1C bits set to 0, when guest
tries to reset a single bit by writing 1 to it. Fix this by preserving
W1C bits in the old value of the MMIO register.

Fixes: d29a09ca68428 ("hw/i386: Introduce AMD IOMMU")
Suggested-by: Ethan MILON <ethan.milon@eviden.com>
Signed-off-by: Sairaj Kodilkar <sarunkod@amd.com>
Message-Id: <20250801060507.3382-5-sarunkod@amd.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/intc/omap_intc.c')
0 files changed, 0 insertions, 0 deletions