]> git.baikalelectronics.ru Git - arm-tf.git/commit
lib: cpu: Check SCU presence in DSU before accessing DSU registers
authorPramod Kumar <pramod.kumar@broadcom.com>
Wed, 5 Feb 2020 05:57:57 +0000 (11:27 +0530)
committerPramod Kumar <pramod.kumar@broadcom.com>
Wed, 2 Sep 2020 15:55:43 +0000 (21:25 +0530)
commit942013e1dd57429432cd71cfe121d702e3c52465
tree0ba8088ab53680252cc18d3e0707e60efc7429f8
parent6f3ee4a8ad47ac4e09dd1dd3931f8ada17ded7d4
lib: cpu: Check SCU presence in DSU before accessing DSU registers

The DSU contains system control registers in the SCU and L3 logic to
control the functionality of the cluster. If "DIRECT CONNECT" L3
memory system variant is used, there won't be any L3 cache,
snoop filter, and SCU logic present hence no system control register
will be present. Hence check SCU presence before accessing DSU register
for DSU_936184 errata.

Signed-off-by: Pramod Kumar <pramod.kumar@broadcom.com>
Change-Id: I1ffa8afb0447ae3bd1032c9dd678d68021fe5a63
include/lib/cpus/aarch64/neoverse_n1.h
lib/cpus/aarch64/dsu_helpers.S
lib/cpus/aarch64/neoverse_n1.S