[PATCH v5 10/13] arm64: debug: split hardware watchpoint exception entry

Will Deacon will at kernel.org
Tue Jul 8 05:16:15 PDT 2025


On Sun, Jul 06, 2025 at 07:46:33PM -0500, Catalin Marinas wrote:
> On Fri, Jul 04, 2025 at 06:32:19PM +0100, Will Deacon wrote:
> > On Fri, Jun 27, 2025 at 06:20:35PM +0100, Ada Couprie Diaz wrote:
> > > +static void noinstr el1_dbg(struct pt_regs *regs, unsigned long esr)
> > > +{
> > >  	arm64_enter_el1_dbg(regs);
> > >  	if (!cortex_a76_erratum_1463225_debug_handler(regs))
> > >  		do_debug_exception(far, esr, regs);
> > 
> > This leads to:
> > 
> > Failed to build patch #10: 0d0a8f024a19 arm64: debug: split hardware watchpoint exception entry
> > arch/arm64/kernel/entry-common.c: In function ‘el1_dbg’:
> > arch/arm64/kernel/entry-common.c:572:36: error: ‘far’ undeclared (first use in this function)
> >   572 |                 do_debug_exception(far, esr, regs);
> >       |                                    ^~~
> > 
> > 
> > Catalin -- do you reckon we should fix this? It's only this series
> > sitting on for-next/debug-entry, nobody has pulled it afaik and we still
> > have plenty of time before the merge window so a rebase probably won't
> > hurt anybody.
> 
> Works for me, no-one pulled this branch and rely on it being stable. If
> Ada sends a fixup, I can fold it into this patch or merge a new series
> altogether if more patches are affected (or you can do it I don't get to
> a reasonable wifi location in the next few days).

I'll replace the branch with the new patches today.

Will



More information about the linux-arm-kernel mailing list