xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [RFC 00/29] Incomplete Kconfig conversion
@ 2015-10-05 22:03 Doug Goldstein
  2015-10-05 22:03 ` [RFC 01/29] build: import Kbuild/Kconfig from Linux 4.2 Doug Goldstein
                   ` (33 more replies)
  0 siblings, 34 replies; 69+ messages in thread
From: Doug Goldstein @ 2015-10-05 22:03 UTC (permalink / raw)
  To: xen-devel; +Cc: Doug Goldstein

This is very incomplete and is only posted in hopes of getting some feedback
if this conversion is welcome by the community. There are a few different
ways I can go from here.

* convert all of include/$(ARCH)/config.h
* move this to the top level and convert all of configs/
* due both of the above

I'd like to break this series up as small as possible and land parts in the
tree that I can land. At this point the first 4 patches are too large and
need culling down to only what's necessary. But my goal was to make it as
obvious as possible where the original code came from and how it was
transformed over time.

Ultimately my goal is to allow for more parts of the hypervisor to be turned
off at compile time and potentially make it easier to include more
experimental features by others which can be turned off by default. Also to
provide the one true location for all possible knobs in the source code.

Doug Goldstein (29):
  build: import Kbuild/Kconfig from Linux 4.2
  build: trim down Linux bits
  build: hookup initial Kconfig usage
  build: include config bits to build with
  build: convert HAS_PASSTHROUGH use to Kconfig
  build: convert HAS_DEVICE_TREE use to Kconfig
  build: convert HAS_PCI use to Kconfig
  build: convert HAS_NS16550 use to Kconfig
  build: convert HAS_IOPORTS use to Kconfig
  build: convert HAS_ACPI use to Kconfig
  build: convert HAS_VIDEO use to Kconfig
  build: convert HAS_VGA use to Kconfig
  build: convert HAS_CPUFREQ use to Kconfig
  build: convert HAS_GDBSX use to Kconfig
  build: convert HAS_PDX use to Kconfig
  build: convert HAS_KEXEC use to Kconfig
  build: convert HAS_ARM_HDLCD use to Kconfig
  build: convert HAS_CADENCE_UART use to Kconfig
  build: convert HAS_PL011 use to Kconfig
  build: convert HAS_EXYNOS4210 use to Kconfig
  build: convert HAS_OMAP use to Kconfig
  build: convert HAS_SCIF use to Kconfig
  build: convert HAS_EHCI use to Kconfig
  build: convert HAS_MEM_ACCESS use to Kconfig
  build: convert HAS_MEM_PAGING use to Kconfig
  build: convert HAS_MEM_SHARING use to Kconfig
  build: convert HAS_GICV3 use to Kconfig
  build: convert CONFIG_COMPAT to Kconfig
  build: convert kexec options to CONFIG_KEXEC

 .gitignore                                     |    8 +
 config/x86_32.mk                               |    2 -
 config/x86_64.mk                               |    3 -
 xen/Kconfig                                    |   26 +
 xen/Makefile                                   |   14 +
 xen/Makefile.linux                             | 1595 +++++++++++++++
 xen/Rules.mk                                   |   18 +-
 xen/arch/arm/Kconfig                           |   37 +
 xen/arch/arm/Makefile                          |    2 +-
 xen/arch/arm/Makefile.kconfig                  |    8 +
 xen/arch/arm/Rules.mk                          |    8 -
 xen/arch/arm/defconfig                         |    0
 xen/arch/arm/vgic.c                            |    2 +-
 xen/arch/x86/Kconfig                           |   50 +
 xen/arch/x86/Makefile.kconfig                  |   26 +
 xen/arch/x86/Rules.mk                          |   12 -
 xen/arch/x86/i386_defconfig                    |    1 +
 xen/arch/x86/x86_64_defconfig                  |    0
 xen/common/Kconfig                             |   43 +
 xen/common/Makefile                            |    8 +-
 xen/common/compat/memory.c                     |    4 +-
 xen/common/domain.c                            |    2 +-
 xen/common/domctl.c                            |    2 +-
 xen/common/memory.c                            |   12 +-
 xen/common/sysctl.c                            |    4 +-
 xen/common/vm_event.c                          |   16 +-
 xen/drivers/Kconfig                            |   15 +
 xen/drivers/Makefile                           |   10 +-
 xen/drivers/acpi/Kconfig                       |    4 +
 xen/drivers/char/Kconfig                       |   33 +
 xen/drivers/char/Makefile                      |   14 +-
 xen/drivers/char/ns16550.c                     |   40 +-
 xen/drivers/cpufreq/Kconfig                    |    4 +
 xen/drivers/passthrough/Kconfig                |    4 +
 xen/drivers/passthrough/Makefile               |    4 +-
 xen/drivers/passthrough/iommu.c                |    4 +-
 xen/drivers/pci/Kconfig                        |    4 +
 xen/drivers/video/Kconfig                      |   13 +
 xen/drivers/video/Makefile                     |   14 +-
 xen/include/asm-arm/device.h                   |    2 +-
 xen/include/asm-arm/domain.h                   |    3 +-
 xen/include/asm-arm/gic.h                      |    4 +-
 xen/include/asm-arm/vgic.h                     |    2 +-
 xen/include/linux/kconfig.h                    |   54 +
 xen/include/xen/config.h                       |    2 +
 xen/include/xen/hvm/iommu.h                    |    2 +-
 xen/include/xen/iommu.h                        |   14 +-
 xen/include/xen/mem_access.h                   |    4 +-
 xen/include/xen/pdx.h                          |    4 +-
 xen/include/xen/sched.h                        |    4 +-
 xen/include/xsm/dummy.h                        |   14 +-
 xen/include/xsm/xsm.h                          |   28 +-
 xen/scripts/Kbuild.include                     |  305 +++
 xen/scripts/Makefile                           |   42 +
 xen/scripts/Makefile.asm-generic               |   23 +
 xen/scripts/Makefile.build                     |  427 ++++
 xen/scripts/Makefile.clean                     |   91 +
 xen/scripts/Makefile.extrawarn                 |   68 +
 xen/scripts/Makefile.help                      |    3 +
 xen/scripts/Makefile.host                      |  128 ++
 xen/scripts/Makefile.kasan                     |   29 +
 xen/scripts/Makefile.lib                       |  390 ++++
 xen/scripts/Makefile.modpost                   |  152 ++
 xen/scripts/basic/.gitignore                   |    1 +
 xen/scripts/basic/Makefile                     |   15 +
 xen/scripts/basic/fixdep.c                     |  462 +++++
 xen/scripts/gcc-goto.sh                        |   21 +
 xen/scripts/kconfig/.gitignore                 |   22 +
 xen/scripts/kconfig/Makefile                   |  317 +++
 xen/scripts/kconfig/POTFILES.in                |   12 +
 xen/scripts/kconfig/check.sh                   |   13 +
 xen/scripts/kconfig/conf.c                     |  722 +++++++
 xen/scripts/kconfig/confdata.c                 | 1248 ++++++++++++
 xen/scripts/kconfig/expr.c                     | 1206 +++++++++++
 xen/scripts/kconfig/expr.h                     |  238 +++
 xen/scripts/kconfig/gconf.c                    | 1521 ++++++++++++++
 xen/scripts/kconfig/gconf.glade                |  661 ++++++
 xen/scripts/kconfig/images.c                   |  326 +++
 xen/scripts/kconfig/kxgettext.c                |  235 +++
 xen/scripts/kconfig/list.h                     |  131 ++
 xen/scripts/kconfig/lkc.h                      |  186 ++
 xen/scripts/kconfig/lkc_proto.h                |   52 +
 xen/scripts/kconfig/lxdialog/.gitignore        |    4 +
 xen/scripts/kconfig/lxdialog/BIG.FAT.WARNING   |    4 +
 xen/scripts/kconfig/lxdialog/check-lxdialog.sh |   91 +
 xen/scripts/kconfig/lxdialog/checklist.c       |  332 +++
 xen/scripts/kconfig/lxdialog/dialog.h          |  257 +++
 xen/scripts/kconfig/lxdialog/inputbox.c        |  301 +++
 xen/scripts/kconfig/lxdialog/menubox.c         |  437 ++++
 xen/scripts/kconfig/lxdialog/textbox.c         |  408 ++++
 xen/scripts/kconfig/lxdialog/util.c            |  713 +++++++
 xen/scripts/kconfig/lxdialog/yesno.c           |  114 ++
 xen/scripts/kconfig/mconf.c                    | 1047 ++++++++++
 xen/scripts/kconfig/menu.c                     |  697 +++++++
 xen/scripts/kconfig/merge_config.sh            |  158 ++
 xen/scripts/kconfig/nconf.c                    | 1561 ++++++++++++++
 xen/scripts/kconfig/nconf.gui.c                |  656 ++++++
 xen/scripts/kconfig/nconf.h                    |   96 +
 xen/scripts/kconfig/qconf.cc                   | 1798 +++++++++++++++++
 xen/scripts/kconfig/qconf.h                    |  338 ++++
 xen/scripts/kconfig/streamline_config.pl       |  647 ++++++
 xen/scripts/kconfig/symbol.c                   | 1377 +++++++++++++
 xen/scripts/kconfig/util.c                     |  147 ++
 xen/scripts/kconfig/zconf.gperf                |   48 +
 xen/scripts/kconfig/zconf.hash.c_shipped       |  289 +++
 xen/scripts/kconfig/zconf.l                    |  372 ++++
 xen/scripts/kconfig/zconf.lex.c_shipped        | 2476 +++++++++++++++++++++++
 xen/scripts/kconfig/zconf.tab.c_shipped        | 2580 ++++++++++++++++++++++++
 xen/scripts/kconfig/zconf.y                    |  742 +++++++
 xen/scripts/link-vmlinux.sh                    |  252 +++
 xen/scripts/mkmakefile                         |   52 +
 xen/scripts/mksysmap                           |   44 +
 xen/scripts/setlocalversion                    |  174 ++
 xen/xsm/dummy.c                                |   10 +-
 xen/xsm/flask/hooks.c                          |   34 +-
 xen/xsm/xsm_core.c                             |    2 +-
 xen/xsm/xsm_policy.c                           |    4 +-
 117 files changed, 29337 insertions(+), 175 deletions(-)
 create mode 100644 xen/Kconfig
 create mode 100644 xen/Makefile.linux
 create mode 100644 xen/arch/arm/Kconfig
 create mode 100644 xen/arch/arm/Makefile.kconfig
 create mode 100644 xen/arch/arm/defconfig
 create mode 100644 xen/arch/x86/Kconfig
 create mode 100644 xen/arch/x86/Makefile.kconfig
 create mode 100644 xen/arch/x86/i386_defconfig
 create mode 100644 xen/arch/x86/x86_64_defconfig
 create mode 100644 xen/common/Kconfig
 create mode 100644 xen/drivers/Kconfig
 create mode 100644 xen/drivers/acpi/Kconfig
 create mode 100644 xen/drivers/char/Kconfig
 create mode 100644 xen/drivers/cpufreq/Kconfig
 create mode 100644 xen/drivers/passthrough/Kconfig
 create mode 100644 xen/drivers/pci/Kconfig
 create mode 100644 xen/drivers/video/Kconfig
 create mode 100644 xen/include/linux/kconfig.h
 create mode 100644 xen/scripts/Kbuild.include
 create mode 100644 xen/scripts/Makefile
 create mode 100644 xen/scripts/Makefile.asm-generic
 create mode 100644 xen/scripts/Makefile.build
 create mode 100644 xen/scripts/Makefile.clean
 create mode 100644 xen/scripts/Makefile.extrawarn
 create mode 100644 xen/scripts/Makefile.help
 create mode 100644 xen/scripts/Makefile.host
 create mode 100644 xen/scripts/Makefile.kasan
 create mode 100644 xen/scripts/Makefile.lib
 create mode 100644 xen/scripts/Makefile.modpost
 create mode 100644 xen/scripts/basic/.gitignore
 create mode 100644 xen/scripts/basic/Makefile
 create mode 100644 xen/scripts/basic/fixdep.c
 create mode 100755 xen/scripts/gcc-goto.sh
 create mode 100644 xen/scripts/kconfig/.gitignore
 create mode 100644 xen/scripts/kconfig/Makefile
 create mode 100644 xen/scripts/kconfig/POTFILES.in
 create mode 100755 xen/scripts/kconfig/check.sh
 create mode 100644 xen/scripts/kconfig/conf.c
 create mode 100644 xen/scripts/kconfig/confdata.c
 create mode 100644 xen/scripts/kconfig/expr.c
 create mode 100644 xen/scripts/kconfig/expr.h
 create mode 100644 xen/scripts/kconfig/gconf.c
 create mode 100644 xen/scripts/kconfig/gconf.glade
 create mode 100644 xen/scripts/kconfig/images.c
 create mode 100644 xen/scripts/kconfig/kxgettext.c
 create mode 100644 xen/scripts/kconfig/list.h
 create mode 100644 xen/scripts/kconfig/lkc.h
 create mode 100644 xen/scripts/kconfig/lkc_proto.h
 create mode 100644 xen/scripts/kconfig/lxdialog/.gitignore
 create mode 100644 xen/scripts/kconfig/lxdialog/BIG.FAT.WARNING
 create mode 100755 xen/scripts/kconfig/lxdialog/check-lxdialog.sh
 create mode 100644 xen/scripts/kconfig/lxdialog/checklist.c
 create mode 100644 xen/scripts/kconfig/lxdialog/dialog.h
 create mode 100644 xen/scripts/kconfig/lxdialog/inputbox.c
 create mode 100644 xen/scripts/kconfig/lxdialog/menubox.c
 create mode 100644 xen/scripts/kconfig/lxdialog/textbox.c
 create mode 100644 xen/scripts/kconfig/lxdialog/util.c
 create mode 100644 xen/scripts/kconfig/lxdialog/yesno.c
 create mode 100644 xen/scripts/kconfig/mconf.c
 create mode 100644 xen/scripts/kconfig/menu.c
 create mode 100755 xen/scripts/kconfig/merge_config.sh
 create mode 100644 xen/scripts/kconfig/nconf.c
 create mode 100644 xen/scripts/kconfig/nconf.gui.c
 create mode 100644 xen/scripts/kconfig/nconf.h
 create mode 100644 xen/scripts/kconfig/qconf.cc
 create mode 100644 xen/scripts/kconfig/qconf.h
 create mode 100755 xen/scripts/kconfig/streamline_config.pl
 create mode 100644 xen/scripts/kconfig/symbol.c
 create mode 100644 xen/scripts/kconfig/util.c
 create mode 100644 xen/scripts/kconfig/zconf.gperf
 create mode 100644 xen/scripts/kconfig/zconf.hash.c_shipped
 create mode 100644 xen/scripts/kconfig/zconf.l
 create mode 100644 xen/scripts/kconfig/zconf.lex.c_shipped
 create mode 100644 xen/scripts/kconfig/zconf.tab.c_shipped
 create mode 100644 xen/scripts/kconfig/zconf.y
 create mode 100755 xen/scripts/link-vmlinux.sh
 create mode 100755 xen/scripts/mkmakefile
 create mode 100755 xen/scripts/mksysmap
 create mode 100755 xen/scripts/setlocalversion

-- 
2.4.9

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

end of thread, other threads:[~2015-11-11  8:57 UTC | newest]

Thread overview: 69+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-05 22:03 [RFC 00/29] Incomplete Kconfig conversion Doug Goldstein
2015-10-05 22:03 ` [RFC 01/29] build: import Kbuild/Kconfig from Linux 4.2 Doug Goldstein
2015-10-06 12:45   ` Jan Beulich
2015-10-06 16:00     ` Doug Goldstein
2015-10-06 16:47     ` Doug Goldstein
2015-10-07  6:32       ` Jan Beulich
2015-10-07  8:19         ` Ian Campbell
2015-10-07  8:23           ` Andrew Cooper
2015-10-07  9:54             ` Jan Beulich
2015-10-07 10:02               ` Ian Campbell
2015-10-05 22:03 ` [RFC 02/29] build: trim down Linux bits Doug Goldstein
2015-10-06 12:42   ` Jan Beulich
2015-10-06 16:02     ` Doug Goldstein
2015-10-06 16:15       ` Ian Campbell
2015-10-06 16:42         ` Doug Goldstein
2015-10-06 16:52           ` Ian Campbell
2015-10-05 22:03 ` [RFC 03/29] build: hookup initial Kconfig usage Doug Goldstein
2015-10-06  9:58   ` Andrew Cooper
2015-10-06 12:36     ` Jan Beulich
2015-11-10 23:00       ` Doug Goldstein
2015-11-11  8:57         ` Jan Beulich
2015-10-06 12:53   ` Jan Beulich
2015-10-05 22:03 ` [RFC 04/29] build: include config bits to build with Doug Goldstein
2015-10-05 22:03 ` [RFC 05/29] build: convert HAS_PASSTHROUGH use to Kconfig Doug Goldstein
2015-10-06  9:47   ` Andrew Cooper
2015-10-06 12:38     ` Jan Beulich
2015-10-06 15:47     ` Doug Goldstein
2015-10-05 22:03 ` [RFC 06/29] build: convert HAS_DEVICE_TREE " Doug Goldstein
2015-10-05 22:03 ` [RFC 07/29] build: convert HAS_PCI " Doug Goldstein
2015-10-05 22:03 ` [RFC 08/29] build: convert HAS_NS16550 " Doug Goldstein
2015-10-05 22:03 ` [RFC 09/29] build: convert HAS_IOPORTS " Doug Goldstein
2015-10-05 22:03 ` [RFC 10/29] build: convert HAS_ACPI " Doug Goldstein
2015-10-05 22:03 ` [RFC 11/29] build: convert HAS_VIDEO " Doug Goldstein
2015-10-05 22:03 ` [RFC 12/29] build: convert HAS_VGA " Doug Goldstein
2015-10-05 22:03 ` [RFC 13/29] build: convert HAS_CPUFREQ " Doug Goldstein
2015-10-05 22:03 ` [RFC 14/29] build: convert HAS_GDBSX " Doug Goldstein
2015-10-05 22:03 ` [RFC 15/29] build: convert HAS_PDX " Doug Goldstein
2015-10-05 22:03 ` [RFC 16/29] build: convert HAS_KEXEC " Doug Goldstein
2015-10-05 22:03 ` [RFC 17/29] build: convert HAS_ARM_HDLCD " Doug Goldstein
2015-10-05 22:03 ` [RFC 18/29] build: convert HAS_CADENCE_UART " Doug Goldstein
2015-10-05 22:03 ` [RFC 19/29] build: convert HAS_PL011 " Doug Goldstein
2015-10-05 22:03 ` [RFC 20/29] build: convert HAS_EXYNOS4210 " Doug Goldstein
2015-10-05 22:03 ` [RFC 21/29] build: convert HAS_OMAP " Doug Goldstein
2015-10-05 22:03 ` [RFC 22/29] build: convert HAS_SCIF " Doug Goldstein
2015-10-05 22:03 ` [RFC 23/29] build: convert HAS_EHCI " Doug Goldstein
2015-10-05 22:03 ` [RFC 24/29] build: convert HAS_MEM_ACCESS " Doug Goldstein
2015-10-05 22:03 ` [RFC 25/29] build: convert HAS_MEM_PAGING " Doug Goldstein
2015-10-05 22:03 ` [RFC 26/29] build: convert HAS_MEM_SHARING " Doug Goldstein
2015-10-05 22:03 ` [RFC 27/29] build: convert HAS_GICV3 " Doug Goldstein
2015-10-05 22:25   ` Julien Grall
2015-10-06  9:56     ` George Dunlap
2015-10-06 10:02       ` Julien Grall
2015-10-06 10:03         ` George Dunlap
2015-10-06 10:23       ` Ian Campbell
2015-10-06 15:43     ` Doug Goldstein
2015-10-05 22:03 ` [RFC 28/29] build: convert CONFIG_COMPAT " Doug Goldstein
2015-10-05 22:03 ` [RFC 29/29] build: convert kexec options to CONFIG_KEXEC Doug Goldstein
2015-10-05 22:12 ` [RFC 00/29] Incomplete Kconfig conversion Julien Grall
2015-10-06 15:49   ` Doug Goldstein
2015-10-05 23:47 ` Doug Goldstein
2015-10-06  9:39 ` Andrew Cooper
2015-10-06  9:41   ` Andrew Cooper
2015-10-06 10:15 ` Julien Grall
2015-10-06 10:21   ` Andrew Cooper
2015-10-06 13:05 ` Ian Campbell
2015-10-06 15:58   ` Doug Goldstein
2015-10-06 16:11     ` Ian Campbell
2015-11-09 15:06       ` Konrad Rzeszutek Wilk
2015-11-09 18:16         ` Doug Goldstein

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).