Commit Graph

1055 Commits

Author SHA1 Message Date
Tk-Glitch
786140014b Make sure WERROR is disabled by default
RCs and custom patches will throw warnings, and while the Arch defconfig we ship disables it, people using their own might face compilation failures.

Fixes https://github.com/Frogging-Family/linux-tkg/issues/628
2022-10-18 13:37:22 +02:00
Tk-Glitch
c162bca30d linux 6.1 RC: Fixups for 0001-mm-Support-soft-dirty-flag-reset-for-VA-range patch 2022-10-17 16:07:45 +02:00
Tk-Glitch
da7b57fa92 Initial kernel 6.1 RC support 2022-10-17 14:07:20 +02:00
Tk-Glitch
9e06bbfb46 linux 6.0.y: misc-additions: Add 0004-drm-sched-add-DRM_SCHED_FENCE_DONT_PIPELINE-flag and 0005-drm-amdgpu-use-DRM_SCHED_FENCE_DONT_PIPELINE-for-VM-, pending fixes for https://gitlab.freedesktop.org/drm/amd/-/issues/2113 from Christian König 2022-10-15 15:22:52 +02:00
Tk-Glitch
d60046d9fb linux 6.0.y: Disable pds and bmq CPU schedulers as Torvic9's rebase is reportedly buggy. We'll enable back when Alfred pushes his own. 2022-10-15 15:06:16 +02:00
Tk-Glitch
2a07409439 linux 6.0.y: misc-additions: Add mm: vmscan: fix extreme overreclaim and swap floods and Bluetooth: fix deadlock for RFCOMM sk state change cherry picks from Arch
Wifi issues were fixed with 6.0.2, thankfully
2022-10-15 15:05:21 +02:00
Tk-Glitch
e801f7735b linux 6.0.y: Update defconfig to 6.0.0-arch1
https://github.com/archlinux/svntogit-packages/blob/packages/linux/trunk/config
2022-10-13 21:28:41 +02:00
Tk-Glitch
de0a0d301e install.sh: Disable timed building for now. Bash 5.2 is broken https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1018727 2022-10-11 15:36:30 +02:00
Tk-Glitch
0eda0819ed Switch some wget calls to curl 2022-10-11 15:34:40 +02:00
Ryan
c0f559bdf6 Add Tasktype to 6.0 (#622) 2022-10-10 17:01:38 +02:00
Tk-Glitch
b321569fee Update TT and BORE CPU schedulers patches URLs
Thanks @ptr1337, that'll be easier that way :)
2022-10-10 16:55:28 +02:00
Tk-Glitch
47e774e85f Protect some variable paths
Fixes https://github.com/Frogging-Family/linux-tkg/issues/620
2022-10-10 15:19:02 +02:00
ptr1337
13d7282016 Add bcachefs for 6.0 (#621)
Signed-off-by: Peter Jung <admin@ptr1337.dev>

Signed-off-by: Peter Jung <admin@ptr1337.dev>
2022-10-10 14:50:39 +02:00
Tk-Glitch
0e44660b75 linux 6.0: Bring torvic9's Project C patchset while we wait for Alfred to sync up.
https://gitlab.com/alfredchen/linux-prjc/-/issues/64
2022-10-04 14:41:23 +02:00
Tk-Glitch
53ce492d09 linux 5.15.y: sched/alt: [Sync] sched/core: Always flush pending blk_plug
Following https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.15.61&id=f066e015821cbd697d129befc74f822691321d70

Fixes https://github.com/Frogging-Family/linux-tkg/issues/614
2022-10-04 14:37:31 +02:00
ktheticdev
b4bd161253 fix mkspec patches (#616)
Co-authored-by: nobody <nobody@android>
2022-10-04 14:18:07 +02:00
Dmitry Skvortsov
1e7f8580c2 linux60: Fix Winesync patchset for 6.0-rc6 (#615) 2022-10-04 14:17:11 +02:00
Tk-Glitch
f59fe98754 Fix RPM build with Linux 6.0
Thanks to @AdelKS and @ktheticdev

Fixes https://github.com/Frogging-Family/linux-tkg/pull/613
2022-10-03 20:34:08 +02:00
Tk-Glitch
3d2b1257f1 Set _sub to "0" when _kver_split[2] is null
Fixes release kernel versioning, which is lacking the subversion. Example: kernel 6.0 release was versioned as "6.0." and will now be "6.0.0".
This also unifies versioning as it'll now always be x.x.x format.
2022-10-03 20:30:49 +02:00
Adel Kara Slimane
1d063ca326 RPM build: Fix several issues (#610)
* RPM: fix the script that generates kernel.spec

- Avoids conflicts with official kernels
- Fixes the reported issues with "unversionned obsoletes"
- Works now with akmod-nvidia

Fixes: #609 #513 #375 #339 #375 #173 #271

Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>

* install.sh: RPM: do not install kernel-headers package

We do not need it to build out-of-tree kernel modules. And that's
all we want actually.

Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>

Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>
2022-10-02 18:33:33 +02:00
Tk-Glitch
3bfe0af945 Change _timer_freq defaults. While muqss keeps its 100 Hz default just like tt stays at 1000 Hz, CacULE now defaults to 2000 Hz, and all other CPU schedulers will now default to 1000 Hz.
Reportedly, multiple games (mostly Unity based, but not only?) are seeing much higher CPU usage at lower tickrates resulting in degraded performance when CPU bound.
300 Hz and less are the worst offenders, but 500 and 750 Hz are also affected to some extent. CacULE is seemingly less efficient than everything else and needs 2000 Hz to keep up in those scenarios.

OS (kernel, CONFIG_HZ) 	Min 	Average 	Max
Arch Linux (linux, 300 Hz) 	81% 	91% 	96%
Arch Linux (linux-zen, 1000 Hz) 	21% 	25% 	42%
Fedora Linux (linux (Default), 1000 Hz) 	20% 	25% 	53%

1000 Hz isn't an issue on modern systems, but older or very weak CPUs (like Atoms) which aren't used for gaming might want to use lower values. Since our main target audience is gamers, it only makes sense to change the defaults here.
2022-09-30 15:55:55 +02:00
Tk-Glitch
6f76d62c8c linux 6.0: Update MGLRU patchset to v15 (from v14)
https://lore.kernel.org/lkml/20220918080010.2920238-1-yuzhao@google.com/T/#m1a5008481fbbd0f1d5cc0355d69f36e709d08725
2022-09-30 15:25:01 +02:00
Tk-Glitch
322fbbd290 Add URL to pkgdesc
Fixes https://github.com/Frogging-Family/linux-tkg/issues/586
2022-09-30 14:04:54 +02:00
Tk-Glitch
c0e2e485ab Style fixup for previous commit 2022-09-28 14:33:44 +02:00
Jason
063aa59334 Pathing for diffconfig in prepare (#605)
* Pathing for diffconfig in prepare

* Pathing for diffconfig in prepare Arch specific
2022-09-28 14:32:08 +02:00
Tk-Glitch
ae19c0057e linux 6.0: Fixup for mglru patchset on RC7 2022-09-28 14:25:16 +02:00
Adel Kara Slimane
59afa4083c use git for kernel sources & improved CI workflow (#591)
* prepare: auto-fetch latest versions + harmonize kernel version var

- Latest version is fetched from git: this prepares the road to
  moving to git cloning and fetching
- Introduce the $_kver variable that follows a three digit
  convention (e.g. '600', '519', '504') to enable comparing
  simply between kernel versions

Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>

* All distros: use git to fetch/update kernel sources

- Force git cloning `linux-tkg` so the patches and config
  files are automatically checksummed
- Arch: remove all the sha256sums and source files and automatically
  populate them on script run.
- Move git cloning/fetching script to 'prepare' script file

Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>

* accept customization.cfg vars as env vars

This makes CLI way easier by enabling e.g.
_version="5.19" makepkg or
_version="5.19" ./install.sh install

Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>

* prepare: better handle git remotes

now there's a dictionary that gives the list of remotes

Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>

* prepare: add default git remote if not set or not recognized

Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>

* customization.cfg: allow specific kernel versions

e.g. "6.0-rc4" or "5.10.51"

Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>

* ci: improved workflow

1. Check periodically for newer kernels with git
2. If a newer kernel exists, with respect to l
   latest Github release:
   1. Build for cfs, pds, bmq for Arch
   2. Make release

Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>

Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>
2022-09-22 16:17:05 +02:00
Dmitry Skvortsov
cb4c79a2fb prepare: move 5.18 to EOL list (#598) 2022-09-21 19:33:20 +02:00
Tk-Glitch
60bc9b2f9f Style correction for 4a9f4d3145 2022-09-21 19:28:50 +02:00
Amar Al-Zubaidi
4a9f4d3145 Support doas and su for root authentication (#593) 2022-09-21 19:26:23 +02:00
Adel KARA SLIMANE
d16833bbf8 version bumps: 5.19.10 5.15.69 5.10.144 5.4.214 2022-09-20 18:34:31 +00:00
Adel KARA SLIMANE
94c0d6671e version bumps: 6.0-rc6 2022-09-19 03:02:56 +00:00
Adel KARA SLIMANE
b65de4a5fb version bumps: 5.19.9 5.15.68 5.10.143 5.4.213 2022-09-15 18:34:13 +00:00
Adel KARA SLIMANE
bb9f732730 version bumps: 6.0-rc5 2022-09-12 02:53:31 +00:00
ptr1337
ecc5f1adb3 update bcachefs for 5.19 (#590)
Signed-off-by: Peter Jung <admin@ptr1337.dev>

Signed-off-by: Peter Jung <admin@ptr1337.dev>
2022-09-10 20:01:02 +02:00
Adel KARA SLIMANE
44b96e4f4e version bumps: 5.19.8 5.15.67 5.10.142 2022-09-08 18:31:59 +00:00
Adel KARA SLIMANE
a6a078bedc version bumps: 5.19.7 5.15.65 5.10.141 5.4.212 2022-09-05 18:32:31 +00:00
Tk-Glitch
f964aaeab5 Silence more undesirable modprobed-db config prompts 2022-09-05 19:23:03 +02:00
Tk-Glitch
02632e1c63 Silence BORE config prompt and default to 500Hz tickrate when using it 2022-09-05 19:19:48 +02:00
Tk-Glitch
cb5a66a1e5 Add BORE scheduler support for 5.17, 5.18, 5.19 and 6.0 RC
https://github.com/firelzrd/bore-scheduler

Fixes https://github.com/Frogging-Family/linux-tkg/issues/559
2022-09-05 18:52:37 +02:00
Tk-Glitch
6b81b1f84a linux58-514: Fix graysky's more-uarches patch check 2022-09-05 18:51:12 +02:00
Adel KARA SLIMANE
109d761ca1 version bumps: 6.0-rc4 2022-09-04 23:41:30 +00:00
Tk-Glitch
093d74d417 linux60: Fix lto mode check
Fixes https://github.com/Frogging-Family/linux-tkg/issues/585
2022-09-01 19:59:01 +02:00
Tk-Glitch
1a37e7fad8 linux60: Allow graysky's cpu opts patch 2022-09-01 19:56:12 +02:00
Dmitry Skvortsov
6a38610b4f linux60: Fix Winesync patchset for 6.0-rc3 (#583) 2022-09-01 16:58:13 +02:00
Tk-Glitch
b8ff115af8 Enable CONTEXT_TRACKING_FORCE by default.
It was mistakenly disabled at all times instead of only for tickless option 1, but it seems to be needed for some hardware independently of the tick mode.

Fixes https://github.com/Frogging-Family/linux-tkg/issues/584
2022-09-01 16:20:42 +02:00
Tk-Glitch
5ef15e3fa4 linux60: Restore O3 feature as the builtin config was removed
Fixes https://github.com/Frogging-Family/linux-tkg/issues/582
2022-09-01 16:02:45 +02:00
Tk-Glitch
d65f578346 Allow LTO mode on 6.*+ 2022-09-01 15:46:32 +02:00
Adel KARA SLIMANE
97a122b5d5 version bumps: 5.19.6 5.15.64 5.10.140 2022-09-01 02:36:46 +00:00
Adel KARA SLIMANE
290c360dab version bumps: 5.19.5 5.10.139 2022-08-29 18:31:03 +00:00