Page MenuHomeSolus

AMD IOMMU Kernel Config Fixes
Closed, ResolvedPublic


I'm trying to test ROCm OpenCL on Lenovo Laptop with Ryzen APU. For this, IOMMU needs to work. Current dmesg output is

[    1.375699] pci 0000:00:00.2: AMD-Vi: Unable to read/write to IOMMU perf counter.
[    1.377241] pci 0000:00:00.2: AMD-Vi: Found IOMMU cap 0x40

Booting from OpenSUSE USB stick gave the correct output (and also a post in Gentoo Forum stated this)

pci 0000:00:00.2: AMD-Vi: IOMMU performance counters supported
pci 0000:00:00.2: AMD-Vi: Found IOMMU cap 0x40
perf/amd_iommu: Detected AMD IOMMU #0 (2 banks, 4 counters/bank).

Comparing Solus, OpenSUSE and Gentoo Kernel config via

less config | grep -E 'USERPTR|ZONE_DEV|HMM|NUMA'

yields two parameters missing in Solus Kernel config:


Would be nice to add those paramaters to the kernel config file. Thank you.

Event Timeline

saitam created this task.Apr 4 2020, 4:24 PM
saitam updated the task description. (Show Details)Apr 4 2020, 4:31 PM
DataDrake renamed this task from Requesting Kernel Config Parameters to AMD IOMMU Kernel Config Fixes.Apr 4 2020, 5:40 PM
DataDrake claimed this task.
DataDrake triaged this task as Normal priority.
DataDrake moved this task from Backlog to Kernel Drivers on the Hardware board.