]> git.baikalelectronics.ru Git - arm-tf.git/commit
feat(ccidx): update the do_dcsw_op function to support FEAT_CCIDX
authorjohpow01 <john.powell@arm.com>
Wed, 1 Dec 2021 19:18:30 +0000 (13:18 -0600)
committerjohpow01 <john.powell@arm.com>
Tue, 14 Dec 2021 18:48:08 +0000 (12:48 -0600)
commitd0ec1cc437c59e64ecba44710dbce82a04ff892d
treed6a8b1327f626ef70b16b925f499ff0d7eeef648
parent9554a186a76938f4f075138cdc570065624f2e50
feat(ccidx): update the do_dcsw_op function to support FEAT_CCIDX

FEAT_CCIDX modifies the register fields in CCSIDR/CCSIDR2 (aarch32)
and CCSIDR_EL1 (aarch64). This patch adds a check to the do_dcsw_op
function to use the right register format rather than assuming
that FEAT_CCIDX is not implemented.

Signed-off-by: John Powell <john.powell@arm.com>
Change-Id: I12cd00cd7b5889525d4d2750281a751dd74ef5dc
include/arch/aarch32/arch.h
include/arch/aarch64/arch.h
lib/aarch32/cache_helpers.S
lib/aarch64/cache_helpers.S