diff options
author | Sairaj Kodilkar <sarunkod@amd.com> | 2025-08-01 11:35:05 +0530 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2025-08-01 10:23:50 -0400 |
commit | 47d3b32d6fb1c6ec8afb78d12d2420dbbb4c3499 (patch) | |
tree | 5d1cb126c8b542073bab7ecfd56797d0fbc6063e /scripts/tracetool/backend/syslog.py | |
parent | a7842d94067cddc80b47ac42fb6e49e2fc02a3c5 (diff) | |
download | qemu-47d3b32d6fb1c6ec8afb78d12d2420dbbb4c3499.zip qemu-47d3b32d6fb1c6ec8afb78d12d2420dbbb4c3499.tar.gz qemu-47d3b32d6fb1c6ec8afb78d12d2420dbbb4c3499.tar.bz2 |
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 'scripts/tracetool/backend/syslog.py')
0 files changed, 0 insertions, 0 deletions