From mboxrd@z Thu Jan 1 00:00:00 1970 From: Will Deacon Subject: Re: [PATCH v10 3/4] ARM64: ACPI: enable ACPI_SPCR_TABLE Date: Thu, 8 Sep 2016 12:16:55 +0100 Message-ID: <20160908111654.GH1493@arm.com> References: <20160905123617.18775-1-aleksey.makarov@linaro.org> <20160905123617.18775-4-aleksey.makarov@linaro.org> <7e5486cc-4080-2d1e-8f6d-98874379887d@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <7e5486cc-4080-2d1e-8f6d-98874379887d@gmail.com> Sender: linux-kernel-owner@vger.kernel.org To: Aleksey Makarov Cc: Catalin Marinas , Aleksey Makarov , "Rafael J . Wysocki" , "Zheng, Lv" , Kefeng Wang , Russell King , Peter Hurley , Graeme Gregory , Greg Kroah-Hartman , Andy Shevchenko , linux-kernel@vger.kernel.org, Leif Lindholm , linux-acpi@vger.kernel.org, Yury Norov , Christopher Covington , linux-serial@vger.kernel.org, Mark Salter , Al Stone , linux-arm-kernel@lists.infradead.org, Len Brown List-Id: linux-acpi@vger.kernel.org On Wed, Sep 07, 2016 at 12:30:19PM +0300, Aleksey Makarov wrote: > > On 09/05/2016 03:36 PM, Aleksey Makarov wrote: > > SBBR mentions SPCR as a mandatory ACPI table. So enable it for ARM64 > > > > Earlycon should be set up as early as possible. ACPI boot tables are > > mapped in arch/arm64/kernel/acpi.c:acpi_boot_table_init() that > > is called from setup_arch() and that's where we parse SPCR. > > So it has to be opted-in per-arch. > > > > When ACPI_SPCR_TABLE is defined initialization of DT earlycon is > > deferred until the DT/ACPI decision is done. Initialize DT earlycon > > if ACPI is disabled. > > Hi Will, Catalin, > > Can you review this patch and consider ACKing it please? Hanjun, Al, Mark, Graeme -- any comments on this? Will From mboxrd@z Thu Jan 1 00:00:00 1970 From: will.deacon@arm.com (Will Deacon) Date: Thu, 8 Sep 2016 12:16:55 +0100 Subject: [PATCH v10 3/4] ARM64: ACPI: enable ACPI_SPCR_TABLE In-Reply-To: <7e5486cc-4080-2d1e-8f6d-98874379887d@gmail.com> References: <20160905123617.18775-1-aleksey.makarov@linaro.org> <20160905123617.18775-4-aleksey.makarov@linaro.org> <7e5486cc-4080-2d1e-8f6d-98874379887d@gmail.com> Message-ID: <20160908111654.GH1493@arm.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Wed, Sep 07, 2016 at 12:30:19PM +0300, Aleksey Makarov wrote: > > On 09/05/2016 03:36 PM, Aleksey Makarov wrote: > > SBBR mentions SPCR as a mandatory ACPI table. So enable it for ARM64 > > > > Earlycon should be set up as early as possible. ACPI boot tables are > > mapped in arch/arm64/kernel/acpi.c:acpi_boot_table_init() that > > is called from setup_arch() and that's where we parse SPCR. > > So it has to be opted-in per-arch. > > > > When ACPI_SPCR_TABLE is defined initialization of DT earlycon is > > deferred until the DT/ACPI decision is done. Initialize DT earlycon > > if ACPI is disabled. > > Hi Will, Catalin, > > Can you review this patch and consider ACKing it please? Hanjun, Al, Mark, Graeme -- any comments on this? Will