OSDN Git Service

target/ppc/translate: Add dummy implementation for dcblc instruction
authorBernhard Beschow <shentey@gmail.com>
Mon, 30 Jan 2023 18:49:50 +0000 (19:49 +0100)
committerDaniel Henrique Barboza <danielhb413@gmail.com>
Fri, 3 Mar 2023 19:50:17 +0000 (16:50 -0300)
commite64645ba802f7735bfffe342945a71b4fb1c5b66
tree5beab0933b352a1d4bba0401cce69c2b16d28510
parent66577e9e1caee48c6ebc1a2161b5d9857fcde8b3
target/ppc/translate: Add dummy implementation for dcblc instruction

The dcblc instruction is used by u-boot in mpc85xx/start.S. Without it,
an illegal istruction exception is generated very early in the boot
process where the processor is not yet able to handle exceptions. See:

https://github.com/u-boot/u-boot/blob/v2023.01/arch/powerpc/cpu/mpc85xx/start.S#L1840

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Message-Id: <20230130184950.5241-1-shentey@gmail.com>
Acked-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
target/ppc/translate.c