[IA64] Fix iosapic interrupt delivery mode for CPE
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Fri, 9 Nov 2007 01:51:01 +0000 (10:51 +0900)
committerTony Luck <tony.luck@intel.com>
Sat, 8 Dec 2007 00:13:03 +0000 (16:13 -0800)
If "CPEI Processor Override" bit is not set in "Platform Interrupt
Source Flags" in "Platform Interrupt Sources Structure" in ACPI MADT,
the target processor of CPEI is restricted to a specific CPU. Because
of this, the delivery mode for CPEI should be IOSAPIC_FIXED.

Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/iosapic.c

index 96460ca2b9067c2a184215fb18b98b52b38f8dc2..398e2fd1cd2519ef2d6a2186308cd992073b0ec5 100644 (file)
@@ -925,7 +925,7 @@ iosapic_register_platform_intr (u32 int_type, unsigned int gsi,
              case ACPI_INTERRUPT_CPEI:
                irq = vector = IA64_CPE_VECTOR;
                BUG_ON(bind_irq_vector(irq, vector, CPU_MASK_ALL));
-               delivery = IOSAPIC_LOWEST_PRIORITY;
+               delivery = IOSAPIC_FIXED;
                mask = 1;
                break;
              default: