linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ashwin Chaugule <ashwin.chaugule@linaro.org>
To: Sudeep Holla <sudeep.holla@arm.com>
Cc: Arnd Bergmann <arnd@arndb.de>,
	"jaswinder.singh@linaro.org" <jaswinder.singh@linaro.org>,
	"patches@linaro.org" <patches@linaro.org>,
	"linaro-acpi@lists.linaro.org" <linaro-acpi@lists.linaro.org>,
	"rjw@rjwysocki.net" <rjw@rjwysocki.net>,
	"linux-acpi@vger.kernel.org" <linux-acpi@vger.kernel.org>,
	"broonie@kernel.org" <broonie@kernel.org>,
	"lv.zheng@intel.com" <lv.zheng@intel.com>
Subject: Re: [PATCH v10 1/1] Mailbox: Add support for Platform Communication Channel
Date: Wed, 12 Nov 2014 08:48:15 -0500	[thread overview]
Message-ID: <CAJ5Y-ea_DDc_kpD+ZMvdw4-UqzKU=nEpafhRTR6B6dfdtaPgvQ@mail.gmail.com> (raw)
In-Reply-To: <5463615C.90306@arm.com>

On 12 November 2014 08:32, Sudeep Holla <sudeep.holla@arm.com> wrote:
>
>
> On 11/11/14 20:25, Arnd Bergmann wrote:
>>
>> On Tuesday 11 November 2014 15:01:28 Sudeep Holla wrote:
>>>
>>> On 11/11/14 13:18, Ashwin Chaugule wrote:
>>>>
>>>> On 11 November 2014 05:30, Sudeep Holla <sudeep.holla@arm.com> wrote:
>>>>>
>>>>> On 07/11/14 14:52, Ashwin Chaugule wrote:
>>>>
>>>> The IRQ part of the spec seems to be under discussion (single irq per
>>>> subspace / common IRQ across all) and as you may be aware we're
>>>> working on trying it out on Juno. That'll guide the design. What I
>>>> have here is good enough to start off with and has been tested. I dont
>>>> think we should have a problem using the mailbox API for asyn tx
>>>> though, but I'd really^n prefer if we get something out there first.
>>>>
>>>
>>> That's the different and still under discussion. But you need to support
>>> Type 1 subspace as it stands in ACPI v5.1
>>
>>
>> Why? We should only implement whatever is required to support existing
>> hardware,
>> not because something is in the spec.
>
>
> Agreed. I assumed that this was tested on some hardware which adhere to
> Type 1 subspace of the spec and I asked to implement interrupt mode as
> it is always better compared to polling mode and current spec. has
> support for the interrupts.

I do not have hardware to test the IRQ parts as of now, so the plan
was to at least get polling mode out there. That will enable a lot of
folks and will be useful as a fallback mode later on as well. We can
add IRQ mode stuff once it is tested. I dont see the point in
supporting it all from the start.

>
> Also, the existing Type1 is not sufficient for the mailbox/PCC on Juno
> platform, hence the new proposal.

Just as Juno is proving that the IRQ mode in the current spec is
insufficient, we may find similar issues with other hardware as it
becomes available. It makes more sense to tackle this once we have
some hardware to test this part of PCC properly. Just because its in
the spec doesn't mean its right. ;)

Btw, if you or anyone has any hardware to test it on, patches are more
than welcome. :)

Thanks,
Ashwin

  reply	other threads:[~2014-11-12 13:48 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-07 14:52 [PATCH v10 0/1] PCC: Platform Communication Channel Ashwin Chaugule
2014-11-07 14:52 ` [PATCH v10 1/1] Mailbox: Add support for " Ashwin Chaugule
2014-11-09 13:48   ` Jassi Brar
2014-11-09 15:20     ` Ashwin Chaugule
2014-11-09 16:18       ` Jassi Brar
2014-11-09 17:22         ` Ashwin Chaugule
2014-11-10  4:13           ` Jassi Brar
2014-11-10 12:57             ` Ashwin Chaugule
2014-11-10 13:39               ` Jassi Brar
2014-11-10 13:53                 ` Ashwin Chaugule
2014-11-10 14:16                   ` Jassi Brar
2014-11-10 14:47                     ` Ashwin Chaugule
2014-11-10 17:44                       ` Jassi Brar
2014-11-10 20:13                         ` Mark Brown
2014-11-10 20:29                           ` [Linaro-acpi] " Arnd Bergmann
2014-11-11  4:31                             ` Jassi Brar
2014-11-11  4:04                           ` Jassi Brar
2014-11-11 13:02                             ` Ashwin Chaugule
2014-11-11 13:57                               ` Jassi Brar
2014-11-11 16:33                                 ` [Linaro-acpi] " Arnd Bergmann
2014-11-11 17:39                                   ` Jassi Brar
2014-11-11 17:54                                     ` Arnd Bergmann
2014-11-11 19:08                                       ` Jassi Brar
2014-11-11 19:22                                         ` Ashwin Chaugule
2014-11-11 20:38                                         ` Arnd Bergmann
2014-11-11 17:53                                   ` Mark Brown
2014-11-11 10:30   ` Sudeep Holla
2014-11-11 13:18     ` Ashwin Chaugule
2014-11-11 15:01       ` Sudeep Holla
2014-11-11 20:25         ` Arnd Bergmann
2014-11-12 13:32           ` Sudeep Holla
2014-11-12 13:48             ` Ashwin Chaugule [this message]
2014-11-12 14:03               ` Sudeep Holla
2014-11-12 18:25           ` [Linaro-acpi] " Ashwin Chaugule
2014-11-12 18:26             ` Mark Brown
2014-11-12 19:04             ` Jassi Brar
2014-11-12 19:16               ` Ashwin Chaugule
2014-11-11 17:29     ` Mark Brown
2014-11-11 18:07       ` Sudeep Holla
2014-11-11 15:12   ` Jassi Brar
2014-11-11 15:19     ` Ashwin Chaugule
2014-11-11 15:25       ` Jassi Brar

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='CAJ5Y-ea_DDc_kpD+ZMvdw4-UqzKU=nEpafhRTR6B6dfdtaPgvQ@mail.gmail.com' \
    --to=ashwin.chaugule@linaro.org \
    --cc=arnd@arndb.de \
    --cc=broonie@kernel.org \
    --cc=jaswinder.singh@linaro.org \
    --cc=linaro-acpi@lists.linaro.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=lv.zheng@intel.com \
    --cc=patches@linaro.org \
    --cc=rjw@rjwysocki.net \
    --cc=sudeep.holla@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).