Re: [PATCH] allwinner-h3: Switch to SMC as PSCI conduit

2021-09-27 Thread Philippe Mathieu-Daudé
On 9/20/21 22:39, Alexander Graf wrote: > The Allwinner H3 SoC uses Cortex-A7 cores which support virtualization. > However, today we are configuring QEMU to use HVC as PSCI conduit. > > That means HVC calls get trapped into QEMU instead of the guest's own > emulated CPU and thus break the

Re: [PATCH] allwinner-h3: Switch to SMC as PSCI conduit

2021-09-27 Thread Peter Maydell
On Wed, 22 Sept 2021 at 20:41, Niek Linnenbank wrote: > > Hi Alexander, > > I've tested your patch on the acceptance tests and they all pass: > > ARMBIAN_ARTIFACTS_CACHED=yes AVOCADO_ALLOW_LARGE_STORAGE=yes avocado > --show=app,console run -t machine:orangepi-pc >

Re: [PATCH] allwinner-h3: Switch to SMC as PSCI conduit

2021-09-22 Thread Niek Linnenbank
Hi Alexander, I've tested your patch on the acceptance tests and they all pass: ARMBIAN_ARTIFACTS_CACHED=yes AVOCADO_ALLOW_LARGE_STORAGE=yes avocado --show=app,console run -t machine:orangepi-pc tests/acceptance/boot_linux_console.py ... RESULTS: PASS 5 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 |

[PATCH] allwinner-h3: Switch to SMC as PSCI conduit

2021-09-20 Thread Alexander Graf
The Allwinner H3 SoC uses Cortex-A7 cores which support virtualization. However, today we are configuring QEMU to use HVC as PSCI conduit. That means HVC calls get trapped into QEMU instead of the guest's own emulated CPU and thus break the guest's ability to execute virtualization. Fix this by