]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blob - queue-4.14/coresight-cpu-debug-support-for-ca73-cpus.patch
autosel patches for 4.14
[thirdparty/kernel/stable-queue.git] / queue-4.14 / coresight-cpu-debug-support-for-ca73-cpus.patch
1 From 5970cd96ecdc88cc373456f14bd51eb86e6174e7 Mon Sep 17 00:00:00 2001
2 From: Leo Yan <leo.yan@linaro.org>
3 Date: Tue, 5 Feb 2019 16:24:53 -0700
4 Subject: coresight: cpu-debug: Support for CA73 CPUs
5
6 [ Upstream commit a0f890aba2be33377f4eb24e13633c4a76a68f38 ]
7
8 This patch is to add the AMBA device ID for CA73 CPU, so that CPU debug
9 module can be initialized successfully when a SoC contain CA73 CPUs.
10
11 This patch has been verified on 96boards Hikey960.
12
13 Signed-off-by: Leo Yan <leo.yan@linaro.org>
14 Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
15 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
16 Signed-off-by: Sasha Levin <sashal@kernel.org>
17 ---
18 drivers/hwtracing/coresight/coresight-cpu-debug.c | 4 ++++
19 1 file changed, 4 insertions(+)
20
21 diff --git a/drivers/hwtracing/coresight/coresight-cpu-debug.c b/drivers/hwtracing/coresight/coresight-cpu-debug.c
22 index 9cdb3fbc8c1f..2f6f46ea68e9 100644
23 --- a/drivers/hwtracing/coresight/coresight-cpu-debug.c
24 +++ b/drivers/hwtracing/coresight/coresight-cpu-debug.c
25 @@ -680,6 +680,10 @@ static const struct amba_id debug_ids[] = {
26 .id = 0x000bbd08,
27 .mask = 0x000fffff,
28 },
29 + { /* Debug for Cortex-A73 */
30 + .id = 0x000bbd09,
31 + .mask = 0x000fffff,
32 + },
33 { 0, 0 },
34 };
35
36 --
37 2.19.1
38