]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/tau: Check processor type before enabling TAU interrupt
authorFinn Thain <fthain@telegraphics.com.au>
Fri, 4 Sep 2020 23:02:20 +0000 (09:02 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 15 Sep 2020 12:13:28 +0000 (22:13 +1000)
commit9f0f3f9390c8f16f07a2617236156211c0d66b24
tree70e58f2815c3fe7d10802c33272148b748a51ffe
parent58f67ec416b232c1d1cafee845bf198832809f52
powerpc/tau: Check processor type before enabling TAU interrupt

According to Freescale's documentation, MPC74XX processors have an
erratum that prevents the TAU interrupt from working, so don't try to
use it when running on those processors.

Fixes: 1da177e4c3f41 ("Linux-2.6.12-rc2")
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Tested-by: Stan Johnson <userm57@yahoo.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/c281611544768e758bd58fe812cf702a5bd2d042.1599260540.git.fthain@telegraphics.com.au
arch/powerpc/kernel/tau_6xx.c
arch/powerpc/platforms/Kconfig