Re: [U-Boot] [PATCH 1/1] efi_loader: PSCI reset and shutdown for EL1

2018-10-11 Thread Sumit Garg
On Thu, 11 Oct 2018 at 17:50, Sumit Garg wrote: > > On Thu, 11 Oct 2018 at 08:56, Heinrich Schuchardt wrote: > > > > When starting an aarch64 system under QEMU it runs in EL1/EL0. So we have > > to use HVC for PSCI calls. > > > > Without the patch resetting Linux started with bootefi under > > qe

Re: [U-Boot] [PATCH 1/1] efi_loader: PSCI reset and shutdown for EL1

2018-10-11 Thread Sumit Garg
On Thu, 11 Oct 2018 at 08:56, Heinrich Schuchardt wrote: > > When starting an aarch64 system under QEMU it runs in EL1/EL0. So we have > to use HVC for PSCI calls. > > Without the patch resetting Linux started with bootefi under > qemu-system-aarch64 results in a crash. > > Signed-off-by: Heinrich

[U-Boot] [PATCH 1/1] efi_loader: PSCI reset and shutdown for EL1

2018-10-10 Thread Heinrich Schuchardt
When starting an aarch64 system under QEMU it runs in EL1/EL0. So we have to use HVC for PSCI calls. Without the patch resetting Linux started with bootefi under qemu-system-aarch64 results in a crash. Signed-off-by: Heinrich Schuchardt --- arch/arm/cpu/armv8/fwcall.c | 14 +- 1 fil