]> git.baikalelectronics.ru Git - arm-tf.git/commit
fix(sme): add missing ISBs
authorBoyan Karatotev <boyan.karatotev@arm.com>
Thu, 13 Oct 2022 12:51:05 +0000 (13:51 +0100)
committerBoyan Karatotev <boyan.karatotev@arm.com>
Thu, 13 Oct 2022 12:51:05 +0000 (13:51 +0100)
commit46e92f2862326cbe57acecb2d0f3c2ffbcc176d2
tree360ae461d8847cd4c54244f0212380f53ad4cecc
parentc45d2febb98058efa77d812b094bd1456a916c29
fix(sme): add missing ISBs

EL3 is configured to trap accesses to SME registers (via
CPTR_EL3.ESM=0). To allow SME instructions, this needs to be temporarily
disabled before changing system registers. If the PE delays the effects
of writes to system registers then accessing the SME registers will trap
without an isb. This patch adds the isb to restore functionality.

Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com>
Change-Id: I8ee5ecaec978dde2525631daa682a182ad8f7f04
lib/extensions/sme/sme.c