[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <C1C2579D7BE026428F81F41198ADB1723786A47E@irsmsx110.ger.corp.intel.com>
Date: Tue, 1 Sep 2015 12:07:15 +0000
From: "Anaczkowski, Lukasz" <lukasz.anaczkowski@...el.com>
To: Tomasz Nowicki <tomasz.nowicki@...aro.org>,
"marc.zyngier@....com" <marc.zyngier@....com>,
"lorenzo.pieralisi@....com" <lorenzo.pieralisi@....com>,
"tglx@...utronix.de" <tglx@...utronix.de>,
"mingo@...hat.com" <mingo@...hat.com>,
"hpa@...or.com" <hpa@...or.com>, "x86@...nel.org" <x86@...nel.org>,
"jason@...edaemon.net" <jason@...edaemon.net>
CC: "rjw@...ysocki.net" <rjw@...ysocki.net>,
"Brown, Len" <len.brown@...el.com>, "pavel@....cz" <pavel@....cz>,
"linux-pm@...r.kernel.org" <linux-pm@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-acpi@...r.kernel.org" <linux-acpi@...r.kernel.org>,
Yinghai Lu <yinghai@...nel.org>
Subject: RE: [PATCH] x86, arm64, acpi: Handle lapic/x2apic entries in MADT
From: Tomasz Nowicki [mailto:tomasz.nowicki@...aro.org]
Sent: Tuesday, September 1, 2015 10:03 AM
>> To fix this, each LAPIC/X2APIC entry from MADT table needs to be
>> handled at the same time when processing it, thus adding
>> acpi_subtable_proc structure which stores
>> () ACPI table id
>> () handler that processes table
>> () counter how many items has been processed and passing it to
>> acpi_table_parse_entries().
> Why can't you leave the parsing code as is and create ApicId sorted list while parsing LAPIC/X2APIC? You could call acpi_register_lapic() after all... Do I miss something ?
Just to make sure I understand correctly - you suggest to replace calls to acpi_register_lapic() with a code that builds an APIC ID list while parsing LAPIC/X2APIC, and after parsing is done,
go thru the list and call acpi_register_lapic() on each APIC ID, correct?
Thanks,
Lukasz
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists