lkml.org 
[lkml]   [2020]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v1 2/2] mailbox: Add Broadcom STB mailbox driver
From
Date
Hi Jim,

On 9/15/2020 12:31 PM, Jim Quinlan wrote:
> This is a simple mailbox driver to be used by the SCMI protocol stack. It
> only implements the agent-to-platform channel; we may implement the
> platform-to-agent channel in the future. An unusual aspect of this driver
> is how the completion of an SCMI message is indicated. An SCMI message is
> initiated with an ARM SMC call, but the return of this call does not
> indicate the execution or completion of the message. Rather, the message's
> completion is signaled by an interrupt.
>
> Signed-off-by: Jim Quinlan <james.quinlan@broadcom.com>
> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
> ---
> drivers/mailbox/Kconfig | 13 +++
> drivers/mailbox/Makefile | 2 +
> drivers/mailbox/brcmstb-mailbox.c | 173 ++++++++++++++++++++++++++++++
> 3 files changed, 188 insertions(+)
> create mode 100644 drivers/mailbox/brcmstb-mailbox.c
>
> diff --git a/drivers/mailbox/Kconfig b/drivers/mailbox/Kconfig
> index 05b1009e2820..bebf7da778bc 100644
> --- a/drivers/mailbox/Kconfig
> +++ b/drivers/mailbox/Kconfig
> @@ -254,4 +254,17 @@ config QCOM_IPCC
> acts as an interrupt controller for receiving interrupts from clients.
> Say Y here if you want to build this driver.
>
> +config BRCMSTB_MBOX
> + tristate "Broadcom STB Mailbox"
> + depends on ARM64 || ARM
> + depends on ARM_SCMI_PROTOCOL && ARCH_BRCMSTB
> + depends on SMP

We can actually remove the SMP dependency cannot we? This was needed
back when we used the hackish way of hooking to IPIs in the downstream
kernel which we fortunately no longer do.
--
Florian

\
 
 \ /
  Last update: 2020-09-15 21:36    [W:0.042 / U:5.232 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site