From: "Jan Beulich" Subject: [PATCH] ACPI/APEI: revert "accept validly sized ERST on Intel systems only for now" Date: Tue, 26 Mar 2013 09:26:21 +0000 Message-ID: <515177CD02000078000C875D@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=__PartAC9CA1AD.2__=" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel Cc: Andrew Cooper , Ian Jackson List-Id: xen-devel@lists.xenproject.org This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=__PartAC9CA1AD.2__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline With the recent two fixes to ERST handling, this should no longer be necessary. Signed-off-by: Jan Beulich --- a/xen/drivers/acpi/apei/erst.c +++ b/xen/drivers/acpi/apei/erst.c @@ -738,19 +738,6 @@ static int __init erst_check_table(struc =20 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 !=3D 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. --=__PartAC9CA1AD.2__= Content-Type: text/plain; name="ACPI-APEI-revert-26074.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="ACPI-APEI-revert-26074.patch" ACPI/APEI: revert "accept validly sized ERST on Intel systems only for = now"=0A=0AWith the recent two fixes to ERST handling, this should no = longer be=0Anecessary.=0A=0ASigned-off-by: Jan Beulich = =0A=0A--- a/xen/drivers/acpi/apei/erst.c=0A+++ b/xen/drivers/acpi/apei/erst= .c=0A@@ -738,19 +738,6 @@ static int __init erst_check_table(struc=0A =0A = switch (erst_tab->header_length) {=0A case sizeof(*erst_tab) - sizeof(ers= t_tab->header):=0A-#ifdef CONFIG_X86=0A- /* XXX=0A- = * While the rest of the ERST code appears to work on Intel=0A- * = systems with properly sized tables, various AMD systems=0A- * = appear to get hung (at boot time) by allowing this. Until=0A- * = someone with access to suitable hardware can debug this,=0A- * = disable the rest of the code by considering this case=0A- * = invalid.=0A- */=0A- if (boot_cpu_data.x86_vendor !=3D = X86_VENDOR_INTEL)=0A- return -EINVAL;=0A- /* = fall through */=0A-#endif=0A /*=0A * While invalid per specification,= there are (early?) systems=0A * indicating the full header size here, = so accept that value too.=0A --=__PartAC9CA1AD.2__= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --=__PartAC9CA1AD.2__=--