]> git.baikalelectronics.ru Git - kernel.git/commit
firmware/psci: Expose PSCI conduit
authorMarc Zyngier <marc.zyngier@arm.com>
Tue, 6 Feb 2018 17:56:16 +0000 (17:56 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 6 Feb 2018 22:54:09 +0000 (22:54 +0000)
commit537804a0a4130dae7a1c2ef823946339cd5271b1
treec8c2b16ab960e7537b84187d00b00adeea7fbb7e
parentd1b67ec6bcceaebcf97b60bb072c19cdcdd7dcf9
firmware/psci: Expose PSCI conduit

In order to call into the firmware to apply workarounds, it is
useful to find out whether we're using HVC or SMC. Let's expose
this through the psci_ops.

Acked-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Tested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
drivers/firmware/psci.c
include/linux/psci.h