Re: [PATCH] powerpc/entry: Use hard_irq_disable() in arch_interrupt_exit_prepare()

From: Mukesh Kumar Chaurasiya

Date: Fri Aug 14 2026 - 02:12:56 EST


On Fri, Aug 14, 2026 at 11:06:43AM +0530, Shrikanth Hegde wrote:
[...]
> This is good explanation, but what i not understanding is,
>
> why pattern of setting PACA_IRQ_HARD_DIS changed?
> Previous code at interrupt_exit_kernel_prepare which did local_irq_disable too.
>
> Please check where was PACA_IRQ_HARD_DIS set without GENERIC_ENTRY which was preventing
> this from happening?

That's an excellent point. I think we are looking at this incorrectly,
If this is related to the nested soft replay interrupt than this whole
dynamics changes, local_irq_disable will work for the actual interrupt
but when we go nested something is telling that the nested interrupt
that interrupts are enabled. Let me look at this more deeply.

Regards,
Mukesh