Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stable: Update to 6.12 #329

Draft
wants to merge 10 commits into
base: master
Choose a base branch
from
Draft

stable: Update to 6.12 #329

wants to merge 10 commits into from

Conversation

1Naim
Copy link
Member

@1Naim 1Naim commented Nov 15, 2024

6.12 will be released in approx. 3 days, this is the branch that will prepare our PKGBUILDs for that kernel version, as it seems that 6.12 is quite a big release.

Changes in patchset from 6.11 to 6.12:

  • Updated AMD V-Cache Driver
  • crypto patch that speeds up workloads dealing with crc32 and AES128
  • The everchanging fixes patch

Honorable Mentions:

  • openvpn-dco - Part of 6.12 patchset until rc7. Module is unused by userspace so there is no reason for us to ship it.

PKGBUILD Changes:

  • Updated descriptions and comments for various kernels
  • Dropped linux-cachyos-sched-ext - sched-ext is upstream now!
  • Ported over changes made in linux-cachyos-rc/PKGBUILD to the stable kernel PKGBUILDs

Some considerations to be made:

  • linux-cachyos-rt-bore: Use PREEMPT_RT instead of PREEMPT_AUTO - We got no choice, PREEMPT_AUTO isn't a thing anymore

sched-ext has finally been merged in 6.12. There is no longer any reason to use this kernel. For comparisons between cachy's
patched EEVDF, consider `linux-cachyos-eevdf`. For stock EEVDF, consider `linux-cachyos-server`.

Signed-off-by: Eric Naim <[email protected]>
Sync changes from `linux-cachyos-rc/PKGBUILD` to all stable kernel PKGBUILDs where applicable.

Signed-off-by: Eric Naim <[email protected]>
This should differentiate it from linux-cachyos-bore

Signed-off-by: Eric Naim <[email protected]>
Minor tweaks to the switch cases and comments.

Signed-off-by: Eric Naim <[email protected]>
Minor tweaks to the switch cases and comments.

Signed-off-by: Eric Naim <[email protected]>
eevdf) ## 6.12 EEVDF patches
source+=("${_patchsource}/sched/0001-eevdf-next.patch");;
rt) ## EEVDF with RT patches
source+=("${_patchsource}/misc/0001-rt.patch");;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why RT patch was removed?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should be not required anymore, since it got enabled in upstream. If we want to have latest RT features, from the rt tree, then we can keep it, but it also brings more maintenance work

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The commit of removing RT dependency on CONFIG_EXPERT can also be cherrypicked to, e.g cachy.patch

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git/log/?h=linux-6.12.y-rt-rebase This is the latest tree of the rt patchset. Initial thoughts are patch 1-3, 6-9 seem nice to have

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should be not required anymore, since it got enabled in upstream. If we want to have latest RT features, from the rt tree, then we can keep it, but it also brings more maintenance work

From the remaining patches, we don't need the ARM/PowerPC/RISCV specific ones too much since we're not targeting them, but PREEMPT_LAZY and i915 patches are also here. The first one we'll want to have anyway for all kernels, but the second one can be separated into a single patch.

https://gitlab.archlinux.org/archlinux/packaging/upstream/linux-rt/-/tree/linux-6.12.y-rt-patches/patches

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://github.com/CachyOS/linux/commits/6.12/rt I've cherrypicked some patches from the rt patchset. This seems to meet the standard expectations of being part of our base patchset. The first two commits is also beneficial for normal kernels, and splitting these into different patches makes no sense in my eyes. The other commits are relatively safe to include for non-RT kernels.

@ptr1337 what do you think?

PREEMPT_AUTO was part of the out of tree realtime patchset and isn't included in the mainline kernel. The latest revision
of the realtime patchset has also dropped PREEMPT_AUTO (it lacked documentation, I'm not sure what it's really for).

Signed-off-by: Eric Naim <[email protected]>
linux-cachyos-autofdo/PKGBUILD Show resolved Hide resolved
linux-cachyos-server/PKGBUILD Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants