summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorSamuel Holland <samuel.holland@sifive.com>2023-07-25 03:40:41 +0300
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2023-07-25 13:00:29 +0300
commit3b5560c8f074aee8839b66093b4d565702a6921d (patch)
tree54421dc114712533d11c7a49cc560abfd420ddec /tools/perf/scripts/python/task-analyzer.py
parent1cd9cee75f99cfe31a6e339af518679649812838 (diff)
downloadlinux-3b5560c8f074aee8839b66093b4d565702a6921d.tar.xz
gpio: sifive: Get the parent IRQ's domain from its irq_data
Do not parse the devicetree again when the data is already available from the IRQ subsystem. This follows the example of the ThunderX and X-Gene GPIO drivers. The ngpio check is needed to avoid a possible out-of-bounds read. Signed-off-by: Samuel Holland <samuel.holland@sifive.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions