From patchwork Mon Jul 19 20:23:33 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Elder X-Patchwork-Id: 480047 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp4495001jao; Mon, 19 Jul 2021 14:11:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzOwZD4y48P/lEJOc4ZGM8cJ7RI0Uj5lU6cERN6yspylGwkrUkx8zFnASLrRkBW9VauSSzQ X-Received: by 2002:a17:906:f751:: with SMTP id jp17mr29128928ejb.105.1626729069995; Mon, 19 Jul 2021 14:11:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626729069; cv=none; d=google.com; s=arc-20160816; b=q6fXWAhfgjQN6R40k2BoLRLZ/jFIZaY5lal+kpHxNJBP25YCCZS0oVDj3/E0y6Yo/O lrMfQBnWkCqS+eRdLOKtJz3GHsNof5eucLkVECSWZulrMVoJHJExzv/e3cKRPl69DHBK JB8h5ZtkS77WFCFaLoi4q2AkK3xTnsqWTPnpkPDvdHvzJ+WujDqAdRRTEmX7r+zfnACY rD5lxBWAb+prZQyNvDAB5uRIKX+vy5Vc2sAN4dZQHY/infAdc7xvQyuUTqgNi01b43WP r9CmQvo33KOJZUplJBs3kqCZ81UyEdYQNfG+3aMChRb+CGhG0pbhsa9uyGjpozY4HtGT 00pg== 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=VAFCo55dac/1qmUeajV8oPHTuWL7K9Y0vhaad7OWJPmQnhHLtrDILOXsZowQOrSSZF PB3jbQDtoUd4NepuIKALSn7/Ztl2ZW6zsoPgVuNmVINEZd9wWSmk1QkPh/AZfqNvIe/h +ApaoFxjvMlvh80wXkAcPNiiieM7YJi4iGQqD1AOYUzh0XDDparvzEcSGsFflGBxnE3K mIjjGLZqQufDzmkvWQoXfZKGAp34J4PWkrboJ4OorAtntqFl67GSBTz0N22Exn5NqkND GNsJxfB9/LTqnAfo12SXRiNkTnabiruOQaNERouP59poc1vLrAyArgqnadnDyNrFEKqi nHMA== 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 netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=netdev-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 y18si20188511edw.21.2021.07.19.14.11.09; Mon, 19 Jul 2021 14:11:09 -0700 (PDT) Received-SPF: pass (google.com: domain of netdev-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 netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=netdev-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 S1353248AbhGSTrn (ORCPT + 8 others); Mon, 19 Jul 2021 15:47:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53362 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1387027AbhGSTpY (ORCPT ); Mon, 19 Jul 2021 15:45:24 -0400 Received: from mail-io1-xd33.google.com (mail-io1-xd33.google.com [IPv6:2607:f8b0:4864:20::d33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 491EDC0613E8 for ; Mon, 19 Jul 2021 13:19:35 -0700 (PDT) Received: by mail-io1-xd33.google.com with SMTP id u7so21436683ion.3 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=lklTmSdTM9FYDeA74rTAOqMQKsNgIMzVJGGQJIUk92daLzMftwjpbm4m05qm/TbPE9 ooXwo+l9/rrANcpVS0QoBQCekRSCmbS2y7/j2yqhb13FPHNSv6A7Nl3F/XQWAZodjaRc ClUdcWSJxg6RMzCAxHI0C5jmy7ZGJUKhkLHPDTPHZ8/XG2R1GtRuteRpQaAVFDWnTVD8 aHgwKv+19aWW387iT2mAPyivUFDewamunY/t0YCuV6b/t5JOZEf9mCqIcT7AqZSfqHiO RrWHAr42bnbKrVwB8Dx63c4hr2OeL3N8AVngZ+XfdrZRRle8dka9NtE+Cd7C6vcPCdmK L9EQ== X-Gm-Message-State: AOAM530FQJaaDOpBaHGoPOpDOyecHULG8/Fwfi0a6cRzn5v8Nrg5ShVw feZdHSyhM8IvNi3MsFgRFmP87w== 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 Precedence: bulk List-ID: X-Mailing-List: netdev@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(-) -- 2.27.0 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 */ }, };