From: Ian Jackson Subject: Re: [xen-unstable bisection] complete test-amd64-i386-xl Date: Tue, 9 Aug 2011 15:58:37 +0100 Message-ID: <20033.19229.741344.489650@mariner.uk.xensource.com> References: <20033.7748.282915.819692@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: "Liu, Jinsong" , "xen-devel@lists.xensource.com" , Jeremy Fitzhardinge , Jan Beulich , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org Keir Fraser writes ("Re: [Xen-devel] [xen-unstable bisection] complete test-amd64-i386-xl"): > Does reverting just the change to erst_check_table() fix the regression on > the affected test boxes? What about the similar-looking boot failure that > you see, Jeremy? Indeed, reverting xen/drivers/acpi/apei/erst.c, ie the change to erst_check_table, seems to fix it. That is, 23736:31683aa4bfb3 "acpi: Add support for old and new bios erst, ..." + 23742:50ddc200a60c "fix regression from c/s 23735:537918f518ee" fails. That plus the diff below boots happily. Ian. diff --git a/xen/drivers/acpi/apei/erst.c b/xen/drivers/acpi/apei/erst.c index e012cd3..eb666a6 100644 --- a/xen/drivers/acpi/apei/erst.c +++ b/xen/drivers/acpi/apei/erst.c @@ -715,13 +715,7 @@ int erst_clear(u64 record_id) static int __init erst_check_table(struct acpi_table_erst *erst_tab) { - /* - * Some old BIOSes include the ACPI standard header in the ERST header - * length; new BIOSes do not. Our check allows for both methods. - */ - if ((erst_tab->header_length != - (sizeof(struct acpi_table_erst) - sizeof(erst_tab->header))) - && (erst_tab->header_length != sizeof(struct acpi_table_erst))) + if (erst_tab->header_length != sizeof(struct acpi_table_erst)) return -EINVAL; if (erst_tab->header.length < sizeof(struct acpi_table_erst)) return -EINVAL;