This is a practical gist to propose backport from main kernel to a stable branch. This does not superseed the official documentation.
Documentation (Read. Carefully. Each. Line.):
- https://docs.kernel.org/process/stable-kernel-rules.html
- https://docs.kernel.org/process/submitting-patches.html#submittingpatches
Apply the patches you want to backport on the target branch, e.g:
$ git clone https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git -b linux-6.12.y