UPSTREAM: ARM: 8479/2: add implementation for arm-smccc
authorJens Wiklander <jens.wiklander@linaro.org>
Mon, 4 Jan 2016 14:42:55 +0000 (15:42 +0100)
committerHuang, Tao <huangtao@rock-chips.com>
Wed, 10 Aug 2016 10:19:57 +0000 (18:19 +0800)
commit1c98efb4b1116fdb9be9cdf65cd04f7e32ac87aa
treed1d1853dc719907db230b02189b7e4451e6e0f8b
parentb0e18bb8920419e9e0002e0022450e563ade4a9e
UPSTREAM: ARM: 8479/2: add implementation for arm-smccc

Adds implementation for arm-smccc and enables CONFIG_HAVE_SMCCC for
architectures that may support arm-smccc. It's the responsibility of the
caller to know if the SMC instruction is supported by the platform.

Change-Id: Ic7fd73fb040a900cfaa783f70c29b1d984da558b
Reviewed-by: Lars Persson <lars.persson@axis.com>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
(cherry picked from commit b329f95d70f3f955093e9a2b18ac1ed3587a8f73)
arch/arm/Kconfig
arch/arm/kernel/Makefile
arch/arm/kernel/armksyms.c
arch/arm/kernel/smccc-call.S [new file with mode: 0644]