diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-18 18:51:48 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-18 18:51:48 -0500 |
commit | 507a03c1cba0e32309223d23d19a1bfc0916c140 (patch) | |
tree | 8da15f9c635733948a73bfe35cb50e1195702952 /arch/ia64/kernel | |
parent | be405411f712489f2f780ab085e1069e8fb85f19 (diff) | |
parent | 79ba0db69c5887f1ad4ed51d58894e7e889084b0 (diff) |
Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux
This includes initial support for the recently published ACPI 5.0 spec.
In particular, support for the "hardware-reduced" bit that eliminates
the dependency on legacy hardware.
APEI has patches resulting from testing on real hardware.
Plus other random fixes.
* 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux: (52 commits)
acpi/apei/einj: Add extensions to EINJ from rev 5.0 of acpi spec
intel_idle: Split up and provide per CPU initialization func
ACPI processor: Remove unneeded variable passed by acpi_processor_hotadd_init V2
ACPI processor: Remove unneeded cpuidle_unregister_driver call
intel idle: Make idle driver more robust
intel_idle: Fix a cast to pointer from integer of different size warning in intel_idle
ACPI: kernel-parameters.txt : Add intel_idle.max_cstate
intel_idle: remove redundant local_irq_disable() call
ACPI processor: Fix error path, also remove sysdev link
ACPI: processor: fix acpi_get_cpuid for UP processor
intel_idle: fix API misuse
ACPI APEI: Convert atomicio routines
ACPI: Export interfaces for ioremapping/iounmapping ACPI registers
ACPI: Fix possible alignment issues with GAS 'address' references
ACPI, ia64: Use SRAT table rev to use 8bit or 16/32bit PXM fields (ia64)
ACPI, x86: Use SRAT table rev to use 8bit or 32bit PXM fields (x86/x86-64)
ACPI: Store SRAT table revision
ACPI, APEI, Resolve false conflict between ACPI NVS and APEI
ACPI, Record ACPI NVS regions
ACPI, APEI, EINJ, Refine the fix of resource conflict
...
Diffstat (limited to 'arch/ia64/kernel')
-rw-r--r-- | arch/ia64/kernel/acpi.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/arch/ia64/kernel/acpi.c b/arch/ia64/kernel/acpi.c index bfb4d01e0e51..5207035dc061 100644 --- a/arch/ia64/kernel/acpi.c +++ b/arch/ia64/kernel/acpi.c | |||
@@ -429,22 +429,24 @@ static u32 __devinitdata pxm_flag[PXM_FLAG_LEN]; | |||
429 | static struct acpi_table_slit __initdata *slit_table; | 429 | static struct acpi_table_slit __initdata *slit_table; |
430 | cpumask_t early_cpu_possible_map = CPU_MASK_NONE; | 430 | cpumask_t early_cpu_possible_map = CPU_MASK_NONE; |
431 | 431 | ||
432 | static int get_processor_proximity_domain(struct acpi_srat_cpu_affinity *pa) | 432 | static int __init |
433 | get_processor_proximity_domain(struct acpi_srat_cpu_affinity *pa) | ||
433 | { | 434 | { |
434 | int pxm; | 435 | int pxm; |
435 | 436 | ||
436 | pxm = pa->proximity_domain_lo; | 437 | pxm = pa->proximity_domain_lo; |
437 | if (ia64_platform_is("sn2")) | 438 | if (ia64_platform_is("sn2") || acpi_srat_revision >= 2) |
438 | pxm += pa->proximity_domain_hi[0] << 8; | 439 | pxm += pa->proximity_domain_hi[0] << 8; |
439 | return pxm; | 440 | return pxm; |
440 | } | 441 | } |
441 | 442 | ||
442 | static int get_memory_proximity_domain(struct acpi_srat_mem_affinity *ma) | 443 | static int __init |
444 | get_memory_proximity_domain(struct acpi_srat_mem_affinity *ma) | ||
443 | { | 445 | { |
444 | int pxm; | 446 | int pxm; |
445 | 447 | ||
446 | pxm = ma->proximity_domain; | 448 | pxm = ma->proximity_domain; |
447 | if (!ia64_platform_is("sn2")) | 449 | if (!ia64_platform_is("sn2") && acpi_srat_revision <= 1) |
448 | pxm &= 0xff; | 450 | pxm &= 0xff; |
449 | 451 | ||
450 | return pxm; | 452 | return pxm; |