From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760346AbaIOXVG (ORCPT ); Mon, 15 Sep 2014 19:21:06 -0400 Received: from mx1.redhat.com ([209.132.183.28]:40808 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756151AbaIOXVA (ORCPT ); Mon, 15 Sep 2014 19:21:00 -0400 Message-ID: <54177415.6070306@redhat.com> Date: Mon, 15 Sep 2014 19:19:49 -0400 From: Jon Masters Organization: Red Hat, Inc. User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Catalin Marinas CC: "hanjun.guo@linaro.org" , "Rafael J. Wysocki" , Mark Rutland , Olof Johansson , "grant.likely@linaro.org" , Will Deacon , "graeme.gregory@linaro.org" , Arnd Bergmann , Sudeep Holla , 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 , "linux-acpi@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "linaro-acpi@lists.linaro.org" , Tomasz Nowicki Subject: Re: [PATCH v4 11/18] ARM64 / ACPI: Parse MADT for SMP initialization References: <1410530416-30200-1-git-send-email-hanjun.guo@linaro.org> <1410530416-30200-12-git-send-email-hanjun.guo@linaro.org> <54134DB4.6010705@redhat.com> <20140915145630.GE5415@arm.com> In-Reply-To: <20140915145630.GE5415@arm.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/15/2014 10:56 AM, Catalin Marinas wrote: > On Fri, Sep 12, 2014 at 08:47:00PM +0100, Jon Masters wrote: >> On 09/12/2014 10:00 AM, Hanjun Guo wrote: >>> MADT contains the information for MPIDR which is essential for >>> SMP initialization, parse the GIC cpu interface structures to >>> get the MPIDR value and map it to cpu_logical_map(), and add >>> enabled cpu with valid MPIDR into cpu_possible_map. >>> >>> ACPI 5.1 only has two explicit methods to boot up SMP, PSCI and >>> Parking protocol, but the Parking protocol is only specified for >>> ARMv7 now, so make PSCI as the only way for the SMP boot protocol >>> before some updates for the ACPI spec or the Parking protocol spec. >> >> As an aside, initial support for the Parking Protocol is working on test >> systems within Red Hat at this time. > > BTW, have the details of the parking protocol been updated for ARMv8 > yet? There's an interim specification for which initial (test, in development) patches are currently in the fedorahosted development kernel. Mark is planning to followup on that once he's had chance to polish and clean things up. But the parking protocol is not required for initial ACPI enablement (we really want everyone to be doing PSCI anyway, it's only a small subset that will ever do parking protocol). Jon.