OSDN Git Service

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>
Fri, 8 Feb 2019 11:27:36 +0000 (12:27 +0100)
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>
drivers/hwtracing/coresight/coresight-cpu-debug.c

index 45b2460..e8819d7 100644 (file)
@@ -668,6 +668,10 @@ static const struct amba_id debug_ids[] = {
                .id     = 0x000bbd08,
                .mask   = 0x000fffff,
        },
+       {       /* Debug for Cortex-A73 */
+               .id     = 0x000bbd09,
+               .mask   = 0x000fffff,
+       },
        { 0, 0 },
 };