]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drivers/perf: hisi: Extend the field of tt_core
authorYicong Yang <yangyicong@hisilicon.com>
Fri, 29 Aug 2025 10:14:23 +0000 (18:14 +0800)
committerWill Deacon <will@kernel.org>
Mon, 22 Sep 2025 12:14:37 +0000 (13:14 +0100)
commitede339ff61c61a1ac3bedd01528e4d701d4aea22
tree64632db775595ed4a15ded88f768d8ccc270ef24
parent2271f1634243897cf18763386994d613a0594d98
drivers/perf: hisi: Extend the field of tt_core

Currently the tt_core's using config1's bit [7, 0] and can not be
extended. For some platforms there's more the 8 CPUs sharing the
L3 cache. So make tt_core use config2's bit [15, 0] and the remaining
bits in config2 is reserved for extension.

Acked-by: Jonathan Cameron <jonathan.cameron@huawei.com>
Signed-off-by: Yicong Yang <yangyicong@hisilicon.com>
Signed-off-by: Yushan Wang <wangyushan12@huawei.com>
Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>
Signed-off-by: Will Deacon <will@kernel.org>
drivers/perf/hisilicon/hisi_uncore_l3c_pmu.c