]> xenbits.xensource.com Git - xen.git/commit
arm: traps: check if SMC was conditional before handling it
authorVolodymyr Babchuk <volodymyr_babchuk@epam.com>
Tue, 10 Oct 2017 15:52:43 +0000 (18:52 +0300)
committerStefano Stabellini <sstabellini@kernel.org>
Wed, 11 Oct 2017 19:40:11 +0000 (12:40 -0700)
commit307cf4c4fd6d17d6cd27e04fb821d412e6471938
tree15cd272946cde6e1342d8db0e4fd387f27e6e710
parente76e0448ab589e28ea681fd35817bb41d8190f8e
arm: traps: check if SMC was conditional before handling it

Trapped SMC instruction can fail condition check on ARMv8 architecture
(ARM DDI 0487B.a page D7-2271). So we need to check if condition was meet.

Signed-off-by: Volodymyr Babchuk <volodymyr_babchuk@epam.com>
Reviewed-by: Julien Grall <julien.grall@arm.com>
xen/arch/arm/traps.c