Re: [PATCHv2 2/4] arm64: add guest pvstate support
From: Sergey Senozhatsky
Date: Fri Jul 09 2021 - 03:52:09 EST
On (21/07/09 08:39), David Edmondson wrote:
[..]
> > +
> > +static bool has_pv_vcpu_state(void)
> > +{
> > + struct arm_smccc_res res;
> > +
> > + /* To detect the presence of PV time support we require SMCCC 1.1+ */
>
> "PV VCPU state support" rather than "PV time support".
Indeed. Thanks.
[..]
> > +static int pv_vcpu_state_register_hooks(void)
> > +{
> > + int ret;
> > +
> > + ret = cpuhp_setup_state(CPUHP_AP_ONLINE_DYN,
> > + "hypervisor/arm/pvstate:starting",
> > + vcpu_state_init,
> > + vcpu_state_release);
> > + if (ret < 0)
> > + pr_warn("Failed to register CPU hooks\n");
>
> Include that it's PV VCPU state hooks?
Ack.