[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v8 16/19] hvf: arm: Implement PSCI handling
From: |
Sergio Lopez |
Subject: |
Re: [PATCH v8 16/19] hvf: arm: Implement PSCI handling |
Date: |
Thu, 27 May 2021 13:20:22 +0200 |
On Wed, May 19, 2021 at 10:22:50PM +0200, Alexander Graf wrote:
> We need to handle PSCI calls. Most of the TCG code works for us,
> but we can simplify it to only handle aa64 mode and we need to
> handle SUSPEND differently.
>
> This patch takes the TCG code as template and duplicates it in HVF.
>
> To tell the guest that we support PSCI 0.2 now, update the check in
> arm_cpu_initfn() as well.
>
> Signed-off-by: Alexander Graf <agraf@csgraf.de>
>
> ---
>
> v6 -> v7:
>
> - This patch integrates "arm: Set PSCI to 0.2 for HVF"
>
> v7 -> v8:
>
> - Do not advance for HVC, PC is already updated by hvf
> - Fix checkpatch error
> ---
> target/arm/cpu.c | 4 +-
> target/arm/hvf/hvf.c | 123 ++++++++++++++++++++++++++++++++++--
> target/arm/hvf/trace-events | 1 +
> 3 files changed, 122 insertions(+), 6 deletions(-)
Reviewed-by: Sergio Lopez <slp@redhat.com>
signature.asc
Description: PGP signature
- Re: [PATCH v8 08/19] hvf: Use cpu_synchronize_state(), (continued)
- [PATCH v8 14/19] arm/hvf: Add a WFI handler, Alexander Graf, 2021/05/19
- [PATCH v8 11/19] hvf: Introduce hvf vcpu struct, Alexander Graf, 2021/05/19
- [PATCH v8 13/19] hvf: Add Apple Silicon support, Alexander Graf, 2021/05/19
- [PATCH v8 15/19] hvf: arm: Implement -cpu host, Alexander Graf, 2021/05/19
- [PATCH v8 16/19] hvf: arm: Implement PSCI handling, Alexander Graf, 2021/05/19
- Re: [PATCH v8 16/19] hvf: arm: Implement PSCI handling,
Sergio Lopez <=
- [PATCH v8 17/19] arm: Add Hypervisor.framework build target, Alexander Graf, 2021/05/19
- [PATCH v8 19/19] hvf: arm: Handle Windows 10 SMC call, Alexander Graf, 2021/05/19
- [PATCH v8 18/19] arm: Enable Windows 10 trusted SMCCC boot call, Alexander Graf, 2021/05/19
- Re: [PATCH v8 00/19] hvf: Implement Apple Silicon Support, no-reply, 2021/05/19