• Will Deacon's avatar
    ARM: hw_breakpoint: reset control registers in hotplug path · 7d99331e
    Will Deacon authored
    The ARMv7 debug architecture doesn't make any guarantees about the
    contents of debug control registers following a debug logic reset.
    
    This patch ensures that we reset the control registers when a cpu
    comes ONLINE (for example, with hotplug) so that when we enable
    monitor mode while inserting a breakpoint we won't exhibit random
    behaviour.
    Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
    7d99331e
hw_breakpoint.c 20.8 KB