Hi, On 10/04/17 09:18, Catalin Marinas wrote: > On Mon, Mar 27, 2017 at 02:18:21PM +0100, Juri Lelli wrote: > > arm and arm64 share lot of code relative to parsing CPU capacity > > information from DT, using that information for appropriate scaling and > > exposing a sysfs interface for chaging such values at runtime. > > > > Factorize such code in a common place (driver/base/arch_topology.c) in > > preparation for further additions. > > > > Suggested-by: Will Deacon <[email protected]> > > Suggested-by: Mark Rutland <[email protected]> > > Suggested-by: Catalin Marinas <[email protected]> > > Cc: Russell King <[email protected]> > > Cc: Catalin Marinas <[email protected]> > > Cc: Will Deacon <[email protected]> > > Cc: Greg Kroah-Hartman <[email protected]> > > Signed-off-by: Juri Lelli <[email protected]> > > --- > > > > Changes from v2: > > - make capacity_scale and raw_capacity static > > - added SPDX header > > - improved indent > > - misc. whitespaces/newlines fixes > > > > Changes from v1: > > - keep the original GPLv2 header > > --- > > arch/arm/Kconfig | 1 + > > arch/arm/kernel/topology.c | 213 ++----------------------------------- > > arch/arm64/Kconfig | 1 + > > arch/arm64/kernel/topology.c | 219 +-------------------------------------- > > drivers/base/Kconfig | 8 ++ > > drivers/base/Makefile | 1 + > > drivers/base/arch_topology.c | 242 > > +++++++++++++++++++++++++++++++++++++++++++ > > For arm64: > > Acked-by: Catalin Marinas <[email protected]>
Thanks for reviewing the series. Best, - Juri

