From mboxrd@z Thu Jan 1 00:00:00 1970 From: Catalin Marinas Subject: Re: [patch v11 10/23] ARM64 / ACPI: Get PSCI flags in FADT for PSCI init Date: Wed, 25 Mar 2015 17:01:04 +0000 Message-ID: <20150325170104.GH14585@localhost> References: <1427205776-5060-1-git-send-email-hanjun.guo@linaro.org> <1427205776-5060-11-git-send-email-hanjun.guo@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1427205776-5060-11-git-send-email-hanjun.guo@linaro.org> Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Hanjun Guo Cc: Mark Rutland , linaro-acpi@lists.linaro.org, Will Deacon , Lorenzo Pieralisi , Timur Tabi , linux-acpi@vger.kernel.org, Mark Salter , Grant Likely , Robert Richter , Arnd Bergmann , Marc Zyngier , Jon Masters , Tomasz Nowicki , Mark Brown , linux-arm-kernel@lists.infradead.org, Graeme Gregory , Ashwin Chaugule , "Rafael J. Wysocki" , linux-kernel@vger.kernel.org, Suravee Suthikulpanit , Sudeep Holla , Olof Johansson List-Id: linux-acpi@vger.kernel.org On Tue, Mar 24, 2015 at 10:02:43PM +0800, Hanjun Guo wrote: > From: Graeme Gregory > > There are two flags: PSCI_COMPLIANT and PSCI_USE_HVC. When set, > the former signals to the OS that the firmware is PSCI compliant. > The latter selects the appropriate conduit for PSCI calls by > toggling between Hypervisor Calls (HVC) and Secure Monitor Calls > (SMC). > > FADT table contains such information in ACPI 5.1, FADT table was > parsed in ACPI table init and copy to struct acpi_gbl_FADT, so > use the flags in struct acpi_gbl_FADT for PSCI init. > > Since ACPI 5.1 doesn't support self defined PSCI function IDs, > which means that only PSCI 0.2+ is supported in ACPI. > > CC: Lorenzo Pieralisi > CC: Catalin Marinas > CC: Will Deacon > Tested-by: Suravee Suthikulpanit > Tested-by: Yijing Wang > Tested-by: Mark Langsdorf > Tested-by: Jon Masters > Tested-by: Timur Tabi > Tested-by: Robert Richter > Acked-by: Robert Richter > Acked-by: Olof Johansson > Acked-by: Grant Likely > Signed-off-by: Graeme Gregory > Signed-off-by: Tomasz Nowicki > Signed-off-by: Hanjun Guo Acked-by: Catalin Marinas