Re: [PATCH v4 06/26] psci: Add accessor for psci_0_1_function_ids

From: David Brazdil
Date: Thu Dec 03 2020 - 05:51:48 EST


On Thu, Dec 03, 2020 at 10:47:12AM +0000, Mark Rutland wrote:
> On Wed, Dec 02, 2020 at 06:41:02PM +0000, David Brazdil wrote:
> > Make it possible to retrieve a copy of the psci_0_1_function_ids struct.
> > This is useful for KVM if it is configured to intercept host's PSCI SMCs.
> >
> > Signed-off-by: David Brazdil <dbrazdil@xxxxxxxxxx>
>
> Acked-by: Mark Rutland <mark.rutland@xxxxxxx>
>
> ... just to check, does KVM snapshot which function IDs are valid, or do
> we want to add that state here too? That can be a follow-up if
> necessary.

Ah, that's a good point. It doesn't, but can infer that from psci_ops.