]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/xics: Set the IRQ chip data for the ICS native backend
authorCédric Le Goater <clg@kaod.org>
Mon, 13 Sep 2021 13:40:56 +0000 (15:40 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 15 Sep 2021 12:05:53 +0000 (22:05 +1000)
commit6f12a2caf784e054b2d4d811a16fdff69abea4f8
tree60b798790950dee6ec24bbc331795a0af9ab94dc
parent41431fe88ec48a1aee6f8346809e767186ea8b17
powerpc/xics: Set the IRQ chip data for the ICS native backend

The ICS native driver relies on the IRQ chip data to find the struct
'ics_native' describing the ICS controller but it was removed by commit
4f7fc2b929de ("powerpc/xics: Rename the map handler in a check handler").
Revert this change to fix the Microwatt SoC platform.

Fixes: 4f7fc2b929de ("powerpc/xics: Rename the map handler in a check handler")
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Tested-by: Gustavo Romero <gustavo.romero@linaro.org>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210913134056.3761960-1-clg@kaod.org
arch/powerpc/sysdev/xics/xics-common.c