Added clear_cache and enable_cache to cpu_idle and cpu_resume