[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v4 09/11] arm/hvf: Add a WFI handler
From: |
Roman Bolshakov |
Subject: |
Re: [PATCH v4 09/11] arm/hvf: Add a WFI handler |
Date: |
Fri, 4 Dec 2020 19:45:23 +0300 |
On Fri, Dec 04, 2020 at 12:48:55AM +0100, Alexander Graf wrote:
> From: Peter Collingbourne <pcc@google.com>
>
> Sleep on WFI until the VTIMER is due but allow ourselves to be woken
> up on IPI.
>
> In this implementation IPI is blocked on the CPU thread at startup and
> pselect() is used to atomically unblock the signal and begin sleeping.
> The signal is sent unconditionally so there's no need to worry about
> races between actually sleeping and the "we think we're sleeping"
> state. It may lead to an extra wakeup but that's better than missing
> it entirely.
>
Acked-by: Roman Bolshakov <r.bolshakov@yadro.com>
Thanks,
Roman
- [PATCH v4 06/11] hvf: Simplify post reset/init/loadvm hooks, (continued)
- [PATCH v4 06/11] hvf: Simplify post reset/init/loadvm hooks, Alexander Graf, 2020/12/03
- [PATCH v4 08/11] arm: Add Hypervisor.framework build target, Alexander Graf, 2020/12/03
- [PATCH v4 10/11] hvf: arm: Add support for GICv3, Alexander Graf, 2020/12/03
- [PATCH v4 07/11] hvf: Add Apple Silicon support, Alexander Graf, 2020/12/03
- [PATCH v4 09/11] arm/hvf: Add a WFI handler, Alexander Graf, 2020/12/03
- Re: [PATCH v4 09/11] arm/hvf: Add a WFI handler,
Roman Bolshakov <=
- [PATCH v4 11/11] hvf: arm: Implement -cpu host, Alexander Graf, 2020/12/03
- Re: [PATCH v4 00/11] hvf: Implement Apple Silicon Support, no-reply, 2020/12/03
- Re: [PATCH v4 00/11] hvf: Implement Apple Silicon Support, Roman Bolshakov, 2020/12/04