Displaying 4 results from an estimated 4 matches for "x86_acpiid_to_apicid".
2013 Oct 30
1
[PATCH] x86/ACPI/x2APIC: guard against out of range ACPI or APIC IDs
...;WARNING: " : KERN_INFO,
+ processor->local_apic_id, processor->uid);
+ /*
+ * Must not return an error here, to prevent
+ * acpi_table_parse_entries() from terminating early.
+ */
+ return 0 /* -ENOSPC */;
+ }
if (processor->lapic_flags & ACPI_MADT_ENABLED) {
x86_acpiid_to_apicid[processor->uid] =
processor->local_apic_id;
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
2011 Dec 12
0
[PATCH 1/4] ACPI: eliminate duplicate MADT parsing and unused SBF definitions
...acpi_madt_local_x2apic, header);
+ bool_t enabled = 0;
if (BAD_MADT_ENTRY(processor, end))
return -EINVAL;
@@ -97,8 +97,11 @@ acpi_parse_x2apic(struct acpi_subtable_h
acpi_table_print_madt_entry(header);
/* Record local apic id only when enabled */
- if (processor->flags.enabled)
- x86_acpiid_to_apicid[processor->acpi_uid] = processor->id;
+ if (processor->lapic_flags & ACPI_MADT_ENABLED) {
+ x86_acpiid_to_apicid[processor->uid] =
+ processor->local_apic_id;
+ enabled = 1;
+ }
/*
* We need to register disabled CPU as well to permit
@@ -107,9 +110,7 @@ acpi_parse_x2ap...
2007 Jun 27
0
[PATCH 1/10] Provide basic Xen PM infrastructure
...,0
+wakeup_stack: # Just below end of first page in this section
+ENTRY(wakeup_end)
diff -r 9261686d840c xen/include/asm-x86/acpi.h
--- a/xen/include/asm-x86/acpi.h Tue Jun 26 12:40:37 2007 +0100
+++ b/xen/include/asm-x86/acpi.h Tue Jun 26 20:28:13 2007 -0400
@@ -178,4 +178,6 @@ extern u8 x86_acpiid_to_apicid[];
extern u8 x86_acpiid_to_apicid[];
#define MAX_LOCAL_APIC 256
+#define pmprintk(_l, _f, _a...) \
+ printk(_l "<PM>" _f, ## _a )
#endif /*_ASM_ACPI_H*/
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.co...
2011 Mar 09
0
[PATCH 04/11] x86: cleanup mpparse.c
...9.orig/xen/arch/x86/smpboot.c
+++ 2011-03-09/xen/arch/x86/smpboot.c
@@ -891,7 +891,7 @@ int cpu_add(uint32_t apic_id, uint32_t a
goto out;
}
- if ( (cpu = mp_register_lapic(apic_id, 1)) < 0 )
+ if ( (cpu = mp_register_lapic(apic_id, 1, 1)) < 0 )
goto out;
x86_acpiid_to_apicid[acpi_id] = apic_id;
--- 2011-03-09.orig/xen/include/asm-x86/genapic.h
+++ 2011-03-09/xen/include/asm-x86/genapic.h
@@ -49,6 +49,7 @@ struct genapic {
APICFUNC(acpi_madt_oem_check)
extern const struct genapic *genapic;
+extern const struct genapic apic_default;
const cpumask_t *target_cpus_...