linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sudeep Holla <sudeep.holla@arm.com>
To: Ashwin Chaugule <ashwin.chaugule@linaro.org>
Cc: Sudeep Holla <sudeep.holla@arm.com>,
	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 14:03:38 +0000	[thread overview]
Message-ID: <546368BA.6060209@arm.com> (raw)
In-Reply-To: <CAJ5Y-ea_DDc_kpD+ZMvdw4-UqzKU=nEpafhRTR6B6dfdtaPgvQ@mail.gmail.com>



On 12/11/14 13:48, Ashwin Chaugule wrote:
> 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.
>

Agreed, sorry I was not clear. I didn't mean to say you need to add it
now. Since you mentioned about the ongoing proposal, I just wanted to
make it clear that there might be hardware adhering to Type 1 and if
they want to use interrupts we need to support it and that's different
from the new proposal.

>>
>> 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. ;)
>

Agreed. But I was just curious to know will any ACPI implementation use
the polling mode for PCC and use Type 1 subspace as is ;).

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

No, unfortunately I have only Juno and it doesn't fit this Type of PCC
Subspace. Even if it fits, I need firmware/platform changes to
understand PCC. So I am currently not in a position to test this.

Regards,
Sudeep


  reply	other threads:[~2014-11-12 14:03 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
2014-11-12 14:03               ` Sudeep Holla [this message]
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=546368BA.6060209@arm.com \
    --to=sudeep.holla@arm.com \
    --cc=arnd@arndb.de \
    --cc=ashwin.chaugule@linaro.org \
    --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 \
    /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).