From: "Rafael J. Wysocki" <rafael@kernel.org>
To: Al Stone <ahs3@redhat.com>
Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>,
Al Stone <al.stone@linaro.org>,
ACPI Devel Maling List <linux-acpi@vger.kernel.org>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
"linux-ia64@vger.kernel.org" <linux-ia64@vger.kernel.org>,
"linux-pm@vger.kernel.org" <linux-pm@vger.kernel.org>,
"linaro-acpi@lists.linaro.org" <linaro-acpi@lists.linaro.org>,
Lists linaro-kernel <linaro-kernel@lists.linaro.org>,
"patches@linaro.org" <patches@linaro.org>
Subject: Re: [PATCH v4 0/5] Provide better MADT subtable sanity checks
Date: Mon, 28 Sep 2015 23:13:01 +0200 [thread overview]
Message-ID: <CAJZ5v0hHfwpw2h26KJePVCcgd68QFK2mtiffwjpootVn4WtvsQ@mail.gmail.com> (raw)
In-Reply-To: <5609A06A.5020802@redhat.com>
On Mon, Sep 28, 2015 at 10:17 PM, Al Stone <ahs3@redhat.com> wrote:
> On 09/25/2015 05:29 PM, Rafael J. Wysocki wrote:
>> On Wednesday, September 16, 2015 05:26:40 PM Al Stone wrote:
[cut]
>> In particular, I'm not sure if we really need to return
>> -EINVAL from acpi_parse_entries_array() when we find a bad MADT entry or it
>> will be sufficient to simply go to the next entry in that case?
>>
>> Thanks,
>> Rafael
>
> I see there being two options: (1) return -EINVAL and indicate that the tables
> are incorrect, or (2) print a warning (or something more aggressive?), go to
> the next entry, and hope for the best with the remainder of the MADT subtables.
> The former is consistent with past behavior, I think, and the latter seems to
> me a bit of a gamble. So, my vote is for (1), the current method; what are you
> thinking these days?
I would be for preserving the past behavior.
I'm a bit concerned that the new checks may trigger on systems where
the old ones didn't, but that is a separete problem.
Thanks,
Rafael
prev parent reply other threads:[~2015-09-28 21:13 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-16 23:26 [PATCH v4 0/5] Provide better MADT subtable sanity checks Al Stone
2015-09-16 23:26 ` [PATCH v4 1/5] ACPI: add in a bad_madt_entry() function to eventually replace the macro Al Stone
2015-09-16 23:26 ` [PATCH v4 2/5] ACPI / ARM64: remove usage of BAD_MADT_ENTRY/BAD_MADT_GICC_ENTRY Al Stone
2015-09-16 23:26 ` [PATCH v4 3/5] ACPI / IA64: remove usage of BAD_MADT_ENTRY Al Stone
2015-09-16 23:26 ` [PATCH v4 4/5] ACPI / X86: " Al Stone
2015-09-16 23:26 ` [PATCH v4 5/5] ACPI: remove definition of BAD_MADT_ENTRY macro Al Stone
2015-09-25 23:29 ` [PATCH v4 0/5] Provide better MADT subtable sanity checks Rafael J. Wysocki
2015-09-28 20:17 ` Al Stone
2015-09-28 21:13 ` Rafael J. Wysocki [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAJZ5v0hHfwpw2h26KJePVCcgd68QFK2mtiffwjpootVn4WtvsQ@mail.gmail.com \
--to=rafael@kernel.org \
--cc=ahs3@redhat.com \
--cc=al.stone@linaro.org \
--cc=linaro-acpi@lists.linaro.org \
--cc=linaro-kernel@lists.linaro.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-ia64@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=patches@linaro.org \
--cc=rjw@rjwysocki.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).