diff options
author | Junhao He <hejunhao3@huawei.com> | 2025-06-19 20:55:50 +0800 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2025-07-14 15:42:16 +0100 |
commit | dc86791ff68c38a2954c3bf2c444b6d6d9da52f3 (patch) | |
tree | ed40939c292c617e55509b58ff7cd584752fadcc /scripts/lib/kdoc/kdoc_files.py | |
parent | 89f0b9ccd31479db17dcc59db29a6fcdb677746c (diff) |
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 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions