Re: [PATCH 2/2] irqchip: Add Microchip PIC64-HPSC/HX NVM interrupt controller

From: Charles Perry

Date: Thu Dec 03 2026 - 13:14:57 EST


On Thu, Dec 03, 2026 at 11:35:20AM +0100, Thomas Gleixner wrote:
> On Wed, Dec 02 2026 at 17:20, Charles Perry wrote:
> > On Tue, Dec 01, 2026 at 08:31:19PM +0100, Thomas Gleixner wrote:
> >> > + * Clear it, then dispatch only the sources whose line is still high.
> >> > + */
> >> > + writel(pending, intc->base + P64H_NVM_INTC_STATUS);
> >>
> >> What happens in the case that there is only BIT(N) pending in STATUS and
> >> that bit is not set in ENABLED?
> >
> > That happens only with PREEMPT_RT.
>
> I don't think that's a PREEMPT_RT issue. That's an issue related to
> threaded interrupts. Just add 'threadirqs' on the kernel command line
> with a !RT kernel and you should observe the same.

I've tested 'threadirqs' with !RT and I observe the same thing as with RT.

--
Thanks,
Charles