mbox series

[0/6] cpufreq: Enable COMPILE_TEST on Arm drivers

Message ID 20240806-dt-api-cleanups-v1-0-459e2c840e7d@kernel.org
Headers show
Series cpufreq: Enable COMPILE_TEST on Arm drivers | expand

Message

Rob Herring (Arm) Aug. 6, 2024, 1:58 p.m. UTC
This series enables building CPUFreq Arm based drivers on multiple 
architectures when COMPILE_TEST is enabled.

The drivers for x86 and powerpc appear to be dependent on the 
respective arch code, so those can't be similarly enabled for 
COMPILE_TEST.

I've built this on arm32, arm64, powerpc, and x86 allmodconfig. It's 
been built by 0-day and I fixed a couple of issues from that. I imagine 
a few more might crop up when this is added to linux-next.

Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
---
Rob Herring (Arm) (6):
      cpufreq: qcom: Add explicit io.h include for readl/writel_relaxed
      cpufreq: omap: Drop asm includes
      cpufreq: armada-8k: Avoid excessive stack usage
      opp: ti: Drop unnecessary of_match_ptr()
      cpufreq: Enable COMPILE_TEST on Arm drivers
      cpufreq: Drop CONFIG_ARM and CONFIG_ARM64 dependency on Arm drivers

 drivers/cpufreq/Kconfig             |  2 --
 drivers/cpufreq/Kconfig.arm         | 50 ++++++++++++++++++++++---------------
 drivers/cpufreq/armada-8k-cpufreq.c |  2 +-
 drivers/cpufreq/omap-cpufreq.c      |  3 ---
 drivers/cpufreq/qcom-cpufreq-hw.c   |  1 +
 drivers/opp/ti-opp-supply.c         |  2 +-
 6 files changed, 33 insertions(+), 27 deletions(-)
---
base-commit: 8400291e289ee6b2bf9779ff1c83a291501f017b
change-id: 20240805-dt-api-cleanups-d63eb4f53423

Best regards,

Comments

Viresh Kumar Aug. 8, 2024, 3:29 a.m. UTC | #1
On 06-08-24, 07:58, Rob Herring (Arm) wrote:
> This series enables building CPUFreq Arm based drivers on multiple 
> architectures when COMPILE_TEST is enabled.
> 
> The drivers for x86 and powerpc appear to be dependent on the 
> respective arch code, so those can't be similarly enabled for 
> COMPILE_TEST.
> 
> I've built this on arm32, arm64, powerpc, and x86 allmodconfig. It's 
> been built by 0-day and I fixed a couple of issues from that. I imagine 
> a few more might crop up when this is added to linux-next.
> 
> Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
> ---
> Rob Herring (Arm) (6):
>       cpufreq: qcom: Add explicit io.h include for readl/writel_relaxed
>       cpufreq: omap: Drop asm includes
>       cpufreq: armada-8k: Avoid excessive stack usage
>       opp: ti: Drop unnecessary of_match_ptr()
>       cpufreq: Enable COMPILE_TEST on Arm drivers
>       cpufreq: Drop CONFIG_ARM and CONFIG_ARM64 dependency on Arm drivers

Applied. Thanks.