* [PATCH v2 0/2] firmware: arm_scmi: Augment SMC/HVC to allow optional interrupt
@ 2020-11-12 17:56 Jim Quinlan
2020-11-12 17:56 ` [PATCH v2 1/2] dt-bindings: arm: Add optional interrupt to smc/hvc SCMI transport Jim Quinlan
0 siblings, 1 reply; 5+ messages in thread
From: Jim Quinlan @ 2020-11-12 17:56 UTC (permalink / raw)
To: Sudeep Holla, bcm-kernel-feedback-list, james.quinlan
Cc: open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
open list
[-- Attachment #1: Type: text/plain, Size: 573 bytes --]
v2 -- Correct commit message, s/msg/message/, and remove extra WS on
"dt-bindings" commit (Sudeep)
-- Change interrupt name to "message-serviced", move irq assignent to end
of function. (Sudeep)
v1 -- original.
Jim Quinlan (2):
dt-bindings: arm: Add optional interrupt to smc/hvc SCMI transport
firmware: arm_scmi: Augment SMC/HVC to allow optional interrupt
.../devicetree/bindings/arm/arm,scmi.txt | 8 ++++
drivers/firmware/arm_scmi/smc.c | 38 ++++++++++++++++++-
2 files changed, 45 insertions(+), 1 deletion(-)
--
2.17.1
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4167 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread* [PATCH v2 1/2] dt-bindings: arm: Add optional interrupt to smc/hvc SCMI transport 2020-11-12 17:56 [PATCH v2 0/2] firmware: arm_scmi: Augment SMC/HVC to allow optional interrupt Jim Quinlan @ 2020-11-12 17:56 ` Jim Quinlan 2020-11-20 17:20 ` Jim Quinlan 2020-12-07 19:01 ` Rob Herring 0 siblings, 2 replies; 5+ messages in thread From: Jim Quinlan @ 2020-11-12 17:56 UTC (permalink / raw) To: Sudeep Holla, bcm-kernel-feedback-list, james.quinlan Cc: Rob Herring, open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS, open list [-- Attachment #1: Type: text/plain, Size: 1348 bytes --] In normal use of smc/hvc transport in SCMI the message completion is indicated by the return of the SMC call. This commit provides for an optional interrupt named "message-serviced" which is used instead to indicate the completion of a message. Signed-off-by: Jim Quinlan <james.quinlan@broadcom.com> --- Documentation/devicetree/bindings/arm/arm,scmi.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/arm,scmi.txt b/Documentation/devicetree/bindings/arm/arm,scmi.txt index 55deb68230eb..7cdad11f40b1 100644 --- a/Documentation/devicetree/bindings/arm/arm,scmi.txt +++ b/Documentation/devicetree/bindings/arm/arm,scmi.txt @@ -31,6 +31,14 @@ Optional properties: - mbox-names: shall be "tx" or "rx" depending on mboxes entries. +- interrupts : when using smc or hvc transports, this optional + property indicates that msg completion by the platform is indicated + by an interrupt rather than by the return of the smc call. This + should not be used except when the platform requires such behavior. + +- interrupt-names : if "interrupts" is present, interrupt-names must also + be present and have the value "message-serviced". + See Documentation/devicetree/bindings/mailbox/mailbox.txt for more details about the generic mailbox controller and client driver bindings. -- 2.17.1 [-- Attachment #2: S/MIME Cryptographic Signature --] [-- Type: application/pkcs7-signature, Size: 4167 bytes --] ^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH v2 1/2] dt-bindings: arm: Add optional interrupt to smc/hvc SCMI transport 2020-11-12 17:56 ` [PATCH v2 1/2] dt-bindings: arm: Add optional interrupt to smc/hvc SCMI transport Jim Quinlan @ 2020-11-20 17:20 ` Jim Quinlan 2020-12-07 19:01 ` Rob Herring 1 sibling, 0 replies; 5+ messages in thread From: Jim Quinlan @ 2020-11-20 17:20 UTC (permalink / raw) To: Sudeep Holla, maintainer:BROADCOM BCM7XXX ARM ARCHITECTURE, Jim Quinlan Cc: Rob Herring, open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS, open list [-- Attachment #1: Type: text/plain, Size: 1584 bytes --] On Thu, Nov 12, 2020 at 12:56 PM Jim Quinlan <james.quinlan@broadcom.com> wrote: > > In normal use of smc/hvc transport in SCMI the message completion is > indicated by the return of the SMC call. This commit provides for an > optional interrupt named "message-serviced" which is used instead to > indicate the completion of a message. > > Signed-off-by: Jim Quinlan <james.quinlan@broadcom.com> > --- > Documentation/devicetree/bindings/arm/arm,scmi.txt | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/Documentation/devicetree/bindings/arm/arm,scmi.txt b/Documentation/devicetree/bindings/arm/arm,scmi.txt > index 55deb68230eb..7cdad11f40b1 100644 > --- a/Documentation/devicetree/bindings/arm/arm,scmi.txt > +++ b/Documentation/devicetree/bindings/arm/arm,scmi.txt > @@ -31,6 +31,14 @@ Optional properties: > > - mbox-names: shall be "tx" or "rx" depending on mboxes entries. > > +- interrupts : when using smc or hvc transports, this optional > + property indicates that msg completion by the platform is indicated > + by an interrupt rather than by the return of the smc call. This > + should not be used except when the platform requires such behavior. > + > +- interrupt-names : if "interrupts" is present, interrupt-names must also > + be present and have the value "message-serviced". > + > See Documentation/devicetree/bindings/mailbox/mailbox.txt for more details > about the generic mailbox controller and client driver bindings. Hi Rob, Are you okay with this commit? Regards, Jim Quinlan Broadcom STB > > -- > 2.17.1 > [-- Attachment #2: S/MIME Cryptographic Signature --] [-- Type: application/pkcs7-signature, Size: 4167 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v2 1/2] dt-bindings: arm: Add optional interrupt to smc/hvc SCMI transport 2020-11-12 17:56 ` [PATCH v2 1/2] dt-bindings: arm: Add optional interrupt to smc/hvc SCMI transport Jim Quinlan 2020-11-20 17:20 ` Jim Quinlan @ 2020-12-07 19:01 ` Rob Herring 2020-12-07 19:49 ` Jim Quinlan 1 sibling, 1 reply; 5+ messages in thread From: Rob Herring @ 2020-12-07 19:01 UTC (permalink / raw) To: Jim Quinlan Cc: Sudeep Holla, bcm-kernel-feedback-list, open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS, open list On Thu, Nov 12, 2020 at 12:56:26PM -0500, Jim Quinlan wrote: > In normal use of smc/hvc transport in SCMI the message completion is > indicated by the return of the SMC call. This commit provides for an > optional interrupt named "message-serviced" which is used instead to > indicate the completion of a message. > > Signed-off-by: Jim Quinlan <james.quinlan@broadcom.com> > --- > Documentation/devicetree/bindings/arm/arm,scmi.txt | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/Documentation/devicetree/bindings/arm/arm,scmi.txt b/Documentation/devicetree/bindings/arm/arm,scmi.txt > index 55deb68230eb..7cdad11f40b1 100644 > --- a/Documentation/devicetree/bindings/arm/arm,scmi.txt > +++ b/Documentation/devicetree/bindings/arm/arm,scmi.txt > @@ -31,6 +31,14 @@ Optional properties: > > - mbox-names: shall be "tx" or "rx" depending on mboxes entries. > > +- interrupts : when using smc or hvc transports, this optional > + property indicates that msg completion by the platform is indicated > + by an interrupt rather than by the return of the smc call. This > + should not be used except when the platform requires such behavior. > + > +- interrupt-names : if "interrupts" is present, interrupt-names must also > + be present and have the value "message-serviced". Don't really need names when only one, but wouldn't 'a2p' be more concise and based on SCMI spec (just guessing...). > + > See Documentation/devicetree/bindings/mailbox/mailbox.txt for more details > about the generic mailbox controller and client driver bindings. > > -- > 2.17.1 > ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v2 1/2] dt-bindings: arm: Add optional interrupt to smc/hvc SCMI transport 2020-12-07 19:01 ` Rob Herring @ 2020-12-07 19:49 ` Jim Quinlan 0 siblings, 0 replies; 5+ messages in thread From: Jim Quinlan @ 2020-12-07 19:49 UTC (permalink / raw) To: Rob Herring Cc: Sudeep Holla, maintainer:BROADCOM BCM7XXX ARM ARCHITECTURE, open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS, open list [-- Attachment #1: Type: text/plain, Size: 2840 bytes --] On Mon, Dec 7, 2020 at 2:01 PM Rob Herring <robh@kernel.org> wrote: > > On Thu, Nov 12, 2020 at 12:56:26PM -0500, Jim Quinlan wrote: > > In normal use of smc/hvc transport in SCMI the message completion is > > indicated by the return of the SMC call. This commit provides for an > > optional interrupt named "message-serviced" which is used instead to > > indicate the completion of a message. > > > > Signed-off-by: Jim Quinlan <james.quinlan@broadcom.com> > > --- > > Documentation/devicetree/bindings/arm/arm,scmi.txt | 8 ++++++++ > > 1 file changed, 8 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/arm/arm,scmi.txt b/Documentation/devicetree/bindings/arm/arm,scmi.txt > > index 55deb68230eb..7cdad11f40b1 100644 > > --- a/Documentation/devicetree/bindings/arm/arm,scmi.txt > > +++ b/Documentation/devicetree/bindings/arm/arm,scmi.txt > > @@ -31,6 +31,14 @@ Optional properties: > > > > - mbox-names: shall be "tx" or "rx" depending on mboxes entries. > > > > +- interrupts : when using smc or hvc transports, this optional > > + property indicates that msg completion by the platform is indicated > > + by an interrupt rather than by the return of the smc call. This > > + should not be used except when the platform requires such behavior. > > + > > +- interrupt-names : if "interrupts" is present, interrupt-names must also > > + be present and have the value "message-serviced". > > Don't really need names when only one, but wouldn't 'a2p' be more > concise and based on SCMI spec (just guessing...). I gave it a name because (a) its presence is atypical/not common and (b) future changes may add more interrupts and I don't want this interrupt at index 0. As far as "message-serviced", this was Sudeep's suggestion, IIRC, although I had a similarly long name. Sudeep, are you okay with "a2p". Thanks, Jim > > > + > > See Documentation/devicetree/bindings/mailbox/mailbox.txt for more details > > about the generic mailbox controller and client driver bindings. > > > > -- > > 2.17.1 > > > > -- This electronic communication and the information and any files transmitted with it, or attached to it, are confidential and are intended solely for the use of the individual or entity to whom it is addressed and may contain information that is confidential, legally privileged, protected by privacy laws, or otherwise restricted from disclosure to anyone else. If you are not the intended recipient or the person responsible for delivering the e-mail to the intended recipient, you are hereby notified that any use, copying, distributing, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited. If you received this e-mail in error, please return the e-mail to the sender, delete it from your computer, and destroy any printed copy of it. [-- Attachment #2: S/MIME Cryptographic Signature --] [-- Type: application/pkcs7-signature, Size: 4167 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-12-07 19:50 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2020-11-12 17:56 [PATCH v2 0/2] firmware: arm_scmi: Augment SMC/HVC to allow optional interrupt Jim Quinlan 2020-11-12 17:56 ` [PATCH v2 1/2] dt-bindings: arm: Add optional interrupt to smc/hvc SCMI transport Jim Quinlan 2020-11-20 17:20 ` Jim Quinlan 2020-12-07 19:01 ` Rob Herring 2020-12-07 19:49 ` Jim Quinlan
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).