From 9c0dd7e3be88d5be25f5102a5aff2ef2e45b8c3b Mon Sep 17 00:00:00 2001 From: Jaroslaw Stelter Date: Thu, 11 May 2023 14:19:29 +0200 Subject: [PATCH] intel_adsp: ace20_lnl: Change LNL core count to 5 The ACE 2.0 LNL platform has 5 HIFI4 cores. Change number of cores to enable 5th core on the platform. Signed-off-by: Jaroslaw Stelter --- dts/xtensa/intel/intel_adsp_ace20_lnl.dtsi | 7 +++++++ kernel/Kconfig | 4 ++-- soc/xtensa/intel_adsp/ace/Kconfig.defconfig.ace20_lnl | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/dts/xtensa/intel/intel_adsp_ace20_lnl.dtsi b/dts/xtensa/intel/intel_adsp_ace20_lnl.dtsi index 964c5be06ab..b5f57ac5183 100644 --- a/dts/xtensa/intel/intel_adsp_ace20_lnl.dtsi +++ b/dts/xtensa/intel/intel_adsp_ace20_lnl.dtsi @@ -42,6 +42,13 @@ cpu-power-states = <&d0i3 &d3>; }; + cpu4: cpu@4 { + device_type = "cpu"; + compatible = "cdns,tensilica-xtensa-lx7"; + reg = <4>; + cpu-power-states = <&d0i3 &d3>; + }; + }; power-states { diff --git a/kernel/Kconfig b/kernel/Kconfig index 797a98beb2a..b7c6864b871 100644 --- a/kernel/Kconfig +++ b/kernel/Kconfig @@ -874,7 +874,7 @@ config SMP_BOOT_DELAY config MP_NUM_CPUS int "Number of CPUs/cores" default MP_MAX_NUM_CPUS - range 1 4 + range 1 5 help Number of multiprocessing-capable cores available to the multicpu API and SMP features. @@ -882,7 +882,7 @@ config MP_NUM_CPUS config MP_MAX_NUM_CPUS int "Maximum number of CPUs/cores" default 1 - range 1 4 + range 1 5 help Maximum number of multiprocessing-capable cores available to the multicpu API and SMP features. diff --git a/soc/xtensa/intel_adsp/ace/Kconfig.defconfig.ace20_lnl b/soc/xtensa/intel_adsp/ace/Kconfig.defconfig.ace20_lnl index 35f35811261..2dc9365ffb5 100644 --- a/soc/xtensa/intel_adsp/ace/Kconfig.defconfig.ace20_lnl +++ b/soc/xtensa/intel_adsp/ace/Kconfig.defconfig.ace20_lnl @@ -9,6 +9,6 @@ config SOC default "intel_ace20_lnl" config MP_MAX_NUM_CPUS - default 4 + default 5 endif