Christophe Leroy
abc62fc06d
powerpc/85xx: Fix math emulation exception
...
[ Upstream commit 8e8a12ecbc86700b5e1a3596ce2b3c43dafad336 ]
Booting mpc85xx_defconfig kernel on QEMU leads to:
Bad trap at PC: fe9bab0, SR: 2d000, vector=800
awk[82]: unhandled trap (5) at 0 nip fe9bab0 lr fe9e01c code 5 in libc-2.27.so[fe5a000+17a000]
awk[82]: code: 3aa00000 3a800010 4bffe03c 9421fff0 7ca62b78 38a00000 93c10008 83c10008
awk[82]: code: 38210010 4bffdec8 9421ffc0 7c0802a6 <fc00048e> d8010008 4815190d 93810030
Trace/breakpoint trap
WARNING: no useful console
This is because allthough CONFIG_MATH_EMULATION is selected,
Exception 800 calls unknown_exception().
Call emulation_assist_interrupt() instead.
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/066caa6d9480365da9b8ed83692d7101e10ac5f8.1695657339.git.christophe.leroy@csgroup.eu
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-11-08 17:26:45 +01:00
..
2023-08-16 18:22:03 +02:00
2023-09-19 12:23:00 +02:00
2023-10-25 11:58:59 +02:00
2023-10-19 23:05:38 +02:00
2023-02-22 12:57:00 +01:00
2023-02-01 08:27:21 +01:00
2023-02-01 08:27:20 +01:00
2023-08-08 19:58:30 +02:00
2023-09-19 12:22:27 +02:00
2023-02-01 08:27:20 +01:00
2023-10-06 13:18:12 +02:00
2023-02-01 08:27:20 +01:00
2023-06-21 15:59:14 +02:00
2023-05-11 23:00:37 +09:00
2023-10-10 21:59:09 +02:00
2023-11-08 17:26:45 +01:00
2023-10-19 23:05:34 +02:00
2023-10-25 11:59:03 +02:00
2023-09-19 12:23:00 +02:00
2023-11-08 17:26:42 +01:00
2023-09-19 12:22:49 +02:00
2023-11-08 17:26:44 +01:00
2023-10-06 13:18:14 +02:00
2023-08-08 19:58:30 +02:00