Skip to contentSkip to conversation

Linux kernel 4.10.0 iommu attribute read error

DPDK/testpmd Bug 1651 [email protected] 1 participant 2 messages Feb 3, 2025 – Feb 7, 2025

lore
Share & tools
lore
#0 lore raw

https://bugs.dpdk.org/show_bug.cgi?id=1651

Bug ID: 1651
Summary: Linux kernel 4.10.0 iommu attribute read error
Product: DPDK
Version: unspecified
Hardware: All
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: testpmd
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---

When VT-d is enabled (iommu=pt intel_iommu=on), reading IOMMU attributes from /sys/devices/virtual/iommu/dmarXXX/intel-iommu/cap on Linux kernel 4.10.0 error. This bug is fixed in Linux commit a7fdb6e648fb, This bug is introduced in Linux commit 39ab9555c241,

Implication:
When binding devices to VFIO and attempting to run testpmd application, testpmd (and other DPDK applications) will not initialize.

Resolution/Workaround:
Use other linux kernel version. It only happens in linux kernel 4.10.0.

Affected Environment/Platform:
ALL OS of linux kernel 4.10.0.

Driver/Module:
vfio-pci module.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#1 lore raw

https://bugs.dpdk.org/show_bug.cgi?id=1651

Kevin Traynor ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

                 CC|                            |[email protected]
         Resolution|---                         |WONTFIX
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #2 from Kevin Traynor ([email protected]) ---
This issue originates to DPDK v18.05 and Linux Kernel 4.10. Neither of these are still maintained so will close. Thank you for logging the issue.

http://core.dpdk.org/roadmap/#stable
https://www.kernel.org/releases.html

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.