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)
commit09a8d6d48499f93e2abde691f5800081cd858726
treec8c2b16ab960e7537b84187d00b00adeea7fbb7e
parentf72af90c3783d924337624659b43e2d36f1b36b4
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