Re: [PATCH 1/6] kvm: arm64: Prevent use of invalid PSCI v0.1 function IDs

2020-12-22 Thread Marc Zyngier
On Tue, 08 Dec 2020 17:26:28 +, Mark Rutland wrote: > > On Tue, Dec 08, 2020 at 03:56:39PM +, Marc Zyngier wrote: > > On 2020-12-08 14:24, David Brazdil wrote: > > > PSCI driver exposes a struct containing the PSCI v0.1 function IDs > > > configured in the DT. However, the struct does

[PATCH 1/6] kvm: arm64: Prevent use of invalid PSCI v0.1 function IDs

2020-12-08 Thread David Brazdil
PSCI driver exposes a struct containing the PSCI v0.1 function IDs configured in the DT. However, the struct does not convey the information whether these were set from DT or contain the default value zero. This could be a problem for PSCI proxy in KVM protected mode. Extend config passed to KVM

Re: [PATCH 1/6] kvm: arm64: Prevent use of invalid PSCI v0.1 function IDs

2020-12-08 Thread Mark Rutland
On Tue, Dec 08, 2020 at 03:56:39PM +, Marc Zyngier wrote: > On 2020-12-08 14:24, David Brazdil wrote: > > PSCI driver exposes a struct containing the PSCI v0.1 function IDs > > configured in the DT. However, the struct does not convey the > > information whether these were set from DT or

Re: [PATCH 1/6] kvm: arm64: Prevent use of invalid PSCI v0.1 function IDs

2020-12-08 Thread Marc Zyngier
On 2020-12-08 14:24, David Brazdil wrote: PSCI driver exposes a struct containing the PSCI v0.1 function IDs configured in the DT. However, the struct does not convey the information whether these were set from DT or contain the default value zero. This could be a problem for PSCI proxy in KVM