All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kumar Gala <galak@codeaurora.org>
To: Mark Rutland <mark.rutland@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>,
	"linux-arm-msm@vger.kernel.org" <linux-arm-msm@vger.kernel.org>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	"abhimany@codeaurora.org" <abhimany@codeaurora.org>,
	Will Deacon <Will.Deacon@arm.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"arm@kernel.org" <arm@kernel.org>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>
Subject: Re: [RFC PATCH 0/5] Add smp booting support for Qualcomm ARMv8 SoCs
Date: Tue, 14 Apr 2015 14:49:04 -0500	[thread overview]
Message-ID: <07185B2C-3F37-4E70-9096-1EF5EA8D68CE@codeaurora.org> (raw)
In-Reply-To: <20150414163613.GM28709@leverpostej>


> On Apr 14, 2015, at 11:36 AM, Mark Rutland <mark.rutland@arm.com> wrote:
> 
> On Fri, Apr 10, 2015 at 11:05:29AM +0100, Catalin Marinas wrote:
>> On Thu, Apr 09, 2015 at 12:37:06PM -0500, Kumar Gala wrote:
>>> This patch set adds support for SMP boot on the MSM8x16 family of Qualcomm SoCs.
>>> 
>>> To support SMP on the MSM8x16 SoCs we need to add ARMv8/64-bit SCM interfaces to
>>> setup the boot/release addresses for the secondary CPUs.  In addition we need
>>> a uniquie set of cpu ops.  I'm aware the desired methods for booting secondary
>>> CPUs is either via spintable or PSCI.  However, these SoCs are shipping with a
>>> firmware that does not support those methods.
>> 
>> And the reason is? Some guesses:
>> 
>> a) QC doesn't think boot interface (and cpuidle) standardisation is
>>   worth the effort (to put it nicely)
>> b) The hardware was available before we even mentioned PSCI
>> c) PSCI is not suitable for the QC's SCM interface
>> d) Any combination of the above
>> 
>> I strongly suspect it's point (a). Should we expect future QC hardware
>> to do the same?
>> 
>> You could argue the reason was (b), though we've been discussing PSCI
>> for at least two years and, according to QC press releases, MSM8916
>> started sampling in 2014.
>> 
>> The only valid reason is (c) and if that's the case, I would expect a
>> proposal for a new firmware interface protocol (it could be PSCI-based),
>> well documented, that can be shared with others that may encounter the
>> same shortcomings.
> 
> There's no need to even fork PSCI. The PSCI specification will evolve
> over time as vendors request changes and we try to accomodate them.
> 
> If there's something that PSCI doesn't do that you need it to, contact
> ARM. Other vendors already have.

But what is someone to do between the period of getting PSCI spec updated and needing to ship a product with firmware?

The take still sounds like if you don’t implement an exact version of PSCI you are screwed from being supported in the upstream ARM64 kernel.

- k

-- 
Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project

WARNING: multiple messages have this Message-ID (diff)
From: galak@codeaurora.org (Kumar Gala)
To: linux-arm-kernel@lists.infradead.org
Subject: [RFC PATCH 0/5] Add smp booting support for Qualcomm ARMv8 SoCs
Date: Tue, 14 Apr 2015 14:49:04 -0500	[thread overview]
Message-ID: <07185B2C-3F37-4E70-9096-1EF5EA8D68CE@codeaurora.org> (raw)
In-Reply-To: <20150414163613.GM28709@leverpostej>


> On Apr 14, 2015, at 11:36 AM, Mark Rutland <mark.rutland@arm.com> wrote:
> 
> On Fri, Apr 10, 2015 at 11:05:29AM +0100, Catalin Marinas wrote:
>> On Thu, Apr 09, 2015 at 12:37:06PM -0500, Kumar Gala wrote:
>>> This patch set adds support for SMP boot on the MSM8x16 family of Qualcomm SoCs.
>>> 
>>> To support SMP on the MSM8x16 SoCs we need to add ARMv8/64-bit SCM interfaces to
>>> setup the boot/release addresses for the secondary CPUs.  In addition we need
>>> a uniquie set of cpu ops.  I'm aware the desired methods for booting secondary
>>> CPUs is either via spintable or PSCI.  However, these SoCs are shipping with a
>>> firmware that does not support those methods.
>> 
>> And the reason is? Some guesses:
>> 
>> a) QC doesn't think boot interface (and cpuidle) standardisation is
>>   worth the effort (to put it nicely)
>> b) The hardware was available before we even mentioned PSCI
>> c) PSCI is not suitable for the QC's SCM interface
>> d) Any combination of the above
>> 
>> I strongly suspect it's point (a). Should we expect future QC hardware
>> to do the same?
>> 
>> You could argue the reason was (b), though we've been discussing PSCI
>> for at least two years and, according to QC press releases, MSM8916
>> started sampling in 2014.
>> 
>> The only valid reason is (c) and if that's the case, I would expect a
>> proposal for a new firmware interface protocol (it could be PSCI-based),
>> well documented, that can be shared with others that may encounter the
>> same shortcomings.
> 
> There's no need to even fork PSCI. The PSCI specification will evolve
> over time as vendors request changes and we try to accomodate them.
> 
> If there's something that PSCI doesn't do that you need it to, contact
> ARM. Other vendors already have.

But what is someone to do between the period of getting PSCI spec updated and needing to ship a product with firmware?

The take still sounds like if you don?t implement an exact version of PSCI you are screwed from being supported in the upstream ARM64 kernel.

- k

-- 
Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project

  reply	other threads:[~2015-04-14 19:49 UTC|newest]

Thread overview: 132+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-09 17:37 [RFC PATCH 0/5] Add smp booting support for Qualcomm ARMv8 SoCs Kumar Gala
2015-04-09 17:37 ` Kumar Gala
2015-04-09 17:37 ` [RFC PATCH 1/5] firmware: qcom: scm: Split out 32-bit specific SCM code Kumar Gala
2015-04-09 17:37   ` Kumar Gala
2015-04-09 17:37 ` [RFC PATCH 2/5] firmware: qcom: scm: Add support for ARM64 SoCs Kumar Gala
2015-04-09 17:37   ` Kumar Gala
2015-04-09 17:37 ` [RFC PATCH 3/5] arm64: introduce CPU_OF_TABLES for cpu ops selection Kumar Gala
2015-04-09 17:37   ` Kumar Gala
2015-04-09 21:17   ` Arnd Bergmann
2015-04-09 21:17     ` Arnd Bergmann
2015-04-14 15:52     ` Mark Rutland
2015-04-14 15:52       ` Mark Rutland
2015-04-14 15:52       ` Mark Rutland
2015-04-10 10:28   ` Lorenzo Pieralisi
2015-04-10 10:28     ` Lorenzo Pieralisi
2015-04-10 10:28     ` Lorenzo Pieralisi
2015-04-09 17:37 ` [RFC PATCH 4/5] arm64: smp: move the pen to a header file Kumar Gala
2015-04-09 17:37   ` Kumar Gala
2015-04-09 21:17   ` Arnd Bergmann
2015-04-09 21:17     ` Arnd Bergmann
2015-04-14 19:41     ` Kumar Gala
2015-04-14 19:41       ` Kumar Gala
2015-04-14 15:59   ` Mark Rutland
2015-04-14 15:59     ` Mark Rutland
2015-04-14 15:59     ` Mark Rutland
2015-04-14 19:40     ` Kumar Gala
2015-04-14 19:40       ` Kumar Gala
2015-04-14 19:40       ` Kumar Gala
     [not found] ` <1428601031-5366-1-git-send-email-galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2015-04-09 17:37   ` [RFC PATCH 5/5] arm64: qcom: add cpu operations Kumar Gala
2015-04-09 17:37     ` Kumar Gala
2015-04-09 17:37     ` Kumar Gala
2015-04-09 21:19     ` Arnd Bergmann
2015-04-09 21:19       ` Arnd Bergmann
2015-04-10 10:08       ` Catalin Marinas
2015-04-10 10:08         ` Catalin Marinas
2015-04-10 10:08         ` Catalin Marinas
2015-04-10 10:39     ` Lorenzo Pieralisi
2015-04-10 10:39       ` Lorenzo Pieralisi
2015-04-10 10:39       ` Lorenzo Pieralisi
2015-04-14 16:29     ` Mark Rutland
2015-04-14 16:29       ` Mark Rutland
2015-04-14 16:29       ` Mark Rutland
2015-04-14 20:51       ` Arnd Bergmann
2015-04-14 20:51         ` Arnd Bergmann
2015-04-15 14:46         ` Catalin Marinas
2015-04-15 14:46           ` Catalin Marinas
2015-04-15 14:46           ` Catalin Marinas
2015-04-14 22:52       ` Al Stone
2015-04-14 22:52         ` Al Stone
2015-04-14 22:52         ` Al Stone
2015-04-15  9:04         ` Mark Rutland
2015-04-15  9:04           ` Mark Rutland
2015-04-15  9:04           ` Mark Rutland
2015-04-15 14:53           ` Catalin Marinas
2015-04-15 14:53             ` Catalin Marinas
2015-04-15 14:53             ` Catalin Marinas
2015-04-15 16:29             ` Al Stone
2015-04-15 16:29               ` Al Stone
2015-04-15 16:29               ` Al Stone
2015-04-10 10:05 ` [RFC PATCH 0/5] Add smp booting support for Qualcomm ARMv8 SoCs Catalin Marinas
2015-04-10 10:05   ` Catalin Marinas
     [not found]   ` <20150410100529.GA6854-M2fw3Uu6cmfZROr8t4l/smS4ubULX0JqMm0uRHvK7Nw@public.gmane.org>
2015-04-10 15:24     ` Kumar Gala
2015-04-10 15:24       ` Kumar Gala
2015-04-10 15:24       ` Kumar Gala
     [not found]       ` <493B15F8-0EBE-4633-9604-671EF403F36E-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2015-04-10 16:10         ` Catalin Marinas
2015-04-10 16:10           ` Catalin Marinas
2015-04-10 16:10           ` Catalin Marinas
2015-04-10 19:06           ` Kumar Gala
2015-04-10 19:06             ` Kumar Gala
2015-04-13  9:41             ` Catalin Marinas
2015-04-13  9:41               ` Catalin Marinas
2015-04-14 14:21               ` Kumar Gala
2015-04-14 14:21                 ` Kumar Gala
2015-04-14 14:21                 ` Kumar Gala
2015-04-14 14:44                 ` Kumar Gala
2015-04-14 14:44                   ` Kumar Gala
2015-04-14 15:45                   ` Mark Rutland
2015-04-14 15:45                     ` Mark Rutland
2015-04-14 15:45                     ` Mark Rutland
2015-04-14 22:32                 ` Lorenzo Pieralisi
2015-04-14 22:32                   ` Lorenzo Pieralisi
2015-04-14 22:32                   ` Lorenzo Pieralisi
2015-04-15 16:17                   ` Lina Iyer
2015-04-15 16:17                     ` Lina Iyer
2015-04-15 16:17                     ` Lina Iyer
2015-04-15 17:35                     ` Lorenzo Pieralisi
2015-04-15 17:35                       ` Lorenzo Pieralisi
2015-04-15 17:35                       ` Lorenzo Pieralisi
2015-04-15 14:27                 ` Catalin Marinas
2015-04-15 14:27                   ` Catalin Marinas
2015-04-14 16:36   ` Mark Rutland
2015-04-14 16:36     ` Mark Rutland
2015-04-14 16:36     ` Mark Rutland
2015-04-14 19:49     ` Kumar Gala [this message]
2015-04-14 19:49       ` Kumar Gala
2015-04-14 19:49       ` Kumar Gala
2015-04-14 21:17       ` Catalin Marinas
2015-04-14 21:17         ` Catalin Marinas
2015-04-14 21:17         ` Catalin Marinas
2015-04-14 21:48         ` Rob Clark
2015-04-14 21:48           ` Rob Clark
2015-04-14 21:48           ` Rob Clark
     [not found]           ` <CAF6AEGtoxNrCoxT5n0CXmKMnL-YprJ3DkAuM4Myi87WMxPqBGw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-04-15 13:34             ` Catalin Marinas
2015-04-15 13:34               ` Catalin Marinas
2015-04-15 13:34               ` Catalin Marinas
2015-04-15 15:01               ` Rob Clark
2015-04-15 15:01                 ` Rob Clark
2015-04-15 15:01                 ` Rob Clark
2015-04-16 15:21                 ` Catalin Marinas
2015-04-16 15:21                   ` Catalin Marinas
2015-04-16 15:21                   ` Catalin Marinas
     [not found]                   ` <20150416152121.GE819-M2fw3Uu6cmfZROr8t4l/smS4ubULX0JqMm0uRHvK7Nw@public.gmane.org>
2015-04-16 17:17                     ` Rob Clark
2015-04-16 17:17                       ` Rob Clark
2015-04-16 17:17                       ` Rob Clark
     [not found]                       ` <CAF6AEGt3bf70MUWFU_kqtc8KDR09tMUCkXbqOq0SpOXU44moTg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-04-16 21:39                         ` Catalin Marinas
2015-04-16 21:39                           ` Catalin Marinas
2015-04-16 21:39                           ` Catalin Marinas
2015-04-16 22:03                       ` Matt Sealey
2015-04-16 22:03                         ` Matt Sealey
2015-04-16 22:03                         ` Matt Sealey
2015-04-10 11:03 ` Lorenzo Pieralisi
2015-04-10 11:03   ` Lorenzo Pieralisi
2015-04-10 11:03   ` Lorenzo Pieralisi
2015-04-10 15:25   ` Kumar Gala
2015-04-10 15:25     ` Kumar Gala
2015-04-10 15:25     ` Kumar Gala
2015-04-10 16:07     ` Lorenzo Pieralisi
2015-04-10 16:07       ` Lorenzo Pieralisi
2015-04-10 16:07       ` Lorenzo Pieralisi
2015-04-16 22:08     ` Rob Herring
2015-04-10 20:43 Kumar Gala
2015-04-10 20:43 ` Kumar Gala

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=07185B2C-3F37-4E70-9096-1EF5EA8D68CE@codeaurora.org \
    --to=galak@codeaurora.org \
    --cc=Will.Deacon@arm.com \
    --cc=abhimany@codeaurora.org \
    --cc=arm@kernel.org \
    --cc=catalin.marinas@arm.com \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    /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.