Re: [PATCH 2/9] irqchip/loongson-pch-pic: Improve edge triggered interrupt support

From: Huacai Chen
Date: Thu Aug 05 2021 - 09:07:27 EST


Hi, Marc,

On Wed, Aug 4, 2021 at 10:23 PM Marc Zyngier <maz@xxxxxxxxxx> wrote:
>
> On Fri, 09 Jul 2021 04:00:58 +0100,
> Huacai Chen <chenhuacai@xxxxxxxxx> wrote:
> >
> > Hi, Marc,
> >
> > On Tue, Jul 6, 2021 at 9:06 PM Marc Zyngier <maz@xxxxxxxxxx> wrote:
> > >
> > > On Tue, 06 Jul 2021 04:08:57 +0100,
> > > Huacai Chen <chenhuacai@xxxxxxxxxxx> wrote:
> > > >
> > > > Edge-triggered mode and level-triggered mode need different handlers,
> > > > and edge-triggered mode need a specific ack operation. So improve it.
> > > >
> > >
> > > Is this a fix? How does it work currently?
> > Yes, some devices (e.g., RTC) is edge-triggered, they need
> > handle_edge_irq(). Currently we don't use RTC interrupt in the
> > upstream kernel on Loongson platform, so it "works".
>
> If you want me to queue this independently of the full LoongArch
> series, please resend it with a Fixes: tag.
OK, I will send V2.

Huacai
>
> Thanks,
>
> M.
>
> --
> Without deviation from the norm, progress is not possible.