psci: Add accessor for psci_0_1_function_ids
authorDavid Brazdil <dbrazdil@google.com>
Wed, 2 Dec 2020 18:41:02 +0000 (18:41 +0000)
committerMarc Zyngier <maz@kernel.org>
Fri, 4 Dec 2020 08:44:24 +0000 (08:44 +0000)
commit6df3e14436f6ee254b1a4952d90ee8988be59c89
tree22418ff59235f3fd8499263c37059926e2171e37
parent82ac62d1658b42392282550078a189ccd3f50214
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
drivers/firmware/psci/psci.c
include/linux/psci.h