From: Keir Fraser <keir.xen@gmail.com>
To: Jan Beulich <JBeulich@suse.com>, xen-devel <xen-devel@lists.xen.org>
Cc: Wei Wang <wei.wang2@amd.com>, Jinsong Liu <jinsong.liu@intel.com>,
christoph.egger@amd.com
Subject: Re: [PATCH] ACPI/APEI: accept validly sized ERST on Intel systems only for now
Date: Thu, 18 Oct 2012 08:55:39 +0100 [thread overview]
Message-ID: <CCA5748B.41EF4%keir.xen@gmail.com> (raw)
In-Reply-To: <507FCFC102000078000A23C7@nat28.tlf.novell.com>
On 18/10/2012 08:45, "Jan Beulich" <JBeulich@suse.com> wrote:
> Various AMD systems (but [unfortunately] not mine) hang when the table
> size check passes. Allow the check to pass on Intel systems only for
> now (until someone can actually debug the problem).
>
> Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
> --- a/xen/drivers/acpi/apei/erst.c
> +++ b/xen/drivers/acpi/apei/erst.c
> @@ -769,6 +769,19 @@ static int __init erst_check_table(struc
>
> switch (erst_tab->header_length) {
> case sizeof(*erst_tab) - sizeof(erst_tab->header):
> +#ifdef CONFIG_X86
> + /* XXX
> + * While the rest of the ERST code appears to work on Intel
> + * systems with properly sized tables, various AMD systems
> + * appear to get hung (at boot time) by allowing this. Until
> + * someone with access to suitable hardware can debug this,
> + * disable the rest of the code by considering this case
> + * invalid.
> + */
> + if (boot_cpu_data.x86_vendor != X86_VENDOR_INTEL)
> + return -EINVAL;
> + /* fall through */
> +#endif
> /*
> * While invalid per specification, there are (early?) systems
> * indicating the full header size here, so accept that value too.
>
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel
next prev parent reply other threads:[~2012-10-18 7:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-18 7:45 [PATCH] ACPI/APEI: accept validly sized ERST on Intel systems only for now Jan Beulich
2012-10-18 7:55 ` Keir Fraser [this message]
2012-10-18 8:46 ` Liu, Jinsong
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=CCA5748B.41EF4%keir.xen@gmail.com \
--to=keir.xen@gmail.com \
--cc=JBeulich@suse.com \
--cc=christoph.egger@amd.com \
--cc=jinsong.liu@intel.com \
--cc=wei.wang2@amd.com \
--cc=xen-devel@lists.xen.org \
/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).