aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorSongwei Chai <quic_songchai@quicinc.com>2024-10-09 17:17:27 +0800
committerSuzuki K Poulose <suzuki.poulose@arm.com>2024-12-11 10:14:19 +0000
commitc8ea5f41b4212fd6c76070bd9432f1bdec64f6b0 (patch)
tree8a6a6191b04caf7181076c6f13669ea5daaa7509
parentLinux 6.13-rc2 (diff)
downloadwireguard-linux-c8ea5f41b4212fd6c76070bd9432f1bdec64f6b0.tar.xz
wireguard-linux-c8ea5f41b4212fd6c76070bd9432f1bdec64f6b0.zip
Coresight: Narrow down the matching range of tpdm
The format of tpdm's peripheral id is 1f0exx. To avoid potential conflicts in the future, update the .id_table's id to 0x001f0e00. This update will narrow down the matching range and prevent incorrect matches. For example, another component's peripheral id might be f0e00, which would incorrectly match the old id. Fixes: b3c71626a933 ("Coresight: Add coresight TPDM source driver") Signed-off-by: Songwei Chai <quic_songchai@quicinc.com> [ trimmmed Fixes commit sha to 12 chars ] Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com> Link: https://lore.kernel.org/r/20241009091728.1638-1-quic_songchai@quicinc.com
Diffstat (limited to '')
-rw-r--r--drivers/hwtracing/coresight/coresight-tpdm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/hwtracing/coresight/coresight-tpdm.c b/drivers/hwtracing/coresight/coresight-tpdm.c
index b7d99e91ab84..3230d76aed90 100644
--- a/drivers/hwtracing/coresight/coresight-tpdm.c
+++ b/drivers/hwtracing/coresight/coresight-tpdm.c
@@ -1308,8 +1308,8 @@ static void tpdm_remove(struct amba_device *adev)
*/
static struct amba_id tpdm_ids[] = {
{
- .id = 0x000f0e00,
- .mask = 0x000fff00,
+ .id = 0x001f0e00,
+ .mask = 0x00ffff00,
},
{ 0, 0, NULL },
};