diff options
author | Junhao He <hejunhao3@huawei.com> | 2025-06-19 20:55:52 +0800 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2025-07-14 15:42:16 +0100 |
commit | 29614c55fe6ff8e5ddee9c6247d5c3dbe05ca8bc (patch) | |
tree | 9d97eebb1c46435afd23b92a8433ff79ddd14a3f /scripts/lib/kdoc/kdoc_files.py | |
parent | 17aa34e86936d0dba4e7c05c55ffc3e12c0ccec9 (diff) |
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 <Jonathan.Cameron@huawei.com>
Signed-off-by: Junhao He <hejunhao3@huawei.com>
Signed-off-by: Yicong Yang <yangyicong@hisilicon.com>
Link: https://lore.kernel.org/r/20250619125557.57372-4-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