Tk-Glitch
9f4e3a6ab4
CI: Make sure we're using strings for _kernel_work_folder and _kernel_source_folder
2023-01-14 17:50:44 +01:00
Tk-Glitch
b711bc9d4b
Always nuke remnant customization.cfg
...
There is a small windows where the exit cleanup won't be triggered and people then think everything is broken
2023-01-14 17:50:13 +01:00
Tk-Glitch
27a63d3151
Write _kernel_work_folder_abs and _kernel_source_folder_abs to BIG_UGLY_FROGMINER
2023-01-14 17:49:08 +01:00
Tk-Glitch
129d26c332
Get rid of _srcpath
2023-01-14 17:45:58 +01:00
Tk-Glitch
a7110488dd
Drop broken Void Linux explicit support. Void Linux users should use the Generic install as a replacement.
...
Fixes https://github.com/Frogging-Family/linux-tkg/issues/655
2023-01-14 16:26:31 +01:00
Tk-Glitch
8d7c65690a
readme: Warn about the disk space requirements to build the kernel
...
Fixes https://github.com/Frogging-Family/linux-tkg/issues/692
2023-01-14 16:25:38 +01:00
ptr1337
2fb0ab964e
README: Add BORE to alternative schedulers ( #686 )
...
Signed-off-by: Peter Jung <admin@ptr1337.dev >
Signed-off-by: Peter Jung <admin@ptr1337.dev >
2023-01-11 20:03:32 +01:00
Tk-Glitch
c146fa94b6
linux 6.1.y: Update bcachefs patch for 6.1.4
2023-01-11 18:11:04 +01:00
Tk-Glitch
3d2b09d984
Apply glitched-cfs patch to all the CFS schedulers
...
I'm pretty sure we used to do that. Oh, well.
Fixes https://github.com/Frogging-Family/linux-tkg/issues/687
2023-01-10 14:01:59 +01:00
Tk-Glitch
d9aa0ce0e6
CI: Use "/tmp" as work and source dir
...
Following 3a62d00e93
2023-01-09 17:49:11 +01:00
Tk-Glitch
3a62d00e93
Always create a subfolder for source and work directories with hardcoded names (linux-src-git and linux-kernel.git for source and work dirs respectively). If an absolute path is used, create a linux-tkg subdir to contain those. This allows using the same root path for both as well as defaulting to an empty value that mimics our previous behavior. The main motivation for this is to offer more safety as using an existing non-empty dir might result in unwanted behavior.
...
Fixes https://github.com/Frogging-Family/linux-tkg/issues/685
2023-01-09 17:43:24 +01:00
Tk-Glitch
3cdda62d46
makepkg: Fix not dynamically setting our source symlink, which is needed as of a38ef1643c
2023-01-09 17:26:21 +01:00
Tk-Glitch
2a3ef54e6e
linux 6.1.y: misc_additions: Remove patch drm/i915: improve the catch-all evict to handle lock contention
...
Merged in 6.1.4
2023-01-07 20:55:02 +01:00
Adel Kara Slimane
cce2db1c9f
Various fixes for the RPM target ( #684 )
...
* prepare: always patch RPM mkspec
Like this we can notice earlier if it doesn't apply any longer
Otherwise I only test RPM when issues get openned
* RPM: fix RPM mkspecp atch, thanks @W3sG for the heads up!
- Only part of the patch was applying
- Fixed also the fact that packages conflict because of
unneeded build-id files in /usr/lib/.build-id
- Removed all the hardening flags Fedora uses by default
"we do not do that here"
Fixes : #669 #609
* install.sh: uninstall-help: fix Fedora query for installed TKG packages
* install.sh: RPM: fix typo in variable
Used the non absolute path for the work folder x)
2023-01-07 20:51:15 +01:00
Tk-Glitch
06eb48b3e3
linux 6.1.y: Update prjc to v6.1-r1 (official release) with the pending fix for boot failure - https://gitlab.com/alfredchen/linux-prjc/-/issues/68#note_1226803051
...
Now we should be back on track !
2023-01-04 19:22:19 +01:00
Adel Kara Slimane
a38ef1643c
Improve customization of source and work folders ( #672 )
...
* customization.cfg: add new entries for kernel paths
Two choices:
- Where to put git bare repository,
- Will be implemented as a bare repository, the folder will have only
compressed blobs and will be around ~400MB. Should be good to have
even in HDDs
- This is meant to be in a permanent storage like HDD or SSD.
But some uses could have it on a tmpfs if the storage is very slow
when compared to a full git (shallow) clone
- Where to have the work/build folder
- This will be implemented through a git worktree,
where the bare repo will be decompressed. This is best on a tmpfs folder
but needs >=32GB for a full kernel build. Otherwise should be okay with
modprobed-db
* customization.cfg: remove obsolete entries
the tmpfs related entries can be set with the previously added entries,
i.e. _kernel_work_folder and _kernel_source_folder
* prepare: check if obsoleted vars get set, warn if so and exit
Like this users will get notified about the change and act accordingly
* prepare: remove unused kernel subver patching code
this used to bump from kernel x.y to x.y.z
* prepare: add func to define kernel abs paths
We will use these absolute paths to refer to kernel folders (work and source)
* prepare: rewrite git fetching code
- Rename to "_setup_kernel_work_folder"
- Now we simply fetch directly the "commit hash" / "git tag"
from the user chosen remote, no branches
- The source folder (the one that is preferably on disk) is only a bare repo
with a small size (~400MB)
- The work folder is then (re)created / updated (as need) as a git worktree
* prepare: tkg_patcher: embed patch name into the message
Otherwise it doesn't work on the install.sh approach,
which reimplements a simple msg2 function that doesn't support %s
replacement
* PKGBUILD: use new path variable for work folder
* install.sh: use new path variable for work folder
* CI: setup source and build folder in /tmp
* prepare: update diffconfig with new kernel work folder var
2023-01-04 15:27:41 +01:00
Tk-Glitch
86578256b7
linux 5.15.y: Update fsync backport for new futex dir hierarchy
...
Fixes https://github.com/Frogging-Family/linux-tkg/issues/683
2023-01-04 15:25:18 +01:00
Dmitry Skvortsov
5298957d9b
linux 5.15.y: Update compatibility fix for old Fsync ABI ( #680 )
...
addition to a6877bd422
2023-01-03 11:43:27 +01:00
ptr1337
8c776ecf64
Remove futex patch, it got merged into upstream 6.1.2 ( #677 )
...
Signed-off-by: Peter Jung <admin@ptr1337.dev >
Signed-off-by: Peter Jung <admin@ptr1337.dev >
2023-01-02 13:33:10 +01:00
Dmitry Skvortsov
a6877bd422
linux 5.15.y: futex_waitv fixup ( #676 )
...
following https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.15.86&id=fd8a10d44c11f8f53d640db6b97486045b7e0b81
2023-01-02 13:32:21 +01:00
timocapa
12ff2a498f
Add initial 6.2-rc support ( #673 )
...
* Enable TT and BORE
* Upstreamed: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/kernel/futex/core.c?id=90d758896787048fa3d4209309d4800f3920e66f
* Update glitched-base patch for https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/block/elevator.c?id=81eaca442ea962c43bdb1e9cbb9eddb41b97491d
* make oldconfig & accept defaults
2022-12-26 22:28:56 +01:00
ptr1337
b57e1824c2
Add bcachefs for 6.1 ( #670 )
...
Signed-off-by: Peter Jung <admin@ptr1337.dev >
Signed-off-by: Peter Jung <admin@ptr1337.dev >
2022-12-23 00:54:08 +01:00
Tk-Glitch
c141a8c304
Only set custom command line options if the variable is not empty
2022-12-22 15:41:12 +01:00
Tk-Glitch
5c3621fc6a
Remove NR_CPUS prompt and use defconfig's default if the value is empty instead of an enforced 128.
2022-12-22 15:37:24 +01:00
Tk-Glitch
be5dfffb8d
linux 6.1.y: Add futex: Resend potentially swallowed owner death notification
to misc additions.
...
https://lore.kernel.org/all/20221111215439.248185-1-izbyshev@ispras.ru/
2022-12-22 00:27:29 +01:00
Tk-Glitch
1fc60cc388
Misc fixes
...
- Enforce sane defaults for ticks selector
- Make sure we have a default governor set early on (schedutil)
- Build BLK_DEV_LOOP as module instead of builtin
Reportedly fixes https://github.com/Frogging-Family/linux-tkg/issues/665 for at least one user affected.
2022-12-22 00:16:17 +01:00
Tk-Glitch
73e9a2eb3c
linux 6.1.y: Update our unprivileged CLONE_NEWUSER patch to current
2022-12-22 00:07:43 +01:00
Tk-Glitch
f4324da8a1
Remove useless dir deletion. We're now checking that it doesn't exist, making it redundant.
2022-12-21 22:14:46 +01:00
Tk-Glitch
1854907001
Handle existing source dir in tmpfs - That's actually safe to do thanks to @AdelKS 's fine work.
...
Following 348f3c9bb6
2022-12-21 22:02:54 +01:00
Tk-Glitch
348f3c9bb6
Add an option to clone the source in tmpfs everytime instead of using the root PKGBUILD dir. This effectively brings back a similar approach to makepkg in the way of handling git sources.
...
It'll require ~20GB of space by itself, so if your tmpfs is in RAM, make sure you have enough free, and it's definitely not recommended to use this on a <32GB RAM machine.
2022-12-21 21:52:07 +01:00
Tk-Glitch
9948b85dac
Refresh RT patches mapping
...
Fixes https://github.com/Frogging-Family/linux-tkg/issues/668
2022-12-21 13:20:48 +01:00
Tk-Glitch
eb4c793ca8
linux 5.15.y: prjc fixup following https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/kernel/sched/core.c?h=v5.15.83&id=f435c66d2336fff104e2c3cbfff60905733e7d89
...
Fixes https://github.com/Frogging-Family/linux-tkg/issues/667
2022-12-16 14:46:17 +01:00
Tk-Glitch
367925c322
linux 6.1.y: misc_additions: Get rid of Bluetooth: fix deadlock for RFCOMM sk state change
and x86/split_lock: Add sysctl to control the misery mode
. The latter will be added to community patches instead and we'll now pass split_lock_detect=off
by default to the command line. We'll see how the situation pans out and adapt as needed.
2022-12-16 14:00:36 +01:00
Tk-Glitch
d0d6f02944
linux 6.1.y: base: Remove our watermark_scale_factor
patch, which doesn't feel needed anymore, and add a selection of patches from Zen: Input: evdev - use call_rcu when detaching client
, mm: Lower the non-hugetlbpage pageblock size to reduce scheduling delays
and mm: Don't hog the CPU and zone lock in rmqueue_bulk()
.
...
379cbab18b
2aafb56f20
f22bc56be8
2022-12-16 13:47:34 +01:00
Tk-Glitch
38e73fb059
linux 6.1: Import 6.0 based prjc patchset from ptr1337 until we can find why current upstream is frogged. Enable back pds/bmq and set as unofficial.
...
23b7e03df8
2022-12-16 00:52:25 +01:00
Tk-Glitch
4547454e3d
Import 'file' invocation fix from Arch
2022-12-16 00:47:38 +01:00
Tk-Glitch
77002f1406
linux 6.0.y: misc_additions: Remove soundwire: intel: Initialize clock stop timeout
fix.
...
Merged upstream with 6.0.13
Fixes https://github.com/Frogging-Family/linux-tkg/issues/664
2022-12-14 17:58:51 +01:00
Tk-Glitch
83660b78a6
linux 6.1: Disable prjc. It seems to create unbootable kernels currently.
2022-12-13 20:44:18 +01:00
Tk-Glitch
9f55fbf7f5
linux 6.1: misc-additions: Add Guilherme G. Piccoli's "split_lock_mitigate" sysctl patch
2022-12-13 18:41:30 +01:00
Tk-Glitch
d03c960e18
linux 6.1: prjc: Fixup for PSI enabled compilation
...
https://gitlab.com/alfredchen/linux-prjc/-/issues/66
2022-12-13 18:37:43 +01:00
Tk-Glitch
c94b9cca51
linux 6.1: Import and enable Project C patches
...
https://gitlab.com/alfredchen/projectc/-/blob/master/6.1/prjc_v6.1-r0.patch
2022-12-13 18:31:11 +01:00
Ryan
dfd8a7f877
Add TaskType to 6.1 ( #662 )
2022-12-13 18:27:53 +01:00
Tk-Glitch
18aabc9f62
linux 6.1: Update defconfig to 6.1.0-arch1
...
https://raw.githubusercontent.com/archlinux/svntogit-packages/packages/linux/trunk/config
2022-12-13 18:17:51 +01:00
Tk-Glitch
ce12bdcc7f
linux 6.0.y: Get rid of the unofficial Project C warning
...
Following b8835ca202
2022-12-07 14:49:04 +01:00
ViNi-Arco
f131173680
Enable MGLRU support in prjc ( #660 )
...
Enable MGLRU in prjc and use only **lru_gen_use_mm()** when MGLRU is enabled
2022-12-06 20:12:24 +01:00
ViNi-Arco
b8835ca202
Update prjc 6.0r0 with latest official Alfred Chen ( #659 )
...
* Update prjc 6.0r0 with latest official Alfred Chen
Clean patchset with latest Alfred code:
https://gitlab.com/alfredchen/linux-prjc/-/commits/linux-6.0.y-prjc/
* Update prjc 6.0r0 with latest official Alfred Chen
And clean whitespace
2022-12-06 19:02:29 +01:00
nepnep1111
de5400ddde
Update CPU opt lists to include raptorlake, meteorlake, and zen4 ( #658 )
...
* Fix config file architecture opt listing
* add raptorlake to supported cpu opt
2022-12-06 19:01:19 +01:00
Tk-Glitch
d4bace1676
linux 6.0.y: misc-additions: Remove mm: vmscan: fix extreme overreclaim and swap floods
patch.
...
Merged upstream.
2022-12-03 03:05:49 +01:00
timocapa
b108b3a8d2
linux 6.1rc: remove vmscan patch as it was merged upstream ( #656 )
...
* https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/mm/vmscan.c?id=f53af4285d775cd9a9a146fc438bd0a1bee1838a
2022-12-01 15:19:32 +01:00
Tk-Glitch
9949ffb1d0
Revert "Sync MGLRU with latest Yuzhao changes: ( #654 )"
...
This reverts commit 0b7c5dfa72
.
2022-11-24 17:10:45 +01:00