]> git.ipfire.org Git - thirdparty/linux.git/commit
ARM: 9442/1: smp: Fix IPI alignment in /proc/interrupts
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 5 Feb 2025 13:24:15 +0000 (14:24 +0100)
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Wed, 26 Mar 2025 13:31:18 +0000 (13:31 +0000)
commit9cac324d6f4900f92d41db5fd6b73b6feb0bfb68
tree72826e144494f294552a7152593c03a1921c0728
parentccb8ce526807fcbd4578d6619100d8ec48769ea8
ARM: 9442/1: smp: Fix IPI alignment in /proc/interrupts

On a system with less than 1000 interrupts, prec = 3, causing a
misalignment for the IPI interrupts.  E.g. on Koelsch (R-Car M2-W):

    200:          0          0  gpio-rcar   6 Edge      SW36
    IPI0:          0          0  CPU wakeup interrupts
    IPI1:          0          0  Timer broadcast interrupts
    IPI2:       1701       2844  Rescheduling interrupts
    IPI3:      10338      21181  Function call interrupts
    IPI4:          0          0  CPU stop interrupts
    IPI5:        651        825  IRQ work interrupts
    IPI6:          0          0  completion interrupts
    Err:          0

Fix this by adopting the same solution as used on arm64.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
arch/arm/kernel/smp.c