All of lore.kernel.org
 help / color / mirror / Atom feed
From: Catalin Marinas <catalin.marinas@arm.com>
To: Mark Brown <broonie@kernel.org>
Cc: Will Deacon <Will.Deacon@arm.com>,
	"Rafael J. Wysocki" <rjw@rjwysocki.net>,
	Viresh Kumar <viresh.kumar@linaro.org>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>,
	"linux-pm@vger.kernel.org" <linux-pm@vger.kernel.org>,
	"linaro-kernel@lists.linaro.org" <linaro-kernel@lists.linaro.org>,
	Mark Brown <broonie@linaro.org>
Subject: Re: [PATCH 2/3] arm64: Add big.LITTLE switcher stub
Date: Fri, 9 May 2014 18:47:38 +0100	[thread overview]
Message-ID: <20140509174738.GP7950@arm.com> (raw)
In-Reply-To: <1399653631-4938-2-git-send-email-broonie@kernel.org>

On Fri, May 09, 2014 at 05:40:30PM +0100, Mark Brown wrote:
> From: Mark Brown <broonie@linaro.org>
> 
> The big.LITTLE cpufreq driver is useful on arm64 big.LITTLE systems even
> without IKS support since it implements support for clusters with shared
> clocks (a common big.LITTLE configuration). In order to allow it to be
> built provide the non-IKS stubs for arm64, enabling cpufreq with all the
> cores available.

Have you thought of patching the actual cpufreq driver? Are you adding
this code just to avoid compiler errors on arm64 with this driver?

> It may make sense to make an asm-generic version of these stubs instead

asm-generic/bL_switcher.h? I take it as a good joke ;)

> but
> given that there's only likely to be these two architectures using the code
> and asm-generic stubs also need per architecture updates it's probably more
> trouble than it's worth.

Exactly.

-- 
Catalin

WARNING: multiple messages have this Message-ID (diff)
From: catalin.marinas@arm.com (Catalin Marinas)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/3] arm64: Add big.LITTLE switcher stub
Date: Fri, 9 May 2014 18:47:38 +0100	[thread overview]
Message-ID: <20140509174738.GP7950@arm.com> (raw)
In-Reply-To: <1399653631-4938-2-git-send-email-broonie@kernel.org>

On Fri, May 09, 2014 at 05:40:30PM +0100, Mark Brown wrote:
> From: Mark Brown <broonie@linaro.org>
> 
> The big.LITTLE cpufreq driver is useful on arm64 big.LITTLE systems even
> without IKS support since it implements support for clusters with shared
> clocks (a common big.LITTLE configuration). In order to allow it to be
> built provide the non-IKS stubs for arm64, enabling cpufreq with all the
> cores available.

Have you thought of patching the actual cpufreq driver? Are you adding
this code just to avoid compiler errors on arm64 with this driver?

> It may make sense to make an asm-generic version of these stubs instead

asm-generic/bL_switcher.h? I take it as a good joke ;)

> but
> given that there's only likely to be these two architectures using the code
> and asm-generic stubs also need per architecture updates it's probably more
> trouble than it's worth.

Exactly.

-- 
Catalin

  parent reply	other threads:[~2014-05-09 17:48 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-09 16:40 [PATCH 1/3] arm64: Enable OPP Mark Brown
2014-05-09 16:40 ` Mark Brown
2014-05-09 16:40 ` [PATCH 2/3] arm64: Add big.LITTLE switcher stub Mark Brown
2014-05-09 16:40   ` Mark Brown
2014-05-09 17:05   ` Sudeep Holla
2014-05-09 17:05     ` Sudeep Holla
2014-05-09 17:50     ` Mark Brown
2014-05-09 17:50       ` Mark Brown
2014-05-09 18:57       ` Sudeep Holla
2014-05-09 18:57         ` Sudeep Holla
2014-05-09 19:29         ` Mark Brown
2014-05-09 19:29           ` Mark Brown
2014-05-12  8:34           ` Sudeep Holla
2014-05-12  8:34             ` Sudeep Holla
2014-05-12 12:17             ` Mark Brown
2014-05-12 12:17               ` Mark Brown
2014-05-12 14:09               ` Mark Hambleton
2014-05-12 14:09                 ` Mark Hambleton
2014-05-09 17:47   ` Catalin Marinas [this message]
2014-05-09 17:47     ` Catalin Marinas
2014-05-09 18:01     ` Mark Brown
2014-05-09 18:01       ` Mark Brown
2014-05-11  3:29       ` Nicolas Pitre
2014-05-11  3:29         ` Nicolas Pitre
2014-05-09 16:40 ` [PATCH 3/3] cpufreq: Enable big.LITTLE cpufreq driver on arm64 Mark Brown
2014-05-09 16:40   ` Mark Brown
2014-05-12  4:16   ` Viresh Kumar
2014-05-12  4:16     ` Viresh Kumar
2014-05-19 23:19     ` Rafael J. Wysocki
2014-05-19 23:19       ` Rafael J. Wysocki
2014-05-19 23:07       ` Mark Brown
2014-05-19 23:07         ` Mark Brown
2014-05-19 23:36         ` Rafael J. Wysocki
2014-05-19 23:36           ` Rafael J. Wysocki
2014-06-05 10:04           ` Catalin Marinas
2014-06-05 10:04             ` Catalin Marinas
2014-06-05 12:10             ` Rafael J. Wysocki
2014-06-05 12:10               ` Rafael J. Wysocki
2014-05-09 17:02 ` [PATCH 1/3] arm64: Enable OPP menon.nishanth
2014-05-09 17:02   ` menon.nishanth at gmail.com
2014-05-09 17:11   ` Mark Brown
2014-05-09 17:11     ` Mark Brown
2014-05-09 17:17     ` menon.nishanth
2014-05-09 17:17       ` menon.nishanth at gmail.com
2014-05-09 18:18       ` Mark Brown
2014-05-09 18:18         ` Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140509174738.GP7950@arm.com \
    --to=catalin.marinas@arm.com \
    --cc=Will.Deacon@arm.com \
    --cc=broonie@kernel.org \
    --cc=broonie@linaro.org \
    --cc=linaro-kernel@lists.linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=rjw@rjwysocki.net \
    --cc=viresh.kumar@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.