[lkml]   [2020]   [Feb]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v7 2/2] fpga: dfl: fme: add performance reporting support

On Mon, Feb 10, 2020 at 11:47:49AM +0800, Wu Hao wrote:
> This patch adds support for performance reporting private feature
> for FPGA Management Engine (FME). Now it supports several different
> performance counters, including 'basic', 'cache', 'fabric', 'vtd'
> and 'vtd_sip'. It allows user to use standard linux tools to access
> these performance counters.

I had a quick look at this, and it mostly looks alright to me. Just a few
high-level comments/questions:

- I would still prefer for the PMU drivers to live under drivers/perf/

- You should probably give the PMU a better name than "fme%d", for example

- CPU0 can be hotplugged off on non-x86 systems. How do you cope with

- readq() will emit 2x32-bit reads on some architectures. What happens
in this case?


 \ /
  Last update: 2020-02-10 17:35    [W:0.111 / U:21.448 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site