From cbad33f92164cb2f9e5567a6fed7efbc03c66d94 Mon Sep 17 00:00:00 2001 From: Aelin Date: Tue, 10 Mar 2026 21:23:20 +0100 Subject: [PATCH] docs: generic-kernels: Allow cherry-picking patches to fix compilation In the case that the compilation is broken, it is not possible to wait until a patch is merged upstream to fix it. We want to be able to patch the kernels temporarily while also ensuring the fixes make it upstream. Part-of: --- docs/generic-kernels.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/generic-kernels.md b/docs/generic-kernels.md index d3f192f05..f19aa2784 100644 --- a/docs/generic-kernels.md +++ b/docs/generic-kernels.md @@ -78,8 +78,11 @@ The following types of patches can be temporarily added to the generic kernels: `-stable` kernels (not to `-lts`). * Reverting patches that broke something (while also following up upstream to get the patch fixed or reverted). +* Patches to build the kernel with our toolchains (while also making sure those + get upstreamed eventually) -Out-of-tree patches are not acceptable for the generic kernels. +Generally speaking, out-of-tree patches or non-upstreamable patches are not +acceptable for the generic kernels. ## Device package template