Re: [PATCH] target/arm: Treat unknown SMC calls as NOP

2020-07-02 Thread Alexander Graf
On 02.07.20 09:54, Alex Bennée wrote: Alexander Graf writes: On 01.07.20 22:47, Peter Maydell wrote: On Wed, 1 Jul 2020 at 21:08, Alexander Graf wrote: We currently treat unknown SMC calls as UNDEF. This behavior is different from KVM, which treats them as NOP. Unfortunately, the UNDEF e

Re: [PATCH] target/arm: Treat unknown SMC calls as NOP

2020-07-02 Thread Alex Bennée
Alexander Graf writes: > On 01.07.20 22:47, Peter Maydell wrote: >> On Wed, 1 Jul 2020 at 21:08, Alexander Graf wrote: >>> We currently treat unknown SMC calls as UNDEF. This behavior is different >>> from KVM, which treats them as NOP. >>> >>> Unfortunately, the UNDEF exception breaks running

Re: [PATCH] target/arm: Treat unknown SMC calls as NOP

2020-07-01 Thread Alexander Graf
On 01.07.20 22:47, Peter Maydell wrote: > On Wed, 1 Jul 2020 at 21:08, Alexander Graf wrote: >> We currently treat unknown SMC calls as UNDEF. This behavior is different >> from KVM, which treats them as NOP. >> >> Unfortunately, the UNDEF exception breaks running Windows for ARM in QEMU, >> as

Re: [PATCH] target/arm: Treat unknown SMC calls as NOP

2020-07-01 Thread Peter Maydell
On Wed, 1 Jul 2020 at 21:08, Alexander Graf wrote: > > We currently treat unknown SMC calls as UNDEF. This behavior is different > from KVM, which treats them as NOP. > > Unfortunately, the UNDEF exception breaks running Windows for ARM in QEMU, > as that probes an OEM SMCCC call on boot, but does

[PATCH] target/arm: Treat unknown SMC calls as NOP

2020-07-01 Thread Alexander Graf
We currently treat unknown SMC calls as UNDEF. This behavior is different from KVM, which treats them as NOP. Unfortunately, the UNDEF exception breaks running Windows for ARM in QEMU, as that probes an OEM SMCCC call on boot, but does not expect to receive an UNDEF exception as response. So inst