mem_protect: Fix PSCI FEATURES API for MEM_PROTECT_CHECK
authorRoberto Vargas <roberto.vargas@arm.com>
Thu, 12 Oct 2017 09:57:40 +0000 (10:57 +0100)
committerRoberto Vargas <roberto.vargas@arm.com>
Fri, 13 Oct 2017 11:12:20 +0000 (12:12 +0100)
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>
lib/psci/psci_private.h

index f38421aa90628a60e4e8dcb9cb06216f6d16da6f..504fb9e4ff1c49645fb3f3037ea5d279f238e51f 100644 (file)
@@ -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.