diff options
author | David Brazdil <dbrazdil@google.com> | 2020-12-02 19:40:59 +0100 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2020-12-04 09:44:23 +0100 |
commit | e6dd9d89a64e30b25339d0dbe5c5aa589db8d530 (patch) | |
tree | 22b6c187728105642b410538173385e93fcf8d53 /.cocciconfig | |
parent | KVM: arm64: Add ARM64_KVM_PROTECTED_MODE CPU capability (diff) | |
download | linux-e6dd9d89a64e30b25339d0dbe5c5aa589db8d530.tar.xz linux-e6dd9d89a64e30b25339d0dbe5c5aa589db8d530.zip |
psci: Support psci_ops.get_version for v0.1
KVM's host PSCI SMC filter needs to be aware of the PSCI version of the
system but currently it is impossible to distinguish between v0.1 and
PSCI disabled because both have get_version == NULL.
Populate get_version for v0.1 with a function that returns a constant.
psci_opt.get_version is currently unused so this has no effect on
existing functionality.
Signed-off-by: David Brazdil <dbrazdil@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Link: https://lore.kernel.org/r/20201202184122.26046-4-dbrazdil@google.com
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions