]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
committerSeth Forshee <seth.forshee@canonical.com>
Thu, 22 Feb 2018 14:15:48 +0000 (08:15 -0600)
commit88455381ca13008e02ef938dcb935c660c4f6344
treee08aa181f2ac9794fea7e6e4ec43019a6205382a
parenta4e597375da6b1739adf6ffd7bacecf4ed6044c4
drivers/firmware: Expose psci_get_version through psci_ops structure

BugLink: http://bugs.launchpad.net/bugs/1751064
Commit d68e3ba5303f upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/firmware/psci.c
include/linux/psci.h