android_kernel_oneplus_msm8998/arch/powerpc/platforms
Jonathan Neuschäfer 6a409759c6 powerpc/embedded6xx/hlwd-pic: Prevent interrupts from being handled by Starlet
[ Upstream commit 9dcb3df4281876731e4e8bff7940514d72375154 ]

The interrupt controller inside the Wii's Hollywood chip is connected to
two masters, the "Broadway" PowerPC and the "Starlet" ARM926, each with
their own interrupt status and mask registers.

When booting the Wii with mini[1], interrupts from the SD card
controller (IRQ 7) are handled by the ARM, because mini provides SD
access over IPC. Linux however can't currently use or disable this IPC
service, so both sides try to handle IRQ 7 without coordination.

Let's instead make sure that all interrupts that are unmasked on the PPC
side are masked on the ARM side; this will also make sure that Linux can
properly talk to the SD card controller (and potentially other devices).

If access to a device through IPC is desired in the future, interrupts
from that device should not be handled by Linux directly.

[1]: https://github.com/lewurm/mini

Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-08-06 16:24:35 +02:00
..
8xx
40x
44x
52xx
82xx
83xx
85xx
86xx
512x
amigaone
cell powerpc/spufs: Fix coredump of SPU contexts 2018-04-13 19:50:16 +02:00
chrp powerpc/chrp/time: Make some functions static, add missing header include 2018-08-06 16:24:34 +02:00
embedded6xx powerpc/embedded6xx/hlwd-pic: Prevent interrupts from being handled by Starlet 2018-08-06 16:24:35 +02:00
maple
pasemi
powermac powerpc/powermac: Mark variable x as unused 2018-08-06 16:24:34 +02:00
powernv powerpc/powernv: Fix NVRAM sleep in invalid context when crashing 2018-05-26 08:48:55 +02:00
ps3
pseries powerpc/pseries: Query hypervisor for RFI flush settings 2018-02-16 20:09:35 +01:00
fsl_uli1575.c
Kconfig
Kconfig.cputype
Makefile