[linux-yocto] [yocto-kernel-cache][yocto-6.1][PATCH] xilinx-zynqmp: xilinx-zynqmp: disable CONFIG_ARM_CCI_PMU for rt kernel
From: Quanyang Wang CONFIG_ARM_CCI_PMU depends on PERF_EVENTS which is not enabled for preempt-rt, so the building warning as below can be caught: [NOTE]: 'CONFIG_ARM_CCI_PMU' last val (y) and .config val (n) do not match [INFO]: CONFIG_ARM_CCI_PMU : n [INFO]: raw config text: config ARM_CCI_PMU tristate "ARM CCI PMU driver" select ARM_CCI depends on ((ARM && CPU_V7) || ARM64) && PERF_EVENTS help Support for PMU events monitoring on the ARM CCI (Cache Coherent Interconnect) family of products. If compiled as a module, it will be called arm-cci. Config 'ARM_CCI_PMU' has the following Direct dependencies (ARM_CCI_PMU=n): (ARM(undefined/n) && CPU_V7(undefined/n)) || ARM64(=y) (=y) && PERF_EVENTS(=n) Parent dependencies are: PERF_EVENTS [n] CPU_V7 [CPU_V7] ARM64 [y] ARM [ARM] [INFO]: config 'CONFIG_ARM_CCI_PMU' was set, but it wasn't assignable, check (parent) dependencies Disable CONFIG_ARM_CCI_PMU to fix this. Signed-off-by: Quanyang Wang --- Hi Bruce, Would you please help merge this patch to the branch: yocto-6.1 Thanks, Quanyang --- bsp/xilinx-zynqmp/xilinx-zynqmp-preempt-rt.scc | 1 + bsp/xilinx-zynqmp/xilinx-zynqmp-rt.cfg | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 bsp/xilinx-zynqmp/xilinx-zynqmp-rt.cfg diff --git a/bsp/xilinx-zynqmp/xilinx-zynqmp-preempt-rt.scc b/bsp/xilinx-zynqmp/xilinx-zynqmp-preempt-rt.scc index 010f7385c7..a76f5bc914 100644 --- a/bsp/xilinx-zynqmp/xilinx-zynqmp-preempt-rt.scc +++ b/bsp/xilinx-zynqmp/xilinx-zynqmp-preempt-rt.scc @@ -6,3 +6,4 @@ define KARCH arm64 include ktypes/preempt-rt/preempt-rt.scc include xilinx-zynqmp.scc +kconf hardware xilinx-zynqmp-rt.cfg diff --git a/bsp/xilinx-zynqmp/xilinx-zynqmp-rt.cfg b/bsp/xilinx-zynqmp/xilinx-zynqmp-rt.cfg new file mode 100644 index 00..25da0a1540 --- /dev/null +++ b/bsp/xilinx-zynqmp/xilinx-zynqmp-rt.cfg @@ -0,0 +1,2 @@ +# SPDX-License-Identifier: MIT +CONFIG_ARM_CCI_PMU=n -- 2.36.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12821): https://lists.yoctoproject.org/g/linux-yocto/message/12821 Mute This Topic: https://lists.yoctoproject.org/mt/99844140/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [linux-yocto] [yocto-kernel-cache][yocto-6.1][PATCH] xilinx-zynqmp: xilinx-zynqmp: disable CONFIG_ARM_CCI_PMU for rt kernel
merged. Bruce In message: [yocto-kernel-cache][yocto-6.1][PATCH] xilinx-zynqmp: xilinx-zynqmp: disable CONFIG_ARM_CCI_PMU for rt kernel on 29/06/2023 quanyang.w...@windriver.com wrote: > From: Quanyang Wang > > CONFIG_ARM_CCI_PMU depends on PERF_EVENTS which is not enabled for > preempt-rt, so the building warning as below can be caught: > >[NOTE]: 'CONFIG_ARM_CCI_PMU' last val (y) and .config val (n) do not match > [INFO]: CONFIG_ARM_CCI_PMU : n > [INFO]: raw config text: > > config ARM_CCI_PMU > tristate "ARM CCI PMU driver" > select ARM_CCI > depends on ((ARM && CPU_V7) || ARM64) && PERF_EVENTS > help > Support for PMU events monitoring on the ARM CCI (Cache Coherent > Interconnect) family of products. > > If compiled as a module, it will be called arm-cci. > > Config 'ARM_CCI_PMU' has the following Direct dependencies > (ARM_CCI_PMU=n): > (ARM(undefined/n) && CPU_V7(undefined/n)) || ARM64(=y) (=y) > && PERF_EVENTS(=n) > Parent dependencies are: > PERF_EVENTS [n] CPU_V7 [CPU_V7] ARM64 [y] ARM [ARM] > [INFO]: config 'CONFIG_ARM_CCI_PMU' was set, but it wasn't assignable, > check (parent) dependencies > > Disable CONFIG_ARM_CCI_PMU to fix this. > > Signed-off-by: Quanyang Wang > --- > Hi Bruce, > Would you please help merge this patch to the branch: > yocto-6.1 > Thanks, > Quanyang > --- > bsp/xilinx-zynqmp/xilinx-zynqmp-preempt-rt.scc | 1 + > bsp/xilinx-zynqmp/xilinx-zynqmp-rt.cfg | 2 ++ > 2 files changed, 3 insertions(+) > create mode 100644 bsp/xilinx-zynqmp/xilinx-zynqmp-rt.cfg > > diff --git a/bsp/xilinx-zynqmp/xilinx-zynqmp-preempt-rt.scc > b/bsp/xilinx-zynqmp/xilinx-zynqmp-preempt-rt.scc > index 010f7385c7..a76f5bc914 100644 > --- a/bsp/xilinx-zynqmp/xilinx-zynqmp-preempt-rt.scc > +++ b/bsp/xilinx-zynqmp/xilinx-zynqmp-preempt-rt.scc > @@ -6,3 +6,4 @@ define KARCH arm64 > include ktypes/preempt-rt/preempt-rt.scc > > include xilinx-zynqmp.scc > +kconf hardware xilinx-zynqmp-rt.cfg > diff --git a/bsp/xilinx-zynqmp/xilinx-zynqmp-rt.cfg > b/bsp/xilinx-zynqmp/xilinx-zynqmp-rt.cfg > new file mode 100644 > index 00..25da0a1540 > --- /dev/null > +++ b/bsp/xilinx-zynqmp/xilinx-zynqmp-rt.cfg > @@ -0,0 +1,2 @@ > +# SPDX-License-Identifier: MIT > +CONFIG_ARM_CCI_PMU=n > -- > 2.36.1 > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12830): https://lists.yoctoproject.org/g/linux-yocto/message/12830 Mute This Topic: https://lists.yoctoproject.org/mt/99844140/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/leave/6687884/21656/624485779/xyzzy [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-