]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/xive: Remove irqd_is_started() check when setting the affinity
authorCédric Le Goater <clg@kaod.org>
Thu, 1 Jul 2021 13:27:25 +0000 (15:27 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 10 Aug 2021 13:14:57 +0000 (23:14 +1000)
commitab565e58a2e1364aaec4607a4a4e7764af82fb3f
tree45cea76d697b4e0cad0c39d2b77875c92fc5dd26
parenta8aff05a804278d8e262907f07cf6a65d001a79e
powerpc/xive: Remove irqd_is_started() check when setting the affinity

In the early days of XIVE support, commit b8c61a0f1980 ("powerpc/xive:
Ensure active irqd when setting affinity") tried to fix an issue
related to interrupt migration. If the root cause was related to CPU
unplug, it should have been fixed and there is no reason to keep the
irqd_is_started() check. This test is also breaking affinity setting
of MSIs which can set before starting the associated IRQ.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210701132750.1475580-8-clg@kaod.org
arch/powerpc/sysdev/xive/common.c