]> git.itanic.dy.fi Git - linux-stable/commit
net: ipa: correct IPA v4.7 IMEM offset
authorAlex Elder <elder@linaro.org>
Fri, 6 Jan 2023 13:25:01 +0000 (07:25 -0600)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Jan 2023 07:26:59 +0000 (07:26 +0000)
commit60ea6f00c57dae5e7ba2c52ed407cb24fdb11ebe
treeb580fb2b8b8673e851f9bfee40d0c3fc31512208
parenta5a36720c3f650f859f5e9535dd62d06f13f4f3b
net: ipa: correct IPA v4.7 IMEM offset

Commit b310de784bacd ("net: ipa: add IPA v4.7 support") was merged
despite an unresolved comment made by Konrad Dybcio.  Konrad
observed that the IMEM region specified for IPA v4.7 did not match
that used downstream for the SM7225 SoC.  In "lagoon.dtsi" present
in a Sony Xperia source tree, a ipa_smmu_ap node was defined with a
"qcom,additional-mapping" property that defined the IPA IMEM area
starting at offset 0x146a8000 (not 0x146a9000 that was committed).

The IPA v4.7 target system used for testing uses the SM7225 SoC, so
we'll adhere what the downstream code specifies is the address of
the IMEM region used for IPA.

Link: https://lore.kernel.org/linux-arm-msm/20221208211529.757669-1-elder@linaro.org
Fixes: b310de784bac ("net: ipa: add IPA v4.7 support")
Tested-by: Luca Weiss <luca.weiss@fairphone.com>
Signed-off-by: Alex Elder <elder@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ipa/data/ipa_data-v4.7.c