I have an AM5 motherboard with X670E chipset. Although their performance is great, the way AMD has implemented the chipset, results in big IOMMU groups, making device pass-through really tricky.
I am using Fedora 42 with kernel-6.17.5-200.fc42.x86_64
I googled for info how to install the ACS patch, and found this:
sudo dnf copr enable jlay/kernel-acspatch
sudo dnf install kernel-acspatch kernel-acspatch-devel
But when I run the first command I am getting this message:
https://copr.fedorainfracloud.org/api_3/rpmrepo/jlay/kernel-acspatch/fedora-42/
Chroot not found in the given Copr project (fedora-42-x86_64).
You can choose one of the available chroots explicitly:
epel-7-x86_64
epel-8-x86_64
I found out that these are older versions and there isn’t available for my version.
So, next step was to try and recompile myself.
I followed these steps:
koji download-build --arch=src kernel-6.17.5-200.fc42.x86_64
rpm -ivh kernel-6.17.5-*.src.rpm
cd ~/rpmbuild/SPECS
sudo dnf builddep kernel.speccurl -o ~/rpmbuild/SOURCES/add-acs-override.patch
https://raw.githubusercontent.com/some-natalie/fedora-acs-override/main/acs/add-acs-override.patchEdit
~/rpmbuild/SPECS/kernel.specand add near the top:#ACS override patch
Patch1000: add-acs-override.patchInstall the built RPMs from ~/rpmbuild/RPMS/x86_64/
rpmbuild -bb --without debug --without debuginfo kernel.spec
However this resulted in tens of errors, mostly file/directory not found.
Anybody has any reliable guide that I can follow to make it work?
Or any other solution?