From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shannon Zhao Subject: [PATCH v5 0/8] Refactor DT specific codes preparing for ACPI support on ARM64 Date: Sat, 23 Jan 2016 16:00:12 +0800 Message-ID: <1453536020-16196-1-git-send-email-zhaoshenglong@huawei.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org Cc: ian.campbell@citrix.com, Doug Goldstein , peter.huangpeng@huawei.com, julien.grall@citrix.com, stefano.stabellini@citrix.com, shannon.zhao@linaro.org, Jan Beulich List-Id: xen-devel@lists.xenproject.org From: Shannon Zhao These patches are Part 2 of the previous patch set I sent which adds ACPI support for arm64 on Xen[1]. Split them as an individual set for convenient reviewing. The first patch import kconfig.h from Linux to support the use of IS_ENABLED(). The second patch ports changes from Linux to avoid doing traditional BIOS table scan for ARM64. The third patch refactor acpi_os_map_memory to be architecturally independent. The last five patches refactor some ARM codes into generic and DT specific parts. CC: Doug Goldstein CC: Jan Beulich Thanks, Shannon [1] http://lists.xenproject.org/archives/html/xen-devel/2015-11/msg01831.html Graeme Gregory (1): ACPI: add config for BIOS table scan Shannon Zhao (7): Kconfig: import kconfig.h from Linux 4.3 acpi: Refactor acpi_os_map_memory to be architecturally independent arm/smpboot: Move dt specific code in smp to seperate functions arm/gic-v2: Refactor gicv2_init into generic and dt specific parts arm/gic-v3: Refactor gicv3_init into generic and dt specific parts arm/uart: Rename dt-uart.c to arm-uart.c pl011: Refactor pl011 driver to dt and common initialization parts MAINTAINERS | 2 +- xen/arch/arm/arm64/smpboot.c | 7 +- xen/arch/arm/gic-v2.c | 21 ++++-- xen/arch/arm/gic-v3.c | 114 +++++++++++++++-------------- xen/arch/arm/smpboot.c | 29 +++++--- xen/arch/x86/Kconfig | 1 + xen/drivers/acpi/Kconfig | 3 + xen/drivers/acpi/osl.c | 15 ++-- xen/drivers/char/Makefile | 2 +- xen/drivers/char/{dt-uart.c => arm-uart.c} | 2 +- xen/drivers/char/pl011.c | 64 +++++++++------- xen/include/asm-x86/acpi.h | 2 + xen/include/xen/config.h | 2 +- xen/include/xen/kconfig.h | 54 ++++++++++++++ 14 files changed, 211 insertions(+), 107 deletions(-) rename xen/drivers/char/{dt-uart.c => arm-uart.c} (98%) create mode 100644 xen/include/xen/kconfig.h -- 2.0.4