diff options
author | Roberto Vargas <roberto.vargas@arm.com> | 2017-10-12 10:57:40 +0100 |
---|---|---|
committer | Roberto Vargas <roberto.vargas@arm.com> | 2017-10-13 12:12:20 +0100 |
commit | 4ce9b8eaf6ccd451a8e178ed80181c2b0e471ae8 (patch) | |
tree | d4d42abf423b4056715a0f4e14fbee1d5949c6ff | |
parent | b48ae263d255718efee7b4ed0cb1d6c2e3cb1fb8 (diff) |
mem_protect: Fix PSCI FEATURES API for MEM_PROTECT_CHECK
With this patch the PSCI_FEATURES API correctly reports availability
of the PSCI_MEM_PROTECT_CHECK API - PSCI_MEM_CHK_RANGE_AARCH64 is
added to the PSCI capabilities mask, PSCI_CAP_64BIT_MASK
Change-Id: Ic90ee804deaadf0f948dc2d46ac5fe4121ef77ae
Signed-off-by: Roberto Vargas <roberto.vargas@arm.com>
-rw-r--r-- | lib/psci/psci_private.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/psci/psci_private.h b/lib/psci/psci_private.h index f38421aa..504fb9e4 100644 --- a/lib/psci/psci_private.h +++ b/lib/psci/psci_private.h @@ -90,7 +90,8 @@ define_psci_cap(PSCI_SYSTEM_SUSPEND_AARCH64) | \ define_psci_cap(PSCI_STAT_RESIDENCY_AARCH64) | \ define_psci_cap(PSCI_STAT_COUNT_AARCH64) | \ - define_psci_cap(PSCI_SYSTEM_RESET2_AARCH64)) + define_psci_cap(PSCI_SYSTEM_RESET2_AARCH64) | \ + define_psci_cap(PSCI_MEM_CHK_RANGE_AARCH64)) /* * Helper macros to get/set the fields of PSCI per-cpu data. |