powerpc/xmon: Allow listing and clearing breakpoints in read-only mode
authorChristopher M. Riedl <cmr@informatik.wtf>
Sat, 7 Sep 2019 06:11:23 +0000 (01:11 -0500)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 28 Oct 2019 10:54:15 +0000 (21:54 +1100)
commit96664dee5cf1815777286227b09884b4f019727f
treed1bf97fc3bd185487a1d79c1f719b55929fefd43
parent4f5c5b76cc00ccf5be89a2b9883feba3baf6eb2e
powerpc/xmon: Allow listing and clearing breakpoints in read-only mode

Read-only mode should not prevent listing and clearing any active
breakpoints.

Tested-by: Daniel Axtens <dja@axtens.net>
Reviewed-by: Daniel Axtens <dja@axtens.net>
Signed-off-by: Christopher M. Riedl <cmr@informatik.wtf>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20190907061124.1947-2-cmr@informatik.wtf
arch/powerpc/xmon/xmon.c