]> git.ipfire.org Git - people/arne_f/kernel.git/commitdiff
coresight: cpu-debug: Support for CA73 CPUs
authorLeo Yan <leo.yan@linaro.org>
Tue, 5 Feb 2019 23:24:53 +0000 (16:24 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Apr 2019 07:15:07 +0000 (09:15 +0200)
[ Upstream commit a0f890aba2be33377f4eb24e13633c4a76a68f38 ]

This patch is to add the AMBA device ID for CA73 CPU, so that CPU debug
module can be initialized successfully when a SoC contain CA73 CPUs.

This patch has been verified on 96boards Hikey960.

Signed-off-by: Leo Yan <leo.yan@linaro.org>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/hwtracing/coresight/coresight-cpu-debug.c

index 9cdb3fbc8c1f345c27ab5c6afe2e4f021757a865..2f6f46ea68e9a1ea88132e2f378cf64000e9f275 100644 (file)
@@ -680,6 +680,10 @@ static const struct amba_id debug_ids[] = {
                .id     = 0x000bbd08,
                .mask   = 0x000fffff,
        },
+       {       /* Debug for Cortex-A73 */
+               .id     = 0x000bbd09,
+               .mask   = 0x000fffff,
+       },
        { 0, 0 },
 };