summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorRyder Lee <ryder.lee@mediatek.com>2020-11-04 23:58:33 +0300
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>2021-03-29 18:01:31 +0300
commit31ec9c2746467a372b009940ce7b722055daaf6a (patch)
treeece3935e4298d1e7240f6b3bb454bd364d0560cb /tools/perf/scripts/python/event_analyzing_sample.py
parenta38fd8748464831584a19438cbb3082b5a2dab15 (diff)
downloadlinux-31ec9c2746467a372b009940ce7b722055daaf6a.tar.xz
PCI: mediatek: Configure FC and FTS for functions other than 0
"PCI_FUNC(port->slot << 3)" is always 0, so previously mtk_pcie_startup_port() only configured FC credits and FTs for function 0. Compute "func" correctly so we also configure functions other than 0. This affects MT2701 and MT7623. Link: https://lore.kernel.org/r/c529dbfc066f4bda9b87edbdbf771f207e69b84e.1604510053.git.ryder.lee@mediatek.com Signed-off-by: Ryder Lee <ryder.lee@mediatek.com> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Reviewed-by: Krzysztof WilczyƄski <kw@linux.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions