
Refactor implementation of v0.1+ functions (CPU_SUSPEND, CPU_OFF, CPU_ON, MIGRATE) to have two functions psci_0_1_foo / psci_0_2_foo that select the function ID and call a common helper __psci_foo. This is a small cleanup so that the function ID array is only used for v0.1 configurations. 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-5-dbrazdil@google.com (cherry picked from commit 0bc7474fb7673422b134e88feb49cde54b22bb75) Signed-off-by: Will Deacon <willdeacon@google.com> Change-Id: I831b00e9c48bcca9a9fff66d613b99229ee91dee Bug: 178098380 Test: atest VirtualizationHostTestCases on an EL2-enabled device
14 KiB
14 KiB