diff options
author | 2025-06-19 20:55:50 +0800 | |
---|---|---|
committer | 2025-07-14 15:42:16 +0100 | |
commit | dc86791ff68c38a2954c3bf2c444b6d6d9da52f3 (patch) | |
tree | ed40939c292c617e55509b58ff7cd584752fadcc /tools/perf/scripts/python | |
parent | perf/arm-ni: Support sharing IRQs within an NI instance (diff) | |
download | wireguard-linux-dc86791ff68c38a2954c3bf2c444b6d6d9da52f3.tar.xz wireguard-linux-dc86791ff68c38a2954c3bf2c444b6d6d9da52f3.zip |
drivers/perf: hisi: Simplify the probe process for each DDRC version
Version 1 and 2 of DDRC PMU also use different HID. Make use of
struct acpi_device_id::driver_data for version specific information
rather than judge the version register. This will help to
simplify the probe process and also a bit easier for extension.
In order to support this extend struct hisi_pmu_dev_info for version
specific counter bits and event range.
Signed-off-by: Junhao He <hejunhao3@huawei.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Yicong Yang <yangyicong@hisilicon.com>
Link: https://lore.kernel.org/r/20250619125557.57372-2-yangyicong@huawei.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions