Linux ARM-MSM sub-architecture
 help / color / mirror / Atom feed
From: Sricharan Ramabadhran <quic_srichara@quicinc.com>
To: Bjorn Andersson <andersson@kernel.org>,
	Gokul Sriram Palanisamy <quic_gokulsri@quicinc.com>
Cc: <jassisinghbrar@gmail.com>, <robh@kernel.org>,
	<krzk+dt@kernel.org>, <conor+dt@kernel.org>,
	<mathieu.poirier@linaro.org>, <konradybcio@kernel.org>,
	<quic_mmanikan@quicinc.com>, <linux-arm-msm@vger.kernel.org>,
	<linux-kernel@vger.kernel.org>, <devicetree@vger.kernel.org>,
	<linux-remoteproc@vger.kernel.org>, <dmitry.baryshkov@linaro.org>,
	<quic_viswanat@quicinc.com>
Subject: Re: [PATCH V3 4/8] remoteproc: qcom: add hexagon based WCSS secure PIL driver
Date: Wed, 8 Jan 2025 12:12:14 +0530	[thread overview]
Message-ID: <3ee41b72-774d-4080-9c3b-3dfeb6babba1@quicinc.com> (raw)
In-Reply-To: <d07ce5a7-43a3-48d0-90c9-55ff7a34d650@quicinc.com>



On 1/8/2025 11:59 AM, Sricharan Ramabadhran wrote:
> [..]
> 
>>> +#include <linux/firmware/qcom/qcom_scm.h>
>>> +#include <linux/interrupt.h>
>>> +#include <linux/io.h>
>>> +#include <linux/iopoll.h>
>>> +#include <linux/kernel.h>
>>> +#include <linux/module.h>
>>> +#include <linux/of_address.h>
>>> +#include <linux/of_device.h>
>>> +#include <linux/of_reserved_mem.h>
>>> +#include <linux/platform_device.h>
>>> +#include <linux/reset.h>
>>> +#include <linux/soc/qcom/mdt_loader.h>
>>> +#include <linux/soc/qcom/smem.h>
>>> +#include <linux/soc/qcom/smem_state.h>
>>> +#include <linux/mailbox_client.h>
>>> +#include <linux/mailbox/tmelcom-qmp.h>
>>
>> This will require mailbox maintainer to first accept the tmelcom mailbox
>> driver, and share a immutable branch with me (or we have to wait until
>> this include file trickles in).
>>
>> Please ensure that mailbox maintainer is aware of this request.
> 
> Hi Bjorn,
>   The plan is, in the next spin of TMEL[V3], tmel driver will take care
>   of routing the request to either SCM(or)TMEL, so that client drivers
>   like rproc/crypto etc which requires those secure services can be
>   abstract (ie) just do a mbox_send_message with a SCM cmd id. That way
>   for adding any future secure services in client drivers, nothing
>   extra needs to be done and this will avoid this header dependency
>   as well. Is that approach fine ?

Ok, with more thought, i guess this approach will not work. Will stick
to what you are suggesting, just use mbox->chan available in client
itself to take the decision.

Regards,
  Sricharan

  reply	other threads:[~2025-01-08  6:42 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-07 10:16 [PATCH V3 0/8] Add new driver for WCSS secure PIL loading Gokul Sriram Palanisamy
2025-01-07 10:16 ` [PATCH V3 1/8] firmware: qcom_scm: ipq5332: add support to pass metadata size Gokul Sriram Palanisamy
2025-01-08  4:15   ` Bjorn Andersson
2025-01-07 10:16 ` [PATCH V3 2/8] dt-bindings: remoteproc: qcom: document hexagon based WCSS secure PIL Gokul Sriram Palanisamy
2025-01-07 12:21   ` Dmitry Baryshkov
     [not found]     ` <f0eef19b-8497-4e7d-bed1-882cdb8c1ab1@quicinc.com>
2025-01-08  7:34       ` Krzysztof Kozlowski
2025-01-08 11:19         ` Gokul Sriram P (QUIC)
2025-01-08 11:51           ` Krzysztof Kozlowski
     [not found]     ` <3e64b792-bfca-4b07-a13e-6deb966f3d4f@quicinc.com>
2025-01-08 10:54       ` Dmitry Baryshkov
2025-01-08 12:44         ` Gokul Sriram P (QUIC)
2025-01-07 10:16 ` [PATCH V3 3/8] dt-bindings: mailbox: qcom: Add IPQ5424 APCS compatible Gokul Sriram Palanisamy
2025-01-08  8:32   ` Krzysztof Kozlowski
2025-01-07 10:16 ` [PATCH V3 4/8] remoteproc: qcom: add hexagon based WCSS secure PIL driver Gokul Sriram Palanisamy
2025-01-08  4:09   ` Bjorn Andersson
2025-01-08  6:29     ` Sricharan Ramabadhran
2025-01-08  6:42       ` Sricharan Ramabadhran [this message]
2025-01-09 12:18     ` Gokul Sriram Palanisamy
2025-01-11 13:46       ` Kathiravan Thirumoorthy
2025-01-07 10:16 ` [PATCH V3 5/8] mailbox: qcom: Add support for IPQ5424 APCS IPC Gokul Sriram Palanisamy
2025-01-07 10:16 ` [PATCH V3 6/8] arm64: dts: qcom: ipq5332: add nodes to bringup q6 Gokul Sriram Palanisamy
2025-01-07 12:24   ` Dmitry Baryshkov
2025-01-09 13:11   ` Konrad Dybcio
2025-01-07 10:16 ` [PATCH V3 7/8] arm64: dts: qcom: ipq9574: add nodes to bring up q6 Gokul Sriram Palanisamy
2025-01-09 13:12   ` Konrad Dybcio
2025-01-15 10:05     ` Gokul Sriram P
2025-01-07 10:16 ` [PATCH V3 8/8] arm64: dts: qcom: ipq5424: " Gokul Sriram Palanisamy
2025-01-24 18:00 ` [PATCH V3 0/8] Add new driver for WCSS secure PIL loading Jeff Johnson
2025-03-28  5:17   ` Vignesh Viswanathan

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=3ee41b72-774d-4080-9c3b-3dfeb6babba1@quicinc.com \
    --to=quic_srichara@quicinc.com \
    --cc=andersson@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dmitry.baryshkov@linaro.org \
    --cc=jassisinghbrar@gmail.com \
    --cc=konradybcio@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-remoteproc@vger.kernel.org \
    --cc=mathieu.poirier@linaro.org \
    --cc=quic_gokulsri@quicinc.com \
    --cc=quic_mmanikan@quicinc.com \
    --cc=quic_viswanat@quicinc.com \
    --cc=robh@kernel.org \
    /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