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

From: Andrew Morton
Date: Wed Sep 25 2013 - 20:21:35 EST


On Wed, 25 Sep 2013 16:08:20 -0700 Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:

> On Wed, Sep 25, 2013 at 9:18 AM, Frederic Weisbecker <fweisbec@xxxxxxxxx> 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.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/