backports: add kernel integration support
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest21 patches 10 repliesIn review
- v213 patches 23 repliesSuperseded
- v111 patches 14 repliesSuperseded
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/21 | backports: move legacy and SmPL patch application into helpergentree.py | +144 | 4 replies | |
| 2/21 | backports: ifdef around module_init() module_exit() for modulesbackport/ | +2 | 0 replies | |
| 3/21 | backports: move packaging kconfig hacks to its own filebackport/ backport/ gentree.py | +12 | 0 replies | |
| 4/21 | backports: grant parsers access to kconfig config and menuconfiglib/ | +1 | 0 replies | |
| 5/21 | backports: keep track of original backported source symbols early ongentree.py | +2 | 0 replies | |
| 6/21 | backports: allow for different backport prefix and simple integration supportdevel/ gentree.py | +67 | 0 replies | |
| 7/21 | backports: add prefix for integration on dependenciesgentree.py | +4 | 0 replies | |
| 8/21 | backports: replace BACKPORT_PWD with BACKPORT_DIRbackport/ backport/ backport/ +1 more | +8 | 0 replies | |
| 9/21 | backports: fold outdir as a backport identity targetgentree.py | +78 | 0 replies | |
| 10/21 | backports: avoid git tree reinitializationgentree.py | +4 | 2 replies | |
| 11/21 | backports: modify kconfig parser to use bpid and target_dirbackport/ gentree.py lib/ | +54 | 0 replies | |
| 12/21 | backports: make kconfig src_line backport / ConfigTree specificlib/ | +3 | 0 replies | |
| 13/21 | backports: use BACKPORT_DIR prefix on kconfig sourcesbackport/ gentree.py lib/ | +107 | 0 replies | |
| 14/21 | backports: update dependencies map filedependencies | +23 | 0 replies | |
| 15/21 | backports: split Kconfig into Kconfig.package and Kconfig.sourcesbackport/ backport/ backport/ +1 more | +69 | 0 replies | |
| 16/21 | backports: move version file generation to run earliergentree.py | +18 | 0 replies | |
| 17/21 | backports: define C code backport version info using CPTCFG_backport/ backport/ backport/ | +22 | 0 replies | |
| 18/21 | backports: add backport version parsing for kernel integrationgentree.py | +18 | 0 replies | |
| 19/21 | backports: prefix c-file / h-file auto backport with BPAUTObackport/ backport/ backport/ +4 more | +47 | 0 replies | |
| 20/21 | backports: remove extra BACKPORT_ prefix from kernel versioningbackport/ backport/ backport/ +3 more | +30 | 0 replies | |
| 21/21 | backports: add full kernel integration supportbackport/ backport/ backport/ +7 more | +291 | 0 replies |
Reviews trailers per patch
1 of 21 patches has a Reviewed-by or Acked-by.
| Patch | Johannes Berg |
|---|---|
| 1/21 | |
| 2/21 | |
| 3/21 | |
| 4/21 | |
| 5/21 | |
| 6/21 | |
| 7/21 | |
| 8/21 | R-b |
| 9/21 | |
| 10/21 | |
| 11/21 | |
| 12/21 | |
| 13/21 | |
| 14/21 | |
| 15/21 | |
| 16/21 | |
| 17/21 | |
| 18/21 | |
| 19/21 | |
| 20/21 | |
| 21/21 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 00/21] backports: add kernel integration support
From: "Luis R. Rodriguez" <[email protected]>
This third series should hopefully address all pending feedback. I've split out patches even more, but more importantly have made the parser simpler by both integrating the logic required to understand a backport by identifying the backport by type and strategy, sharing that, and then providing ignore lists on the parsers.
The more complex change was dealing with the recursive _walk() in such a way that we can have a modified src_line regexp depending on the type of backport we are using. The parser will use a regexp that requires a full path for the sources, it will also allow for using a variable for the backport project directory if such is defined, and also provide a verification helper which ensures backported will be used rather than the older kernel code.
Luis R. Rodriguez (21):
backports: move legacy and SmPL patch application into helper
backports: ifdef around module_init() module_exit() for modules
backports: move packaging kconfig hacks to its own file
backports: grant parsers access to kconfig config and menuconfig
backports: keep track of original backported source symbols early on
backports: allow for different backport prefix and simple integration
support
backports: add prefix for integration on dependencies
backports: replace BACKPORT_PWD with BACKPORT_DIR
backports: fold outdir as a backport identity target
backports: avoid git tree reinitialization
backports: modify kconfig parser to use bpid and target_dir
backports: make kconfig src_line backport / ConfigTree specific
backports: use BACKPORT_DIR prefix on kconfig sources
backports: update dependencies map file
backports: split Kconfig into Kconfig.package and Kconfig.sources
backports: move version file generation to run earlier
backports: define C code backport version info using CPTCFG_
backports: add backport version parsing for kernel integration
backports: prefix c-file / h-file auto backport with BPAUTO
backports: remove extra BACKPORT_ prefix from kernel versioning
backports: add full kernel integration support
backport/Kconfig | 47 -- backport/Kconfig.integrate | 36 ++ backport/Kconfig.package | 24 + backport/Kconfig.package.hacks | 8 + backport/Kconfig.sources | 23 + backport/Makefile | 8 +- backport/Makefile.build | 4 +- backport/Makefile.kernel | 19 +- backport/Makefile.real | 2 +- backport/backport-include/asm/dma-mapping.h | 4 +- backport/backport-include/backport/backport.h | 5 + backport/backport-include/backport/leds-disabled.h | 2 +- backport/backport-include/linux/module.h | 8 +- backport/compat/Kconfig | 84 +-- backport/compat/Makefile | 42 +- backport/compat/backports.h | 4 +- backport/compat/main.c | 40 +- backport/scripts/uninstall.sh | 4 +- dependencies | 31 +- devel/doc/kconfig-operation | 13 +- gentree.py | 599 ++++++++++++++------- .../0001-enable-backports-built-in.patch | 40 ++ lib/bpversion.py | 48 ++ lib/kconfig.py | 196 ++++++- patches/backport-adjustments/devcoredump.patch | 4 +- .../media/0002-no_dmabuf/v4l2.patch | 6 +- 26 files changed, 910 insertions(+), 391 deletions(-) delete mode 100644 backport/Kconfig create mode 100644 backport/Kconfig.integrate create mode 100644 backport/Kconfig.package create mode 100644 backport/Kconfig.package.hacks create mode 100644 backport/Kconfig.sources create mode 100644 integration-patches/0001-enable-backports/0001-enable-backports-built-in.patch create mode 100644 lib/bpversion.py
Signature · 1 line
2.1.1