Re: [PATCH 4.19 00/30] 4.19.235-rc1 review

From: Naresh Kamboju
Date: Mon Mar 14 2022 - 10:32:40 EST


> > > or in the git tree and branch at:
> > > git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.19.y
> > > and the diffstat can be found below.
> > >
> > > thanks,
> > >
> > > greg k-h
> > >
> > > -------------
> > > Pseudo-Shortlog of commits:
> >
> > ...
> >
> > > James Morse <james.morse@xxxxxxx>
> > > KVM: arm64: Reset PMC_EL0 to avoid a panic() on systems with no PMU
> >
> >
> > The above is causing the following build error for ARM64 ...
> >
> > arch/arm64/kvm/sys_regs.c: In function ‘reset_pmcr’:
> > arch/arm64/kvm/sys_regs.c:624:3: error: implicit declaration of function ‘vcpu_sys_reg’ [-Werror=implicit-function-declaration]
> > vcpu_sys_reg(vcpu, PMCR_EL0) = 0;
> > ^~~~~~~~~~~~
> > arch/arm64/kvm/sys_regs.c:624:32: error: lvalue required as left operand of assignment
> > vcpu_sys_reg(vcpu, PMCR_EL0) = 0;
> >
>
> Is this also broken in Linus's tree?

nope.
It is also only on 4.19.

--
Linaro LKFT
https://lkft.linaro.org