OSDN Git Service

powerpc/xics: Fix IRQ migration
authorCédric Le Goater <clg@kaod.org>
Thu, 1 Jul 2021 13:27:45 +0000 (15:27 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 10 Aug 2021 13:15:01 +0000 (23:15 +1000)
commitc80198a21792ac59412871e4e6fad5041c9be8e4
tree683d00c4f416a6f1a1abfe3820f4a5e5a36ef90c
parentf1a377f86f51b381cfc30bf2270f8a5f81e35ee9
powerpc/xics: Fix IRQ migration

desc->irq_data points to the top level IRQ data descriptor which is
not necessarily in the XICS IRQ domain. MSIs are in another domain for
instance. Fix that by looking for a mapping on the low level XICS IRQ
domain.

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-28-clg@kaod.org
arch/powerpc/sysdev/xics/xics-common.c