nvidia-oot: cpuidle: Add idle debugfs nodes

Adding debugfs support to force cpus into idle states. Building as
module instead of driver. Generic to support any standard cpuidle
implementation.

Bug 3583597

Change-Id: I5dd9e8635b844f465bc4c9da7e1d45ee17dd669f
Signed-off-by: Ishan Shah <ishah@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2814926
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
Ishan Shah
2022-11-23 21:01:48 +00:00
committed by mobile promotions
parent db2721e896
commit 947f489dac
4 changed files with 124 additions and 0 deletions

View File

@@ -115,4 +115,8 @@ BUILT_MODULE_NAME[27]="generic-pwm-tachometer"
BUILT_MODULE_LOCATION[27]="drivers/hwmon"
DEST_MODULE_LOCATION[27]="/extra"
BUILT_MODULE_NAME[28]="cpuidle-debugfs"
BUILT_MODULE_LOCATION[28]="drivers/cpuidle"
DEST_MODULE_LOCATION[28]="/extra"
AUTO_INSTALL="yes"