android_kernel_xiaomi_sm8350/arch/powerpc
Arnd Bergmann 3a843d7cd3 [PATCH] spufs: fix mailbox polling
Handling mailbox interrupts was broken in multiple respects,
the combination of which was hiding the bugs most of the time.

- The ibox interrupt mask was open initially even though there
  are no waiters on a newly created SPU.

- Acknowledging the mailbox interrupt did not work because
  it is level triggered and the mailbox data is never retrieved
  from inside the interrupt handler.

- The interrupt handler delivered interrupts with a disabled
  mask if another interrupt is triggered for the same class
  but a different mask.

- The poll function did not enable the interrupt if it had not
  been enabled, so we might run into the poll timeout if none of
  the other bugs saved us and no signal was delivered.

We probably still have a similar problem with blocking
read/write on mailbox files, but that will result in extra
wakeup in the worst case, not in incorrect behaviour.

Signed-off-by: Arnd Bergmann <arndb@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-01-09 14:53:01 +11:00
..
boot [PATCH] powerpc: Fix suboptimal uImage target 2006-01-09 14:50:25 +11:00
configs powerpc: update defconfigs 2005-12-20 16:00:17 +11:00
kernel [PATCH] powerpc: Add support for "linux,usable-memory" on memory nodes 2006-01-09 14:52:38 +11:00
lib
mm [PATCH] powerpc: Add support for "linux,usable-memory" on memory nodes 2006-01-09 14:52:38 +11:00
oprofile [PATCH] powerpc: Add a is_kernel_addr() macro 2006-01-09 14:51:50 +11:00
platforms [PATCH] spufs: fix mailbox polling 2006-01-09 14:53:01 +11:00
sysdev [PATCH] powerpc32: fix definition of distribute_irqs 2006-01-09 14:51:43 +11:00
xmon [PATCH] powerpc: Add a is_kernel_addr() macro 2006-01-09 14:51:50 +11:00
Kconfig [PATCH] powerpc: Add CONFIG_CRASH_DUMP 2006-01-09 14:52:14 +11:00
Kconfig.debug
Makefile [PATCH] powerpc: Add support for building uImages 2006-01-09 14:50:21 +11:00