OSDN Git Service

ANDROID: drivers/base/arch_topology: Dynamic sched_domain flag detection
authorMorten Rasmussen <morten.rasmussen@arm.com>
Thu, 19 Oct 2017 12:46:03 +0000 (13:46 +0100)
committerAmit Pundir <amit.pundir@linaro.org>
Tue, 14 Aug 2018 12:17:11 +0000 (17:47 +0530)
commitbc3254387f8efb3f197278479afb9b9c05b8ff58
tree5133a7b84c238e936599ae681d129dde9e0a06a2
parentddb05abb75787eac15a0419bcf6b4d8ff05c3863
ANDROID: drivers/base/arch_topology: Dynamic sched_domain flag detection

This patch add support for dynamic sched_domain flag detection. Flags
like SD_ASYM_CPUCAPACITY are not guaranteed to be set at the same level
for all systems. Let the arch_topology driver do the detection of where
those flags should be set instead. This patch adds initial support for
setting the SD_ASYM_CPUCAPACITY flag.

cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Morten Rasmussen <morten.rasmussen@arm.com>
Change-Id: I0e729b8005f4132926b22e85e83f58d691938350
drivers/base/arch_topology.c
include/linux/arch_topology.h