diff options
author | Will Deacon <will.deacon@arm.com> | 2018-07-30 19:43:39 +0300 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2018-07-30 19:43:39 +0300 |
commit | efd112353bf7c0f9d50f928b449ea9da0ee9554b (patch) | |
tree | 6fc4a370843a96e0babaaa99a0a8cc349d2185e5 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | ba70ffa7d20d771ae47a1597799da84980aafe15 (diff) | |
download | linux-efd112353bf7c0f9d50f928b449ea9da0ee9554b.tar.xz |
arm64: svc: Ensure hardirq tracing is updated before return
We always run userspace with interrupts enabled, but with the recent
conversion of the syscall entry/exit code to C, we don't inform the
hardirq tracing code that interrupts are about to become enabled by
virtue of restoring the EL0 SPSR.
This patch ensures that trace_hardirqs_on() is called on the syscall
return path when we return to the assembly code with interrupts still
disabled.
Fixes: f37099b6992a ("arm64: convert syscall trace logic to C")
Reported-by: Julien Grall <julien.grall@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions