Bug 2229133 - Backport some virtio-iommu and smmu fixes
Summary: Backport some virtio-iommu and smmu fixes
Keywords:
Status: VERIFIED
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: qemu-kvm
Version: 9.3
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Eric Auger
QA Contact: jinl
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-08-04 09:58 UTC by Eric Auger
Modified: 2023-08-16 01:42 UTC (History)
6 users (show)

Fixed In Version: qemu-kvm-8.0.0-11.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-164528 0 None None None 2023-08-04 09:59:09 UTC

Description Eric Auger 2023-08-04 09:58:41 UTC
This BZ to track the backport of the following fixes:

c6445544d4  hw/arm/smmu: Handle big-endian hosts correctly
cf2f89edf3  hw/virtio-iommu: Fix potential OOB access in virtio_iommu_handle_command()
1084feddc6  virtio-iommu: Standardize granule extraction and formatting

Comment 2 Eric Auger 2023-08-04 15:30:05 UTC
request-evaluation

Comment 6 jinl 2023-08-10 09:49:02 UTC
Test with host
qemu-kvm-8.0.0-11.el9
5.14.0-350.el9.x86_64

Regression test pass for virtio-iommu on x86

RESULTS    : PASS 85 | ERROR 0 | FAIL 0 | SKIP 1 | WARN 0 | INTERRUPT 0 | CANCEL 0
JOB HTML   : /home/kar/workspace/job-results/job-2023-08-10T00.48-96b7b66/results.html
JOB TIME   : 16792.40 s

Comment 7 Yanan Fu 2023-08-10 11:18:39 UTC
QE bot(pre verify): Set 'Verified:Tested,SanityOnly' as gating/tier1 test pass.

Comment 11 Yanghang Liu 2023-08-15 04:47:46 UTC
Test for vfio-vf/vfio-pf: PASS

Test env:
qemu-kvm-8.0.0-11.el9.x86_64
libvirt-9.5.0-5.el9.x86_64
5.14.0-354.el9.x86_64
host CPU model: Skylake-Server-IBRS and EPYC-Milan

Test device:
XL710,XXV710, SFC9220

Test scenario:
start a VM with a PF/VF + virtio iommu device
reboot a VM with a PF/VF + virtio iommu device
shutdown a VM with a PF/VF + virtio iommu device
hotplug a PF/VF into a VM with a virtio iommu device
hotunplug a PF/VF from the VM with a virtio iommu device



Detailed test result:
2023-08-14 18:59:08 | PASS - XL710 PF +  virtio iommu device test
2023-08-15 00:05:23 | PASS - SFC9220 VF +  virtio iommu device test
2023-08-14 19:03:22 | PASS - XXV710 PF +  virtio iommu device test
2023-08-14 19:38:54 | PASS - XXV710 VF +  virtio iommu device test

Comment 12 jinl 2023-08-16 01:42:02 UTC
Based on Comment 6, Comment 10 and Comment 11 set the BZ to verified.


Note You need to log in before you can comment on or make changes to this bug.