[PATCH v5 0/5] Fine granular configuration

Luca Fancellu posted 5 patches 5 months, 2 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/20231114090356.875180-1-luca.fancellu@arm.com
There is a newer version of this series
xen/arch/arm/Kconfig                      |   27 +
xen/arch/arm/Makefile                     |    7 +-
xen/arch/arm/bootfdt.c                    |  161 +-
xen/arch/arm/dom0less-build.c             | 1018 ++++++
xen/arch/arm/domain_build.c               | 3591 ++++++---------------
xen/arch/arm/efi/efi-boot.h               |    4 +
xen/arch/arm/gic-v3.c                     |    4 +
xen/arch/arm/include/asm/dom0less-build.h |   30 +
xen/arch/arm/include/asm/domain_build.h   |   36 +
xen/arch/arm/include/asm/kernel.h         |    1 +
xen/arch/arm/include/asm/setup.h          |    1 -
xen/arch/arm/include/asm/static-memory.h  |   45 +
xen/arch/arm/include/asm/static-shmem.h   |   66 +
xen/arch/arm/setup.c                      |   58 +-
xen/arch/arm/static-memory.c              |  287 ++
xen/arch/arm/static-shmem.c               |  547 ++++
xen/arch/arm/vgic.c                       |    2 +
xen/arch/arm/vgic/Makefile                |    4 +-
xen/common/Kconfig                        |    2 +-
19 files changed, 3059 insertions(+), 2832 deletions(-)
create mode 100644 xen/arch/arm/dom0less-build.c
create mode 100644 xen/arch/arm/include/asm/dom0less-build.h
create mode 100644 xen/arch/arm/include/asm/static-memory.h
create mode 100644 xen/arch/arm/include/asm/static-shmem.h
create mode 100644 xen/arch/arm/static-memory.c
create mode 100644 xen/arch/arm/static-shmem.c
[PATCH v5 0/5] Fine granular configuration
Posted by Luca Fancellu 5 months, 2 weeks ago
This serie aims to add more modularity to some feature that can be excluded
without issues from the build.

The first patch is already reviewed.

v2 update: So I've tried to see how to put the dom0less code in the common code,
but the amount of modifications are not trivial, even putting only the common
part and protecting them with ARM, leaving the ARM specific stuff under arch/
like gic etc... will leave a status that is not very nice, so I've decided for
now to keep everything on the arm architecture so that who is going to work
on unifying the code in common can just take from there and do the proper
rework.

This serie is not targeting 4.18.

Luca Fancellu (5):
  arm/gicv2: make GICv2 driver and vGICv2 optional
  xen/arm: Add asm/domain.h include to kernel.h
  arm/dom0less: put dom0less feature code in a separate module
  xen/arm: Move static memory build code in separate modules
  arm/dom0less: introduce Kconfig for dom0less feature

 xen/arch/arm/Kconfig                      |   27 +
 xen/arch/arm/Makefile                     |    7 +-
 xen/arch/arm/bootfdt.c                    |  161 +-
 xen/arch/arm/dom0less-build.c             | 1018 ++++++
 xen/arch/arm/domain_build.c               | 3591 ++++++---------------
 xen/arch/arm/efi/efi-boot.h               |    4 +
 xen/arch/arm/gic-v3.c                     |    4 +
 xen/arch/arm/include/asm/dom0less-build.h |   30 +
 xen/arch/arm/include/asm/domain_build.h   |   36 +
 xen/arch/arm/include/asm/kernel.h         |    1 +
 xen/arch/arm/include/asm/setup.h          |    1 -
 xen/arch/arm/include/asm/static-memory.h  |   45 +
 xen/arch/arm/include/asm/static-shmem.h   |   66 +
 xen/arch/arm/setup.c                      |   58 +-
 xen/arch/arm/static-memory.c              |  287 ++
 xen/arch/arm/static-shmem.c               |  547 ++++
 xen/arch/arm/vgic.c                       |    2 +
 xen/arch/arm/vgic/Makefile                |    4 +-
 xen/common/Kconfig                        |    2 +-
 19 files changed, 3059 insertions(+), 2832 deletions(-)
 create mode 100644 xen/arch/arm/dom0less-build.c
 create mode 100644 xen/arch/arm/include/asm/dom0less-build.h
 create mode 100644 xen/arch/arm/include/asm/static-memory.h
 create mode 100644 xen/arch/arm/include/asm/static-shmem.h
 create mode 100644 xen/arch/arm/static-memory.c
 create mode 100644 xen/arch/arm/static-shmem.c


base-commit: fb41228ececea948c7953c8c16fe28fd65c6536b
-- 
2.34.1