From: Daeyeong Lee Date: Tue, 13 Feb 2018 06:53:07 +0000 (+0900) Subject: [COMMON] soc: samsung: topology: Add cluster_flags X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e8e784a4b2d858a62c019867a0cdb1e390b432e5;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [COMMON] soc: samsung: topology: Add cluster_flags Change-Id: If2ce37ef3f6a8ec6b51eccf05f4e24cbeeb1219c Signed-off-by: Daeyeong Lee --- diff --git a/drivers/soc/samsung/exynos-topology.c b/drivers/soc/samsung/exynos-topology.c index 11f250a31f42..559511766d85 100644 --- a/drivers/soc/samsung/exynos-topology.c +++ b/drivers/soc/samsung/exynos-topology.c @@ -268,6 +268,11 @@ static int core_flags(void) } #endif +static int cluster_flags(void) +{ + return cpu_core_flags() | topology_cluster_flags(); +} + static int cpu_flags(void) { return topology_cpu_flags(); @@ -326,7 +331,7 @@ static struct sched_domain_topology_level arm64_topology[] = { #ifdef CONFIG_SCHED_MC { cpu_coregroup_mask, core_flags, cpu_core_energy, SD_INIT_NAME(MC) }, #endif - { cpu_cluster_mask, SD_INIT_NAME(DSU) }, + { cpu_cluster_mask, cluster_flags, SD_INIT_NAME(DSU) }, { cpu_cpu_mask, cpu_flags, cpu_cluster_energy, SD_INIT_NAME(DIE) }, { cpu_cpu_mask, NULL, cpu_system_energy, SD_INIT_NAME(SYS) }, { NULL, }