From: Sudeep Holla <sudeep.holla@arm.com>
To: Michal Simek <michal.simek@xilinx.com>,
linux-arm-kernel@lists.infradead.org
Cc: "Sudeep Holla" <sudeep.holla@arm.com>,
"Marc Zyngier" <marc.zyngier@arm.com>,
"Arnd Bergmann" <arnd@arndb.de>,
edgar.iglesias@xilinx.com, "Rob Herring" <robh@kernel.org>,
"Punnaiah Choudary Kalluri"
<punnaiah.choudary.kalluri@xilinx.com>,
"Jean Delvare" <jdelvare@suse.de>,
"Dinh Nguyen" <dinguyen@opensource.altera.com>,
"Rob Herring" <robh+dt@kernel.org>,
"Tero Kristo" <t-kristo@ti.com>,
"Catalin Marinas" <catalin.marinas@arm.com>,
"Olof Johansson" <olof@lixom.net>,
"Sören Brinkmann" <soren.brinkmann@xilinx.com>,
"Kevin Hilman" <khilman@baylibre.com>,
"Nishanth Menon" <nm@ti.com>,
"Thierry Reding" <treding@nvidia.com>,
"Kevin Brodsky" <kevin.brodsky@arm.com>,
"Will Deacon" <will.deacon@arm.com>,
devicetree@vger.kernel.org, "Alexander Graf" <agraf@suse.de>,
"Moritz Fischer" <mdf@kernel.org>,
"Michal Simek" <monstr@monstr.eu>,
"Mark Rutland" <mark.rutland@arm.com>,
"Carlo Caione" <carlo@endlessm.com>,
"Lorenzo Pieralisi" <lorenzo.pieralisi@arm.com>,
linux-kernel@vger.kernel.org,
"Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Subject: Re: [PATCHv2 0/3] arm64 xilinx zynqmp firmware interface
Date: Thu, 17 Aug 2017 12:18:49 +0100 [thread overview]
Message-ID: <8123bd03-2822-d2c3-e07f-cc99238d3cbe@arm.com> (raw)
In-Reply-To: <07473fe2-d159-a016-2f65-735b1231beb8@xilinx.com>
On 17/08/17 11:32, Michal Simek wrote:
> On 17.8.2017 11:12, Sudeep Holla wrote:
>>
>>
>> On 17/08/17 09:42, Michal Simek wrote:
>>> On 17.8.2017 09:52, Marc Zyngier wrote:
>>>> On 17/08/17 07:10, Michal Simek wrote:
>>>>> On 16.8.2017 17:39, Marc Zyngier wrote:
>>>>>> On 16/08/17 13:24, Michal Simek wrote:
>>>>>>> Hi,
>>>>>>>
>>>>>>> xilinx is using this interface for very long time and we
>>>>>>> can't merge our driver changes to Linux because of
>>>>>>> missing communication layer with firmware. This interface
>>>>>>> was developed before scpi and scmi was available. In
>>>>>>> connection to power management scpi and scmi are missing
>>>>>>> pieces which we already use. There is a separate
>>>>>>> discussion how to extend scmi to support all our use
>>>>>>> cases.
>>>>>>
>>>>>> So maybe we should wait and see where this discussion is
>>>>>> going before we merge yet another firmware interface?
>>>>>
>>>>> It will take a lot of time when this discussion ends and I
>>>>> can't see any benefit to hold all
>>>>
>>>> Well, so far, the benefit of this series is exactly nil, as the
>>>> code it brings is *unused*. It is impossible to review in
>>>> isolation.
>>>>
>>>
>>> Ok. I will add others drivers to this series that's not a
>>> problem.
>>>
>>>> In the meantime, you can continue finding out how *not* to have
>>>> to merge this code, and instead focus on using the
>>>> infrastructure we already have, or at least influence the
>>>> infrastructure that is being designed. It will be much better
>>>> than dumping yet another slab of "I'm so different" code that
>>>> is going to ultimately bitrot.
>>>
>>> I am happy to look the better proposed way. SCPI is ancient and
>>> SCMI is replacement and not merged yet. We already had a call
>>> with arm and Sudeep was on it too where outcome from that was
>>> that we can't use that because it doesn't support what we need to
>>> support now.
>>>
>>
>> OK, none of the specifics were discussed in the meeting to conclude
>> that SCMI can't be used. My takeaway from the meeting was Xilinx
>> has this interface for long and being deployed in various systems.
>> I would like to get into specifics before discarding SCMI as
>> unusable. What bothers me more is that why was that not raised
>> during the specification review which was quite a long period IMO ?
>> I tend to think Xilinx never bothered to look/review the
>> specification as this f/w interface was already there.
>
> Xilinx is using this interface from Aug 2015. I am not aware about
> any invitation to spec review. And not sure who was there from
> xilinx.
>
Sure, I can understand and that's not a problem but Xilinx was involved.
>>
>> However I still can't see why this was posted once we started
>> pushing out SCMI patches especially given that this f/w interface
>> was there for long and no attempts were made in past to upstream
>> this.
>
> The reason is simple which is upstream our code which depends on
> this communication layer. I don't think there is quick path to move
> to different interface than this one.
>
Do you mean "smc" when you refer communication layer ? If so, that's
fine. You can use "smc" as transport with SCMI if you want,
specification doesn't prevent that.
>>
>> Also I am not dismissing the series yet, but if I find that SCMI
>> can be used(after getting specifics from this series myself), I
>> will at-least argue against the "SCMI can't be used" argument.
>
> This is not my argument that we can't use SCMI. This is what was my
> understanding from that meeting we had. And definitely there is no
> quick path for us to switch to SCMI and breaks all current existing
> customers.
>
I understand the latter and I mentioned the same earlier, but I disagree
with the former. That meeting was mostly introduction(and informal IMO)
and didn't involve anything at the technical level.
> And this interface is just in the same position as current SCPI. It
> means you have SCPI already merged and you are adding new one. SCMI
> could be maybe also just SCPIv2.
Agreed, but it was posted as soon as the specification is out and so is
the SCMI. I am not arguing it as a point, but just mentioning that this
post was simply bad timing :)
--
Regards,
Sudeep
next prev parent reply other threads:[~2017-08-17 11:17 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-16 12:24 [PATCHv2 0/3] arm64 xilinx zynqmp firmware interface Michal Simek
2017-08-16 12:24 ` [PATCHv2 1/3] dt: xilinx: zynqmp: Add bindings for PM firmware Michal Simek
2017-08-16 15:45 ` Sudeep Holla
2017-08-17 6:27 ` Michal Simek
2017-08-16 16:00 ` Mark Rutland
2017-08-17 6:26 ` Michal Simek
2017-08-16 12:24 ` [PATCHv2 2/3] arm64: zynqmp: dt: Add PM firmware node Michal Simek
2017-08-16 12:24 ` [PATCHv2 3/3] soc: xilinx: zynqmp: Add firmware interface Michal Simek
2017-08-16 15:58 ` Mark Rutland
2017-08-17 6:57 ` Michal Simek
2017-08-16 15:39 ` [PATCHv2 0/3] arm64 xilinx zynqmp " Marc Zyngier
2017-08-17 6:10 ` Michal Simek
2017-08-17 7:52 ` Marc Zyngier
2017-08-17 8:42 ` Michal Simek
2017-08-17 9:12 ` Sudeep Holla
2017-08-17 10:32 ` Michal Simek
2017-08-17 11:18 ` Sudeep Holla [this message]
2017-08-17 11:24 ` Michal Simek
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=8123bd03-2822-d2c3-e07f-cc99238d3cbe@arm.com \
--to=sudeep.holla@arm.com \
--cc=agraf@suse.de \
--cc=arnd@arndb.de \
--cc=carlo@endlessm.com \
--cc=catalin.marinas@arm.com \
--cc=devicetree@vger.kernel.org \
--cc=dinguyen@opensource.altera.com \
--cc=edgar.iglesias@xilinx.com \
--cc=jdelvare@suse.de \
--cc=kevin.brodsky@arm.com \
--cc=khilman@baylibre.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lorenzo.pieralisi@arm.com \
--cc=marc.zyngier@arm.com \
--cc=mark.rutland@arm.com \
--cc=mdf@kernel.org \
--cc=michal.simek@xilinx.com \
--cc=monstr@monstr.eu \
--cc=nm@ti.com \
--cc=olof@lixom.net \
--cc=paulmck@linux.vnet.ibm.com \
--cc=punnaiah.choudary.kalluri@xilinx.com \
--cc=robh+dt@kernel.org \
--cc=robh@kernel.org \
--cc=soren.brinkmann@xilinx.com \
--cc=t-kristo@ti.com \
--cc=treding@nvidia.com \
--cc=will.deacon@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox