[PATCH] drivers/perf: hisi: Add identifier sysfs file

Joakim Zhang qiangqing.zhang at nxp.com
Tue Sep 1 06:18:14 EDT 2020


> -----Original Message-----
> From: John Garry <john.garry at huawei.com>
> Sent: 2020年7月15日 16:23
> To: Will Deacon <will at kernel.org>
> Cc: zhangshaokun at hisilicon.com; mark.rutland at arm.com;
> linux-arm-kernel at lists.infradead.org; linux-kernel at vger.kernel.org; Joakim
> Zhang <qiangqing.zhang at nxp.com>; jolsa at redhat.com;
> linuxarm at huawei.com
> Subject: Re: [PATCH] drivers/perf: hisi: Add identifier sysfs file
> 
> Hi Will,
> 
> >
> > On Wed, Jun 17, 2020 at 09:05:11PM +0800, John Garry wrote:
> >> To allow userspace to identify the specific implementation of the
> >> device, add an "identifier" sysfs file.
> >>
> >> Encoding is as follows:
> >> hi1620: 0x0	(aka hip08)
> >> hi1630: 0x30
> >>
> >> Signed-off-by: John Garry <john.garry at huawei.com>
> >
> > I'm struggling a bit to track this. If you still think it's worth
> > pursuing, please could you post a series with a cover-letter
> > describing what this is for, a link to the userspace changes and then
> > patches for all the PMU drivers that need updating?
> 
> There is no hi1630 userspace support yet.
> 
> So what I can do is post updated userspace support (including hi1630), and then
> post kernel parts together for all drivers we could initially support.
> 
> @Joakim, I'll pick your imx driver changes here, if you don't mind.

Hi John,

Any update about adding system pmu support in perf tool? Will you continue upstreaming it? Feel free let me know if you need I do the test.

Best Regards,
Joakim Zhang


More information about the linux-arm-kernel mailing list