mbox series

[XEN,v2,0/2] xen/arm: Configure early printk via Kconfig

Message ID 20200306174250.291503-1-anthony.perard@citrix.com (mailing list archive)
Headers show
Series xen/arm: Configure early printk via Kconfig | expand

Message

Anthony PERARD March 6, 2020, 5:42 p.m. UTC
Patch series available in this git branch:
https://xenbits.xen.org/git-http/people/aperard/xen-unstable.git br.arm-early-printk-v2

Hi,

That two patchs is to unblock my work on "xen: Build system improvements".
There is an easier fix to build with early printk, but it is just better to use
Kconfig.

It is base on earlier work by Julien, "xen/arm: Add Skeleton for using
configuring early printk using Kconfig" but instead of having a single choice
menu where platform and driver are mixed, I have two separated menu. Selecting
a UART driver for early printk will hide the platform specific options. (As I
understand, you want to remove the platform specific options)

The changes which rename all macros is in a separated patch, as Stefano wanted.

Hope you like the changes.

(I might add those patches to my other series if I need to resent it before the
early printk changes are applied.)

Cheers,

Anthony PERARD (1):
  xen/arm: Rename all early printk macro

Julien Grall (1):
  xen/arm: Configure early printk via Kconfig

 docs/misc/arm/early-printk.txt     |  50 ++++---
 xen/Kconfig.debug                  |   2 +
 xen/arch/arm/Kconfig.debug         | 208 +++++++++++++++++++++++++++++
 xen/arch/arm/Makefile              |   2 +-
 xen/arch/arm/Rules.mk              |  74 ----------
 xen/arch/arm/arm32/Makefile        |   2 +-
 xen/arch/arm/arm32/debug-8250.inc  |   2 +-
 xen/arch/arm/arm32/debug-pl011.inc |   4 +-
 xen/arch/arm/arm32/debug-scif.inc  |   4 +-
 xen/arch/arm/arm32/debug.S         |   4 +-
 xen/arch/arm/arm32/head.S          |  10 +-
 xen/arch/arm/arm64/Makefile        |   2 +-
 xen/arch/arm/arm64/debug-8250.inc  |   4 +-
 xen/arch/arm/arm64/debug-pl011.inc |   4 +-
 xen/arch/arm/arm64/debug.S         |   4 +-
 xen/arch/arm/arm64/head.S          |  10 +-
 xen/arch/x86/Kconfig.debug         |   0
 xen/include/asm-arm/early_printk.h |   2 +-
 18 files changed, 261 insertions(+), 127 deletions(-)
 create mode 100644 xen/arch/arm/Kconfig.debug
 create mode 100644 xen/arch/x86/Kconfig.debug