A practical checklist our Linux team runs through before sending a patch or patch series to a kernel mailing list. It complements, and does not replace, the official Submitting patches guide and the kernel development process documentation.
Why bother upstreaming at all? We cover the business case in why upstreaming embedded Linux work pays off.
Hardening the kernel you ship? See our companion Linux kernel hardening checklist – Kconfig options, boot parameters, sysctls and CI verification.
MAINTAINERS and use the tree listed on its T: line, not just Linus’s tree.linux-next for cross-subsystem work) right before sending.git bisect keeps working.scripts/checkpatch.pl --strict on every patch – fix or consciously justify each warning.make W=1 for the files you touched.make C=1 (or C=2 to force-check all files).allmodconfig and the architectures your driver supports (cross-compile if needed).make dt_binding_check and make dtbs_check.scripts/kernel-doc -none reports no errors.git log --oneline -- <path> (e.g. net: phy: ..., iio: adc: ...).Fixes: <12-char sha> ("original subject") tag.Cc: stable@vger.kernel.org.Signed-off-by: line from every author (Developer Certificate of Origin) – git commit -s.scripts/get_maintainer.pl on the patch files – send To: maintainers, Cc: reviewers and the listed mailing lists.git log; stick to the output plus anyone who discussed the issue.git format-patch --cover-letter -o out/ <base>...git format-patch -v2 ... → [PATCH v2 0/3].--- line so it is not committed.git send-email or b4 (b4 prep / b4 send). No attachments, no HTML, no corporate disclaimers.git am / b4 am to prove it applies cleanly.Reviewed-by:, Acked-by: and Tested-by: tags into the next version only for patches that didn’t materially change.Long-term ownership of upstream code is a topic of its own – see our notes on driver upstreaming and long-term maintainability.
Maintained by the Linux engineering team at Mpiric Software. Spotted an error? Open an issue or pull request on GitHub.