Re: [RFC PATCH 23/26] kvm: arm64: Intercept host's CPU_SUSPEND PSCI SMCs

2020-11-05 Thread Andrew Walbran
On Wed, 4 Nov 2020 at 19:37, 'David Brazdil' via kernel-team wrote: > > Add a handler of CPU_SUSPEND host PSCI SMCs. When invoked, it determines > whether the requested power state loses context, ie. whether it is > indistinguishable from a WHI or whether it is a deeper sleep state that Do you

Re: [RFC PATCH 23/26] kvm: arm64: Intercept host's CPU_SUSPEND PSCI SMCs

2020-11-05 Thread David Brazdil
> > Add a handler of CPU_SUSPEND host PSCI SMCs. When invoked, it determines > > whether the requested power state loses context, ie. whether it is > > indistinguishable from a WHI or whether it is a deeper sleep state that > Do you mean WFI? Of course, sorry, just a typo.

[RFC PATCH 23/26] kvm: arm64: Intercept host's CPU_SUSPEND PSCI SMCs

2020-11-04 Thread David Brazdil
Add a handler of CPU_SUSPEND host PSCI SMCs. When invoked, it determines whether the requested power state loses context, ie. whether it is indistinguishable from a WHI or whether it is a deeper sleep state that behaves like a CPU_OFF+CPU_ON. If it's the former, it forwards the call to EL3 and