diff options
| author | Junhao He <[email protected]> | 2025-06-19 12:55:50 +0000 |
|---|---|---|
| committer | Will Deacon <[email protected]> | 2025-07-14 14:42:16 +0000 |
| commit | dc86791ff68c38a2954c3bf2c444b6d6d9da52f3 (patch) | |
| tree | ed40939c292c617e55509b58ff7cd584752fadcc /rust/helpers/completion.c | |
| parent | perf/arm-ni: Support sharing IRQs within an NI instance (diff) | |
| download | kernel-dc86791ff68c38a2954c3bf2c444b6d6d9da52f3.tar.gz kernel-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 <[email protected]>
Reviewed-by: Jonathan Cameron <[email protected]>
Signed-off-by: Yicong Yang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'rust/helpers/completion.c')
0 files changed, 0 insertions, 0 deletions
