From: Sudeep Holla <sudeep.holla@arm.com>
To: Jassi Brar <jassisinghbrar@gmail.com>
Cc: Sudeep Holla <sudeep.holla@arm.com>,
Rob Herring <robh@kernel.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Devicetree List <devicetree@vger.kernel.org>,
Alexey Klimov <alexey.klimov@arm.com>,
Jassi Brar <jaswinder.singh@linaro.org>
Subject: Re: [PATCH v2 2/6] Documentation: devicetree: add bindings to support ARM MHU doorbells
Date: Thu, 6 Jul 2017 10:18:39 +0100 [thread overview]
Message-ID: <1e1fc7b3-ba5a-da30-a601-3b79122ff959@arm.com> (raw)
In-Reply-To: <CABb+yY04F0zuiD8iW=m2wPCqftoe+VmcGzzRCXp184JKr25KPw@mail.gmail.com>
Hi Jassi,
On 06/07/17 07:28, Jassi Brar wrote:
> On Wed, Jul 5, 2017 at 11:32 PM, Sudeep Holla <sudeep.holla@arm.com> wrote:
>
>>
>> I have posted the SCMI patches now[1],
>>
> I wish I was CC'ed on that. Now LKML seems too busy to forward it.
>
Yes, my mistake, I should have cc-ed you.
>> please let me know how to get
>> both SCPI and SCMI working together with different doorbell bits on the
>> same channel.
>>
> You say in the cover letter :
> "Let me begin admitting that we are introducing yet another protocol to
> achieve same things as many existing protocols like ARM SCPI, TI SCI,
> QCOM RPM, Nvidia Tegra BPMP, and so on"
>
> So SCMI is supposed to replace SCPI, SCI, RPM and BPMP or SCMI is
> to be used for future platforms.
> If SCPI and SCMI achieve the same, why have them both active simultaneously?
>
Yes it may not be used, but the firmware might support both for backward
compatibility. E.g. on Juno, we still may continue supporting SCPI while
we transition to SCMI. So both old and new DTs must work.
> Assuming there really is some sane excuse :-
Yes as I mentioned above.
> SCPI and SCMI are two separate client working over an MHU channel.
> So, as is the case with users relying on a common resource, you need a
> shim arbitrator that serialises access to the resource.>
Yes, that's what I have done with this series of patches retaining the
backward compatibility. I have made it generic to ARM MHU instead of
specifically addressing couple of protocols on a particular platform.
If I try to come up with an additional shim driver, I bet it will become
much ugly, bigger and platform specific.
The specification of MHU mentions on how to use it as doorbell bit and I
am doing that to provide cleaner and generic solution which I you seem
to disagree with. So please suggest/provide alternative solution.
A shim layer may get complicated as both SCMI and SCPI will call
standard mailbox APIs. Do you mean I need to replace those calls with
shim layer API ? If I do that it may break on other platforms which are
using SCPI.
--
Regards,
Sudeep
next prev parent reply other threads:[~2017-07-06 9:18 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-24 10:16 [PATCH v2 0/6] mailbox: arm_mhu: add support for doorbell mode Sudeep Holla
2017-05-24 10:16 ` [PATCH v2 1/6] mailbox: arm_mhu: reorder header inclusion and drop unneeded ones Sudeep Holla
2017-05-24 10:16 ` [PATCH v2 2/6] Documentation: devicetree: add bindings to support ARM MHU doorbells Sudeep Holla
2017-05-25 13:22 ` Jassi Brar
2017-05-25 13:23 ` Sudeep Holla
2017-05-31 17:08 ` Rob Herring
2017-05-31 17:12 ` Sudeep Holla
2017-06-02 5:45 ` Jassi Brar
2017-06-02 9:32 ` Sudeep Holla
2017-07-05 18:02 ` Sudeep Holla
2017-07-06 6:28 ` Jassi Brar
2017-07-06 9:18 ` Sudeep Holla [this message]
2017-07-06 9:27 ` Jassi Brar
2017-07-06 9:33 ` Sudeep Holla
2017-07-06 14:37 ` Jassi Brar
2017-07-06 16:44 ` Sudeep Holla
2017-07-06 18:37 ` Jassi Brar
2017-07-07 11:32 ` Sudeep Holla
2017-07-07 13:12 ` Jassi Brar
2017-07-07 13:32 ` Sudeep Holla
2017-05-25 16:04 ` Sudeep Holla
2017-05-24 10:16 ` [PATCH v2 3/6] mailbox: arm_mhu: migrate to threaded irq handler Sudeep Holla
2017-05-24 10:16 ` [PATCH v2 4/6] mailbox: arm_mhu: re-factor data structure to add doorbell support Sudeep Holla
2017-05-24 10:16 ` [PATCH v2 5/6] mailbox: arm_mhu: add full support for the doorbells Sudeep Holla
2017-05-24 10:16 ` [PATCH v2 6/6] mailbox: arm_mhu: add support to read and record mbox-name Sudeep Holla
2017-05-24 10:56 ` [PATCH v2 0/6] mailbox: arm_mhu: add support for doorbell mode Jassi Brar
2017-05-25 11:30 ` Sudeep Holla
2017-05-25 13:20 ` Jassi Brar
2017-05-25 13:35 ` Sudeep Holla
2017-05-25 13:44 ` Jassi Brar
2017-05-25 13:53 ` Sudeep Holla
2017-05-25 14:07 ` Jassi Brar
2017-05-25 14:15 ` Sudeep Holla
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=1e1fc7b3-ba5a-da30-a601-3b79122ff959@arm.com \
--to=sudeep.holla@arm.com \
--cc=alexey.klimov@arm.com \
--cc=devicetree@vger.kernel.org \
--cc=jassisinghbrar@gmail.com \
--cc=jaswinder.singh@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh@kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®