aboutsummaryrefslogtreecommitdiff
path: root/mm/memory_hotplug.c
diff options
context:
space:
mode:
authorMark Rutland <mark.rutland@arm.com>2015-04-30 17:59:03 +0100
committerAlex Shi <alex.shi@linaro.org>2016-01-20 11:09:05 +0800
commita1ddd0b60876d1f2f60a11e5e561ff27ae25028b (patch)
tree0d840494fc77f0ca0641db3bb9b4a99f4451c2b6 /mm/memory_hotplug.c
parenta1d2639a2250ab9a3d07dfc19c8d71c0e3e993f8 (diff)
arm64: psci: kill psci_power_state
A PSCI 1.0 implementation may choose to use the new extended StateID format, the presence of which may be queried via the PSCI_FEATURES call. The layout of this new StateID format is incompatible with the existing format, and so to handle both we must abstract attempts to parse the fields. In preparation for PSCI 1.0 support, this patch introduces psci_power_state_loses_context and psci_power_state_is_valid functions to query information from a PSCI power state, which is no longer decomposed (and hence the pack/unpack functions are removed). As it is no longer decomposed, it is now passed round as an opaque u32 token. Signed-off-by: Mark Rutland <mark.rutland@arm.com> Acked-by: Catalin Marinas <catalin.marinas@arm.com> Acked-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Tested-by: Hanjun Guo <hanjun.guo@linaro.org> Cc: Will Deacon <will.deacon@arm.com> (cherry picked from commit c8cc42737788537ebef810ee22400f757e1819ca) Signed-off-by: Alex Shi <alex.shi@linaro.org>
Diffstat (limited to 'mm/memory_hotplug.c')
0 files changed, 0 insertions, 0 deletions