From mboxrd@z Thu Jan 1 00:00:00 1970 From: Catalin Marinas Subject: Re: [PATCH v5 18/18] Documentation: ACPI for ARM64 Date: Mon, 5 Jan 2015 13:13:02 +0000 Message-ID: <20150105131302.GB14967@e104818-lin.cambridge.arm.com> References: <1413553034-20956-1-git-send-email-hanjun.guo@linaro.org> <1413553034-20956-19-git-send-email-hanjun.guo@linaro.org> <20141224171815.GD13399@e104818-lin.cambridge.arm.com> <54A28B22.7090305@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from foss-mx-na.foss.arm.com ([217.140.108.86]:55327 "EHLO foss-mx-na.foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753818AbbAENNU (ORCPT ); Mon, 5 Jan 2015 08:13:20 -0500 Content-Disposition: inline In-Reply-To: <54A28B22.7090305@linaro.org> Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: Hanjun Guo Cc: "Rafael J. Wysocki" , Mark Rutland , Olof Johansson , "grant.likely@linaro.org" , Will Deacon , "graeme.gregory@linaro.org" , Arnd Bergmann , Sudeep Holla , "jcm@redhat.com" , Jason Cooper , Marc Zyngier , Bjorn Helgaas , Daniel Lezcano , Mark Brown , Rob Herring , Robert Richter , Lv Zheng , Robert Moore , Lorenzo Pieralisi , Liviu Dudau , Randy Dunlap , Charles Garcia-Tobin , Kangkang.Shen@huawe On Tue, Dec 30, 2014 at 11:23:14AM +0000, Hanjun Guo wrote: > On 2014=E5=B9=B412=E6=9C=8825=E6=97=A5 01:18, Catalin Marinas wrote: > > On Fri, Oct 17, 2014 at 02:37:14PM +0100, Hanjun Guo wrote: > >> +Booting using ACPI tables > >> +------------------------- > >> +The only defined method for passing ACPI tables to the kernel on = ARMv8 > >> +is via the UEFI system configuration table. > >> + > >> +Processing of ACPI tables may be disabled by passing acpi=3Doff o= n the kernel > >> +command line; this is the default behavior. If acpi=3Dforce is u= sed, the kernel > >> +will ONLY use device configuration information contained in the A= CPI tables. > > > > See my comments to Al around the defaults. I think if only ACPI tab= les > > are present, we shouldn't panic the kernel if acpi=3Dforce is missi= ng but > > continue with ACPI. >=20 > I think we need another patch to implement it, for this patch set,ker= nel > will panic if no dtb and acpi=3Doff. If no dtb and acpi=3Doff on the kernel command line, I agree that the kernel should panic as it doesn't have any way to get the platform description. > since passing no DT tables to OS but > acpi=3Dforce is missing is a corner case, we can do a follow up patch= to > fix that, does it make sense? Not entirely. Why would no dtb and no acpi=3Dforce be a corner case? I thought this should be the default when only ACPI tables are passed, no need for an additional acpi=3Dforce argument. --=20 Catalin -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" i= n the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html