Fixup SMCCC_FEATURES return value for SMCCC_ARCH_WORKAROUND_1
authorDimitris Papastamos <dimitris.papastamos@arm.com>
Wed, 28 Mar 2018 11:06:40 +0000 (12:06 +0100)
committerDimitris Papastamos <dimitris.papastamos@arm.com>
Tue, 3 Apr 2018 15:34:12 +0000 (16:34 +0100)
commit59dc4ef48757e4de2dc2de13d13e43acd5d91aa0
treee356c31409aff591dfb75dc127995ab6430b49ea
parentf11916bf1dfecd7ee76240eebd847681ce366a67
Fixup SMCCC_FEATURES return value for SMCCC_ARCH_WORKAROUND_1

Only return -1 if the workaround for CVE-2017-5715 is not compiled in.

Change-Id: I1bd07c57d22b4a13cf51b35be141a1f1ffb065ff
Signed-off-by: Dimitris Papastamos <dimitris.papastamos@arm.com>
docs/cpu-specific-build-macros.rst
services/arm_arch_svc/arm_arch_svc_setup.c