Loading
drivers/perf: hisi_pcie: Add more events for counting TLP bandwidth
mainline inclusion from mainline-v6.9-rc1 commit 00ca69b856ba5ff0dab241bafe7119cd08348a92 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I9HCSA CVE: NA Reference: https://lore.kernel.org/all/20240223103359.18669-1-yangyicong@huawei.com/ ------------------------------------------------------------------------ A typical PCIe transaction is consisted of various TLP packets in both direction. For counting bandwidth only memory read events are exported currently. Add memory write and completion counting events of both direction to complete the bandwidth counting. Signed-off-by:Yicong Yang <yangyicong@hisilicon.com> Reviewed-by:
Jonathan Cameron <Jonathan.Cameron@huawei.com> Link: https://lore.kernel.org/r/20240223103359.18669-5-yangyicong@huawei.com Signed-off-by:
Will Deacon <will@kernel.org> Signed-off-by:
Slim6882 <yangjunshuo@huawei.com>