diff options
| author | Junhao He <[email protected]> | 2025-06-19 12:55:52 +0000 |
|---|---|---|
| committer | Will Deacon <[email protected]> | 2025-07-14 14:42:16 +0000 |
| commit | 29614c55fe6ff8e5ddee9c6247d5c3dbe05ca8bc (patch) | |
| tree | 9d97eebb1c46435afd23b92a8433ff79ddd14a3f /rust/helpers/task.c | |
| parent | drivers/perf: hisi: Add support for HiSilicon DDRC v3 PMU driver (diff) | |
| download | kernel-29614c55fe6ff8e5ddee9c6247d5c3dbe05ca8bc.tar.gz kernel-29614c55fe6ff8e5ddee9c6247d5c3dbe05ca8bc.zip | |
drivers/perf: hisi: Use ACPI driver_data to retrieve SLLC PMU information
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.
Factor out SLLC register definition to struct hisi_sllc_pmu_regs.
No functional changes intended.
Reviewed-by: Jonathan Cameron <[email protected]>
Signed-off-by: Junhao He <[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/task.c')
0 files changed, 0 insertions, 0 deletions
