Re: [PATCH 7/7] x86: Tell about irq stack coverage

Joe Perches
2013-09-26T00:40:34Z

On Wed, 2013-09-25 at 17:21 -0700, Andrew Morton wrote:
> On Wed, 25 Sep 2013 16:08:20 -0700 Linus Torvalds <torvalds@linux-foundation.org> wrote:
>
> > On Wed, Sep 25, 2013 at 9:18 AM, Frederic Weisbecker <fweisbec@gmail.com> wrote:
> > > +#ifdef CONFIG_X86_64
> > > +# define __ARCH_IRQ_EXIT_ON_IRQ_STACK
> > > +#endif
> >
> > Ok, see the previous email, this should just be a single
> >
> > select IRQ_EXIT_ON_IRQ_STACK
> >
> > in under the "config X86_64" header in arch/x86/Kconfig.
> >
> > And as of right now, this patch series should do it for Power too,
> > since I just merged Ben's branch, which contained commit 0366a1c70b89
> > ("powerpc/irq: Run softirqs off the top of the irq stack"). Again,
> > just a single select in the arch/powerpc/Kconfig gile should be
> > sufficient.
> >
>
> This happens quite a lot. Perhaps Joe can cook us up a checkpatch
> rule. "#define [__]ARCH_HA" looks like a decent search pattern.
>

Huh? That matches all the ARCH_HAS_<foo> patterns.

What is it you want again?