aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorNikita Yushchenko <[email protected]>2022-01-20 09:15:30 +0100
committerMauro Carvalho Chehab <[email protected]>2022-02-17 10:28:42 +0100
commitc7cfc7b90e25468c98dfb1082474644f2a3e2df7 (patch)
tree4254fb6e36ca74a5dddd027549e7d05b6169dbc3 /tools/perf/scripts/python/stackcollapse.py
parent53c264544dfce30f7741a2b1e78f90d046e5d8ff (diff)
media: vsp1: mask interrupts before enabling
VSP hardware could be used (e.g. by the bootloader) before driver load, and some interrupts could be left in enabled and pending state. In this case, setting up VSP interrupt handler without masking interrupts before causes interrupt handler to be immediately called (and crash due to null vsp->info dereference). Fix that by explicitly masking all interrupts before setting the interrupt handler. To do so, have to set the interrupt handler later, after hw revision is already detected and number of interrupts to mask gets known. Based on patch by Koji Matsuoka <[email protected]> included in the Renesas BSP kernel. Signed-off-by: Nikita Yushchenko <[email protected]> Reviewed-by: Kieran Bingham <[email protected]> Signed-off-by: Laurent Pinchart <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions