summaryrefslogtreecommitdiffstats
path: root/drivers/perf/arm_pmu_platform.c
diff options
context:
space:
mode:
authorQiao Zhou <qiaozhou@asrmicro.com>2017-07-07 17:29:34 +0800
committerWill Deacon <will.deacon@arm.com>2017-07-20 10:21:06 +0100
commit6f44a0bacb79a03972c83759711832b382b1b8ac (patch)
tree1b27e981920b688e44df86722d3903e6e93cdc5b /drivers/perf/arm_pmu_platform.c
parent32fb5d73c98b079e7c815b62e9d88a39ff8ce509 (diff)
downloadlinux-6f44a0bacb79a03972c83759711832b382b1b8ac.tar.bz2
arm64: traps: disable irq in die()
In current die(), the irq is disabled for __die() handle, not including the possible panic() handling. Since the log in __die() can take several hundreds ms, new irq might come and interrupt current die(). If the process calling die() holds some critical resource, and some other process scheduled later also needs it, then it would deadlock. The first panic will not be executed. So here disable irq for the whole flow of die(). Signed-off-by: Qiao Zhou <qiaozhou@asrmicro.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'drivers/perf/arm_pmu_platform.c')
0 files changed, 0 insertions, 0 deletions