summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>2025-11-13 13:22:25 +0100
committerVinod Koul <vkoul@kernel.org>2025-12-23 16:31:24 +0530
commitff81a68a87b1dbf5c1b819f240f83715c701ef0d (patch)
tree1200a8a49d5cfee39b60281b91197d12032de12f /tools/perf/scripts/python/flamegraph.py
parentfd7843f0da58b37072c1dafa779d128bb36912bf (diff)
downloadlinux-ff81a68a87b1dbf5c1b819f240f83715c701ef0d.tar.gz
linux-ff81a68a87b1dbf5c1b819f240f83715c701ef0d.zip
dmaengine: mediatek: uart-apdma: Get addressing bits from match data
The only SoC that declares mediatek,dma-33bits in its devicetree currently is MT6795, which obviously also declares a SoC-specific compatible string: in preparation for adding new SoCs with 34 bits addressing, replace the parsing of said vendor property with logic to get the number of addressing bits from platform data associated to compatible strings. While at it, also make the bit_mask variable unsigned and move the `int rc` declaration as last to beautify the code. Thanks to the correct declaration of the APDMA node is in all of the MediaTek device trees that are currently upstream, this commit brings no functional differences. Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Acked-by: Conor Dooley <conor.dooley@microchip.com> Link: https://patch.msgid.link/20251113122229.23998-5-angelogioacchino.delregno@collabora.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions