All of lore.kernel.org
 help / color / mirror / Atom feed
From: Catalin Marinas <catalin.marinas@arm.com>
To: Rob Clark <robdclark@gmail.com>
Cc: Mark Rutland <mark.rutland@arm.com>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	"linux-arm-msm@vger.kernel.org" <linux-arm-msm@vger.kernel.org>,
	Kumar Gala <galak@codeaurora.org>,
	Will Deacon <Will.Deacon@arm.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"arm@kernel.org" <arm@kernel.org>,
	"abhimany@codeaurora.org" <abhimany@codeaurora.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: Thu, 16 Apr 2015 16:21:22 +0100	[thread overview]
Message-ID: <20150416152121.GE819@e104818-lin.cambridge.arm.com> (raw)
In-Reply-To: <CAF6AEGucYT4LHkFggR0fO_c7gZe7hD7STx1xwKrOvwsnnFbw7Q@mail.gmail.com>

On Wed, Apr 15, 2015 at 11:01:17AM -0400, Rob Clark wrote:
> On Wed, Apr 15, 2015 at 9:34 AM, Catalin Marinas
> <catalin.marinas@arm.com> wrote:
> > On Tue, Apr 14, 2015 at 05:48:48PM -0400, Rob Clark wrote:
> >> Just speaking as an outsider to this topic, but seems like most/all
> >> tablets/phones/etc ship with signed firmware.  Which means for most of
> >> the population, upgrading the firmware to a new version which did
> >> support the standard (assuming it existed), isn't really an option on
> >> our devices, any more than fixing buggy acpi tables is on our
> >> laptops..
> >
> > I wouldn't expect most population to build their own kernels on
> > tablets/phones. And even if you could install a custom kernel, mainline
> > rarely runs on such devices because of tons of out of tree patches (just
> > look at the Nexus 9 patches that Kumar pointed at; even ignoring the
> > booting protocol they are extremely far from an upstreamable form).
> 
> my point being, that it happens some times.. for example John Stultz's
> work on nexus7:
> 
> https://plus.google.com/111524780435806926688/posts/DzvpMLmzQiQ
> 
> If this had been a year or two in the future and on some 64b
> snapdragon, and support for devices with non-PSCI fw is rejected, then
> he'd be stuck.
> 
> There are folks who are working to get saner, more-upstream kernels
> working on devices.. and improving kernel infrastructure for
> device-needs (well, in my neck of the woods, there is drm/kms atomic
> and dsi/panel framework stuff.. I'm sure other similar things in other
> kernel domains).  And it seems like that is a good thing to encourage,
> rather than stymie.

I'm not looking to discourage individuals trying to get upstream support
for older boards. Should the need arise, we'll look at options which may
or may not include kernel changes (e.g. wrap the kernel in a shim).

But I'm definitely going to discourage companies like Qualcomm
deliberately ignoring the existing booting protocols while trying to get
their code upstream. This patch series is posted by Qualcomm without
providing any technical reason on why they don't want to/couldn't use
PSCI (well, I guess there is no technical reason but they may not care
much about mainline either).

-- 
Catalin

WARNING: multiple messages have this Message-ID (diff)
From: catalin.marinas@arm.com (Catalin Marinas)
To: linux-arm-kernel@lists.infradead.org
Subject: [RFC PATCH 0/5] Add smp booting support for Qualcomm ARMv8 SoCs
Date: Thu, 16 Apr 2015 16:21:22 +0100	[thread overview]
Message-ID: <20150416152121.GE819@e104818-lin.cambridge.arm.com> (raw)
In-Reply-To: <CAF6AEGucYT4LHkFggR0fO_c7gZe7hD7STx1xwKrOvwsnnFbw7Q@mail.gmail.com>

On Wed, Apr 15, 2015 at 11:01:17AM -0400, Rob Clark wrote:
> On Wed, Apr 15, 2015 at 9:34 AM, Catalin Marinas
> <catalin.marinas@arm.com> wrote:
> > On Tue, Apr 14, 2015 at 05:48:48PM -0400, Rob Clark wrote:
> >> Just speaking as an outsider to this topic, but seems like most/all
> >> tablets/phones/etc ship with signed firmware.  Which means for most of
> >> the population, upgrading the firmware to a new version which did
> >> support the standard (assuming it existed), isn't really an option on
> >> our devices, any more than fixing buggy acpi tables is on our
> >> laptops..
> >
> > I wouldn't expect most population to build their own kernels on
> > tablets/phones. And even if you could install a custom kernel, mainline
> > rarely runs on such devices because of tons of out of tree patches (just
> > look at the Nexus 9 patches that Kumar pointed at; even ignoring the
> > booting protocol they are extremely far from an upstreamable form).
> 
> my point being, that it happens some times.. for example John Stultz's
> work on nexus7:
> 
> https://plus.google.com/111524780435806926688/posts/DzvpMLmzQiQ
> 
> If this had been a year or two in the future and on some 64b
> snapdragon, and support for devices with non-PSCI fw is rejected, then
> he'd be stuck.
> 
> There are folks who are working to get saner, more-upstream kernels
> working on devices.. and improving kernel infrastructure for
> device-needs (well, in my neck of the woods, there is drm/kms atomic
> and dsi/panel framework stuff.. I'm sure other similar things in other
> kernel domains).  And it seems like that is a good thing to encourage,
> rather than stymie.

I'm not looking to discourage individuals trying to get upstream support
for older boards. Should the need arise, we'll look at options which may
or may not include kernel changes (e.g. wrap the kernel in a shim).

But I'm definitely going to discourage companies like Qualcomm
deliberately ignoring the existing booting protocols while trying to get
their code upstream. This patch series is posted by Qualcomm without
providing any technical reason on why they don't want to/couldn't use
PSCI (well, I guess there is no technical reason but they may not care
much about mainline either).

-- 
Catalin

  reply	other threads:[~2015-04-16 15:21 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
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 [this message]
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=20150416152121.GE819@e104818-lin.cambridge.arm.com \
    --to=catalin.marinas@arm.com \
    --cc=Will.Deacon@arm.com \
    --cc=abhimany@codeaurora.org \
    --cc=arm@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=galak@codeaurora.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 \
    --cc=robdclark@gmail.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.