drivers/firmware: Expose psci_get_version through psci_ops structure

Entry into recent versions of ARM Trusted Firmware will invalidate the CPU
branch predictor state in order to protect against aliasing attacks.

This patch exposes the PSCI "VERSION" function via psci_ops, so that it
can be invoked outside of the PSCI driver where necessary.

Change-Id: Ia6729d6ec104d7be43a3f4dd980364c0a99a324a
Acked-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Patch-mainline: linux-arm-kernel @ 01/08/18, 9:32
Signed-off-by: Channagoud Kadabi <ckadabi@codeaurora.org>
2 files changed