[09:11] <quazimodo> holler
[09:11] <quazimodo> ah discourse hey
[09:13] <quazimodo> so I was talking in #ubuntu & referred here; I'd like to apply the IOMMU ACS patch to the kernel so that I may reorganise my IOMMU groups for virtualisation purposes; my motherboard just doesn't want to give me usable groups no matter what UEFI settings I play with
[09:13] <quazimodo> I have a patch known to work with 6.3 but jammy is on 6.5, i guess i could just apply the patch & go but I am a littel fearful of doing something stupid, i don't know how much i don't know in this space
[09:14] <quazimodo> I'm a programmer but the last time I did C was > 8 years ago; i've inspected the source in Linus's repo (before i knew about the ubuntu kernel repos) and the patched code wont work directly, but that's fine i'm used to working in a git repo so no trouble there. Really the only thing i'm worried about is trying to build this & destroying something
[09:15] <quazimodo> are there any big warning bells?
[09:23] <nils_> quazimodo, which patch is it? The one by Mark Weiman based on https://lkml.org/lkml/2013/5/30/513 ?
[09:24] <nils_> quazimodo, do you want to submit the patch so Ubuntu integrates it or do you just want to comfortably run a kernel including the patch? If the latter you may want to check out xanmod, they offer a kernel including this patch as a deb repo, works fine with ubuntu.
[09:36] <quazimodo> nils_: comfortably run a kernel that's got the patch. Patch code is at https://github.com/benbaker76/linux-acs-override/blob/main/6.3/acso.patch . I'll check Xanmod
[09:36] <quazimodo> I don't think the patch can be submitted, in general this ACS patch is not a good idea for purpose built hardward - it appears very much to be a hack for homelabs
[09:37] <quazimodo> nils_: yes it does look very similar to that one by Mark Weiman
[09:38] <nils_> quazimodo, there is a patch included in xanmod, latest non-edge kernel version for xanmod is 6.7 so you're getting a fresher kernel as well. 
[09:43] <quazimodo> i don't typically use kernels not distributed by a well known organisation
[09:43] <quazimodo> i hadn't heard about xanmod
[09:49] <quazimodo> ahhh fun for me for some unknown bloody reason I didn't give my boot partition enough space :(
[11:33] <quazimodo> nils_: so xanmod kernel turns on good
[11:33] <quazimodo> tthanks for showing that to me
[11:47] <quazimodo> fantastic, IOMMU groups are usable
[11:47] <quazimodo> nils_: you're a legend
[11:48] <nils_> quazimodo, hardly, all credit goes to whoever made those patches
[11:52] <quazimodo> indeed
[11:52] <quazimodo> it's a really big deal
[11:52] <quazimodo> though part of me is unsatisfied that i still have not figured out how to compile an ubuntu kernel with the patch applied
[11:53] <quazimodo> in fact, i don't even know why, but make would fail really early without sudo