• Junhao He's avatar
    drivers/perf: hisi: Add support for HiSilicon UC PMU driver · 312eca95
    Junhao He authored
    
    
    On HiSilicon Hip09 platform, there are 4 UC (unified cache) modules
    on each chip CCL (CPU Cluster). UC is a cache that provides
    coherence between NUMA and UMA domains. It is located between L2
    and Memory System. Many PMU events are supported. Let's support
    the UC PMU driver using the HiSilicon uncore PMU framework.
    
    * rd_req_en : rd_req_en is the abbreviation of read request tracetag
    enable and allows user to count only read operations. Details are listed
    in the hisi-pmu document at Documentation/admin-guide/perf/hisi-pmu.rst
    
    * srcid_en & srcid: Allows users to filter statistical information based
    on specific CPU/ICL by srcid.
    srcid_en depends on rd_req_en being enabled.
    
    * uring_channel: Allows users to filter statistical information based on
    the specified tx request uring channel.
    uring_channel only supported events: [0x47 ~ 0x59].
    Signed-off-by: default avatarJunhao He <hejunhao3@huawei.com>
    Reviewed-by: default avatarYicong Yang <yangyicong@hisilicon.com>
    Reviewed-by:...
    312eca95
hisi_uncore_pmu.c 14.4 KB