lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Sat, 7 Oct 2017 07:56:37 +0530
From:   Jassi Brar <>
To:     Rob Herring <>
Cc:     Sudeep Holla <>,
        ALKML <>,
        LKML <>,
        DTML <>,
        Roy Franz <>,
        Harb Abdulhamid <>,
        Nishanth Menon <>, Arnd Bergmann <>,
        Loc Ho <>, Alexey Klimov <>,
        Ryan Harkin <>,
        Mark Rutland <>
Subject: Re: [PATCH v3 03/22] dt-bindings: arm: scmi: add ARM MHU specific
 mailbox client bindings

On Fri, Oct 6, 2017 at 9:24 PM, Rob Herring <> wrote:
> On Fri, Oct 6, 2017 at 6:01 AM, Jassi Brar <> wrote:
>> On Fri, Oct 6, 2017 at 4:50 AM, Rob Herring <> wrote:
>>> On Thu, Sep 28, 2017 at 02:11:27PM +0100, Sudeep Holla wrote:

>>>> +- mbox-data : For each phandle listed in mboxes property, an unsigned 32-bit
>>>> +           data as expected by the mailbox controller
>>> Shouldn't that be cells as part of mboxes property?
>> A MHU client can send any number of commands (such u32 values) over a channel.
>> This client (SCMI) sends just one command over a channel, but other
>> clients may/do send two or more.
> Okay, then I guess I don't understand why this is in DT.
Yeah the client has to provide code (u32 value) for the commands it
sends, and that value is going to be platform specific. For example,
on Juno the ITS_AN_SCMI_COMMAND may be defined as BIT(7) while on my
platform it may be 0x4567

For MHU based platforms, it becomes easy if the u32 is passed from DT.
And that should be ok since that is like a h/w parameter - a value
chosen/expected by the remote firmware.


Powered by blists - more mailing lists