Re: [PATCH v4.1] arm64: hw_breakpoint: Allow EL2 breakpoints if running in HYP
From: Will Deacon
Date: Fri Feb 19 2016 - 09:30:46 EST
On Wed, Feb 17, 2016 at 05:58:43PM +0000, Marc Zyngier wrote:
> With VHE, we place kernel {watch,break}-points at EL2 to get things
> like kgdb and "perf -e mem:..." working.
>
> This requires a bit of repainting in the low-level encore/decode,
> but is otherwise pretty simple.
>
> Signed-off-by: Marc Zyngier <marc.zyngier@xxxxxxx>
> ---
> arch/arm64/include/asm/hw_breakpoint.h | 18 +++++++++++++-----
> 1 file changed, 13 insertions(+), 5 deletions(-)
Acked-by: Will Deacon <will.deacon@xxxxxxx>
Will