On Tue, Jun 22, 2021 at 04:56:02PM +0100, James Morse wrote:
Hi Jean,
On 20/05/2021 14:07, Jean-Philippe Brucker wrote:
The guest needs additional support to deal with hidden CPUs and to gracefully handle the "NOT_PRESENT" return value from PSCI CPU_ON. The full prototype can be found here:
There was some internal discussion on the PSCI bits..
Could we use 'DENIED' here, as its firmware policy not to allow the core to be brought online. I'm nervous that reporting 'PRESENT' in the _STA method, and 'NOT_PRESENT' from firmware is going to require us to paper over something later!
It makes sense, I don't think that's a problem given that the code implementing it can't be merged pending spec changes, NOT_PRESENT is just a made-up return value for the time being.
(I need to find where you posted this publicly...)
https://lore.kernel.org/kvm/20210608154805.216869-1-jean-philippe@linaro.org
Lorenzo
Thanks,
James