Files
android_kernel_xiaomi_sm8450/include/linux/psci.h
David Brazdil 9c6c6aea78 UPSTREAM: psci: Add accessor for psci_0_1_function_ids
Make it possible to retrieve a copy of the psci_0_1_function_ids struct.
This is useful for KVM if it is configured to intercept host's PSCI SMCs.

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-7-dbrazdil@google.com
(cherry picked from commit 6df3e14436f6ee254b1a4952d90ee8988be59c89)
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: I451155bf5eeb0eb4ea1dd69e3513ba2fd650b798
Bug: 178098380
Test: atest VirtualizationHostTestCases on an EL2-enabled device
2021-01-28 17:57:12 +00:00

1.5 KiB