Thread (18 messages) 18 messages, 3 authors, 2025-08-01

Re: [PATCH 3/8] drivers/perf: hisi: Simplify the probe process of each L3C PMU version

From: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Date: 2025-07-31 12:17:10
Also in: lkml

On Tue, 29 Jul 2025 23:38:18 +0800
Yushan Wang [off-list ref] wrote:
From: Yicong Yang <yangyicong@hisilicon.com>

Version 1 and 2 of L3C 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.

Signed-off-by: Yicong Yang <yangyicong@hisilicon.com>
Signed-off-by: Yushan Wang <wangyushan12@huawei.com>
Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help