samsung: cpupm: Change cluster disable condition
authorYoungtae Lee <yt0729.lee@samsung.com>
Wed, 9 May 2018 11:36:07 +0000 (20:36 +0900)
committerlakkyung.jung <lakkyung.jung@samsung.com>
Mon, 23 Jul 2018 05:59:15 +0000 (14:59 +0900)
commit2c33504bfe06e4bd98967704bd2c9cd97d8cfabf
treeae8e311551e7cd6d47acddae0b48d70d7fe7ec4c
parentc1759f02c0cac6b139a05e5c00ec32ad7757ffdd
samsung: cpupm: Change cluster disable condition

1. reference cluster_mask instead of coregroup_mask because
   coregroup_mask no more couldn't show h/w clsuter information.

2. To support fast_hotplug, add function to confirm last cpu in the cluster.
   If many cpus power off at the sametime, cpu_online_mask couldn't guarantee
   last cpu of cluster.

Change-Id: Ic08fbdfa6ab981cf48d6c3f5e294f10d1f1a907a
Signed-off-by: Youngtae Lee <yt0729.lee@samsung.com>
drivers/soc/samsung/exynos-cpupm.c
include/soc/samsung/exynos-cpupm.h