mbox series

[for-4.19,0/2] backport "KVM: arm64: limit PMU version to PMUv3 for ARMv8.1"

Message ID 20231128074633.646-1-yuzenghui@huawei.com (mailing list archive)
Headers show
Series backport "KVM: arm64: limit PMU version to PMUv3 for ARMv8.1" | expand

Message

Zenghui Yu Nov. 28, 2023, 7:46 a.m. UTC
We need to backport patch #1 as well because it introduced a helper used
by patch #2.

Andrew Murray (2):
  arm64: cpufeature: Extract capped perfmon fields
  KVM: arm64: limit PMU version to PMUv3 for ARMv8.1

 arch/arm64/include/asm/cpufeature.h | 23 +++++++++++++++++++++++
 arch/arm64/include/asm/sysreg.h     |  6 ++++++
 arch/arm64/kvm/sys_regs.c           | 10 ++++++++++
 3 files changed, 39 insertions(+)

Comments

Greg KH Nov. 28, 2023, 8:12 a.m. UTC | #1
On Tue, Nov 28, 2023 at 03:46:31PM +0800, Zenghui Yu wrote:
> We need to backport patch #1 as well because it introduced a helper used
> by patch #2.
> 
> Andrew Murray (2):
>   arm64: cpufeature: Extract capped perfmon fields
>   KVM: arm64: limit PMU version to PMUv3 for ARMv8.1

We can not just take these in an old stable tree and not newer ones as
that would mean you could upgrade and have a regression.  Please provide
backports for all applicable stable trees and we will be glad to take
them.

thanks,

greg k-h
Zenghui Yu Nov. 28, 2023, noon UTC | #2
On 2023/11/28 16:12, Greg KH wrote:
> On Tue, Nov 28, 2023 at 03:46:31PM +0800, Zenghui Yu wrote:
>> We need to backport patch #1 as well because it introduced a helper used
>> by patch #2.
>>
>> Andrew Murray (2):
>>   arm64: cpufeature: Extract capped perfmon fields
>>   KVM: arm64: limit PMU version to PMUv3 for ARMv8.1
> 
> We can not just take these in an old stable tree and not newer ones as
> that would mean you could upgrade and have a regression.  Please provide
> backports for all applicable stable trees and we will be glad to take
> them.

Thanks for the heads up! "for-5.4" patches sent now.

Zenghui
Greg KH Nov. 30, 2023, 1:40 p.m. UTC | #3
On Tue, Nov 28, 2023 at 08:00:08PM +0800, Zenghui Yu wrote:
> On 2023/11/28 16:12, Greg KH wrote:
> > On Tue, Nov 28, 2023 at 03:46:31PM +0800, Zenghui Yu wrote:
> > > We need to backport patch #1 as well because it introduced a helper used
> > > by patch #2.
> > > 
> > > Andrew Murray (2):
> > >   arm64: cpufeature: Extract capped perfmon fields
> > >   KVM: arm64: limit PMU version to PMUv3 for ARMv8.1
> > 
> > We can not just take these in an old stable tree and not newer ones as
> > that would mean you could upgrade and have a regression.  Please provide
> > backports for all applicable stable trees and we will be glad to take
> > them.
> 
> Thanks for the heads up! "for-5.4" patches sent now.

Great, all now queued up, thanks.

greg k-h