From: Marc Zyngier <marc.zyngier@arm.com>
To: Michal Simek <michal.simek@xilinx.com>,
linux-arm-kernel@lists.infradead.org,
Arnd Bergmann <arnd@arndb.de>
Cc: 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>,
"Sudeep Holla" <sudeep.holla@arm.com>,
"Moritz Fischer" <mdf@kernel.org>,
"Michal Simek" <monstr@monstr.eu>
Subject: Re: [PATCHv2 0/3] arm64 xilinx zynqmp firmware interface
Date: Thu, 17 Aug 2017 08:52:27 +0100 [thread overview]
Message-ID: <a1970cb5-1cf1-d38a-3de3-c782c23fc8ac@arm.com> (raw)
In-Reply-To: <89e5469b-650e-64c7-1754-797b35bac523@xilinx.com>
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.
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.
>
>
>>> This simply patch is not adding any power management features but only
>>> adding minimum functionality which are needed for drivers.
>>
>> I don't get it. 600 lines of firmware interface that isn't used by
>> anything? Or is it? Needed by which driver?
>
> I can send that drivers for review. pinctrl, fpga manager, nvmem driver,
> clock, serdes phy and reset drivers.
> But this driver need to come first because they depend on this.
My take is: no users, no use.
And if you need to hack all these drivers to hook into your specific
firmware interface, I feel that you're doing it wrong. We have common
APIs for device drivers. If these APIs are not good enough, we extend
them. But designing drivers for a given firmware interface?
Thanks,
M.
--
Jazz is not dead. It just smells funny...
next prev parent reply other threads:[~2017-08-17 7:52 UTC|newest]
Thread overview: 15+ 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
[not found] ` <2935be9896d54020720919e7dab7c2f86bdc83a3.1502886277.git.michal.simek-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>
2017-08-16 15:45 ` Sudeep Holla
[not found] ` <2c2ffced-bc32-1eb4-aabe-ad6386076267-5wv7dgnIgG8@public.gmane.org>
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
[not found] ` <cover.1502886277.git.michal.simek-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>
2017-08-16 15:39 ` [PATCHv2 0/3] arm64 xilinx zynqmp firmware interface Marc Zyngier
[not found] ` <43deeed7-32c8-7914-5f44-862ebbe14a3b-5wv7dgnIgG8@public.gmane.org>
2017-08-17 6:10 ` Michal Simek
2017-08-17 7:52 ` Marc Zyngier [this message]
[not found] ` <a1970cb5-1cf1-d38a-3de3-c782c23fc8ac-5wv7dgnIgG8@public.gmane.org>
2017-08-17 8:42 ` Michal Simek
[not found] ` <0560c79f-e461-6010-0628-e99ce0a1f8c6-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>
2017-08-17 9:12 ` Sudeep Holla
2017-08-17 10:32 ` Michal Simek
[not found] ` <07473fe2-d159-a016-2f65-735b1231beb8-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>
2017-08-17 11:18 ` Sudeep Holla
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=a1970cb5-1cf1-d38a-3de3-c782c23fc8ac@arm.com \
--to=marc.zyngier@arm.com \
--cc=agraf@suse.de \
--cc=arnd@arndb.de \
--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=mdf@kernel.org \
--cc=michal.simek@xilinx.com \
--cc=monstr@monstr.eu \
--cc=nm@ti.com \
--cc=olof@lixom.net \
--cc=punnaiah.choudary.kalluri@xilinx.com \
--cc=robh+dt@kernel.org \
--cc=robh@kernel.org \
--cc=soren.brinkmann@xilinx.com \
--cc=sudeep.holla@arm.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;
as well as URLs for NNTP newsgroup(s).