]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit26817959be26ea2f10a52f15d002216846589d42
tree683d00c4f416a6f1a1abfe3820f4a5e5a36ef90c
parent0954ad3eeda8480c3e15cdd470f758c88ed0816c
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