Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp444482pxb; Thu, 9 Sep 2021 04:44:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxs91GC4F+JmwMk3i6Lcwebn3x8TCCMWd+a39KJjSlBXGKs+OnycnOEFTfCzExOFuSAawFt X-Received: by 2002:a02:1608:: with SMTP id a8mr2437099jaa.36.1631187898529; Thu, 09 Sep 2021 04:44:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631187898; cv=none; d=google.com; s=arc-20160816; b=zM6tTFTMqME8H27tC96eoKYAQlK4WPv9XN7iKFTOG1WxLoby4aA0LOF6Xof4TJKC/h 1d9hGRpqH3e/At8feN8dhVzsIDdNmBed0E300rv9nNMHvnAP9/nZh39+oYmPuFLgB+BI Yoo92f1OV72tu5v4YbSPrz/oIgmpw6J7K+s1Pt+dcytARg6yIbpBS8MJ2koZ7zvjj+oK CDw821zBpUo0NhNdJuBfPgLjB9RPHFYZW85txrwfjWLX1ILCSJ9uRDqp2iEDNTFeRb3Z 5a5wOsnnCd8XGkm1itQBFryk2OEknqPeHpxMeglDK0fQoLAzS+Z2Sf2gh4ggjs2ePTQS 8EcA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=glRjApBADQ8r3V3F4fzm2MlOl2jRwBKQxWgUVgSebi8=; b=Z0DKGYkiDdYckoWTSzhrKISLkA+7y3SsHdwbuhx9cbGLTXM8cH7V/gp5kxctZqHY1U VfxPicwjaKE+YQXzhbrkIc/PPbX6hYCOUEQ/UpL+zYrto9cN/w4MMkZgue9ZGkeCqwXH UejXymDgN7EkpyP+28w3oOGeALCnGwLJDNpdJwLpK/HVN2Uc+vGiZid8fS+2vfP1i4w8 cYDcrbZ/rJyVqsfJivcF6j7o57r0xlqEtZBTiCguBbvgSsfVaFZ6Vkp+RC6hdwTbDAC5 fc0PG7Fv49Jhi/Amj6WueU+2VEwXnUGthaAeD/olfKgK+kRHqaG8QX7pAFMDZnQ/i/VL lFfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rrm2murn; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v19si1659876jat.80.2021.09.09.04.44.45; Thu, 09 Sep 2021 04:44:58 -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=@kernel.org header.s=k20201202 header.b=rrm2murn; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237150AbhIILoo (ORCPT + 99 others); Thu, 9 Sep 2021 07:44:44 -0400 Received: from mail.kernel.org ([198.145.29.99]:46708 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237351AbhIILm6 (ORCPT ); Thu, 9 Sep 2021 07:42:58 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id B2146611F0; Thu, 9 Sep 2021 11:41:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1631187708; bh=a+IUpkiYDT9FlnSCzYyC3f+PXqV+/LEvRXZ0gkxuO3A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rrm2murnTko82OvJuRtpS+T4WtueX3py/iDyetgqj4YtHrAif+u5XJXuR4wIqyXSA b/62FALWsHXPkWTQsCJ5oe8T2sZzPO+NoWoY+ST/NI/xpZk2Hs2ouIJ0j7YPk5j0qs 6M/rjJjBnDso6ZlqVEtkvj2xx3OZG13dXhgr9qD5WMrZiUFr/tY78ooUFDBnA4FPtV 5+s8Y3J4vFgncoPGBmg1VoRquQx4ozMuUHxMkSy+/QsvZJfhIo+xhIBNnTEDkq1i5h jmEakNkr9kloXSDzaD6JUri6FbQO+mDyWDFzr4Wu+vA01YGgK0NNCZRVDE0+RFa4ah Zkk/IuqgWxVlA== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Alex Elder , "David S . Miller" , Sasha Levin , netdev@vger.kernel.org Subject: [PATCH AUTOSEL 5.14 032/252] net: ipa: fix IPA v4.11 interconnect data Date: Thu, 9 Sep 2021 07:37:26 -0400 Message-Id: <20210909114106.141462-32-sashal@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210909114106.141462-1-sashal@kernel.org> References: <20210909114106.141462-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Alex Elder [ Upstream commit 0ac26271344478ff718329fa9d4ef81d4bcbc43b ] 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 Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- 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 9353efbd504f..598b410cd7ab 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.30.2