Re: [Linaro-acpi] [PATCH v3 1/5] ACPI: add in a bad_madt_entry() function to eventually replace the macro
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: Graeme Gregory <graeme.gregory@xxxxxxxxxx>, Al Stone <al.stone@xxxxxxxxxx>
- Subject: Re: [Linaro-acpi] [PATCH v3 1/5] ACPI: add in a bad_madt_entry() function to eventually replace the macro
- From: Al Stone <ahs3@xxxxxxxxxx>
- Date: Thu, 10 Sep 2015 08:13:36 -0600
- Cc: linux-acpi@xxxxxxxxxxxxxxx, linux-arm-kernel@xxxxxxxxxxxxxxxxxxx, linaro-kernel@xxxxxxxxxxxxxxxx, linux-ia64@xxxxxxxxxxxxxxx, patches@xxxxxxxxxx, linux-pm@xxxxxxxxxxxxxxx, linaro-acpi@xxxxxxxxxxxxxxxx, "Rafael J. Wysocki" <rjw@xxxxxxxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx, Len Brown <lenb@xxxxxxxxxx>
- In-reply-to: <20150910121413.GA11267@xora-haswell.xora.org.uk>
- List-id: <linux-ia64.vger.kernel.org>
- References: <1441832991-28200-1-git-send-email-al.stone@linaro.org> <1441832991-28200-2-git-send-email-al.stone@linaro.org> <20150910121413.GA11267@xora-haswell.xora.org.uk>
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0
On 09/10/2015 06:14 AM, Graeme Gregory wrote:
> On Wed, Sep 09, 2015 at 03:09:47PM -0600, Al Stone wrote:
>> The existing BAD_MADT_ENTRY macro only checks that the size of the data
>> structure for an MADT subtable matches the length entry in the subtable.
>> This is, unfortunately, not reliable. Nor, as it turns out, does it have
>> anything to do with what the length should be in any particular table.
>>
[snip...]
if (handler(entry, table_end))
>> return -EINVAL;
>>
>> @@ -349,7 +592,7 @@ int __init acpi_table_parse(char *id, acpi_tbl_table_handler handler)
>> return -ENODEV;
>> }
>>
>> -/*
>> +/*
>> * The BIOS is supposed to supply a single APIC/MADT,
>> * but some report two. Provide a knob to use either.
>> * (don't you wish instance 0 and 1 were not the same?)
>
> Unrelated whitespace change snuck in here.
>
> Graeme
Bah. Nice catch; not sure how that got in there, but duly noted.
--
ciao,
al
-----------------------------------
Al Stone
Software Engineer
Red Hat, Inc.
ahs3@xxxxxxxxxx
-----------------------------------
--
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Index of Archives]
[Linux Kernel]
[Sparc Linux]
[DCCP]
[Linux ARM]
[Yosemite News]
[Linux SCSI]
[Linux x86_64]
[Linux for Ham Radio]