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

* Re: [PATCH] ACPI/APEI: revert "accept validly sized ERST on Intel systems only for now"
  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
  1 sibling, 1 reply; 7+ messages in thread
From: Andrew Cooper @ 2013-03-26 14:24 UTC (permalink / raw)
  To: Jan Beulich; +Cc: Ian Jackson, xen-devel

On 26/03/2013 09:26, Jan Beulich wrote:
> With the recent two fixes to ERST handling, this should no longer be
> necessary.
>
> Signed-off-by: Jan Beulich <jbeulich@suse.com>

There are still no failures from our regression testing, so a tentative

Tested-by: Andrew Cooper <andrew.cooper3@citrix.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.
>
>
>

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

* Re: [PATCH] ACPI/APEI: revert "accept validly sized ERST on Intel systems only for now"
  2013-03-26 14:24 ` Andrew Cooper
@ 2013-03-26 14:31   ` Jan Beulich
  0 siblings, 0 replies; 7+ messages in thread
From: Jan Beulich @ 2013-03-26 14:31 UTC (permalink / raw)
  To: Andrew Cooper; +Cc: Ian Jackson, xen-devel

>>> On 26.03.13 at 15:24, Andrew Cooper <andrew.cooper3@citrix.com> wrote:
> On 26/03/2013 09:26, Jan Beulich wrote:
>> With the recent two fixes to ERST handling, this should no longer be
>> necessary.
>>
>> Signed-off-by: Jan Beulich <jbeulich@suse.com>
> 
> There are still no failures from our regression testing, so a tentative
> 
> Tested-by: Andrew Cooper <andrew.cooper3@citrix.com>

Thanks for confirming!

Jan

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

* Re: [PATCH] ACPI/APEI: revert "accept validly sized ERST on Intel systems only for now"
  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 16:37 ` Ian Jackson
  2013-03-26 16:46   ` Jan Beulich
  2013-03-27  9:36   ` Jan Beulich
  1 sibling, 2 replies; 7+ messages in thread
From: Ian Jackson @ 2013-03-26 16:37 UTC (permalink / raw)
  To: Jan Beulich; +Cc: Andrew Cooper, xen-devel

Jan Beulich writes ("[PATCH] 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.
...

Which recent two fixes, JOOI ?  I did a recent test of reverting this
and found I still had some problems but it
that was based on 37d930430c2f2ef4dedf27deb404d2fe2602c039.

Thanks,
Ian.

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

* Re: [PATCH] ACPI/APEI: revert "accept validly sized ERST on Intel systems only for now"
  2013-03-26 16:37 ` Ian Jackson
@ 2013-03-26 16:46   ` Jan Beulich
  2013-03-27  9:36   ` Jan Beulich
  1 sibling, 0 replies; 7+ messages in thread
From: Jan Beulich @ 2013-03-26 16:46 UTC (permalink / raw)
  To: Ian Jackson; +Cc: Andrew Cooper, xen-devel

>>> On 26.03.13 at 17:37, Ian Jackson <Ian.Jackson@eu.citrix.com> wrote:
> Jan Beulich writes ("[PATCH] 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.
> ...
> 
> Which recent two fixes, JOOI ?  I did a recent test of reverting this
> and found I still had some problems but it
> that was based on 37d930430c2f2ef4dedf27deb404d2fe2602c039.

0611689 and 72af01b, both of which came after said commit.

Jan

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

* Re: [PATCH] ACPI/APEI: revert "accept validly sized ERST on Intel systems only for now"
  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
  1 sibling, 1 reply; 7+ messages in thread
From: Jan Beulich @ 2013-03-27  9:36 UTC (permalink / raw)
  To: Ian Jackson; +Cc: Andrew Cooper, xen-devel

>>> On 26.03.13 at 17:37, Ian Jackson <Ian.Jackson@eu.citrix.com> wrote:
> Jan Beulich writes ("[PATCH] 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.
> ...
> 
> Which recent two fixes, JOOI ?  I did a recent test of reverting this
> and found I still had some problems but it
> that was based on 37d930430c2f2ef4dedf27deb404d2fe2602c039.

Btw., do you prefer to retest the revert on top of these before
I commit it, or would you agree that Andrew's testing warrants
committing this and then wait for the results of a regular testing
round?

Jan

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

* Re: [PATCH] ACPI/APEI: revert "accept validly sized ERST on Intel systems only for now"
  2013-03-27  9:36   ` Jan Beulich
@ 2013-03-27 13:56     ` Ian Jackson
  0 siblings, 0 replies; 7+ messages in thread
From: Ian Jackson @ 2013-03-27 13:56 UTC (permalink / raw)
  To: Jan Beulich; +Cc: Andrew Cooper, xen-devel

Jan Beulich writes ("Re: [PATCH] ACPI/APEI: revert "accept validly sized ERST on Intel systems only for now""):
> Btw., do you prefer to retest the revert on top of these before
> I commit it, or would you agree that Andrew's testing warrants
> committing this and then wait for the results of a regular testing
> round?

Please go ahead and commit the revert.  If it breaks we can revert the
reversions of the revert :-).

Ian.

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