[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] target-arm: make smc behave as a nop
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH] target-arm: make smc behave as a nop |
Date: |
Tue, 11 Feb 2014 23:29:44 +0000 |
On 11 February 2014 23:19, Rob Herring <address@hidden> wrote:
> From: Rob Herring <address@hidden>
>
> Several platforms make smc calls for things such as PL310 cache setup.
> In these cases, making smc a nop rather than an illegal instruction
> is sufficient for qemu to work.
I can't remember if we've had this discussion before. Anyway,
I think that making SMC NOP is too much of a platform-specific
hack. If we want to support these platforms we need to either
(a) implement TrustZone properly (b) implement some coherent
mechanism for handing off SMCs to a bit of board specific firmware.
(We might want the latter anyway for running these guests under
KVM.)
thanks
-- PMM