aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/rust/pin-init/internal/src
diff options
context:
space:
mode:
authorJunhao He <hejunhao3@huawei.com>2025-06-19 20:55:52 +0800
committerWill Deacon <will@kernel.org>2025-07-14 15:42:16 +0100
commit29614c55fe6ff8e5ddee9c6247d5c3dbe05ca8bc (patch)
tree9d97eebb1c46435afd23b92a8433ff79ddd14a3f /rust/pin-init/internal/src
parentdrivers/perf: hisi: Add support for HiSilicon DDRC v3 PMU driver (diff)
downloadwireguard-linux-29614c55fe6ff8e5ddee9c6247d5c3dbe05ca8bc.tar.xz
wireguard-linux-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 <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 'rust/pin-init/internal/src')
0 files changed, 0 insertions, 0 deletions