config: add ARM PMUv3 for kernel 6.6
authorRobert Marko <robimarko@gmail.com>
Sun, 12 May 2024 19:18:19 +0000 (21:18 +0200)
committerRobert Marko <robimarko@gmail.com>
Tue, 14 May 2024 11:23:57 +0000 (13:23 +0200)
commit4341901f050058aba0f908c775a4d136c311062c
tree1f902aae881ecb1fbab9b8423f05d1adf9329db4
parent0868268c9fd4397411e9629eedda35b1547e798e
config: add ARM PMUv3 for kernel 6.6

Kernel 6.6 has moved the ARM PMUv3 driver to drivers/perf and now once
KERNEL_ARM_PMU is selected trying to build the kernel will stop with:
ARM PMUv3 support (ARM_PMUV3) [N/y/?] (NEW)

So, lets enable ARM_PMUV3 for ARMv7 and ARMv8 architectures if
KERNEL_PERF_EVENTS is selected.

Fixes: #15466
Link: https://github.com/openwrt/openwrt/pull/15469
Signed-off-by: Robert Marko <robimarko@gmail.com>
config/Config-kernel.in