diff options
author | Jiaxun Yang <jiaxun.yang@flygoat.com> | 2024-07-23 17:15:44 +0800 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2024-08-08 18:17:43 +0200 |
commit | 1cb6ab446424649f03c82334634360c2e3043684 (patch) | |
tree | 59f78261b711240d7405e60995fcd479bcf15773 /lib/crypto/mpi/mpi-cmp.c | |
parent | 8400291e289ee6b2bf9779ff1c83a291501f017b (diff) |
MIPS: Loongson64: Set timer mode in cpu-probe
Loongson64 C and G processors have EXTIMER feature which
is conflicting with CP0 counter.
Although the processor resets in EXTIMER disabled & INTIMER
enabled mode, which is compatible with MIPS CP0 compare, firmware
may attempt to enable EXTIMER and interfere CP0 compare.
Set timer mode back to MIPS compatible mode to fix booting on
systems with such firmware before we have an actual driver for
EXTIMER.
Cc: stable@vger.kernel.org
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'lib/crypto/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions