Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 8fbf397c authored by Will Deacon's avatar Will Deacon
Browse files

ARM: hw_breakpoint: do not fail initcall if monitor mode is disabled



The debug registers can only be manipulated from software if monitor
debug mode is enabled. On some cores, this can never be enabled (i.e.
the corresponding bit in the DSCR is RAZ/WI).

This patch ensures we can handle this hardware configuration and fail
gracefully, rather than blow up the kernel during boot.

Reported-by: default avatarCyril Chemparathy <cyril@ti.com>
Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
parent 4a55c18e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment