Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1220930
| From | Marc Zyngier <marc.zyngier@arm.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 4/4] x86, acpi: Handle apic/x2apic entries in MADT in correct order |
| Date | 2015-09-08 17:30 +0200 |
| Message-ID | <q6t0n-8ch-25@gated-at.bofh.it> (permalink) |
| References | (2 earlier) <q6oWK-2qG-9@gated-at.bofh.it> <q6oWK-2qG-11@gated-at.bofh.it> <q6oWK-2qG-13@gated-at.bofh.it> <q6oWK-2qG-15@gated-at.bofh.it> <q6oWJ-2qG-5@gated-at.bofh.it> |
| Organization | ARM Ltd |
On 08/09/15 12:08, Lukasz Anaczkowski wrote:
> ACPI specifies the following rules when listing APIC IDs:
> (1) Boot processor is listed first
> (2) For multi-threaded processors, BIOS should list the first logical
> processor of each of the individual multi-threaded processors in MADT
> before listing any of the second logical processors.
> (3) APIC IDs < 0xFF should be listed in APIC subtable, APIC IDs >= 0xFF
> should be listed in X2APIC subtable
[snip]
> diff --git a/drivers/acpi/tables.c b/drivers/acpi/tables.c
> index ececeac..bc23220 100644
> --- a/drivers/acpi/tables.c
> +++ b/drivers/acpi/tables.c
> @@ -239,6 +239,7 @@ acpi_parse_entries(char *id, unsigned long table_size,
> struct acpi_subtable_header *entry;
> int count = 0;
> unsigned long table_end;
> + int i;
>
> if (acpi_disabled)
> return -ENODEV;
> @@ -269,7 +270,7 @@ acpi_parse_entries(char *id, unsigned long table_size,
> for (i = 0; i < proc_num; i++) {
> if (entry->type != proc[i].id)
> continue;
> - if (!proc->handler || proc[i].handler(entry, table_end)) {
> + if (!proc->handler || proc[i].handler(entry, table_end))
> return -EINVAL;
This needs to be moved into the right patch, because this is otherwise
not bisectable...
M.
--
Jazz is not dead. It just smells funny...
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 4/4] x86, acpi: Handle apic/x2apic entries in MADT in correct order Lukasz Anaczkowski <lukasz.anaczkowski@intel.com> - 2015-09-08 13:10 +0200 Re: [PATCH 4/4] x86, acpi: Handle apic/x2apic entries in MADT in correct order Marc Zyngier <marc.zyngier@arm.com> - 2015-09-08 17:30 +0200
csiph-web