Package Details: linux-vfio 6.12.6-1

Git Clone URL: https://aur.archlinux.org/linux-vfio.git (read-only, click to copy)
Package Base: linux-vfio
Description: The Linux kernel and modules (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
Provides: KSMBD-MODULE, VIRTUALBOX-GUEST-MODULES, WIREGUARD-MODULE
Submitter: zman0900
Maintainer: xiota
Last Packager: xiota
Votes: 73
Popularity: 0.000154
First Submitted: 2015-01-30 06:41 (UTC)
Last Updated: 2024-12-23 09:17 (UTC)

Dependencies (19)

Required by (6)

Sources (7)

Pinned Comments

xiota commented on 2024-01-09 18:43 (UTC) (edited on 2024-01-11 16:53 (UTC) by xiota)

  • Leaving eclairvoyant's comment pinned because it contains some useful information.
  • Patch policy is different, but similar.
    • Primary purpose of this package are the ACS override and i915 VGA arbiter patches.
    • Upstream Arch patches will be applied to maintain parity with the standard kernel.
    • No other patches will be added.
  • Package does have options that can be changed, like building with clang or disabling Arch patches.
    • Defaults will match Arch packages, except when incompatible with this package's primary patches.
    • Options are subject to change. Read PKGBUILD for details.
  • Avoid commenting and flagging at the same time for the same issue.
    • Flag for common issues with standard solutions, like new releases, key changes, etc.
    • Comment for issues requiring explanation or debugging.
      • Use a pastebin for blocks of text more than a few lines.

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:

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).

Latest Comments

« First ‹ Previous 1 .. 19 20 21 22 23 24 25 26 27 28 29 .. 32 Next › Last »

markzz commented on 2017-03-16 02:53 (UTC) (edited on 2017-03-16 03:04 (UTC) by markzz)

Spartus: You shouldn't need this package if you're using an AMD chip. That is one of the few advantages of them (I kid I kid). ;-) On a side note, it takes me over an hour on my i7-4790K and I usually set it to compile when I go to bed. I also do provide this package on my repository, in the case you do actually need this package and you don't want to take the time to compile it (scroll down in the comments feed for more info).

Spartus commented on 2017-03-16 02:14 (UTC)

Thanks markzz. While I do appreciate that compile time is directly a function of computer speed, of course, it seems especially long for a brand new Ryzen 7 (although I fear baiting a conversation of AMD vs. Intel). Regardless, does 4+ hours seem reasonable based on other's experience?

markzz commented on 2017-03-15 17:30 (UTC)

Spartus: On a slow computer, this will take a while to compile.

Spartus commented on 2017-03-15 15:50 (UTC) (edited on 2017-03-15 17:16 (UTC) by Spartus)

Um,I just got a new system with IOMMU and wanted to install this... it has been compiling for 4 hours now. Is this normal? Certainly not what I expected. Update: ended in failure... CC drivers/md/dm-log-userspace.mod.o LD [M] drivers/md/dm-log-userspace.ko CC drivers/md/dm-log-writes.mod.o LD [M] drivers/md/dm-log-writes.ko CC drivers/md/dm-log.mod.o LD [M] drivers/md/dm-log.ko CC drivers/md/dm-mirror.mod.o gcc: internal compiler error: Segmentation fault (program cc1) Please submit a full bug report, with preprocessed source if appropriate. See <https://bugs.archlinux.org/> for instructions. make[1]: *** [scripts/Makefile.modpost:114: drivers/md/dm-mirror.mod.o] Error 4 make: *** [Makefile:1198: modules] Error 2 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Makepkg was unable to build linux-vfio. ==> Restart building linux-vfio ? [y/N]

markzz commented on 2017-03-05 20:44 (UTC) (edited on 2017-03-05 20:54 (UTC) by markzz)

I have built kernel 4.10.1 with some updated patches and if you would like to test them out (and please do), you can find both binary and source packages here [1]. I especially would like people who rely on the i915 arbitration patch to test it since I don't use that part. As always, test at your own risk. [1] http://duna.markzz.net/linux-vfio-4.10/

markzz commented on 2017-03-03 19:06 (UTC) (edited on 2017-03-05 20:00 (UTC) by markzz)

jpbd: *grumble* Usually minor releases of Linux do this, still is annoying though to rewrite the patches. I also do pay attention to linux in [core] before upgrading this package.

jpbd commented on 2017-03-02 08:58 (UTC) (edited on 2017-03-02 09:04 (UTC) by jpbd)

@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.

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.