parndt/kernel-acspatch

( forked from jlay/kernel-acspatch )

Project ID: 22606

Description

4.20.1+ kernel with add-acs-overrides patch from Arch AUR:

AUR linux-vfio

add-acs-overrides.patch

NOTE: 5.1.7 -> 5.3.x also contains this patch: https://forum.manjaro.org/t/solved-agesa-0-0-7-2-based-bios-update-broke-iommu-redirection/88909/9

Installation Instructions

1 Enable the repository:

dnf copr enable parndt/kernel-acspatch

2 Add pci_acs_override= to GRUB_CMDLINE_LINUX as necessary in /etc/sysconfig/grub

pci_acs_override notes

pcie_acs_override = [PCIE] Override missing PCIe ACS support for: downstream All downstream ports - full ACS capabilties multifunction All multifunction devices - multifunction ACS subset id:nnnn:nnnn Specfic device - full ACS capabilities Specified as vid:did (vendor/device ID) in hex

Here is my full GRUB_CMDLINE_LINUX in /etc/sysconfig/grub for reference:

GRUB_CMDLINE_LINUX="rd.lvm.lv=fedora/root rd.lvm.lv=fedora/swap rhgb quiet iommu=pt amd_iommu=on pcie_acs_override=downstream,multifunction,id:1022:43c7 rd.driver.pre=vfio-pci pci=noaer"

I specify many (and possibly redundant) options for pci_acs_override (downstream,multifunction,id=1022:43c7) - not all of them may be necessary. Setting pcie_acs_override=downstream alone may be sufficient.

If using id=, you should provide the ID for the PCI-e bridge device connected to the PCI-e device you want in another IOMMU group. In my example above, I provide the ID for the PCI-e bridge connected to my third GPU so that it is assigned a new IOMMU group and can be passed to a VM (VFIO):

3 Install the updated kernel:

dnf update kernel --refresh

Active Releases

The following unofficial repositories are provided as-is by owner of this project. Contact the owner directly for bugs or issues (IE: not bugzilla).

Release Architectures Repo Download

* Total number of downloaded packages.


Quick Enable

#> dnf copr enable parndt/kernel-acspatch
More info about enabling Copr repositories

Other Actions