docs/generic-kernels: add policy for patches

Aelin proposed this policy for patches in today's meeting and I think
this makes a lot of sense.

Signed-off-by: Oliver Smith <ollieparanoid@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8022>
This commit is contained in:
Oliver Smith 2026-02-16 22:25:52 +01:00 committed by The Friendly Meow (merge) Bot
parent fe6a2795c0
commit 76a9161063
No known key found for this signature in database

View file

@ -69,3 +69,14 @@ review. Please do **not** regenerate the kernel configurations; your change
will be included as part of the next kernel upgrade. Rebuilds of the kernel
packages take a long time and they get updated regularly, so you'll only need
to wait a few days until your change makes it into the released binaries.
## Policy for patches
The following types of patches can be temporarily added to the generic kernels:
* Backporting of patches that are in `linux-next` to our `-mainline` and
`-stable` kernels (not to `-lts`).
* Reverting patches that broke something (while also following up upstream to
get the patch fixed or reverted).
Out-of-tree patches are not acceptable for the generic kernels.