]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/firmware: Expose psci_get_version through psci_ops structure
authorWill Deacon <will.deacon@arm.com>
Tue, 2 Jan 2018 21:45:41 +0000 (21:45 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Mon, 8 Jan 2018 18:43:38 +0000 (18:43 +0000)
commit840906cc41bc79ae413ac71926113145ee31fd8a
tree26dd6bb5f38353a19ac9f80989f0a30f7dfa7ca6
parent48b7d0610d381cd18000cadd84fc93a64aecf900
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.

Acked-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
drivers/firmware/psci.c
include/linux/psci.h