On 12/3/20 10:21 PM, Alex Bennée via Linaro-open-discussions wrote:
Hi,
There has been some discussion on the card QEMU-414:
https://projects.linaro.org/browse/QEMU-414
about adding another CPU model to QEMU that is somewhat more advanced than the current v8.0 offerings but isn't quite the rolling "all the ARM you can eat" -cpu max. So far the primary interest I'm aware of has come from people working on the SBSA and BSA reference platforms who want to have something with a few more features than the base v8.0 spec which we have covered.
Perhaps more related to '-cpu max' than to what you're asking specifically, but what about S-EL2 support? One day or another it could come in handy for OP-TEE testing and debugging for instance.
Thanks,
Jerome Forissier jerome@forissier.org writes:
On 12/3/20 10:21 PM, Alex Bennée via Linaro-open-discussions wrote:
Hi,
There has been some discussion on the card QEMU-414:
https://projects.linaro.org/browse/QEMU-414
about adding another CPU model to QEMU that is somewhat more advanced than the current v8.0 offerings but isn't quite the rolling "all the ARM you can eat" -cpu max. So far the primary interest I'm aware of has come from people working on the SBSA and BSA reference platforms who want to have something with a few more features than the base v8.0 spec which we have covered.
Perhaps more related to '-cpu max' than to what you're asking specifically, but what about S-EL2 support? One day or another it could come in handy for OP-TEE testing and debugging for instance.
It's on the list (QEMU-306) and it would certainly be handy for prototyping some of the Stratos related work as well. It looks like Huawai have posted an implementation.
From: =?ISO-8859-1?Q?R=E9mi?= Denis-Courmont remi.denis.courmont@huawei.com To: qemu-arm@nongnu.org Subject: [PATCHv3 00/17] ARMv8.4 Secure EL2 Date: Mon, 23 Nov 2020 10:01:50 +0200 Message-ID: 3333301.iIbC2pHGDl@basile.remlab.net
Implementing VHE and the original TrustZone support where both fairly substantial tasks in terms of effort although I think a lot more was spent on the testing and debugging than the initial code. The most useful thing that could be done now is helping with the review and testing.
On Tue, 8 Dec 2020 at 13:34, Jerome Forissier jerome@forissier.org wrote:
Perhaps more related to '-cpu max' than to what you're asking specifically, but what about S-EL2 support? One day or another it could come in handy for OP-TEE testing and debugging for instance.
There are some patches currently on the mailing list from Huawei which add secure EL2 emulation support. There's an issue where they seem to have accidentally broken boot of vexpress-a9, but other than that the patches seem OK and will probably land in the 6.0 timeframe.
thanks -- PMM
linaro-open-discussions@op-lists.linaro.org