@markzz
I was doing some testing on linux 4.10, I know it is still in testing there are significant changes.
1. change-default-console-loglevel.patch
This patch has been dropped. https://bbs.archlinux.org/viewtopic.php?id=223686
2. i915-vga-arbiter.patch
Patch is not working.
Hunk #2 FAILS 16370
Problem Child: This is from linux-4.10/drivers/gpu/drm/i915/intel_display.c
void i915_redisable_vga_power_on(struct drm_i915_private *dev_priv)
{
i915_reg_t vga_reg = i915_vgacntrl_reg(dev_priv);
if (!(I915_READ(vga_reg) & VGA_DISP_DISABLE)) {
DRM_DEBUG_KMS("Something enabled VGA plane, disabling it\n");
i915_disable_vga(dev_priv);
}
}
I tried to change to patch to resemble this but it didn't work. So I'm lost. Not sure if it is needed anymore anyways.
3. add-acs-overrides.patch
It seems as if the Documentation in the Linux-4.10/Documentation/ has changed from Documentation/kernel-parameters.txt to Documentation/admin-guide/kernel-parameters.txt. Making this makes the patch pass successfully.
4. Need to update the config config.x86_64 is needed.
Hope this helps thing for the near future. Send me some feedback.
Search Criteria
Package Details: linux-vfio-headers 6.14.2-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/linux-vfio.git (read-only, click to copy) |
---|---|
Package Base: | linux-vfio |
Description: | Headers and scripts for building modules for the Linux kernel (ACS override and i915 VGA arbiter patches) |
Upstream URL: | https://www.kernel.org |
Keywords: | acs arbiter assignment gpu i915 kvm override passthrough pci qemu vfio vga |
Licenses: | GPL-2.0-or-later |
Submitter: | zman0900 |
Maintainer: | xiota |
Last Packager: | xiota |
Votes: | 73 |
Popularity: | 0.000014 |
First Submitted: | 2015-01-30 06:41 (UTC) |
Last Updated: | 2025-04-17 07:56 (UTC) |
Dependencies (16)
- pahole (pahole-gitAUR)
- bc (bc-ghAUR) (make)
- cpio (cpio-gitAUR) (make)
- gettext (gettext-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- graphviz (make)
- imagemagick (imagemagick-gitAUR, imagemagick-full-gitAUR, imagemagick-fullAUR) (make)
- libelf (elfutils-gitAUR) (make)
- pahole (pahole-gitAUR) (make)
- perl (perl-gitAUR) (make)
- python (python37AUR, python311AUR, python310AUR) (make)
- python-sphinx (python-sphinx-gitAUR) (make)
- python-yaml (python-yaml-gitAUR) (make)
- tar (tar-gitAUR) (make)
- texlive-latexextra (texlive-dummyAUR, texlive-installerAUR, texlive-fullAUR) (make)
- xz (xz-gitAUR) (make)
Required by (0)
Sources (7)
- 1001-6.14.0-add-acs-overrides.patch
- 1002-6.14.0-i915-vga-arbiter.patch
- config-6.14.2
- https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.14.2.tar.sign
- https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.14.2.tar.xz
- https://github.com/archlinux/linux/releases/download/v6.14.2-arch1/linux-v6.14.2-arch1.patch.zst
- https://github.com/archlinux/linux/releases/download/v6.14.2-arch1/linux-v6.14.2-arch1.patch.zst.sig
Latest Comments
« First ‹ Previous 1 .. 20 21 22 23 24 25 26 27 28 29 30 .. 32 Next › Last »
jpbd commented on 2017-03-02 08:58 (UTC) (edited on 2017-03-02 09:04 (UTC) by jpbd)
f4bio commented on 2017-02-04 05:53 (UTC)
I updated this package (to v4.9.7) somewhat (no VGA arbiter patch):
https://github.com/f4bio/aur-linux-vfio
(also, my first ever kernel build, feedback would be very much appreciated)
markzz commented on 2017-01-27 16:44 (UTC) (edited on 2017-01-29 20:15 (UTC) by markzz)
Well, this package is normally updated when Arch updates it's version of linux in core. It looks like they have released 4.9.6-1 only hours ago and I haven't had the time to look at it and see if the patches work.
I have been updating the package on my repository along the 4.8.x releases.
EDIT: The patches don't work again so I have to rewrite them again.
simpleauthority commented on 2017-01-27 09:42 (UTC)
Will this continue to be updated? Very useful.
markzz commented on 2016-11-28 16:25 (UTC)
dominicm: Some aur helpers seem to not be able to handle split packages. When it encounters them, they seem to add the packages that are produced multiple times which causes pacman to error. You can see this first hand if you run makepkg on a PKGBUILD then do `pacman -U pkg-ver.pkg.tar.xz pkg-ver.pkg.tar.xz`. Yaourt doesn't do this, but it has an issue that it will build this PKGBUILD three times if you do a `yaourt -Sua` which could get annoying very quickly.
dominicm commented on 2016-11-23 13:58 (UTC)
@soul Thanks, yaourt does indeed work though it's annoying to have to use it just for the kernel. Hopefully someone can shed some light on this issue.
s0ul commented on 2016-11-22 18:30 (UTC)
@dominicm, I had that same issue several times with packer and pacaur but using yaourt -S linux-vfio works as intended. This may not be the solution you want but it's something.
dominicm commented on 2016-11-22 17:57 (UTC)
I am getting duplicate target error after which the kernel is downloaded again and compiled and so on and on. This has happened with the last 5+ releases. Have to install manually which is annoying with frequent updates. Using packer -S to install. Anyone else having this problem?
root Password:
loading packages...
error: 'linux-vfio-headers-4.8.8-1-x86_64.pkg.tar.xz': duplicate target
error: 'linux-vfio-docs-4.8.8-1-x86_64.pkg.tar.xz': duplicate target
markzz commented on 2016-10-23 18:32 (UTC)
I have updated the package on my repository to 4.8.4. If you want to build this yourself, since the patches needed to be redone in order for it to work, I have uploaded a source package for anyone to use [1]. Feel free to use either and I will continue to keep both updated if this PKGBUILD falls behind again.
[1] http://arch.markzz.com/linux-vfio-4.8.4-1.src.tar.gz
dominicm commented on 2016-10-21 00:22 (UTC)
@Myd Sorry for late reply, That's what I have too and nothing else as far as vfio config. It's probably due to different hardware, I am using Asus Z170 Deluxe with 6700k cpu.
Pinned Comments
xiota commented on 2024-01-09 18:43 (UTC) (edited on 2024-01-11 16:53 (UTC) by xiota)
clang
or disabling Arch patches.eclairevoyant commented on 2023-04-06 21:24 (UTC) (edited on 2023-04-06 21:31 (UTC) by eclairevoyant)
This package exists for the specific purpose of adding ported patches based on those originally created by Alex Williamson for:
Bypassing the default IOMMU grouping by overriding PCIe ACS support, and
Enabling VGA arbitration support on Intel iGPUs.
Arbitrary patches will not be added.
Refer to the wiki on PCI passthrough and this blog post on IOMMU groups for risks/caveats before using this package.
Regular AUR etiquette applies as well (knowledge of
makepkg
and searching the wiki/Arch forums is expected, and AUR helpers or Arch-based distros that are not Arch Linux are unsupported).