Skip to content

Commit 60ea6f0

Browse files
Alex Elderdavem330
authored andcommitted
net: ipa: correct IPA v4.7 IMEM offset
Commit b310de7 ("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/[email protected] Fixes: b310de7 ("net: ipa: add IPA v4.7 support") Tested-by: Luca Weiss <[email protected]> Signed-off-by: Alex Elder <[email protected]> Reviewed-by: Konrad Dybcio <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent a5a3672 commit 60ea6f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ipa/data/ipa_data-v4.7.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ static const struct ipa_mem ipa_mem_local_data[] = {
357357
static const struct ipa_mem_data ipa_mem_data = {
358358
.local_count = ARRAY_SIZE(ipa_mem_local_data),
359359
.local = ipa_mem_local_data,
360-
.imem_addr = 0x146a9000,
360+
.imem_addr = 0x146a8000,
361361
.imem_size = 0x00002000,
362362
.smem_id = 497,
363363
.smem_size = 0x00009000,

0 commit comments

Comments
 (0)