diff options
author | Ashok Raj <ashok.raj@intel.com> | 2005-03-31 22:51:10 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2005-07-12 00:01:41 -0400 |
commit | 55e59c511cea3c6c721971467c707e9955922bc2 (patch) | |
tree | 1dc3b66be2e71881167b7ba9259b291484567b01 /include | |
parent | 6940fabaa35b893163b7043d0d1dc5d715f9e1ca (diff) |
[ACPI] Evaluate CPEI Processor Override flag
ACPI 3.0 added a Correctable Platform Error Interrupt (CPEI)
Processor Overide flag to MADT.Platform_Interrupt_Source.
Record the processor that was provided as hint from ACPI.
Signed-off-by: Ashok Raj <ashok.raj@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-ia64/acpi.h | 9 | ||||
-rw-r--r-- | include/linux/acpi.h | 5 |
2 files changed, 13 insertions, 1 deletions
diff --git a/include/asm-ia64/acpi.h b/include/asm-ia64/acpi.h index 6a26a977f25..4c06d455139 100644 --- a/include/asm-ia64/acpi.h +++ b/include/asm-ia64/acpi.h @@ -98,6 +98,15 @@ const char *acpi_get_sysname (void); int acpi_request_vector (u32 int_type); int acpi_gsi_to_irq (u32 gsi, unsigned int *irq); +/* + * Record the cpei override flag and current logical cpu. This is + * useful for CPU removal. + */ +extern unsigned int can_cpei_retarget(void); +extern unsigned int is_cpu_cpei_target(unsigned int cpu); +extern void set_cpei_target_cpu(unsigned int cpu); +extern unsigned int get_cpei_target_cpu(void); + #ifdef CONFIG_ACPI_NUMA /* Proximity bitmap length; _PXM is at most 255 (8 bit)*/ #define MAX_PXM_DOMAINS (256) diff --git a/include/linux/acpi.h b/include/linux/acpi.h index b123cc08773..70b3c52b75d 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h @@ -206,7 +206,10 @@ struct acpi_table_plat_int_src { u8 eid; u8 iosapic_vector; u32 global_irq; - u32 reserved; + struct { + u32 cpei_override_flag:1; + u32 reserved:31; + } plint_flags; } __attribute__ ((packed)); enum acpi_interrupt_id { |