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)
commit5e3119e15fed5b9a9a7e528665ff098a4a8dbdbc
tree70e58f2815c3fe7d10802c33272148b748a51ffe
parent420ab2bc7544d978a5d0762ee736412fe9c796ab
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