Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp3596769rwl; Sat, 7 Jan 2023 02:36:52 -0800 (PST) X-Google-Smtp-Source: AMrXdXsmJ+NrYFZgn+suwptLav79750sIPftYIL1J7CuGX52hUpOBl5NTUDu5Qr0EuXrcYJ91hvS X-Received: by 2002:a17:90a:c24a:b0:225:f3e6:424e with SMTP id d10-20020a17090ac24a00b00225f3e6424emr44757733pjx.17.1673087812040; Sat, 07 Jan 2023 02:36:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673087812; cv=none; d=google.com; s=arc-20160816; b=rYHsHLLnvDNV3j7RK9OXvPk6862IzvC07JEnQDr+ZX5cQ22umt5Oiuebzx86rcx+TF cMzKBMztqYx2ys2hoXpVSWvI8wVcEBVG5F5liSbWlJSwKC+GxrdHlsQla1/Q/TV/Rh7s XSw6Bxar5oOVgTzeWRCHGuzpud4jPNZo5Yu6BlRrJe5CvVP1uBh8c8SyS6UufjEu9ouY BoJJn3EwhzUreTFzQZg/ZDSi4taqbh9XIIlL1uR7IxAStJNLo7d/dgndjVb3ICNQbZJl vzqpgwnx0G8+BAScjd2JhblbgWok2Zmf21kyOyn1v1tjls1VyWIYSXB2VWxADVwIpkgs QSJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=j5DrSJVhwW7xN52teNHHpubxjnBjClsyPzyDg7+uVys=; b=XKDSkkk/TMN9fz2u/bcL8Tj3yq0XeEdr63H/H4y0mu+2o83M3oBmlnbgJjNOQvW14E shLsMkHm/vLG+y/nXp/1a8K99RUVQFLYgbUvbMqhRTkSJLDrKqDapDZKCF79j+SsLiYo qhRIflREGRBe+czo4f2Xezrx12B+u/NxytKrsSJdrQq45fDZNLep1BMCEgdY1emgHk2F VSLQfdmhFSEA5N4zfOJj4JwyK8MqmOYw0xtWY94ZsTWlbnGBad6vXFuCJbcwbOSMu6c2 6RFpe/uz9P2dS4/bEbv107sz2HNzXLba5+M9pm2sC0qFSbiDYGK0msxxD4jrojFc15/y iYew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=D2GBHDxJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i4-20020a63b304000000b004af17eade51si1063387pgf.407.2023.01.07.02.36.43; Sat, 07 Jan 2023 02:36:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=D2GBHDxJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229608AbjAGKUm (ORCPT + 57 others); Sat, 7 Jan 2023 05:20:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33534 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229645AbjAGKUj (ORCPT ); Sat, 7 Jan 2023 05:20:39 -0500 Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD8CB82F6C for ; Sat, 7 Jan 2023 02:20:36 -0800 (PST) Received: by mail-lf1-x12a.google.com with SMTP id b3so5510309lfv.2 for ; Sat, 07 Jan 2023 02:20:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=j5DrSJVhwW7xN52teNHHpubxjnBjClsyPzyDg7+uVys=; b=D2GBHDxJ2YBplJR9VAolgv/WYjkCdwjwR7ZCzbCVvitxD8DdU2EZv5Tj5HZbQqv6qG VtCUQgnF8GJnR+jTPoCFCO/Cjh0G/bcsgF6UAdXQi7NmfZtf99gAVGNLOAIXlZXK8xua tlYPvo0eWe2jh1VQdfLEuBuX2bzpv/QJpjIrqTQr+pos3qkXiAf3m9728CANMS+jH0wv ygzs0K52pR2NswH8n/jNgLGOlVGfIhxgYbKFIO7AQ6K828YpiZ6anIue7i8HOMUTpwAS KKX/zSVKcALvwOSmQrJ2UXOS4F93Wand4l1ZZdk+RCOINgqiwhq8o3cIOXeVqILy75f7 +MBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=j5DrSJVhwW7xN52teNHHpubxjnBjClsyPzyDg7+uVys=; b=rwRYzI9hO32qaLJT4CoSdvAGjkliNa78400z3mgknuBU/yvBwiBqdRVMWjpc+SmesH R2YFyRv6q2Vr9KzjzefNH7bFG5RnTR3BUkbQygn3crulbBwsaP5tbnqtvJ2zmt28oMnL YkG7WuR1gNTmpch1esiOloNA1S/GQVyPqQ0fVghAGZbxmw4WFkIP15ddUtdDTwz3avSA 0VHrjLcKm7Rd6KQTp76cJ9TZy1bu202aJ0rN9PGRfDQq0lVox7EggTd7c/U+RU2lg3EV I33Y5uUcIeVVnJdf0gKXoM6OHre5UMjossgqBuQyhaY7A9N9q1db+sorFfwjOZ/5J4d4 VDFw== X-Gm-Message-State: AFqh2krM/YQQa6sojaucOFCamRhj+aToUGaPl0JV2MkWqHU3CNmdLfi4 xfov/4Si08ESnY/o0CWspmvd/g== X-Received: by 2002:a05:6512:4013:b0:4a4:8044:9b8 with SMTP id br19-20020a056512401300b004a4804409b8mr17695688lfb.9.1673086834887; Sat, 07 Jan 2023 02:20:34 -0800 (PST) Received: from [192.168.1.101] (abxi45.neoplus.adsl.tpnet.pl. [83.9.2.45]) by smtp.gmail.com with ESMTPSA id 12-20020ac25f0c000000b004cb3aced3f9sm525041lfq.226.2023.01.07.02.20.33 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 07 Jan 2023 02:20:34 -0800 (PST) Message-ID: Date: Sat, 7 Jan 2023 11:20:32 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [PATCH net v2] net: ipa: correct IPA v4.7 IMEM offset Content-Language: en-US To: Alex Elder , davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com Cc: luca.weiss@fairphone.com, caleb.connolly@linaro.org, mka@chromium.org, evgreen@chromium.org, andersson@kernel.org, quic_cpratapa@quicinc.com, quic_avuyyuru@quicinc.com, quic_jponduru@quicinc.com, quic_subashab@quicinc.com, elder@kernel.org, netdev@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230106132502.3307220-1-elder@linaro.org> From: Konrad Dybcio In-Reply-To: <20230106132502.3307220-1-elder@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6.01.2023 14:25, Alex Elder wrote: > 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 > Signed-off-by: Alex Elder > --- Reviewed-by: Konrad Dybcio Konrad > v2: Based on net/master this time... > > drivers/net/ipa/data/ipa_data-v4.7.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/net/ipa/data/ipa_data-v4.7.c b/drivers/net/ipa/data/ipa_data-v4.7.c > index 7552c400961eb..b83390c486158 100644 > --- a/drivers/net/ipa/data/ipa_data-v4.7.c > +++ b/drivers/net/ipa/data/ipa_data-v4.7.c > @@ -357,7 +357,7 @@ static const struct ipa_mem ipa_mem_local_data[] = { > static const struct ipa_mem_data ipa_mem_data = { > .local_count = ARRAY_SIZE(ipa_mem_local_data), > .local = ipa_mem_local_data, > - .imem_addr = 0x146a9000, > + .imem_addr = 0x146a8000, > .imem_size = 0x00002000, > .smem_id = 497, > .smem_size = 0x00009000,