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)
committerChris Redpath <chris.redpath@arm.com>
Thu, 14 Dec 2017 21:41:07 +0000 (21:41 +0000)
commita991d17080746235d8ff408494748976bf8798e7
tree080664fbd14c84e765481c2b0ed356d174ffc7d3
parentc42f9795e6a0c0e9d3cc6e1fe02fa60829ceb23a
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: I924f55770b4065d18c2097231647ca2f19ec3718
Signed-off-by: Chris Redpath <chris.redpath@arm.com>
drivers/base/arch_topology.c
include/linux/arch_topology.h