aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/idle/intel_idle.c
diff options
context:
space:
mode:
authorJoseph Lo <josephl@nvidia.com>2019-02-01 10:16:39 +0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-02-01 12:58:58 +0100
commitdb10945cf49e9c04053b436abe334412003f9af9 (patch)
tree24797e28e65efb606e6e3f0aa374f6377d85db7b /drivers/idle/intel_idle.c
parentMerge back earlier cpuidle material for v5.1. (diff)
downloadlinux-dev-db10945cf49e9c04053b436abe334412003f9af9.tar.xz
linux-dev-db10945cf49e9c04053b436abe334412003f9af9.zip
cpuidle: dt: bail out if the idle-state DT node is not compatible
Currently, the DT of the idle states will be parsed first whether it's compatible or not. This could cause a warning message that comes from if the CPU doesn't support identical idle states. E.g. Tegra186 can run with 2 Cortex-A57 and 2 Denver cores with different idle states on different types of these cores. So fix it by checking the match node earlier, then it can make sure it only goes through the idle states that the CPU supported. Signed-off-by: Joseph Lo <josephl@nvidia.com> Reviewed-by: Sudeep Holla <sudeep.holla@arm.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/idle/intel_idle.c')
0 files changed, 0 insertions, 0 deletions