All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 00/13] Enable ACPI on ARM64 in Kconfig
@ 2014-06-27  3:49 ` Hanjun Guo
  0 siblings, 0 replies; 56+ messages in thread
From: Hanjun Guo @ 2014-06-27  3:49 UTC (permalink / raw)
  To: Rafael J. Wysocki, Catalin Marinas, linux-arm-kernel, linux-acpi
  Cc: linux-kernel, Arnd Bergmann, Bjorn Helgaas, rric, Grant Likely,
	Sudeep Holla, Mark Rutland, Charles.Garcia-Tobin,
	lorenzo.pieralisi, linaro-acpi, Hanjun Guo

This patch set is the first part of ARM64 ACPI core patches to
running ACPI on ARM64, it just handle some compile errors when
ACPI is introduced to ARM64 platform and enable ACPI on ARM64
in Kconfig.

Following core patch sets for ACPI based SMP/GIC/Arch Timer
initialization to enable ACPI on ARM64 are under interally
review and will send out when ACPI 5.1 is released.

patch 1~3 are cleanups for ACPI core;
patch 4~13 are arch dependent code for ARM64 ACPI;

This patch set is based on linux-next branch of Rafael's linux-pm
tree, and PCI patches for ARM64 from Liviu:
Support for creating generic host_bridge from device tree
https://lkml.org/lkml/2014/3/14/279

Add support for PCI in AArch64
http://comments.gmane.org/gmane.linux.ports.arm.kernel/309392

Changes since v3:
- Introduce three new patches
	- acpi: arm64 does not have a BIOS add config for BIOS table scan
	- ACPI: Don't use acpi_lapic in ACPI core code
	- ARM64 / ACPI: if we chose to boot from acpi then disable FDT
- Rebase on the latest linux-next branch of Rafael's tree, and
  introduce asm/acenv.h for ARM64;
- Introduce ARCH_HAS_ACPI_PDC to move all the _PDC related code
  to a single place and make x86 and ia64 select ARCH_HAS_ACPI_PDC;
- Fix some checpatch warning;
- Fix broken Signed-off-by chain;
- Remove duplicate interface macros for ACPICA pointed out by Mark
  Rutland and Zheng Lv;
- Redefine ACPI_FLUSH_CPU_CACHE();
- Stub out some PCI functions suggested by Arnd and already merged into 3.16

Comments still need to be addressed:
	- Empty PCI implementation in arch/arm64 which suggested by Arnd;
	- suspend and sleep on ARM64 platform pointed out by Lorenzo;

Changes since v2:
- Make ACPI depend on PCI on ARM64
- rework all the patches and seperate some of the patches
  into fine-grained, and add some comments and changelog to
  make it easier for review.

Al Stone (3):
  ARM64 / ACPI: Introduce arm-core.c and its related head file
  ARM64 / ACPI: Introduce early_param for "acpi"
  ARM64 / ACPI: Select ACPI_REDUCED_HARDWARE_ONLY if ACPI is enabled on
    ARM64

Graeme Gregory (6):
  acpi: arm64 does not have a BIOS add config for BIOS table scan.
  ACPI: Don't use acpi_lapic in ACPI core code
  ARM64 : Add dummy asm/cpu.h
  ARM64 / ACPI: Introduce lowlevel suspend function
  ARM64 / ACPI: if we chose to boot from acpi then disable FDT
  ARM64 / ACPI: Enable ARM64 in Kconfig

Hanjun Guo (4):
  ACPI / processor: Introduce ARCH_HAS_ACPI_PDC
  ARM64 / ACPI: Introduce arch_fix_phys_package_id() for cpu topology
  ARM64 / ACPI: Introduce PCI functions for ACPI on ARM64
  ACPI: Make EC debugfs depend on X86 || IA64 in Kconfig

 Documentation/kernel-parameters.txt |    3 +-
 arch/arm64/Kconfig                  |    3 +
 arch/arm64/include/asm/acenv.h      |   18 +++
 arch/arm64/include/asm/acpi.h       |   61 +++++++++++
 arch/arm64/include/asm/cpu.h        |   11 ++
 arch/arm64/include/asm/pci.h        |    6 +
 arch/arm64/include/asm/topology.h   |    2 +
 arch/arm64/kernel/pci.c             |   28 +++++
 arch/arm64/kernel/setup.c           |    7 +-
 arch/arm64/kernel/topology.c        |   14 +++
 arch/ia64/Kconfig                   |    2 +
 arch/ia64/include/asm/acpi.h        |    5 +
 arch/x86/Kconfig                    |    2 +
 arch/x86/include/asm/acpi.h         |    5 +
 drivers/acpi/Kconfig                |   19 +++-
 drivers/acpi/Makefile               |    3 +
 drivers/acpi/acpi_processor.c       |    2 +-
 drivers/acpi/internal.h             |    5 +
 drivers/acpi/osl.c                  |    4 +-
 drivers/acpi/plat/Makefile          |    1 +
 drivers/acpi/plat/arm-core.c        |  138 +++++++++++++++++++++++
 drivers/acpi/processor_core.c       |  198 ---------------------------------
 drivers/acpi/processor_pdc.c        |  206 +++++++++++++++++++++++++++++++++++
 23 files changed, 539 insertions(+), 204 deletions(-)
 create mode 100644 arch/arm64/include/asm/acenv.h
 create mode 100644 arch/arm64/include/asm/acpi.h
 create mode 100644 arch/arm64/include/asm/cpu.h
 create mode 100644 drivers/acpi/plat/Makefile
 create mode 100644 drivers/acpi/plat/arm-core.c
 create mode 100644 drivers/acpi/processor_pdc.c

-- 
1.7.9.5


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

end of thread, other threads:[~2014-07-01  9:22 UTC | newest]

Thread overview: 56+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-27  3:49 [PATCH v4 00/13] Enable ACPI on ARM64 in Kconfig Hanjun Guo
2014-06-27  3:49 ` Hanjun Guo
2014-06-27  3:49 ` [PATCH v4 01/13] acpi: arm64 does not have a BIOS add config for BIOS table scan Hanjun Guo
2014-06-27  3:49   ` Hanjun Guo
2014-06-27  3:49 ` [PATCH v4 02/13] ACPI: Don't use acpi_lapic in ACPI core code Hanjun Guo
2014-06-27  3:49   ` Hanjun Guo
2014-06-27  3:49 ` [PATCH v4 03/13] ACPI / processor: Introduce ARCH_HAS_ACPI_PDC Hanjun Guo
2014-06-27  3:49   ` Hanjun Guo
2014-06-27  3:49 ` [PATCH v4 04/13] ARM64 : Add dummy asm/cpu.h Hanjun Guo
2014-06-27  3:49   ` Hanjun Guo
2014-06-27  3:49 ` [PATCH v4 05/13] ARM64 / ACPI: Introduce arm-core.c and its related head file Hanjun Guo
2014-06-27  3:49   ` Hanjun Guo
2014-06-30 16:24   ` Catalin Marinas
2014-06-30 16:24     ` Catalin Marinas
2014-06-30 16:24     ` Catalin Marinas
2014-06-30 17:21     ` Graeme Gregory
2014-06-30 17:21       ` Graeme Gregory
2014-06-30 17:21       ` Graeme Gregory
2014-06-27  3:49 ` [PATCH v4 06/13] ARM64 / ACPI: Introduce early_param for "acpi" Hanjun Guo
2014-06-27  3:49   ` Hanjun Guo
2014-06-27  9:07   ` Arnd Bergmann
2014-06-27  9:07     ` Arnd Bergmann
2014-06-27 10:57     ` Graeme Gregory
2014-06-27 10:57       ` Graeme Gregory
2014-06-27 10:57       ` Graeme Gregory
2014-06-27  3:49 ` [PATCH v4 07/13] ARM64 / ACPI: Introduce lowlevel suspend function Hanjun Guo
2014-06-27  3:49   ` Hanjun Guo
2014-06-30 16:28   ` Catalin Marinas
2014-06-30 16:28     ` Catalin Marinas
2014-06-30 16:28     ` Catalin Marinas
2014-06-27  3:49 ` [PATCH v4 08/13] ARM64 / ACPI: Introduce arch_fix_phys_package_id() for cpu topology Hanjun Guo
2014-06-27  3:49   ` Hanjun Guo
2014-06-27  3:49 ` [PATCH v4 09/13] ARM64 / ACPI: Introduce PCI functions for ACPI on ARM64 Hanjun Guo
2014-06-27  3:49   ` Hanjun Guo
2014-06-27  3:49 ` [PATCH v4 10/13] ACPI: Make EC debugfs depend on X86 || IA64 in Kconfig Hanjun Guo
2014-06-27  3:49   ` Hanjun Guo
2014-06-27  3:49 ` [PATCH v4 11/13] ARM64 / ACPI: Select ACPI_REDUCED_HARDWARE_ONLY if ACPI is enabled on ARM64 Hanjun Guo
2014-06-27  3:49   ` Hanjun Guo
2014-06-27  3:49 ` [PATCH v4 12/13] ARM64 / ACPI: if we chose to boot from acpi then disable FDT Hanjun Guo
2014-06-27  3:49   ` Hanjun Guo
2014-06-27  9:09   ` [Linaro-acpi] " Arnd Bergmann
2014-06-27  9:09     ` Arnd Bergmann
2014-06-27  3:49 ` [PATCH v4 13/13] ARM64 / ACPI: Enable ARM64 in Kconfig Hanjun Guo
2014-06-27  3:49   ` Hanjun Guo
2014-06-30 10:46   ` Catalin Marinas
2014-06-30 10:46     ` Catalin Marinas
2014-06-30 10:46     ` Catalin Marinas
2014-07-01  7:54     ` Hanjun Guo
2014-07-01  7:54       ` Hanjun Guo
2014-07-01  7:54       ` Hanjun Guo
2014-07-01  8:20       ` Hanjun Guo
2014-07-01  8:20         ` Hanjun Guo
2014-07-01  8:20         ` Hanjun Guo
2014-07-01  9:22         ` Catalin Marinas
2014-07-01  9:22           ` Catalin Marinas
2014-07-01  9:22           ` Catalin Marinas

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.