From: Bjorn Andersson <bjorn.andersson@linaro.org>
To: David Miller <davem@davemloft.net>, Alex Elder <elder@linaro.org>
Cc: Mark Rutland <mark.rutland@arm.com>,
Ohad Ben-Cohen <ohad@wizery.com>,
Susheel Yadav Yadagiri <syadagir@codeaurora.org>,
Eric Caruso <ejcaruso@google.com>, Arnd Bergmann <arnd@arndb.de>,
devicetree@vger.kernel.org, Dan Williams <dcbw@redhat.com>,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
Rob Herring <robh+dt@kernel.org>,
Jon Hunter <jonathanh@nvidia.com>, Andy Gross <agross@kernel.org>,
Evan Green <evgreen@google.com>,
linux-arm-kernel@lists.infradead.org,
linux-arm-msm@vger.kernel.org,
Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>,
Johannes Berg <johannes@sipsolutions.net>,
linux-soc@vger.kernel.org,
Siddharth Gupta <sidgup@codeaurora.org>,
Chaitanya Pratapa <cpratapa@codeaurora.org>
Subject: Re: [PATCH v2 17/17] arm64: dts: sdm845: add IPA information
Date: Wed, 11 Mar 2020 12:02:26 -0700 [thread overview]
Message-ID: <20200311190226.GY1214176@minitux> (raw)
In-Reply-To: <4decbc8a-b0a6-8f10-b439-ade9008a4cff@linaro.org>
On Wed 11 Mar 07:39 PDT 2020, Alex Elder wrote:
> On 3/11/20 5:49 AM, Jon Hunter wrote:
> >
> > On 06/03/2020 04:28, Alex Elder wrote:
> >> Add IPA-related nodes and definitions to "sdm845.dtsi".
> >>
> >> Signed-off-by: Alex Elder <elder@linaro.org>
> >> ---
> >> arch/arm64/boot/dts/qcom/sdm845.dtsi | 51 ++++++++++++++++++++++++++++
> >> 1 file changed, 51 insertions(+)
> >>
> >> diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi
> >> index d42302b8889b..58fd1c611849 100644
> >> --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi
> >> +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi
> >> @@ -675,6 +675,17 @@
> >> interrupt-controller;
> >> #interrupt-cells = <2>;
> >> };
> >> +
> >> + ipa_smp2p_out: ipa-ap-to-modem {
> >> + qcom,entry-name = "ipa";
> >> + #qcom,smem-state-cells = <1>;
> >> + };
> >> +
> >> + ipa_smp2p_in: ipa-modem-to-ap {
> >> + qcom,entry-name = "ipa";
> >> + interrupt-controller;
> >> + #interrupt-cells = <2>;
> >> + };
> >> };
> >>
> >> smp2p-slpi {
> >> @@ -1435,6 +1446,46 @@
> >> };
> >> };
> >>
> >> + ipa@1e40000 {
> >> + compatible = "qcom,sdm845-ipa";
> >> +
> >> + modem-init;
> >> + modem-remoteproc = <&mss_pil>;
> >> +
> >> + reg = <0 0x1e40000 0 0x7000>,
> >> + <0 0x1e47000 0 0x2000>,
> >> + <0 0x1e04000 0 0x2c000>;
> >> + reg-names = "ipa-reg",
> >> + "ipa-shared",
> >> + "gsi";
> >> +
> >> + interrupts-extended =
> >> + <&intc 0 311 IRQ_TYPE_EDGE_RISING>,
> >> + <&intc 0 432 IRQ_TYPE_LEVEL_HIGH>,
> >> + <&ipa_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
> >> + <&ipa_smp2p_in 1 IRQ_TYPE_EDGE_RISING>;
> >> + interrupt-names = "ipa",
> >> + "gsi",
> >> + "ipa-clock-query",
> >> + "ipa-setup-ready";
> >> +
> >> + clocks = <&rpmhcc RPMH_IPA_CLK>;
> >> + clock-names = "core";
> >> +
> >> + interconnects =
> >> + <&rsc_hlos MASTER_IPA &rsc_hlos SLAVE_EBI1>,
> >> + <&rsc_hlos MASTER_IPA &rsc_hlos SLAVE_IMEM>,
> >> + <&rsc_hlos MASTER_APPSS_PROC &rsc_hlos SLAVE_IPA_CFG>;
> >> + interconnect-names = "memory",
> >> + "imem",
> >> + "config";
> >> +
> >> + qcom,smem-states = <&ipa_smp2p_out 0>,
> >> + <&ipa_smp2p_out 1>;
> >> + qcom,smem-state-names = "ipa-clock-enabled-valid",
> >> + "ipa-clock-enabled";
> >> + };
> >> +
> >> tcsr_mutex_regs: syscon@1f40000 {
> >> compatible = "syscon";
> >> reg = <0 0x01f40000 0 0x40000>;
> >>
> >
> >
> > This change is causing the following build error on today's -next ...
> >
> > DTC arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dtb
> > arch/arm64/boot/dts/qcom/sdm845.dtsi:1710.15-1748.5: ERROR (phandle_references): /soc@0/ipa@1e40000: Reference to non-existent node or label "rsc_hlos"
>
> This problem arises because a commit in the Qualcomm SoC tree affects
> "arch/arm64/boot/dts/qcom/sdm845.dtsi", changing the interconnect provider
> node(s) used by IPA:
> b303f9f0050b arm64: dts: sdm845: Redefine interconnect provider DT nodes
>
> I will send out a patch today that updates the IPA node in "sdm845.dtsi"
> to correct that.
>
> In the mean time, David, perhaps you should revert this change in net-next:
> 9cc5ae125f0e arm64: dts: sdm845: add IPA information
> and let me work out fixing "sdm845.dtsi" with Andy and Bjorn in the
> Qualcomm tree.
>
Reverting this in net-next and applying it in our tree sounds like the
easiest path forward, and avoids further conflicts down the road.
David, are you onboard with this?
Regards,
Bjorn
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2020-03-11 19:02 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-06 4:28 [PATCH v2 00/17] net: introduce Qualcomm IPA driver (UPDATED) Alex Elder
2020-03-06 4:28 ` [PATCH v2 01/17] remoteproc: add IPA notification to q6v5 driver Alex Elder
2020-03-06 11:49 ` Leon Romanovsky
2020-03-06 13:29 ` Alex Elder
2020-03-06 4:28 ` [PATCH v2 02/17] dt-bindings: soc: qcom: add IPA bindings Alex Elder
2020-03-06 4:28 ` [PATCH v2 03/17] soc: qcom: ipa: main code Alex Elder
2020-03-06 4:28 ` [PATCH v2 04/17] soc: qcom: ipa: configuration data Alex Elder
2020-03-06 4:28 ` [PATCH v2 05/17] soc: qcom: ipa: clocking, interrupts, and memory Alex Elder
2020-03-06 4:28 ` [PATCH v2 06/17] soc: qcom: ipa: GSI headers Alex Elder
2020-03-06 4:28 ` [PATCH v2 07/17] soc: qcom: ipa: the generic software interface Alex Elder
2020-03-06 4:28 ` [PATCH v2 08/17] soc: qcom: ipa: IPA interface to GSI Alex Elder
2020-03-06 4:28 ` [PATCH v2 09/17] soc: qcom: ipa: GSI transactions Alex Elder
2020-03-06 4:28 ` [PATCH v2 10/17] soc: qcom: ipa: IPA endpoints Alex Elder
2020-03-06 4:28 ` [PATCH v2 11/17] soc: qcom: ipa: filter and routing tables Alex Elder
2020-03-06 4:28 ` [PATCH v2 12/17] soc: qcom: ipa: immediate commands Alex Elder
2020-03-06 4:28 ` [PATCH v2 13/17] soc: qcom: ipa: modem and microcontroller Alex Elder
2020-03-06 4:28 ` [PATCH v2 14/17] soc: qcom: ipa: AP/modem communications Alex Elder
2020-03-06 4:28 ` [PATCH v2 15/17] soc: qcom: ipa: support build of IPA code Alex Elder
2020-03-11 10:54 ` Jon Hunter
2020-03-11 12:33 ` Alex Elder
2020-03-06 4:28 ` [PATCH v2 16/17] MAINTAINERS: add entry for the Qualcomm IPA driver Alex Elder
2020-03-06 4:28 ` [PATCH v2 17/17] arm64: dts: sdm845: add IPA information Alex Elder
2020-03-11 10:49 ` Jon Hunter
2020-03-11 14:39 ` Alex Elder
2020-03-11 19:02 ` Bjorn Andersson [this message]
2020-03-09 5:09 ` [PATCH v2 00/17] net: introduce Qualcomm IPA driver (UPDATED) David Miller
2020-03-09 16:54 ` Dave Taht
2020-03-12 3:09 ` Alex Elder
2020-04-29 23:17 ` Evan Green
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=20200311190226.GY1214176@minitux \
--to=bjorn.andersson@linaro.org \
--cc=agross@kernel.org \
--cc=arnd@arndb.de \
--cc=cpratapa@codeaurora.org \
--cc=davem@davemloft.net \
--cc=dcbw@redhat.com \
--cc=devicetree@vger.kernel.org \
--cc=ejcaruso@google.com \
--cc=elder@linaro.org \
--cc=evgreen@google.com \
--cc=johannes@sipsolutions.net \
--cc=jonathanh@nvidia.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-soc@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=netdev@vger.kernel.org \
--cc=ohad@wizery.com \
--cc=robh+dt@kernel.org \
--cc=sidgup@codeaurora.org \
--cc=subashab@codeaurora.org \
--cc=syadagir@codeaurora.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;
as well as URLs for NNTP newsgroup(s).