Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752858AbbLJOPN (ORCPT ); Thu, 10 Dec 2015 09:15:13 -0500 Received: from eu-smtp-delivery-143.mimecast.com ([146.101.78.143]:21371 "EHLO eu-smtp-delivery-143.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752380AbbLJOPK convert rfc822-to-8bit (ORCPT ); Thu, 10 Dec 2015 09:15:10 -0500 Subject: Re: [RFC PATCH 8/8] arm64: add sysfs cpu_capacity attribute To: Juri Lelli , linux-kernel@vger.kernel.org References: <1448288921-30307-1-git-send-email-juri.lelli@arm.com> <1448288921-30307-9-git-send-email-juri.lelli@arm.com> Cc: linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, peterz@infradead.org, vincent.guittot@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, linux@arm.linux.org.uk, sudeep.holla@arm.com, lorenzo.pieralisi@arm.com, catalin.marinas@arm.com, will.deacon@arm.com, morten.rasmussen@arm.com, Mark Brown From: Dietmar Eggemann Message-ID: <566988E8.3010308@arm.com> Date: Thu, 10 Dec 2015 14:15:04 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <1448288921-30307-9-git-send-email-juri.lelli@arm.com> X-OriginalArrivalTime: 10 Dec 2015 14:15:04.0521 (UTC) FILETIME=[2A4A6390:01D13355] X-MC-Unique: 6yeE9HD-Qce_gbpRK0FyPA-1 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 887 Lines: 23 On 23/11/15 14:28, Juri Lelli wrote: > Add a sysfs cpu_capacity attribute with which it is possible to read and > write (thus over-writing default values) CPUs capacity. This might be > useful in situation where there is no way to get proper default values > at boot time. > > The new attribute shows up as: > > /sys/devices/system/cpu/cpu*/cpu_capacity > This sysfs interface is not really needed for arm or arm64. People can build the dt blob if they want to change the values. Less code to carry ... Let's focus on the core functionality, which is parsing cpu capacity from dt file to task scheduler for heterogeneous systems. [...] -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/