Re: [Qemu-devel] [PATCH] target/arm: fix smc incorrectly trapping to EL3 when secure is off

2018-11-19 Thread Peter Maydell
On 17 November 2018 at 16:02, Luc Michel wrote: > This commit fixes a case where the CPU would try to go to EL3 when > executing an smc instruction, even though ARM_FEATURE_EL3 is false. This > case is raised when the PSCI conduit is set to smc, but the smc > instruction does not lead to a valid P

[Qemu-devel] [PATCH] target/arm: fix smc incorrectly trapping to EL3 when secure is off

2018-11-17 Thread Luc Michel
This commit fixes a case where the CPU would try to go to EL3 when executing an smc instruction, even though ARM_FEATURE_EL3 is false. This case is raised when the PSCI conduit is set to smc, but the smc instruction does not lead to a valid PSCI call. QEMU crashes with an assertion failure latter