[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <503786f9-588c-4661-8126-37ce70fc8be0@ieee.org>
Date: Tue, 24 Dec 2024 09:11:48 -0600
From: Alex Elder <elder@...e.org>
To: Konrad Dybcio <konrad.dybcio@....qualcomm.com>,
Wojciech Slenska <wojciech.slenska@...il.com>,
Andrew Lunn <andrew+netdev@...n.ch>, "David S . Miller"
<davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
Rob Herring <robh@...nel.org>, Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, Alex Elder <elder@...nel.org>,
Bjorn Andersson <andersson@...nel.org>,
Konrad Dybcio <konradybcio@...nel.org>
Cc: linux-arm-msm@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH 1/2] dt-bindings: net: qcom,ipa: document qcm2290
compatible
On 12/20/24 7:25 AM, Konrad Dybcio wrote:
> On 20.12.2024 8:35 AM, Wojciech Slenska wrote:
>> Document that ipa on qcm2290 uses version 4.2, the same
>> as sc7180.
>>
>> Signed-off-by: Wojciech Slenska <wojciech.slenska@...il.com>
>> ---
>
> FWIW this needs some more work on the Linux side, the IPA driver
> currently hardcodes a reference to IMEM, which has a different
> base between these two SoCs.
I have only glanced at this so far. At the moment I don't
know whether this device uses a different range in IMEM, but
Konrad's message suggests it does. And if so, he's correct:
the IMEM range needs to be defined differently (perhaps in
Device Tree) so that different SoCs using the same version
of IPA but different IMEM ranges can function correctly.
Downstream code should be consulted to determine this, and
as of now I have not done that.
-Alex
> The IMEM region doesn't seem to be used as of current, but things
> will explode the second it is.
>
> A long overdue update would be to make the IPA driver consume
> a syscon/memory-region-like property pointing to IMEM (or a slice
> of it, maybe Alex knows what it was supposed to be used for).
>
> Konrad
Powered by blists - more mailing lists