[PATCH v2 3/8] drivers/perf: hisi: Use ACPI driver_data to retrieve SLLC PMU information

Jonathan Cameron Jonathan.Cameron at huawei.com
Fri Mar 21 04:13:18 PDT 2025


On Fri, 21 Mar 2025 15:38:41 +0800
Yicong Yang <yangyicong at huawei.com> wrote:

> From: Junhao He <hejunhao3 at huawei.com>
> 
> 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.
> 
> Signed-off-by: Junhao He <hejunhao3 at huawei.com>
> Signed-off-by: Yicong Yang <yangyicong at hisilicon.com>
LGTM
Reviewed-by: Jonathan Cameron <Jonathan.Cameron at huawei.com>



More information about the linux-arm-kernel mailing list