packages/linux-lava: bump to 6.4.12 with changes

- built with clang/llvm + thin lto, wahaha
- use ccache
- more tkg defaults
- removed old patches
- use eevdf + bore
This commit is contained in:
LavaDesu 2023-08-24 20:10:48 +07:00
parent d9e7668ff4
commit c57fe72f49
Signed by: cilly
GPG key ID: 6500251E087653C9
5 changed files with 48 additions and 446 deletions

View file

@ -1,17 +1,18 @@
{ fetchFromGitHub, inputs, lib }:
let
version = "6.3.8";
kernelHash = "07ivnxynbmvk3sh2z4i8sp6my2397m746h64f2ip1lkbxpsr2d5s";
kernelPatchHash = "1d4154704940g7h58mv5djkcvhy334zslh161giwhmm57lysjywj";
version = "6.4.12";
kernelHash = "1wx7innfzlx508f7csfwp6k017wcljdy783pmi6a9v1c1j7mi84g";
kernelPatchHash = "0va10x241v5dmks5p3242j5ihyfiydb3qri4mh6cjg0803mpzmnw";
boreVersion = "3.1.2";
mm = lib.versions.majorMinor version;
tkgPatches = [
"0001-mm-Support-soft-dirty-flag-reset-for-VA-range"
"0002-clear-patches"
"0002-mm-Support-soft-dirty-flag-read-with-reset"
"0003-eevdf"
"0003-glitched-base"
"0003-glitched-cfs"
"0003-glitched-cfs-additions"
"0007-v${mm}-fsync1_via_futex_waitv"
"0007-v${mm}-winesync"
"0012-misc-additions"
@ -32,8 +33,8 @@ let
borePatch = {
name = "bore-patch";
patch = builtins.fetchurl {
url = "https://raw.githubusercontent.com/CachyOS/kernel-patches/a108a60471fe304e5321394238a4f6107a1d466e/${mm}/sched/0001-bore.patch";
sha256 = "1qvy3sq6vc7f1mggwkxrmbzmwjabp3vmcywm81gmbcpd87l786n9";
url = "https://raw.githubusercontent.com/firelzrd/bore-scheduler/033cf689936a21af725207aa48f34076ac9a1f03/eevdf-bore-dev/0001-linux${mm}.y-eevdf-bore${boreVersion}.patch";
sha256 = "019n33kfkjyx3zq8vjkl3jgilybhh6bznfybzhgjlyhs3qlrrrgw";
};
};
in {
@ -50,13 +51,12 @@ in {
kernelPatches = [
kernelPatchSrc
borePatch
#(patch ./si-manual-clocking.patch)
#(patch ./atomic-async-page-flips.patch)
#(patch ./winesync-hotfix.patch)
]
++ builtins.map (name: {
inherit name;
patch = "${inputs.linux-tkg}/linux-tkg-patches/${mm}/${name}.patch";
}) tkgPatches;
}) tkgPatches
++ [
borePatch
];
}