All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ACPI/APEI: revert "accept validly sized ERST on Intel systems only for now"
@ 2013-03-26  9:26 Jan Beulich
  2013-03-26 14:24 ` Andrew Cooper
  2013-03-26 16:37 ` Ian Jackson
  0 siblings, 2 replies; 7+ messages in thread
From: Jan Beulich @ 2013-03-26  9:26 UTC (permalink / raw)
  To: xen-devel; +Cc: Andrew Cooper, Ian Jackson

[-- Attachment #1: Type: text/plain, Size: 991 bytes --]

With the recent two fixes to ERST handling, this should no longer be
necessary.

Signed-off-by: Jan Beulich <jbeulich@suse.com>

--- 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
 
 	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.




[-- Attachment #2: ACPI-APEI-revert-26074.patch --]
[-- Type: text/plain, Size: 1064 bytes --]

ACPI/APEI: revert "accept validly sized ERST on Intel systems only for now"

With the recent two fixes to ERST handling, this should no longer be
necessary.

Signed-off-by: Jan Beulich <jbeulich@suse.com>

--- 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
 
 	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.

[-- Attachment #3: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-03-27 13:56 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-26  9:26 [PATCH] ACPI/APEI: revert "accept validly sized ERST on Intel systems only for now" Jan Beulich
2013-03-26 14:24 ` Andrew Cooper
2013-03-26 14:31   ` Jan Beulich
2013-03-26 16:37 ` Ian Jackson
2013-03-26 16:46   ` Jan Beulich
2013-03-27  9:36   ` Jan Beulich
2013-03-27 13:56     ` Ian Jackson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.