Bug 2559096
| Summary: | AMD IOMMU IVMD exclusion ranges become IOMMU_RESV_DIRECT and block VFIO passthrough on ASUS GA403UI | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | César Z. <el_caesar> |
| Component: | kernel | Assignee: | Justin M. Forbes <jforbes> |
| Status: | NEW --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 44 | CC: | acaringi, adscvr, airlied, hans, hpa, jforbes, kernel-maint, linville, masami256, mchehab, nickolasjcarr, ptalbert, steved, suraj.ghimire7 |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | --- | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | --- | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Attachments: | |||
|
Description
César Z.
2026-10-22 15:24:58 UTC
Created attachment 2161953 [details]
Full kernel log from boot reproducing the VFIO failure
Collected immediately after reproducing the VFIO passthrough failure on kernel 7.2.11-200.fc44.x86_64.
Created attachment 2161954 [details]
Decoded ACPI IVRS table from affected system
Decoded ACPI IVRS table from ASUS GA403UI BIOS GA403UI.311. Contains the IVMD type 0x22 entries associated with the 0x97D36000 and 0x97D37000 regions.
Created attachment 2161955 [details]
Filtered libvirt/QEMU/VFIO journal from reproduction
Filtered journal containing the QEMU/libvirt/VFIO messages from the same reproduction attempt
Created attachment 2161956 [details]
virtqemud journal from VFIO reproduction
virtqemud journal collected from the same boot and reproduction attempt.
Created attachment 2161957 [details]
Raw ACPI IVRS table from affected system
Raw ACPI IVRS table corresponding to the decoded ivrs.dsl attachment.
**Additional reproduction on upstream Linux Mainline 7.4.0-rc0** I have now reproduced the complete VFIO failure using an upstream Linux Mainline Vanilla kernel: `7.4.0-0.rc0.261022.7be4bc52.302.vanilla.fc44.x86_64` This test was performed without the proprietary NVIDIA driver. The host GPU was driven by the in-tree `nouveau` driver. The IOMMU group 14 still exposes: ```text 0x0000000097d36000 0x0000000097d37fff direct 0x00000000fee00000 0x00000000feefffff msi 0x000000fd00000000 0x000000ffffffffff reserved ``` After stopping GDM and confirming that no processes were using the DRM devices, I attempted to start the existing Windows 11 VM with both NVIDIA PCI functions configured as `managed='yes'`. The kernel reported: ```text vfio-pci 0000:01:00.0: Firmware has requested this device have a 1:1 IOMMU mapping, rejecting configuring the device without a 1:1 mapping. Contact your platform vendor. ``` The VM failed to start. Libvirt subsequently restored both devices to their original host drivers: ```text 01:00.0 -> nouveau 01:00.1 -> snd_hda_intel ``` This confirms that the issue is reproducible on an upstream Mainline Vanilla kernel and does not depend on the proprietary NVIDIA kernel driver. I have preserved the full kernel log from this reproduction and can test an AMD IOMMU/IVMD patch if provided. Created attachment 2161964 [details]
Full kernel log — VFIO failure reproduced on upstream Linux Mainline 7.4.0-rc0
Complete kernel log captured during a VFIO passthrough failure on Linux Mainline Vanilla 7.4.0-rc0 (7.4.0-0.rc0.261022.7be4bc52.302.vanilla.fc44.x86_64).
The test used the in-tree nouveau driver instead of the proprietary NVIDIA driver.
At 14:15:35, the kernel rejected VFIO assignment of PCI device 0000:01:00.0 because the firmware requires a 1:1 IOMMU mapping.
The VM failed to start, and libvirt successfully restored the GPU and audio functions to their original host drivers.
This reproduces the same failure previously observed on Fedora kernels 7.2.8 and 7.2.11, confirming that the issue also affects upstream Mainline.
|