Re: [PATCH 0/3] Cleanup MAY_HAVE_SPARSE_IRQ

From: Guo Ren
Date: Tue Sep 28 2021 - 01:09:15 EST


On Mon, Sep 27, 2021 at 4:11 PM Kefeng Wang <wangkefeng.wang@xxxxxxxxxx> wrote:
>
> Most ARCHs support SPARSE_IRQ, and MAY_HAVE_SPARSE_IRQ is useless, and
> only sh and csky select it, but the could use SPARSE_IRQ too, let's
> kill MAY_HAVE_SPARSE_IRQ, also cleanup the kernel/irq/Kconfig a little.
Can you elaborate the reason on why we need to kill MAY_HAVE_SPARSE_IRQ?
What are the benefits after the patch? (As you know we couldn't drop
"!SPARSE_IRQ".)

>
> Kefeng Wang (3):
> sh: Cleanup about SPARSE_IRQ
> csky: Use SPARSE_IRQ
> genirq: Cleanup Kconfig
>
> arch/csky/Kconfig | 2 +-
> arch/sh/Kconfig | 1 -
> arch/sh/include/asm/irq.h | 9 -------
> kernel/irq/Kconfig | 50 ++++++++++++++++-----------------------
> 4 files changed, 21 insertions(+), 41 deletions(-)
>
> --
> 2.26.2
>


--
Best Regards
Guo Ren

ML: https://lore.kernel.org/linux-csky/