Re: [PATCH v2] powerpc/entry: Fix double accounting of user time on interrupt entry

From: Madhavan Srinivasan

Date: Mon Sep 14 2026 - 03:30:40 EST


On Fri, 04 Sep 2026 08:28:30 +0530, Aboorva Devarajan wrote:
> Since the switch to generic entry, an interrupt from user mode
> accounts user time twice: once in arch_interrupt_enter_prepare()
> and again in arch_enter_from_user_mode(), which irqentry_enter()
> invokes for the same interrupt:
>
> arch_interrupt_enter_prepare()
> account_cpu_user_entry() /* first */
> irqentry_enter()
> arch_enter_from_user_mode()
> account_cpu_user_entry() /* second */
>
> [...]

Applied to powerpc/fixes.

[1/1] powerpc/entry: Fix double accounting of user time on interrupt entry
https://git.kernel.org/powerpc/c/11ae2e1dc58304a48816fc8ca4afa8f2ef9d1bdf

cheers