arm64/for-kernelci build: 2 builds: 1 failed, 1 passed (v6.1-rc5-63-g9500fc6e9e60)
arm64/for-kernelci build: 2 builds: 1 failed, 1 passed (v6.1-rc5-63-g9500fc6e9e60)
Full Build Summary: https://kernelci.org/build/arm64/branch/for-kernelci/kernel/v6.1-rc5-63-g9500fc6e9e60/
Tree: arm64
Branch: for-kernelci
Git Describe: v6.1-rc5-63-g9500fc6e9e60
Git Commit: 9500fc6e9e6077616c0dea0f7eb33138be94ed0c
Git URL: https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git
Built: 1 unique architecture
Build Failure Detected:
arm64:
allmodconfig: (gcc-10) FAIL
================================================================================
Detailed per-defconfig build reports:
--------------------------------------------------------------------------------
allmodconfig (arm64, gcc-10) — FAIL, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
defconfig (arm64, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
---
For more info write to <[email protected]>
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Will Deacon
maintainerBesar, Suzuki,
Quoted 11 lines · kernelci.org bot
arm64/for-kernelci build: 2 builds: 1 failed, 1 passed (v6.1-rc5-63-g9500fc6e9e60)
Full Build Summary: https://kernelci.org/build/arm64/branch/for-kernelci/kernel/v6.1-rc5-63-g9500fc6e9e60/
Tree: arm64
Branch: for-kernelci
Git Describe: v6.1-rc5-63-g9500fc6e9e60
Git Commit:9500fc6e9e6077616c0dea0f7eb33138be94ed0c
Git URL: https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git
Built: 1 unique architecture
Quoted 4 lines
Build Failure Detected:
arm64:
allmodconfig: (gcc-10) FAIL
This is caused by the new arm_cspmu modules:
| depmod: ERROR: Cycle detected: arm_cspmu -> nvidia_cspmu -> arm_cspmu | depmod: ERROR: Found 2 modules in dependency cycles!
Please can you send patches to fix this and the other build issue reported by Stephen Rothwell?
Cheers,
Will
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Quoted 19 lines · Will Deacon
Besar, Suzuki,
Quoted 11 lines · kernelci.org bot
arm64/for-kernelci build: 2 builds: 1 failed, 1 passed (v6.1-rc5-63-g9500fc6e9e60)
Full Build Summary: https://kernelci.org/build/arm64/branch/for-kernelci/kernel/v6.1-rc5-63-g9500fc6e9e60/
Tree: arm64
Branch: for-kernelci
Git Describe: v6.1-rc5-63-g9500fc6e9e60
Git Commit:9500fc6e9e6077616c0dea0f7eb33138be94ed0c
Git URL: https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git
Built: 1 unique architectureQuoted 4 lines
Build Failure Detected:
arm64:
allmodconfig: (gcc-10) FAIL
Quoted 7 lines
This is caused by the new
arm_cspmumodules:| depmod: ERROR: Cycle detected:
arm_cspmu->nvidia_cspmu->arm_cspmu| depmod: ERROR: Found 2 modules in dependency cycles!Please can you send patches to fix this and the other build issue reported by Stephen Rothwell?
Sigh ! Apologies, I didn't spot this. A proper fix is too invasive, with addition of a provision for individual backend drivers to register an "impl_match" with generic arm_cspmu driver.
Until we get this, we could fold the nvidia_cspmu driver into the arm_csmpu module. Something like :
drivers/perf/arm_cspmu/Makefile +2 -3
@@ -2,6 +2,5 @@ # # SPDX-License-Identifier: GPL-2.0 -obj-$(CONFIG_ARM_CORESIGHT_PMU_ARCH_SYSTEM_PMU) += \ - arm_cspmu.o \ - nvidia_cspmu.o +obj-$(CONFIG_ARM_CORESIGHT_PMU_ARCH_SYSTEM_PMU) += arm_cspmu_core.o +arm_cspmu_core-y := arm_cspmu.o nvidia_cspmu.o
Besar,
Please could you add a separate patch (for fixing it in later versions) as mentioned above ?
Thoughts ?
Suzuki
Quoted 4 lines
Cheers,
Will
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Hi Suzuki,
Quoted 69 lines
-----Original Message-----
From: Suzuki K Poulose <[email protected]>
Sent: Wednesday, November 16, 2022 7:26 AM
To: Will Deacon <[email protected]>; kernelci.org bot <[email protected]>; Besar Wicaksono <[email protected]>
Cc: [email protected]; [email protected]; kernel- [email protected]; [email protected]
Subject: Re: arm64/for-kernelci build: 2 builds: 1 failed, 1 passed (v6.1-rc5-63- g9500fc6e9e60)External email: Use caution opening links or attachments
Quoted 4 lines · Will Deacon
Besar, Suzuki,
Quoted 1 line · kernelci.org bot
arm64/for-kernelci build: 2 builds: 1 failed, 1 passed (v6.1-rc5-63-
g9500fc6e9e60)
Quoted 2 lines
Quoted 2 lines
Full Build Summary: https://kernelci.org/build/arm64/branch/for-
kernelci/kernel/v6.1-rc5-63-g9500fc6e9e60/
Quoted 8 lines
Quoted 8 lines
Tree: arm64
Branch: for-kernelci
Git Describe: v6.1-rc5-63-g9500fc6e9e60
Git Commit:9500fc6e9e6077616c0dea0f7eb33138be94ed0c
Git URL: https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git
Built: 1 unique architectureQuoted 8 lines
Quoted 4 lines
Build Failure Detected:
arm64:
allmodconfig: (gcc-10) FAILThis is caused by the new
arm_cspmumodules:| depmod: ERROR: Cycle detected: arm_cspmu -> nvidia_cspmu ->
arm_cspmuQuoted 4 lines
| depmod: ERROR: Found 2 modules in dependency cycles!
Please can you send patches to fix this and the other build issue reported by Stephen Rothwell?
Sigh ! Apologies, I didn't spot this. A proper fix is too invasive, with addition of a provision for individual backend drivers to register an "
impl_match" with genericarm_cspmudriver.Until we get this, we could fold the
nvidia_cspmudriver into thearm_csmpumodule. Something like :drivers/perf/arm_cspmu/Makefile +1
-3@@ -2,6 +2,5 @@ # # SPDX-License-Identifier: GPL-2.0 -obj-$(CONFIG_ARM_CORESIGHT_PMU_ARCH_SYSTEM_PMU) += \ - arm_cspmu.o \ - nvidia_cspmu.o +obj-$(CONFIG_ARM_CORESIGHT_PMU_ARCH_SYSTEM_PMU) +=arm_cspmu_core.o
+arm_cspmu_core-y := arm_cspmu.o nvidia_cspmu.o
Quoted 7 lines
Besar,
Please could you add a separate patch (for fixing it in later versions) as mentioned above ?
Thoughts ?
Sorry I did not check this. The arm_cspmu code is intended to have the functions to operate the PMU and the vendor code (currently just Nvidia) is an extension that have just the attributes. So, I think there is only one module to be built here and folding both arm_cspmu and nvidia_cspmu together is the proper fix.
Regards,
Besar
Quoted 7 lines
Suzuki
Quoted 4 lines
Cheers,
Will
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Quoted 77 lines · Besar Wicaksono
Hi Suzuki,
Quoted 75 lines
-----Original Message-----
From: Suzuki K Poulose <[email protected]>
Sent: Wednesday, November 16, 2022 7:26 AM
To: Will Deacon <[email protected]>; kernelci.org bot <[email protected]>; Besar Wicaksono <[email protected]>
Cc: [email protected]; [email protected]; kernel- [email protected]; [email protected]
Subject: Re: arm64/for-kernelci build: 2 builds: 1 failed, 1 passed (v6.1-rc5-63- g9500fc6e9e60)External email: Use caution opening links or attachments
Quoted 4 lines · Will Deacon
Besar, Suzuki,
Quoted 1 line · kernelci.org bot
arm64/for-kernelci build: 2 builds: 1 failed, 1 passed (v6.1-rc5-63-
g9500fc6e9e60)
Quoted 2 lines
Quoted 2 lines
Full Build Summary: https://kernelci.org/build/arm64/branch/for-
kernelci/kernel/v6.1-rc5-63-g9500fc6e9e60/
Quoted 8 lines
Quoted 8 lines
Tree: arm64
Branch: for-kernelci
Git Describe: v6.1-rc5-63-g9500fc6e9e60
Git Commit:9500fc6e9e6077616c0dea0f7eb33138be94ed0c
Git URL: https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git
Built: 1 unique architectureQuoted 8 lines
Quoted 4 lines
Build Failure Detected:
arm64:
allmodconfig: (gcc-10) FAILThis is caused by the new
arm_cspmumodules:| depmod: ERROR: Cycle detected: arm_cspmu -> nvidia_cspmu ->
arm_cspmuQuoted 4 lines
| depmod: ERROR: Found 2 modules in dependency cycles!
Please can you send patches to fix this and the other build issue reported by Stephen Rothwell?
Sigh ! Apologies, I didn't spot this. A proper fix is too invasive, with addition of a provision for individual backend drivers to register an "
impl_match" with genericarm_cspmudriver.Until we get this, we could fold the
nvidia_cspmudriver into thearm_csmpumodule. Something like :drivers/perf/arm_cspmu/Makefile +1
-3@@ -2,6 +2,5 @@ # # SPDX-License-Identifier: GPL-2.0 -obj-$(CONFIG_ARM_CORESIGHT_PMU_ARCH_SYSTEM_PMU) += \ - arm_cspmu.o \ - nvidia_cspmu.o +obj-$(CONFIG_ARM_CORESIGHT_PMU_ARCH_SYSTEM_PMU) +=arm_cspmu_core.o
+arm_cspmu_core-y := arm_cspmu.o nvidia_cspmu.oBesar,
Please could you add a separate patch (for fixing it in later versions) as mentioned above ?
Quoted 6 lines
Quoted 1 line
Thoughts ?
Sorry I did not check this. The
arm_cspmucode is intended to have the functions to operate the PMU and the vendor code (currently just Nvidia) is an extension that have just the attributes. So, I think there is only one module to be built here and folding botharm_cspmuandnvidia_cspmutogether is the proper fix.
The proper fix would be to add a book keeping at arm_cspmu driver for {un,}registering backends (like the current nvidia drivers) at runtime (see arm_pmu for e.g.,).
So that the arm_cspmu module doesn't depend on the symbols from backend drivers (in the impl_match list). That way the kernel can be configured to keep things modular, rather than folding all the possible (future) Arm Coresight PMU compliant drivers ending up as a single module.
Suzuki
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Hi Suzuki,
Quoted 109 lines
-----Original Message-----
From: Suzuki K Poulose <[email protected]>
Sent: Thursday, November 17, 2022 5:57 AM
To: Besar Wicaksono <[email protected]>; Will Deacon <[email protected]>; kernelci.org bot <[email protected]>
Cc: [email protected]; [email protected]; kernel- [email protected]; [email protected]
Subject: Re: arm64/for-kernelci build: 2 builds: 1 failed, 1 passed (v6.1-rc5-63- g9500fc6e9e60)External email: Use caution opening links or attachments
Quoted 8 lines · Besar Wicaksono
Hi Suzuki,
Quoted 6 lines
-----Original Message-----
From: Suzuki K Poulose <[email protected]>
Sent: Wednesday, November 16, 2022 7:26 AM
To: Will Deacon <[email protected]>; kernelci.org bot <[email protected]>; Besar Wicaksono <[email protected]>
Cc: [email protected]; [email protected];kernel-
Quoted 2 lines
Quoted 2 lines
[email protected]; [email protected]
Subject: Re: arm64/for-kernelci build: 2 builds: 1 failed, 1 passed (v6.1-rc5-63-
Quoted 12 lines
Quoted 12 lines
g9500fc6e9e60)
External email: Use caution opening links or attachments
Quoted 4 lines · Will Deacon
Besar, Suzuki,
Quoted 1 line · kernelci.org bot
arm64/for-kernelci build: 2 builds: 1 failed, 1 passed (v6.1-rc5-63-
g9500fc6e9e60)
Quoted 1 line
Quoted 1 line
Quoted 8 lines
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Full Build Summary: https://kernelci.org/build/arm64/branch/for-
kernelci/kernel/v6.1-rc5-63-g9500fc6e9e60/
Quoted 6 lines
Quoted 6 lines
Tree: arm64
Branch: for-kernelci
Git Describe: v6.1-rc5-63-g9500fc6e9e60
Git Commit:9500fc6e9e6077616c0dea0f7eb33138be94ed0cGit URL:https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 6 lines
Built: 1 unique architecture
Build Failure Detected:
arm64:
allmodconfig: (gcc-10) FAILQuoted 7 lines
Quoted 7 lines
Quoted 3 lines
This is caused by the new
arm_cspmumodules:| depmod: ERROR: Cycle detected: arm_cspmu -> nvidia_cspmu ->
arm_cspmuQuoted 3 lines
| depmod: ERROR: Found 2 modules in dependency cycles!
Please can you send patches to fix this and the other build issue
reported
Quoted 29 lines
Quoted 29 lines
Quoted 1 line
by Stephen Rothwell?
Sigh ! Apologies, I didn't spot this. A proper fix is too invasive, with addition of a provision for individual backend drivers to register an "
impl_match" with genericarm_cspmudriver.Until we get this, we could fold the
nvidia_cspmudriver into thearm_csmpumodule. Something like :drivers/perf/arm_cspmu/Makefile +1
-3@@ -2,6 +2,5 @@ # # SPDX-License-Identifier: GPL-2.0 -obj-$(CONFIG_ARM_CORESIGHT_PMU_ARCH_SYSTEM_PMU) += \ - arm_cspmu.o \ - nvidia_cspmu.o +obj-$(CONFIG_ARM_CORESIGHT_PMU_ARCH_SYSTEM_PMU) +=arm_cspmu_core.o
+arm_cspmu_core-y := arm_cspmu.o nvidia_cspmu.oBesar,
Quoted 7 lines
Quoted 5 lines
Please could you add a separate patch (for fixing it in later versions) as mentioned above ?
Thoughts ?
Sorry I did not check this. The
arm_cspmucode is intended to have thefunctions
Quoted 1 line
to operate the PMU and the vendor code (currently just Nvidia) is an
extension that have
Quoted 1 line
just the attributes. So, I think there is only one module to be built here and
folding both
Quoted 1 line
arm_cspmuandnvidia_cspmutogether is the proper fix.The proper fix would be to add a book keeping at
arm_cspmudriver for {un,}registering backends (like the current nvidia drivers) at runtime (seearm_pmufor e.g.,).
Quoted 5 lines
So that the
arm_cspmumodule doesn't depend on the symbols from backend drivers (in theimpl_matchlist). That way the kernel can be configured to keep things modular, rather than folding all the possible (future) Arm Coresight PMU compliant drivers ending up as a single module.
Okay, I understand the objective. I will work on it.
Regards,
Besar
Quoted 2 lines
Suzuki
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel