Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp942218imm; Mon, 9 Jul 2018 13:46:12 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcaNXvjGqIckrwk9od+rAvwZeZMh/OxD9cMwCEWhfkmM4c28P23T3fKMNvWIZ0HVxsT6kmC X-Received: by 2002:a63:4811:: with SMTP id v17-v6mr15248660pga.379.1531169172354; Mon, 09 Jul 2018 13:46:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531169172; cv=none; d=google.com; s=arc-20160816; b=GknfgM3M2GE6BpNpvW2gOZ0yZStwU8qbulULqsjpzh0oKIrGH0XgkKMIqj/mrzTqOX a6ixYkcxvYfHW8DXSNfd4QiIuYGYXi1jB7Jm1P+ypOkpknrw8h5HTB6mNtGBd4seY1sj G4mXpvDotQfylVyPlR5ItosBt6AZttslX1hZBGa87fbMGczbqiW/aVmIwjXPvyZkd5VL Zjvgwcm88UTawYZHS7zUNplBtAXYn6n+8J3JigaPCTBPl3UymnGHaE1trL5aAGxzkH9p Wpy0nMlYZiYGHcTENWomIUs1pD8/yfafaD0WEB74ra2QfbbOxTnRvIS3Su46jfxpTO77 Cpzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=YpMpQ0m/LPiDPQAT1SpRZCprLWHph/orQkRTAu6eaAw=; b=zXQE4Q9s/Ue5VQZYJ2NgmBBLRDeIGcTiSDxYz1jDjqmQ+e7CpstYf19OMm0L7uwoqJ hcS8kwK/JYnuYsxbvrxLPaKgD9bMwuUS03+xEVZLHiMSdKSvn0XsMLzRRp+mjwZbCmhr PnbG5nZTdtllVbdZKIC1r6fGZG0Pj0jI1rwicl9hMp/LqbCWwr3Iatf/j9njv/FztEOj SC54mpoQ56r4LfVyJQJAOR4VbMpOs04wEhE0ZToHegA6Gb3bdzYxcq4E98wsnSeVrwU7 tLribN0uThaeG1dN8Rl9BHsjQFyUkVL8z8SLN3bgn76YQHCfhC9svg8V5hyv4Ti7pHCM ojwA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x5-v6si14222705pgc.210.2018.07.09.13.45.57; Mon, 09 Jul 2018 13:46:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933337AbeGIUpE (ORCPT + 99 others); Mon, 9 Jul 2018 16:45:04 -0400 Received: from foss.arm.com ([217.140.101.70]:37554 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933209AbeGIUpC (ORCPT ); Mon, 9 Jul 2018 16:45:02 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 27EF680D; Mon, 9 Jul 2018 13:45:02 -0700 (PDT) Received: from [10.119.48.106] (unknown [10.119.48.106]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 8A4D03F589; Mon, 9 Jul 2018 13:45:01 -0700 (PDT) Subject: Re: 4.18rc3 TX2 boot failure with "ACPICA: AML parser: attempt to continue loading table after error" To: "Rafael J. Wysocki" Cc: erik.schmauss@intel.com, "linux-acpi@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , Lorenzo Pieralisi References: <6074707.jx9F3QFrWC@aspire.rjw.lan> From: Jeremy Linton Message-ID: Date: Mon, 9 Jul 2018 15:45:00 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <6074707.jx9F3QFrWC@aspire.rjw.lan> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, First thanks for the patch.. On 07/08/2018 04:14 AM, Rafael J. Wysocki wrote: > On Monday, July 2, 2018 11:41:42 PM CEST Jeremy Linton wrote: >> Hi, >> >> I'm experiencing two problems with commit 5088814a6e931 which is >> "ACPICA: AML parser: attempt to continue loading table after error" >> >> The first is this boot failure on a thunderX2: >> >> [ 10.770098] ACPI Error: Ignore error and continue table load [trimming] >> ]--- >> >> Which does appear to be the result of some bad data in the table, but it >> was working with 4.17, and reverting this commit solves the problem. > > Does the patch below make any difference? > > --- > drivers/acpi/acpica/psobject.c | 3 +++ > 1 file changed, 3 insertions(+) > > Index: linux-pm/drivers/acpi/acpica/psobject.c > =================================================================== > --- linux-pm.orig/drivers/acpi/acpica/psobject.c > +++ linux-pm/drivers/acpi/acpica/psobject.c > @@ -39,6 +39,9 @@ static acpi_status acpi_ps_get_aml_opcod > ACPI_FUNCTION_TRACE_PTR(ps_get_aml_opcode, walk_state); > > walk_state->aml = walk_state->parser_state.aml; > + if (!walk_state->aml) > + return AE_CTRL_PARSE_CONTINUE; > + Well this seems to avoid the crash, but now it hangs right after on the "Ignore error and continue table load" message. I would post the DSDT but I'm borrowing this machine, and I understand the firmware to be an early release, so... Anyway, now that I have access again, i'm turning up the debug messaging, let me see if that points at whats causing the hang. Thanks,