From 8aec103a03e2c1a0060ec96445ae02b80fdac2be Mon Sep 17 00:00:00 2001 From: Tomasz Leman Date: Fri, 6 Jun 2025 10:39:23 +0200 Subject: [PATCH 1/2] west.yml: update zephyr to 8c6b2c8c887 Total of 1263 commits. Changes include: * fbafada9b64 soc: intel_adsp: Manage power gating based on core activity * 5a9394a1e07 llext: add dynamic heap allocation support * 3aace9520f1 llext: Do not print symbol resolution messages * a8d44c37c49 pm: policy: remove redundant ifdef exclusion of device_power_lock * b6429254914 pm: policy: fix mocks of CONFIG_PM_POLICY_DEVICE_CONSTRAINTS * 437b56d22e8 pm: device_runtime: Make async optional * 64e38bab556 pm: device_runtime: Allow to use a dedicated wq * 1b230f87411 pm: policy: default: Removed unused code * 042bf2c3fae kernel: userspace: Fix memory leak in dynamic_object_create * 240b56008ce drivers: ssp: unify clock selection flow across ACE platforms Signed-off-by: Tomasz Leman --- west.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/west.yml b/west.yml index 9d3bb326aa58..09d91a0a1453 100644 --- a/west.yml +++ b/west.yml @@ -43,7 +43,7 @@ manifest: - name: zephyr repo-path: zephyr - revision: e48c90700de7b84c038e73d01f4b2640e2fea127 + revision: 8c6b2c8c88773810d64a47ed3b6206b7d6e8290f remote: zephyrproject # Import some projects listed in zephyr/west.yml@revision From 91c9a9af3dc6828653b471e29e43e328366e2aac Mon Sep 17 00:00:00 2001 From: Tomasz Leman Date: Fri, 6 Jun 2025 11:39:55 +0200 Subject: [PATCH 2/2] intel_adsp: switch to default PM policy for ACE configurations This patch removes the `CONFIG_PM_POLICY_CUSTOM` configuration from various Intel ADSP ACE board configurations, transitioning to the default power management policy provided by Zephyr. Previously, a custom PM policy was implemented to handle specific conditions that could not be addressed by the default policy. However, recent updates to the Zephyr kernel now encompass all necessary checks, allowing us to utilize the default policy effectively. The change affects the following board configurations: - intel_adsp_ace15_mtpm.conf - intel_adsp_ace20_lnl.conf - intel_adsp_ace30_ptl.conf - intel_adsp_ace30_ptl_sim.conf - intel_adsp_ace30_wcl.conf - intel_adsp_ace30_wcl_sim.conf By adopting the default policy, we simplify the configuration and maintenance of these board files while ensuring consistent power management behavior across different platforms. Signed-off-by: Tomasz Leman --- app/boards/intel_adsp_ace15_mtpm.conf | 1 - app/boards/intel_adsp_ace20_lnl.conf | 1 - app/boards/intel_adsp_ace30_ptl.conf | 1 - app/boards/intel_adsp_ace30_ptl_sim.conf | 1 - app/boards/intel_adsp_ace30_wcl.conf | 1 - app/boards/intel_adsp_ace30_wcl_sim.conf | 1 - 6 files changed, 6 deletions(-) diff --git a/app/boards/intel_adsp_ace15_mtpm.conf b/app/boards/intel_adsp_ace15_mtpm.conf index 30f622f8cf0b..26a9680e92f1 100644 --- a/app/boards/intel_adsp_ace15_mtpm.conf +++ b/app/boards/intel_adsp_ace15_mtpm.conf @@ -104,7 +104,6 @@ CONFIG_PM_DEVICE=y CONFIG_PM_DEVICE_RUNTIME=y CONFIG_PM_DEVICE_SYSTEM_MANAGED=y CONFIG_PM_DEVICE_POWER_DOMAIN=y -CONFIG_PM_POLICY_CUSTOM=y CONFIG_POWER_DOMAIN=y CONFIG_POWER_DOMAIN_INTEL_ADSP=y diff --git a/app/boards/intel_adsp_ace20_lnl.conf b/app/boards/intel_adsp_ace20_lnl.conf index 5190674693ec..a8888c9557d6 100644 --- a/app/boards/intel_adsp_ace20_lnl.conf +++ b/app/boards/intel_adsp_ace20_lnl.conf @@ -83,7 +83,6 @@ CONFIG_PM_DEVICE=y CONFIG_PM_DEVICE_POWER_DOMAIN=y CONFIG_PM_DEVICE_RUNTIME=y CONFIG_PM_DEVICE_SYSTEM_MANAGED=y -CONFIG_PM_POLICY_CUSTOM=y CONFIG_POWER_DOMAIN=y CONFIG_POWER_DOMAIN_INTEL_ADSP=y diff --git a/app/boards/intel_adsp_ace30_ptl.conf b/app/boards/intel_adsp_ace30_ptl.conf index 1aab3daf3d03..15e1489c7dc4 100644 --- a/app/boards/intel_adsp_ace30_ptl.conf +++ b/app/boards/intel_adsp_ace30_ptl.conf @@ -78,7 +78,6 @@ CONFIG_PM_DEVICE=y CONFIG_PM_DEVICE_RUNTIME=y CONFIG_PM_DEVICE_POWER_DOMAIN=y CONFIG_PM_DEVICE_SYSTEM_MANAGED=y -CONFIG_PM_POLICY_CUSTOM=y CONFIG_POWER_DOMAIN=y CONFIG_POWER_DOMAIN_INTEL_ADSP=y diff --git a/app/boards/intel_adsp_ace30_ptl_sim.conf b/app/boards/intel_adsp_ace30_ptl_sim.conf index eb72fb6598cc..ef3f717f9082 100644 --- a/app/boards/intel_adsp_ace30_ptl_sim.conf +++ b/app/boards/intel_adsp_ace30_ptl_sim.conf @@ -9,7 +9,6 @@ CONFIG_COMP_SRC_IPC4_FULL_MATRIX=y # power settings CONFIG_PM=n -CONFIG_PM_POLICY_CUSTOM=y # enable Zephyr drivers CONFIG_ZEPHYR_NATIVE_DRIVERS=y diff --git a/app/boards/intel_adsp_ace30_wcl.conf b/app/boards/intel_adsp_ace30_wcl.conf index 1dbecc00be9c..c33c0e2127bb 100644 --- a/app/boards/intel_adsp_ace30_wcl.conf +++ b/app/boards/intel_adsp_ace30_wcl.conf @@ -75,7 +75,6 @@ CONFIG_PM_DEVICE=y CONFIG_PM_DEVICE_RUNTIME=y CONFIG_PM_DEVICE_POWER_DOMAIN=y CONFIG_PM_DEVICE_SYSTEM_MANAGED=y -CONFIG_PM_POLICY_CUSTOM=y CONFIG_POWER_DOMAIN=y CONFIG_POWER_DOMAIN_INTEL_ADSP=y diff --git a/app/boards/intel_adsp_ace30_wcl_sim.conf b/app/boards/intel_adsp_ace30_wcl_sim.conf index 63020f3652a5..64cfb22acd27 100644 --- a/app/boards/intel_adsp_ace30_wcl_sim.conf +++ b/app/boards/intel_adsp_ace30_wcl_sim.conf @@ -9,7 +9,6 @@ CONFIG_COMP_SRC_IPC4_FULL_MATRIX=y # power settings CONFIG_PM=n -CONFIG_PM_POLICY_CUSTOM=y # enable Zephyr drivers CONFIG_ZEPHYR_NATIVE_DRIVERS=y