From patchwork Fri Mar 6 17:42:48 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anthony PERARD X-Patchwork-Id: 11424549 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 60CEA17E0 for ; Fri, 6 Mar 2020 17:44:08 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3D70B2072A for ; Fri, 6 Mar 2020 17:44:08 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=citrix.com header.i=@citrix.com header.b="a0TpJeGf" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3D70B2072A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=citrix.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1jAGzy-0003Pt-Fx; Fri, 06 Mar 2020 17:42:58 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1jAGzw-0003Pj-RG for xen-devel@lists.xenproject.org; Fri, 06 Mar 2020 17:42:56 +0000 X-Inumbo-ID: e943de36-5fd1-11ea-90c4-bc764e2007e4 Received: from esa6.hc3370-68.iphmx.com (unknown [216.71.155.175]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id e943de36-5fd1-11ea-90c4-bc764e2007e4; Fri, 06 Mar 2020 17:42:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=citrix.com; s=securemail; t=1583516575; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=aJGnPJb8LxVVoRqPlIbGi6Q1W4j0XCBs2IUIbKbZy7c=; b=a0TpJeGfcgB9pMGoKaLO/Ml02RrnLGSqnOGFjcYjffFUtITuT4vDeYHg MwvQXMqV8ORC8Us8CjLrNGnu4A3KpcC4nS7oxLlrF1B6RTAiRFI+QgcAj tVkjvwY1b7+b+AixhZ4f6JYp+6uLCtMVvdNqr9E5RMXW58gfqOAv6LeCZ A=; Authentication-Results: esa6.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none; spf=None smtp.pra=anthony.perard@citrix.com; spf=Pass smtp.mailfrom=anthony.perard@citrix.com; spf=None smtp.helo=postmaster@mail.citrix.com Received-SPF: None (esa6.hc3370-68.iphmx.com: no sender authenticity information available from domain of anthony.perard@citrix.com) identity=pra; client-ip=162.221.158.21; receiver=esa6.hc3370-68.iphmx.com; envelope-from="anthony.perard@citrix.com"; x-sender="anthony.perard@citrix.com"; x-conformance=sidf_compatible Received-SPF: Pass (esa6.hc3370-68.iphmx.com: domain of anthony.perard@citrix.com designates 162.221.158.21 as permitted sender) identity=mailfrom; client-ip=162.221.158.21; receiver=esa6.hc3370-68.iphmx.com; envelope-from="anthony.perard@citrix.com"; x-sender="anthony.perard@citrix.com"; x-conformance=sidf_compatible; x-record-type="v=spf1"; x-record-text="v=spf1 ip4:209.167.231.154 ip4:178.63.86.133 ip4:195.66.111.40/30 ip4:85.115.9.32/28 ip4:199.102.83.4 ip4:192.28.146.160 ip4:192.28.146.107 ip4:216.52.6.88 ip4:216.52.6.188 ip4:162.221.158.21 ip4:162.221.156.83 ip4:168.245.78.127 ~all" Received-SPF: None (esa6.hc3370-68.iphmx.com: no sender authenticity information available from domain of postmaster@mail.citrix.com) identity=helo; client-ip=162.221.158.21; receiver=esa6.hc3370-68.iphmx.com; envelope-from="anthony.perard@citrix.com"; x-sender="postmaster@mail.citrix.com"; x-conformance=sidf_compatible IronPort-SDR: 8xRyRmFemlUJraefABlF8nXnuP/BnrgvHSmVGRSqllYbBH+Q3tDMUWZJ945aYCrJ/HB2IEtT98 ZFPXFKwvCzGImf8649T7rT0c66xemc4qjxwBLpBSoNtQ9a4SOo0/+HHWkcEqV+r9E+iITgrKp8 WaA4SJqLQdkBinRbBl2nTc/L3ywImVcZ7flgxgmUeSj5OWQGvkn9K/omEUVE0j/MxTHx7BFNZb oeoHnlD2mBXM/IHRwDc9xPUudGAzbQjAGYCOm/LQ6G0CUIny83LpZfck9wFGGSwoGxfONHbA8L oEA= X-SBRS: 2.7 X-MesageID: 13967890 X-Ironport-Server: esa6.hc3370-68.iphmx.com X-Remote-IP: 162.221.158.21 X-Policy: $RELAYED X-IronPort-AV: E=Sophos;i="5.70,522,1574139600"; d="scan'208";a="13967890" From: Anthony PERARD To: Date: Fri, 6 Mar 2020 17:42:48 +0000 Message-ID: <20200306174250.291503-1-anthony.perard@citrix.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [Xen-devel] [XEN PATCH v2 0/2] xen/arm: Configure early printk via Kconfig X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Stefano Stabellini , Julien Grall , Wei Liu , Andrew Cooper , Ian Jackson , George Dunlap , Jan Beulich , Anthony PERARD , Volodymyr Babchuk , =?utf-8?q?Roger_Pau_Monn?= =?utf-8?q?=C3=A9?= Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" 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