]> git.baikalelectronics.ru Git - arm-tf.git/commit
fix(cpus): use hint instruction for "tsb csync"
authorAndre Przywara <andre.przywara@arm.com>
Thu, 23 Mar 2023 11:50:32 +0000 (11:50 +0000)
committerAndre Przywara <andre.przywara@arm.com>
Thu, 23 Mar 2023 13:26:02 +0000 (13:26 +0000)
commit7a181b7d046a710db5238fb37047816636d2bb8a
treeb4e9b5578c9e22908caef9802a257ed9191a50a6
parentb7253a14cdc633a606472ec4e5aa4123158e2013
fix(cpus): use hint instruction for "tsb csync"

The "tsb csync" instruction is part of the Armv8.4 architecture
extension, and is not supported by many older assemblers.
We already cater for this in lib/extensions/trbe/trbe.c, where we use
the equivalent "hint #18" encoding for this, but use the new mnemonic
in the Cortex-A510 CPU support code.

Replace "tsb csync" with the hint encoding there as well, to support
building with older binutils versions.

Change-Id: Idf39f5c6c4dbf72802c3c120047b8bc499145e3b
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
lib/cpus/aarch64/cortex_a510.S