qemu-e2k/hw/i386
Wei Huang 18aa91cddd hw/i386/amd_iommu: Fix IOMMU event log encoding errors
Coverity issues several UNINIT warnings against amd_iommu.c [1]. This
patch fixes them by clearing evt before encoding. On top of it, this
patch changes the event log size to 16 bytes per IOMMU specification,
and fixes the event log entry format in amdvi_encode_event().

[1] CID 1487116/1487200/1487190/1487232/1487115/1487258

Reported-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Wei Huang <wei.huang2@amd.com>
Message-Id: <20220422055146.3312226-1-wei.huang2@amd.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Acked-by: Jason Wang <jasowang@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2022-05-16 16:15:40 -04:00
..
kvm
xen
acpi-build.c acpi/cxl: Create the CEDT (9.14.1) 2022-05-13 06:13:36 -04:00
acpi-build.h
acpi-common.c
acpi-common.h
acpi-microvm.c
acpi-microvm.h
amd_iommu.c hw/i386/amd_iommu: Fix IOMMU event log encoding errors 2022-05-16 16:15:40 -04:00
amd_iommu.h
e820_memory_layout.c
e820_memory_layout.h
fw_cfg.c
fw_cfg.h
generic_event_device_x86.c
intel_iommu_internal.h intel-iommu: block output address in interrupt address range 2022-05-16 04:38:40 -04:00
intel_iommu.c intel-iommu: update iq_dw during post load 2022-05-16 04:38:40 -04:00
Kconfig
kvmvapic.c
meson.build
microvm-dt.c
microvm-dt.h
microvm.c hw/i386: Make pic a property of common x86 base machine type 2022-05-16 16:15:40 -04:00
multiboot.c
multiboot.h
pc_piix.c hw/i386: Make pic a property of common x86 base machine type 2022-05-16 16:15:40 -04:00
pc_q35.c hw/i386: Make pic a property of common x86 base machine type 2022-05-16 16:15:40 -04:00
pc_sysfw_ovmf-stubs.c
pc_sysfw_ovmf.c
pc_sysfw.c
pc.c hw/i386: Make pit a property of common x86 base machine type 2022-05-16 16:15:40 -04:00
port92.c
sgx-epc.c
sgx-stub.c
sgx.c
trace-events
trace.h
vmmouse.c
vmport.c
x86-iommu-stub.c
x86-iommu.c
x86.c hw/i386: Make pic a property of common x86 base machine type 2022-05-16 16:15:40 -04:00