Re: [PATCH] arm/hvf: Optimize and simplify WFI handling

2020-12-03 Thread Peter Collingbourne
On Thu, Dec 3, 2020 at 2:12 AM Roman Bolshakov wrote: > > On Tue, Dec 01, 2020 at 10:59:50AM -0800, Peter Collingbourne wrote: > > On Tue, Dec 1, 2020 at 3:16 AM Alexander Graf wrote: > > > > > > Hi Peter, > > > > > > On 01.12.20 09:21, Peter Collingbourne wrote: > > > > Sleep on WFx until the VT

Re: [PATCH] arm/hvf: Optimize and simplify WFI handling

2020-12-03 Thread Roman Bolshakov
On Tue, Dec 01, 2020 at 10:59:50AM -0800, Peter Collingbourne wrote: > On Tue, Dec 1, 2020 at 3:16 AM Alexander Graf wrote: > > > > Hi Peter, > > > > On 01.12.20 09:21, Peter Collingbourne wrote: > > > Sleep on WFx until the VTIMER is due but allow ourselves to be woken > > > up on IPI. > > > > >

Re: [PATCH] arm/hvf: Optimize and simplify WFI handling

2020-12-01 Thread Peter Collingbourne
On Tue, Dec 1, 2020 at 5:53 PM Alexander Graf wrote: > > > On 02.12.20 02:19, Peter Collingbourne wrote: > > On Tue, Dec 1, 2020 at 2:04 PM Alexander Graf wrote: > >> > >> On 01.12.20 19:59, Peter Collingbourne wrote: > >>> On Tue, Dec 1, 2020 at 3:16 AM Alexander Graf wrote: > Hi Peter, >

Re: [PATCH] arm/hvf: Optimize and simplify WFI handling

2020-12-01 Thread Alexander Graf
On 02.12.20 02:19, Peter Collingbourne wrote: On Tue, Dec 1, 2020 at 2:04 PM Alexander Graf wrote: On 01.12.20 19:59, Peter Collingbourne wrote: On Tue, Dec 1, 2020 at 3:16 AM Alexander Graf wrote: Hi Peter, On 01.12.20 09:21, Peter Collingbourne wrote: Sleep on WFx until the VTIMER is

Re: [PATCH] arm/hvf: Optimize and simplify WFI handling

2020-12-01 Thread Peter Collingbourne
On Tue, Dec 1, 2020 at 2:04 PM Alexander Graf wrote: > > > On 01.12.20 19:59, Peter Collingbourne wrote: > > On Tue, Dec 1, 2020 at 3:16 AM Alexander Graf wrote: > >> Hi Peter, > >> > >> On 01.12.20 09:21, Peter Collingbourne wrote: > >>> Sleep on WFx until the VTIMER is due but allow ourselves t

Re: [PATCH] arm/hvf: Optimize and simplify WFI handling

2020-12-01 Thread Peter Collingbourne
On Tue, Dec 1, 2020 at 2:09 PM Alexander Graf wrote: > > > On 01.12.20 21:03, Peter Collingbourne wrote: > > On Tue, Dec 1, 2020 at 8:26 AM Alexander Graf wrote: > >> > >> On 01.12.20 09:21, Peter Collingbourne wrote: > >>> Sleep on WFx until the VTIMER is due but allow ourselves to be woken > >>

Re: [PATCH] arm/hvf: Optimize and simplify WFI handling

2020-12-01 Thread Alexander Graf
On 01.12.20 23:09, Alexander Graf wrote: On 01.12.20 21:03, Peter Collingbourne wrote: On Tue, Dec 1, 2020 at 8:26 AM Alexander Graf wrote: On 01.12.20 09:21, Peter Collingbourne wrote: Sleep on WFx until the VTIMER is due but allow ourselves to be woken up on IPI. Signed-off-by: Peter C

Re: [PATCH] arm/hvf: Optimize and simplify WFI handling

2020-12-01 Thread Alexander Graf
On 01.12.20 21:03, Peter Collingbourne wrote: On Tue, Dec 1, 2020 at 8:26 AM Alexander Graf wrote: On 01.12.20 09:21, Peter Collingbourne wrote: Sleep on WFx until the VTIMER is due but allow ourselves to be woken up on IPI. Signed-off-by: Peter Collingbourne --- Alexander Graf wrote: I

Re: [PATCH] arm/hvf: Optimize and simplify WFI handling

2020-12-01 Thread Alexander Graf
On 01.12.20 19:59, Peter Collingbourne wrote: On Tue, Dec 1, 2020 at 3:16 AM Alexander Graf wrote: Hi Peter, On 01.12.20 09:21, Peter Collingbourne wrote: Sleep on WFx until the VTIMER is due but allow ourselves to be woken up on IPI. Signed-off-by: Peter Collingbourne Thanks a bunch!

Re: [PATCH] arm/hvf: Optimize and simplify WFI handling

2020-12-01 Thread Peter Collingbourne
On Tue, Dec 1, 2020 at 8:26 AM Alexander Graf wrote: > > > On 01.12.20 09:21, Peter Collingbourne wrote: > > Sleep on WFx until the VTIMER is due but allow ourselves to be woken > > up on IPI. > > > > Signed-off-by: Peter Collingbourne > > --- > > Alexander Graf wrote: > >> I would love to take a

Re: [PATCH] arm/hvf: Optimize and simplify WFI handling

2020-12-01 Thread Peter Collingbourne
On Tue, Dec 1, 2020 at 3:16 AM Alexander Graf wrote: > > Hi Peter, > > On 01.12.20 09:21, Peter Collingbourne wrote: > > Sleep on WFx until the VTIMER is due but allow ourselves to be woken > > up on IPI. > > > > Signed-off-by: Peter Collingbourne > > > Thanks a bunch! > > > > --- > > Alexander G

Re: [PATCH] arm/hvf: Optimize and simplify WFI handling

2020-12-01 Thread Alexander Graf
On 01.12.20 09:21, Peter Collingbourne wrote: Sleep on WFx until the VTIMER is due but allow ourselves to be woken up on IPI. Signed-off-by: Peter Collingbourne --- Alexander Graf wrote: I would love to take a patch from you here :). I'll still be stuck for a while with the sysreg sync rewor

Re: [PATCH] arm/hvf: Optimize and simplify WFI handling

2020-12-01 Thread Alexander Graf
Hi Peter, On 01.12.20 09:21, Peter Collingbourne wrote: Sleep on WFx until the VTIMER is due but allow ourselves to be woken up on IPI. Signed-off-by: Peter Collingbourne Thanks a bunch! --- Alexander Graf wrote: I would love to take a patch from you here :). I'll still be stuck for a w

[PATCH] arm/hvf: Optimize and simplify WFI handling

2020-12-01 Thread Peter Collingbourne via
Sleep on WFx until the VTIMER is due but allow ourselves to be woken up on IPI. Signed-off-by: Peter Collingbourne --- Alexander Graf wrote: > I would love to take a patch from you here :). I'll still be stuck for a > while with the sysreg sync rework that Peter asked for before I can look > at W