Skip to content
Commit 367c820e authored by Sumit Garg's avatar Sumit Garg Committed by Will Deacon
Browse files

arm64: Enable perf events based hard lockup detector



With the recent feature added to enable perf events to use pseudo NMIs
as interrupts on platforms which support GICv3 or later, its now been
possible to enable hard lockup detector (or NMI watchdog) on arm64
platforms. So enable corresponding support.

One thing to note here is that normally lockup detector is initialized
just after the early initcalls but PMU on arm64 comes up much later as
device_initcall(). So we need to re-initialize lockup detection once
PMU has been initialized.

Signed-off-by: default avatarSumit Garg <sumit.garg@linaro.org>
Acked-by: default avatarAlexandru Elisei <alexandru.elisei@arm.com>
Link: https://lore.kernel.org/r/1602060704-10921-1-git-send-email-sumit.garg@linaro.org


Signed-off-by: default avatarWill Deacon <will@kernel.org>
parent 6b46338f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment