RE: [PATCH v5 1/2] dt-bindings: mailbox: add binding doc for the ARM SMC/HVC mailbox

2019-09-11 Thread Peng Fan
> Subject: Re: [PATCH v5 1/2] dt-bindings: mailbox: add binding doc for the ARM > SMC/HVC mailbox > > On Wed, Sep 11, 2019 at 10:03 AM Andre Przywara > wrote: > > > > On Tue, 10 Sep 2019 21:44:11 -0500 > > Jassi Brar wrote: > > > > Hi, > > &

Re: [PATCH v5 1/2] dt-bindings: mailbox: add binding doc for the ARM SMC/HVC mailbox

2019-09-11 Thread Jassi Brar
On Wed, Sep 11, 2019 at 10:03 AM Andre Przywara wrote: > > On Tue, 10 Sep 2019 21:44:11 -0500 > Jassi Brar wrote: > > Hi, > > > On Mon, Sep 9, 2019 at 10:42 AM Andre Przywara > > wrote: > > > > > > On Wed, 28 Aug 2019 03:02:58 + > > > Peng Fan wrote: > > > > [ ... ] > > > > > > > + > > > >

Re: [PATCH v5 1/2] dt-bindings: mailbox: add binding doc for the ARM SMC/HVC mailbox

2019-09-11 Thread Andre Przywara
On Tue, 10 Sep 2019 21:44:11 -0500 Jassi Brar wrote: Hi, > On Mon, Sep 9, 2019 at 10:42 AM Andre Przywara wrote: > > > > On Wed, 28 Aug 2019 03:02:58 + > > Peng Fan wrote: > > [ ... ] > > > > > + > > > + arm,func-ids: > > > +description: | > > > + An array of 32-bit values spec

Re: [PATCH v5 1/2] dt-bindings: mailbox: add binding doc for the ARM SMC/HVC mailbox

2019-09-11 Thread Andre Przywara
wrote: > > > > > > > > > Subject: Re: [PATCH v5 1/2] dt-bindings: mailbox: add binding doc for > > > > > the ARM > > > > > SMC/HVC mailbox > > > > > > > > > > On Fri, Aug 30, 2019 at 2:37 AM Peng Fan w

Re: [PATCH v5 1/2] dt-bindings: mailbox: add binding doc for the ARM SMC/HVC mailbox

2019-09-10 Thread Jassi Brar
On Mon, Sep 9, 2019 at 10:42 AM Andre Przywara wrote: > > On Wed, 28 Aug 2019 03:02:58 + > Peng Fan wrote: > > Hi, > > sorry for the late reply, eventually managed to have a closer look on this. > > > From: Peng Fan > > > > The ARM SMC/HVC mailbox binding describes a firmware interface to tr

Re: [PATCH v5 1/2] dt-bindings: mailbox: add binding doc for the ARM SMC/HVC mailbox

2019-09-10 Thread Jassi Brar
On Mon, Sep 9, 2019 at 8:32 AM Andre Przywara wrote: > > On Fri, 30 Aug 2019 03:12:29 -0500 > Jassi Brar wrote: > > Hi, > > > On Fri, Aug 30, 2019 at 3:07 AM Peng Fan wrote: > > > > > > > Subject: Re: [PATCH v5 1/2] dt-bindings: mailbox: add bin

RE: [PATCH v5 1/2] dt-bindings: mailbox: add binding doc for the ARM SMC/HVC mailbox

2019-09-10 Thread Peng Fan
> Subject: Re: [PATCH v5 1/2] dt-bindings: mailbox: add binding doc for the ARM > SMC/HVC mailbox > > On Fri, 30 Aug 2019 03:12:29 -0500 > Jassi Brar wrote: > > Hi, > > > On Fri, Aug 30, 2019 at 3:07 AM Peng Fan wrote: > > > > > > > Su

Re: [PATCH v5 1/2] dt-bindings: mailbox: add binding doc for the ARM SMC/HVC mailbox

2019-09-09 Thread Andre Przywara
On Wed, 28 Aug 2019 03:02:58 + Peng Fan wrote: Hi, sorry for the late reply, eventually managed to have a closer look on this. > From: Peng Fan > > The ARM SMC/HVC mailbox binding describes a firmware interface to trigger > actions in software layers running in the EL2 or EL3 exception le

Re: [PATCH v5 1/2] dt-bindings: mailbox: add binding doc for the ARM SMC/HVC mailbox

2019-09-09 Thread Andre Przywara
On Fri, 30 Aug 2019 03:12:29 -0500 Jassi Brar wrote: Hi, > On Fri, Aug 30, 2019 at 3:07 AM Peng Fan wrote: > > > > > Subject: Re: [PATCH v5 1/2] dt-bindings: mailbox: add binding doc for the > > > ARM > > > SMC/HVC mailbox > > > > >

Re: [PATCH v5 1/2] dt-bindings: mailbox: add binding doc for the ARM SMC/HVC mailbox

2019-09-02 Thread Rob Herring
On Mon, Sep 2, 2019 at 2:39 PM Rob Herring wrote: > > On Wed, Aug 28, 2019 at 03:02:58AM +, Peng Fan wrote: > > From: Peng Fan > > > > The ARM SMC/HVC mailbox binding describes a firmware interface to trigger > > actions in software layers running in the EL2 or EL3 exception levels. > > The t

Re: [PATCH v5 1/2] dt-bindings: mailbox: add binding doc for the ARM SMC/HVC mailbox

2019-09-02 Thread Rob Herring
On Wed, Aug 28, 2019 at 03:02:58AM +, Peng Fan wrote: > From: Peng Fan > > The ARM SMC/HVC mailbox binding describes a firmware interface to trigger > actions in software layers running in the EL2 or EL3 exception levels. > The term "ARM" here relates to the SMC instruction as part of the ARM

Re: [PATCH v5 1/2] dt-bindings: mailbox: add binding doc for the ARM SMC/HVC mailbox

2019-08-30 Thread Jassi Brar
On Fri, Aug 30, 2019 at 4:32 AM Sudeep Holla wrote: > > On Fri, Aug 30, 2019 at 02:52:40AM -0500, Jassi Brar wrote: > > On Fri, Aug 30, 2019 at 2:37 AM Peng Fan wrote: > > [...] > > > > > > > If I get your point correctly, > > > On UP, both could not be active. On SMP, tx/rx could be both active,

RE: [PATCH v5 1/2] dt-bindings: mailbox: add binding doc for the ARM SMC/HVC mailbox

2019-08-30 Thread Peng Fan
Hi Sudeep > Subject: Re: [PATCH v5 1/2] dt-bindings: mailbox: add binding doc for the ARM > SMC/HVC mailbox > > On Fri, Aug 30, 2019 at 07:37:41AM +, Peng Fan wrote: > > Hi Jassi, > > > > I think there could be channel for TEE, and channel for Linux. > >

Re: [PATCH v5 1/2] dt-bindings: mailbox: add binding doc for the ARM SMC/HVC mailbox

2019-08-30 Thread Sudeep Holla
On Fri, Aug 30, 2019 at 02:52:40AM -0500, Jassi Brar wrote: > On Fri, Aug 30, 2019 at 2:37 AM Peng Fan wrote: [...] > > > > If I get your point correctly, > > On UP, both could not be active. On SMP, tx/rx could be both active, anyway > > this depends on secure firmware and Linux firmware design

Re: [PATCH v5 1/2] dt-bindings: mailbox: add binding doc for the ARM SMC/HVC mailbox

2019-08-30 Thread Sudeep Holla
On Fri, Aug 30, 2019 at 07:37:41AM +, Peng Fan wrote: > Hi Jassi, > > > I think there could be channel for TEE, and channel for Linux. > > > For virtualization case, there could be dedicated channel for each VM. > > > > > I am talking from Linux pov. Functions 0xfe and 0xff above, can't both be

RE: [PATCH v5 1/2] dt-bindings: mailbox: add binding doc for the ARM SMC/HVC mailbox

2019-08-30 Thread Peng Fan
> Subject: Re: [PATCH v5 1/2] dt-bindings: mailbox: add binding doc for the ARM > SMC/HVC mailbox > > On Fri, Aug 30, 2019 at 3:07 AM Peng Fan wrote: > > > > > Subject: Re: [PATCH v5 1/2] dt-bindings: mailbox: add binding doc > > > for the ARM SMC/HVC mailbox

Re: [PATCH v5 1/2] dt-bindings: mailbox: add binding doc for the ARM SMC/HVC mailbox

2019-08-30 Thread Jassi Brar
On Fri, Aug 30, 2019 at 3:07 AM Peng Fan wrote: > > > Subject: Re: [PATCH v5 1/2] dt-bindings: mailbox: add binding doc for the > > ARM > > SMC/HVC mailbox > > > > On Fri, Aug 30, 2019 at 2:37 AM Peng Fan wrote: > > > > > > Hi Jassi, &g

RE: [PATCH v5 1/2] dt-bindings: mailbox: add binding doc for the ARM SMC/HVC mailbox

2019-08-30 Thread Peng Fan
> Subject: Re: [PATCH v5 1/2] dt-bindings: mailbox: add binding doc for the ARM > SMC/HVC mailbox > > On Fri, Aug 30, 2019 at 2:37 AM Peng Fan wrote: > > > > Hi Jassi, > > > > > Subject: Re: [PATCH v5 1/2] dt-bindings: mailbox: add binding doc > > >

Re: [PATCH v5 1/2] dt-bindings: mailbox: add binding doc for the ARM SMC/HVC mailbox

2019-08-30 Thread Jassi Brar
On Fri, Aug 30, 2019 at 2:37 AM Peng Fan wrote: > > Hi Jassi, > > > Subject: Re: [PATCH v5 1/2] dt-bindings: mailbox: add binding doc for the > > ARM > > SMC/HVC mailbox > > > > On Fri, Aug 30, 2019 at 1:28 AM Peng Fan wrote: > > > > > >

RE: [PATCH v5 1/2] dt-bindings: mailbox: add binding doc for the ARM SMC/HVC mailbox

2019-08-30 Thread Peng Fan
Hi Jassi, > Subject: Re: [PATCH v5 1/2] dt-bindings: mailbox: add binding doc for the ARM > SMC/HVC mailbox > > On Fri, Aug 30, 2019 at 1:28 AM Peng Fan wrote: > > > > > +examples: > > > > + - | > > > > +sram@91 { > > >

Re: [PATCH v5 1/2] dt-bindings: mailbox: add binding doc for the ARM SMC/HVC mailbox

2019-08-30 Thread Jassi Brar
On Fri, Aug 30, 2019 at 1:28 AM Peng Fan wrote: > > > +examples: > > > + - | > > > +sram@91 { > > > + compatible = "mmio-sram"; > > > + reg = <0x0 0x93f000 0x0 0x1000>; > > > + #address-cells = <1>; > > > + #size-cells = <1>; > > > + ranges = <0 0x0 0x93f000 0x10

RE: [PATCH v5 1/2] dt-bindings: mailbox: add binding doc for the ARM SMC/HVC mailbox

2019-08-29 Thread Peng Fan
Hi Jassi, > Subject: Re: [PATCH v5 1/2] dt-bindings: mailbox: add binding doc for the ARM > SMC/HVC mailbox > > On Tue, Aug 27, 2019 at 10:02 PM Peng Fan wrote: > > > > From: Peng Fan > > > > The ARM SMC/HVC mailbox binding describes a firmware interfac

Re: [PATCH v5 1/2] dt-bindings: mailbox: add binding doc for the ARM SMC/HVC mailbox

2019-08-29 Thread Jassi Brar
On Tue, Aug 27, 2019 at 10:02 PM Peng Fan wrote: > > From: Peng Fan > > The ARM SMC/HVC mailbox binding describes a firmware interface to trigger > actions in software layers running in the EL2 or EL3 exception levels. > The term "ARM" here relates to the SMC instruction as part of the ARM > inst

RE: [PATCH v5 1/2] dt-bindings: mailbox: add binding doc for the ARM SMC/HVC mailbox

2019-08-29 Thread Peng Fan
> Subject: Re: [PATCH v5 1/2] dt-bindings: mailbox: add binding doc for the ARM > SMC/HVC mailbox > > On Wed, Aug 28, 2019 at 03:02:58AM +, Peng Fan wrote: > > From: Peng Fan > > > > The ARM SMC/HVC mailbox binding describes a firmware interface to > >

Re: [PATCH v5 1/2] dt-bindings: mailbox: add binding doc for the ARM SMC/HVC mailbox

2019-08-28 Thread Sudeep Holla
On Wed, Aug 28, 2019 at 03:02:58AM +, Peng Fan wrote: > From: Peng Fan > > The ARM SMC/HVC mailbox binding describes a firmware interface to trigger > actions in software layers running in the EL2 or EL3 exception levels. > The term "ARM" here relates to the SMC instruction as part of the ARM

[PATCH v5 1/2] dt-bindings: mailbox: add binding doc for the ARM SMC/HVC mailbox

2019-08-27 Thread Peng Fan
From: Peng Fan The ARM SMC/HVC mailbox binding describes a firmware interface to trigger actions in software layers running in the EL2 or EL3 exception levels. The term "ARM" here relates to the SMC instruction as part of the ARM instruction set, not as a standard endorsed by ARM Ltd. Signed-off