public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Prepare for running ACPI on !x86 and !ia64
@ 2014-02-08 13:10 Hanjun Guo
  2014-02-08 13:10 ` [PATCH v2 1/3] ACPI / idle: Make idle_boot_override depend on x86 and ia64 Hanjun Guo
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Hanjun Guo @ 2014-02-08 13:10 UTC (permalink / raw)
  To: Rafael J. Wysocki
  Cc: linux-acpi, patches, linux-kernel, linaro-acpi, Hanjun Guo

Some of the ACPI code is arch-dependent and make the code can't be
compiled on !x86 or !ia64, the first two patches just do some rework
on the idle_boot_override and _PDC related stuff to make the ACPI
code more arch-independent.

The third patch just introduce map_gic_id() for ACPI processor core
followed by the ACPI 5.0 spec.

I have compiled the kernel successfully after appling this patch set
on x86 and ia64.

Changes for v2:
a) add #if defined(CONFIG_X86) || defined(CONFIG_IA64) for
   idle_boot_override related code;
b) Rebased on 3.14-rc1.

Changes since the RFC version:
a) Remove the RFC tag;
b) Move idle_boot_override out of the arch directory suggested
   by Alan;
c) Make these 3 patches as a separate patch set since there are
   not not related to the ARM/ARM64 platform.

Hanjun Guo (3):
  ACPI / idle: Make idle_boot_override depend on x86 and ia64
  ACPI / processor_core: Rework _PDC related stuff to make it more
    arch-independent
  ACPI: Introduce map_gic_id() to get apic id from MADT or _MAT method

 arch/ia64/include/asm/acpi.h  |    5 +--
 arch/ia64/kernel/acpi.c       |   17 +++++++++
 arch/x86/include/asm/acpi.h   |   19 +--------
 arch/x86/kernel/acpi/cstate.c |   31 +++++++++++++++
 drivers/acpi/processor_core.c |   85 ++++++++++++++++++++++++-----------------
 5 files changed, 99 insertions(+), 58 deletions(-)

-- 
1.7.9.5


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

end of thread, other threads:[~2014-02-18  9:00 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-08 13:10 [PATCH v2 0/3] Prepare for running ACPI on !x86 and !ia64 Hanjun Guo
2014-02-08 13:10 ` [PATCH v2 1/3] ACPI / idle: Make idle_boot_override depend on x86 and ia64 Hanjun Guo
2014-02-10  1:55   ` Lan Tianyu
2014-02-18  1:13   ` Rafael J. Wysocki
2014-02-18  8:59     ` Hanjun Guo
2014-02-08 13:10 ` [PATCH v2 2/3] ACPI / processor_core: Rework _PDC related stuff to make it more arch-independent Hanjun Guo
2014-02-10  2:21   ` Lan Tianyu
2014-02-10  7:09     ` Hanjun Guo
2014-02-08 13:10 ` [PATCH v2 3/3] ACPI: Introduce map_gic_id() to get apic id from MADT or _MAT method Hanjun Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox