Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp4001744pxv; Mon, 19 Jul 2021 14:08:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzRBmvzvmqajac54ufX+cB2ImqsS+qU7lWmQcCWsW4lBBRr+KvmdOH/LN+8AoTzeslJ02Lr X-Received: by 2002:aa7:df12:: with SMTP id c18mr36793928edy.62.1626728909845; Mon, 19 Jul 2021 14:08:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626728909; cv=none; d=google.com; s=arc-20160816; b=ylZtI6dVf5W3r5/M2EfFrfM99JMhz/Qz/XKmv66uOzrkNZU/5ZxpGQccyVvDN29hix cWSImu94LRMVcztxinowwPtVDbSjvgDlbsfTyAnFRmajqG3/DTcu8/QXMsaFhYkSkTY2 Gws1iI8IryWiAFB7EOdYr6dzqoE+zRmj8Hy3cjJyn/VVch1Jgh6cPUojpP6bo0wE4uPa 2MN9y20chdidlcFYSxqOaPFg5VKdvIw9maT5tSk5gskxh5DJk6hhUMHrXQ11Iu5IBQRK 3mQvcJV0P9BVHC3GVA7UqwkpyYgSff7XvFqsp5yCmCJwex1AfjUY82TtPxz+Q0PX9SoY +Q4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=MTo4LBHxr6WcVmPmqqb31U3oy5mXIOOOFkovyYtikHI=; b=h5N6V+cN6ZsY+w8ZYj/yJ3zCyjx6OrZ2BSYq/pYpGdqVpGgNng9UHBFjeq/msj34gB KGF+huAit65j3XPSKedX1jEZcXSaMT9eicQEAoBLsz+lA4VJhWZtSfx+FPaEgBUnPzOg QzWu0lnGfc0Rc1rBXZ4ROf+jwGhmGp84dK4NKytSqi5YG3H6fskXO+VBQ+/brkw2phEm 1vrvZ2txUGyqIJ6JDEl+tWCci1UneLUU40ZdiqWEyRij+44ErRxFJRcghM8LmzDcNdOy TgI7Rf6RxPOnlZOTdg0MYKS1ZqXHHE5U6v16T+qixazHnvmEy0VUCIq2D4r2jZ/8yPVK 9YGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Z20dqVx+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s20si20047374edr.223.2021.07.19.14.08.05; Mon, 19 Jul 2021 14:08:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Z20dqVx+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1387261AbhGSUC1 (ORCPT + 99 others); Mon, 19 Jul 2021 16:02:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53662 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1387028AbhGSTp0 (ORCPT ); Mon, 19 Jul 2021 15:45:26 -0400 Received: from mail-io1-xd2d.google.com (mail-io1-xd2d.google.com [IPv6:2607:f8b0:4864:20::d2d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4925BC0613E9 for ; Mon, 19 Jul 2021 13:19:35 -0700 (PDT) Received: by mail-io1-xd2d.google.com with SMTP id l5so21528840iok.7 for ; Mon, 19 Jul 2021 13:23:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=MTo4LBHxr6WcVmPmqqb31U3oy5mXIOOOFkovyYtikHI=; b=Z20dqVx+5d90dMhiE/vjpGdOXMC1EvHJXuai9onFKR9y5dKdqhCv2b2/gxpC1QdMad G87t0rQXarGllXKi43YQNITaKnuiD6mzmMXvEwAi4lLmNZbP4kDEMlCZfuC2Ksu2KjLQ qb2w1OqHx7hVwVQ6TlnoMKc/sjz5VX6som42BeYp7BNsMsjC/8DEztAzR/swltXWUHr7 wuJAnNjJoxvQrGO97pZeLKNN4MIUTYzmO6ARnfp79nvbOMOzm+1QP8uAWfj22/6SywJO nsCjvdla2p1FHxAPP+VM0dS2Z5zZBtjqQjqPJ/Uiq9cWnZw+xtWr9WleMzIgSPBggp7M kjcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=MTo4LBHxr6WcVmPmqqb31U3oy5mXIOOOFkovyYtikHI=; b=oic7dVR1N6OrJmDAHKCjmrmCxfi0hTwo+TIyrhoXmMxMyxcTofhTVUDByevGiNDuqR jtiRf858uQU8BC5Fs3dTIAw3igRcJCSwUITO0bVAqadbfMrwsLp4uwO9hT4mlJNF3f0U nA5a4Q9jfXCqKyMDYyipel9b3ANbwwmjqvTNkYrvMhM6YNknybHETOCc4VnXLWJAognV gTqZ/J7CwRF498UzanMD8ivMe2oRT3I9PsiLe0SxxK/SBh5KPkfs21E+QtDBAeQXqxeH RLnSf+kEUfG9OE2v0SRoxFJaJJsVl0NmWbxOzRQYMs+lWhqPHO7bJSvQQdDaKOXQGRct oEBA== X-Gm-Message-State: AOAM5325kXe0HwgrGJz3MPVXnwaR0j5wSPKP88/ymaGUR/qldLEijRA0 n2ddzsOdMoq8Yovi0ZTRWHSpig== X-Received: by 2002:a6b:e90b:: with SMTP id u11mr12746940iof.134.1626726220561; Mon, 19 Jul 2021 13:23:40 -0700 (PDT) Received: from presto.localdomain (c-73-185-129-58.hsd1.mn.comcast.net. [73.185.129.58]) by smtp.gmail.com with ESMTPSA id m184sm11123652ioa.17.2021.07.19.13.23.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Jul 2021 13:23:39 -0700 (PDT) From: Alex Elder To: davem@davemloft.net, kuba@kernel.org Cc: bjorn.andersson@linaro.org, evgreen@chromium.org, cpratapa@codeaurora.org, subashab@codeaurora.org, elder@kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH net-next] net: ipa: fix IPA v4.11 interconnect data Date: Mon, 19 Jul 2021 15:23:33 -0500 Message-Id: <20210719202333.3067361-1-elder@linaro.org> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Currently three interconnects are defined for the Qualcomm SC7280 SoC, but this was based on a misunderstanding. There should only be two interconnects defined: one between the IPA and system memory; and another between the AP and IPA config space. The bandwidths defined for the memory and config interconnects do not match what I understand to be proper values, so update these. Signed-off-by: Alex Elder --- drivers/net/ipa/ipa_data-v4.11.c | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/drivers/net/ipa/ipa_data-v4.11.c b/drivers/net/ipa/ipa_data-v4.11.c index 9353efbd504fb..598b410cd7ab4 100644 --- a/drivers/net/ipa/ipa_data-v4.11.c +++ b/drivers/net/ipa/ipa_data-v4.11.c @@ -368,18 +368,13 @@ static const struct ipa_mem_data ipa_mem_data = { static const struct ipa_interconnect_data ipa_interconnect_data[] = { { .name = "memory", - .peak_bandwidth = 465000, /* 465 MBps */ - .average_bandwidth = 80000, /* 80 MBps */ - }, - /* Average rate is unused for the next two interconnects */ - { - .name = "imem", - .peak_bandwidth = 68570, /* 68.57 MBps */ - .average_bandwidth = 80000, /* 80 MBps (unused?) */ + .peak_bandwidth = 600000, /* 600 MBps */ + .average_bandwidth = 150000, /* 150 MBps */ }, + /* Average rate is unused for the next interconnect */ { .name = "config", - .peak_bandwidth = 30000, /* 30 MBps */ + .peak_bandwidth = 74000, /* 74 MBps */ .average_bandwidth = 0, /* unused */ }, }; -- 2.27.0