public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC v2 0/4] backports: kernel integration support
@ 2014-10-29  8:21 Luis R. Rodriguez
  2014-10-29  8:21 ` [RFC v2 1/4] backports: replace CPTCFG prefix for CONFIG_BACKPORT Luis R. Rodriguez
                   ` (3 more replies)
  0 siblings, 4 replies; 24+ messages in thread
From: Luis R. Rodriguez @ 2014-10-29  8:21 UTC (permalink / raw)
  To: backports
  Cc: linux-kernel, yann.morin.1998, mmarek, sassmann,
	Luis R. Rodriguez

From: "Luis R. Rodriguez" <mcgrof@suse.com>

Here's a v2 spin on the previous RFCs with a new patch
added at the end that actually modifies gentree.py to
add the ability to do the kernel integration magic now.

If you'd like to test this get Linus' tree and reset it
to some old kernel:

git reset --hard v3.15

Then get linux-next and reset it to the latest supported
tag:

git reset --hard next-20141003o

apply this series on top of that lest backports tree and then
do somethine like:

mcgrof@ergon ~/backports (git::master)$ ./gentree.py --clean --integrate --gitdebug /home/mcgrof/linux-next/ /home/mcgrof/test-linus-tree/

The test-linus-tree in this case is a clone of Linus'
tree reset to v3.15. What this will do is add the drivers
that backports supports into that tree already backported
for you and with tha appropriate kconfig / makefile magic
done. The way we use --gitdebug is that since you are using
a git tree for Linus' tree you'll see commits of each
change done by the integration, this leverages off of
Johannes's git debug work but applies now also nicely
for integration to see each step.

On 'make menuconfig' you will now see a backports menu,
drivers will only be available if you do not enable them
on your older kernel options. Right now things build with
make M=backports and the last piece of integration with
vmlinux still needs some refinement. I notice that the
souce "drivers/..." on some backports/drivers/ Kconfig
files didn't get modified with source "backports/drivers/..."
so that needs to be fixed to populate more divers.

This obviously also needs testing to ensure we don't break
packaging of backports with ckmake, but we can start looking
at that once we at least complete integration which hopefully
shouldn't take much longer.

Reminder: we should add a Kconfig entry for the LINUX_BACKPORT
define symbol as part of this work as some folks dont' want
to use it.

Please note that this last patch was a bit sloppy but hence
the RFC, figured its best to get this out for more eyeball
review than hogging it up longer.

Luis R. Rodriguez (4):
  backports: replace CPTCFG prefix for CONFIG_BACKPORT
  backports: replace BACKPORT_PWD with BACKPORT_DIR
  backports: use BACKPORT_DIR prefix on kconfig sources
  backports: add kernl integration support to gentree.py

 backport/Kconfig                                   |   47 -
 backport/Kconfig.sources                           |   23 +
 backport/Makefile                                  |    7 +-
 backport/Makefile.build                            |    4 +-
 backport/Makefile.kernel                           |   54 +-
 backport/Makefile.real                             |    4 +-
 backport/backport-include/asm/dma-mapping.h        |    4 +-
 backport/backport-include/backport/backport.h      |    3 +-
 backport/backport-include/backport/checks.h        |   12 -
 backport/backport-include/backport/leds-disabled.h |    2 +-
 backport/backport-include/net/net_namespace.h      |    4 +-
 backport/compat/Makefile                           |   42 +-
 backport/compat/backport-3.15.c                    |    4 +-
 backport/compat/backports.h                        |    4 +-
 backport/defconfigs/alx                            |    2 +-
 backport/defconfigs/ar5523                         |   16 +-
 backport/defconfigs/ath10k                         |   22 +-
 backport/defconfigs/ath5k                          |   16 +-
 backport/defconfigs/ath6kl                         |   14 +-
 backport/defconfigs/ath9k                          |   18 +-
 backport/defconfigs/ath9k-debug                    |   38 +-
 backport/defconfigs/b43                            |   40 +-
 backport/defconfigs/b43legacy                      |   24 +-
 backport/defconfigs/brcmfmac                       |   14 +-
 backport/defconfigs/brcmsmac                       |   18 +-
 backport/defconfigs/carl9170                       |   16 +-
 backport/defconfigs/cw1200                         |   18 +-
 backport/defconfigs/hwsim                          |   24 +-
 backport/defconfigs/ieee802154                     |   16 +-
 backport/defconfigs/igb                            |    4 +-
 backport/defconfigs/iwlwifi                        |   34 +-
 backport/defconfigs/media                          | 1026 ++++++++++----------
 backport/defconfigs/nfc                            |   40 +-
 backport/defconfigs/rtlwifi                        |   46 +-
 backport/defconfigs/wcn36xx                        |   26 +-
 backport/defconfigs/wifi                           |  232 ++---
 backport/defconfigs/wil6210                        |   10 +-
 backport/defconfigs/wwan                           |   12 +-
 backport/scripts/uninstall.sh                      |    4 +-
 devel/ckmake                                       |    4 +-
 devel/doc/kconfig-operation                        |   22 +-
 gentree.py                                         |  212 +++-
 lib/bpversion.py                                   |   48 +
 lib/kconfig.py                                     |  136 ++-
 patches/backport-adjustments/devcoredump.patch     |    4 +-
 45 files changed, 1323 insertions(+), 1047 deletions(-)
 delete mode 100644 backport/Kconfig
 create mode 100644 backport/Kconfig.sources
 delete mode 100644 backport/backport-include/backport/checks.h
 create mode 100644 lib/bpversion.py

-- 
2.1.1


^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2014-11-03 20:27 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-29  8:21 [RFC v2 0/4] backports: kernel integration support Luis R. Rodriguez
2014-10-29  8:21 ` [RFC v2 1/4] backports: replace CPTCFG prefix for CONFIG_BACKPORT Luis R. Rodriguez
2014-10-31  7:41   ` Johannes Berg
2014-10-31 19:34     ` Luis R. Rodriguez
2014-10-31 20:22       ` Johannes Berg
2014-10-31 20:33         ` Luis R. Rodriguez
2014-11-03 19:30           ` Luis R. Rodriguez
2014-11-03 19:40             ` Johannes Berg
2014-11-03 19:56               ` Luis R. Rodriguez
2014-11-03 20:20                 ` Johannes Berg
2014-11-03 20:21                   ` Luis R. Rodriguez
2014-11-03 20:24                     ` Johannes Berg
2014-11-03 20:26                       ` Luis R. Rodriguez
2014-10-29  8:21 ` [RFC v2 2/4] backports: replace BACKPORT_PWD with BACKPORT_DIR Luis R. Rodriguez
2014-10-31  7:41   ` Johannes Berg
2014-10-31 19:35     ` Luis R. Rodriguez
2014-10-29  8:21 ` [RFC v2 3/4] backports: use BACKPORT_DIR prefix on kconfig sources Luis R. Rodriguez
2014-10-31  7:46   ` Johannes Berg
2014-10-31 20:03     ` Luis R. Rodriguez
2014-10-29  8:21 ` [RFC v2 4/4] backports: add kernl integration support to gentree.py Luis R. Rodriguez
2014-10-29 15:36   ` Stefan Assmann
2014-10-29 16:00     ` Luis R. Rodriguez
2014-10-31  7:50       ` Johannes Berg
2014-10-31 20:10         ` Luis R. Rodriguez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox