From b23f1c38c47ad85ec64906775d96ffdf7fc5eede Mon Sep 17 00:00:00 2001 From: Yi-Wei Wang Date: Wed, 27 Sep 2023 13:57:48 +0800 Subject: [PATCH] t23x: overlay: Disable c7 cpuidle for safety IGX Only c1 (WFI) is needed for safety IGX, so disable the c7 cpuidle status. As per upstream cpuidle-psci.c driver, the default archictectural back-end already executes WFI on idle entry, so the idle driver won't be initialized if only WFI is supported. Bug 4084478 Change-Id: Id870cf22a7e5806e7f96c566c9782d6c1620e09c Signed-off-by: Yi-Wei Wang Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2986366 Reviewed-by: Johnny Liu Reviewed-by: Laxman Dewangan GVS: Gerrit_Virtual_Submit Tested-by: Johnny Liu --- overlay/tegra234-p3740-0002+p3701-0008-safety.dts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/overlay/tegra234-p3740-0002+p3701-0008-safety.dts b/overlay/tegra234-p3740-0002+p3701-0008-safety.dts index ff16553..c8cbb47 100644 --- a/overlay/tegra234-p3740-0002+p3701-0008-safety.dts +++ b/overlay/tegra234-p3740-0002+p3701-0008-safety.dts @@ -81,6 +81,14 @@ fragment-t234-p3740-p3701-safety@2 { target-path = "/"; __overlay__ { + cpus { + idle-states { + c7 { + status = "disabled"; + }; + }; + }; + thermal-zones { cpu-thermal { cooling-maps {