Hi tesla-dev, We need to disable deep C-States when cpu_deep_idle is set to disable in /etc/power.conf. This happens at run time when pmconf runs. We also need to be able to re-enable deep C-States at run time when cpu_deep_idle is set to enable or default and pmconfig is run.
cpudrv sets the per-cpu idle function pointer and global "wakeup" pointer to functions that manage different C-States. Setting all cpu's idle_cpu function pointer and disp_enq_thread back to their non-deep c-state function will allow full performance by bypassing all of the deep C-State code. At first it seems like a simple matter of just doing idle_cpu = shadow_idle_cpu for all cpus from the cpu_deep_idle callback function. However this does not work with _CST change notifications. Does anyone have thoughts on this? Regards, Bill
