Skip to content

backports: add kernel integration support

Luis R. Rodriguez backports lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest21 patches 10 repliesIn review
  2. v213 patches 23 repliesSuperseded
  3. v111 patches 14 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/21backports: move legacy and SmPL patch application into helpergentree.py+144 -1354 replies
2/21backports: ifdef around module_init() module_exit() for modulesbackport/backport-include/linux/module.h+2 -00 replies
3/21backports: move packaging kconfig hacks to its own filebackport/Kconfig backport/Kconfig.package.hacks gentree.py+12 -80 replies
4/21backports: grant parsers access to kconfig config and menuconfiglib/kconfig.py+1 -10 replies
5/21backports: keep track of original backported source symbols early ongentree.py+2 -10 replies
6/21backports: allow for different backport prefix and simple integration supportdevel/doc/kconfig-operation gentree.py+67 -200 replies
7/21backports: add prefix for integration on dependenciesgentree.py+4 -10 replies
8/21backports: replace BACKPORT_PWD with BACKPORT_DIRbackport/Makefile backport/Makefile.build backport/Makefile.real +1 more+8 -80 replies
9/21backports: fold outdir as a backport identity targetgentree.py+78 -620 replies
10/21backports: avoid git tree reinitializationgentree.py+4 -12 replies
11/21backports: modify kconfig parser to use bpid and target_dirbackport/Kconfig gentree.py lib/kconfig.py+54 -390 replies
12/21backports: make kconfig src_line backport / ConfigTree specificlib/kconfig.py+3 -30 replies
13/21backports: use BACKPORT_DIR prefix on kconfig sourcesbackport/Kconfig gentree.py lib/kconfig.py+107 -250 replies
14/21backports: update dependencies map filedependencies+23 -80 replies
15/21backports: split Kconfig into Kconfig.package and Kconfig.sourcesbackport/Kconfig backport/Kconfig.package backport/Kconfig.sources +1 more+69 -490 replies
16/21backports: move version file generation to run earliergentree.py+18 -180 replies
17/21backports: define C code backport version info using CPTCFG_backport/Makefile.kernel backport/backport-include/linux/module.h backport/compat/main.c+22 -220 replies
18/21backports: add backport version parsing for kernel integrationgentree.py+18 -00 replies
19/21backports: prefix c-file / h-file auto backport with BPAUTObackport/backport-include/asm/dma-mapping.h backport/backport-include/backport/leds-disabled.h backport/compat/Kconfig +4 more+47 -470 replies
20/21backports: remove extra BACKPORT_ prefix from kernel versioningbackport/Makefile backport/compat/Kconfig backport/compat/Makefile +3 more+30 -300 replies
21/21backports: add full kernel integration supportbackport/Kconfig.integrate backport/Makefile.kernel backport/backport-include/backport/backport.h +7 more+291 -70 replies

Reviews trailers per patch

1 of 21 patches has a Reviewed-by or Acked-by.

PatchJohannes Berg
1/21
2/21
3/21
4/21
5/21
6/21
7/21
8/21R-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.

Read the v3 thread

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