[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250826140829.00002f65@huawei.com>
Date: Tue, 26 Aug 2025 14:08:29 +0100
From: Jonathan Cameron <Jonathan.Cameron@...wei.com>
To: Yushan Wang <wangyushan12@...wei.com>
CC: <will@...nel.org>, <mark.rutland@....com>,
<linux-arm-kernel@...ts.infradead.org>, <linux-kernel@...r.kernel.org>,
<robin.murphy@....com>, <yangyicong@...wei.com>, <liuyonglong@...wei.com>,
<wanghuiqiang@...wei.com>, <prime.zeng@...ilicon.com>,
<hejunhao3@...artners.com>
Subject: Re: [PATCH v2 6/9] drivers/perf: hisi: Refactor the event
configuration of L3C PMU
On Thu, 21 Aug 2025 21:50:46 +0800
Yushan Wang <wangyushan12@...wei.com> wrote:
> From: Yicong Yang <yangyicong@...ilicon.com>
>
> The event register is configured using hisi_pmu::base directly since
> only one address space is supported for L3C PMU. We need to extend if
> events configuration locates in different address space. In order to
> make preparation for such hardware, extract the event register
> configuration to separate function using hw_perf_event::event_base as
> each event's base address. Implement a private
> hisi_uncore_ops::get_event_idx() callback for initialize the event_base
> besides get the hardware index.
>
> No functional changes intended.
>
> Signed-off-by: Yicong Yang <yangyicong@...ilicon.com>
> Signed-off-by: Yushan Wang <wangyushan12@...wei.com>
Acked-by: Jonathan Cameron <jonathan.cameron@...wei.com>
Powered by blists - more mailing lists