Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1918211pxb; Thu, 16 Sep 2021 20:13:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzSDZdteopQx7IIPKudUD7IdF8XjC7iTyfAPBBGcOjg3+Da+DI3R+F1VlVCPK4AdzXtV5m7 X-Received: by 2002:a50:9eaa:: with SMTP id a39mr9856328edf.56.1631848425365; Thu, 16 Sep 2021 20:13:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631848425; cv=none; d=google.com; s=arc-20160816; b=bzv24Vxt2CpZO7Hxj/QWfZ4wL6tEOdtKBsismsQbgxDC15vTF9ZxJDuLaxXeS9UPLR 0oplvfQhit9KW8MQwZiZwj8BgGvFoLdDCzfnFvpYZOG7eFmzlKKy3+5dW5QlIcZ/b/FL RgtcQuVg3ng5pBLFiFw+DtKmgut6jyeaJVHBdkEDAL+ygmGI/ZQFOgZbm76bMjWC8m1G cS8ocvJac+HM09p+j6JI+eyyxm9y8JL9lL1Nn5FxNwBc75MmLdQsM6abAYg00PmbYFMc 3SwjulOzmmCpSMmcvPgwmAgrTCjtI/euPFZ2M+Ki8reD7g7WI2sOBnpbL/B3gsuccMxB Lmng== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=glRjApBADQ8r3V3F4fzm2MlOl2jRwBKQxWgUVgSebi8=; b=dLG9/miNEIztmJJRn1Y7b/QTF2rXZ6jDXz+RIj8hYclUb6F5aErrbDhjs1Sc4dihXk +oa3vocwvW66njuQizPthVCe8BGDcSjjLiwRRKWTjB3jC9cQu62HwGE4vL8+/eO0HzaP LCjtX+n2qzm+U93pOWh7J6uZGK6rUPgk30711NFK/3GFRxviJctB20Sgjr+9I0T72FLR 9aETOBG3SdUbVN/Cq+se1TdG9/YwkvJEa3uThBlTopkdG1VgoplRjGyYmyj3sYlHnPBd aTD1aMk5hzW43ElQ8waZYb9+k9I0zS92Mhw2Mc8uXykMc086MXH5i3gL74MlRrGDIoKe r9Lw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=nr3dgW01; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k2si5512340ejo.293.2021.09.16.20.13.22; Thu, 16 Sep 2021 20:13:45 -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=@linuxfoundation.org header.s=korg header.b=nr3dgW01; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347318AbhIPRbK (ORCPT + 99 others); Thu, 16 Sep 2021 13:31:10 -0400 Received: from mail.kernel.org ([198.145.29.99]:43520 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343777AbhIPRV6 (ORCPT ); Thu, 16 Sep 2021 13:21:58 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id E3DA961A2E; Thu, 16 Sep 2021 16:42:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1631810564; bh=a+IUpkiYDT9FlnSCzYyC3f+PXqV+/LEvRXZ0gkxuO3A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nr3dgW01i4Ufo81bmOwbdoSSF9wC16O8J6JBGDhEq+tv5auzjE78Z+X43q8WupgPi XdaTaZpCC0iSfDuwzVtz9CV63JfsWHydyjxBvzvn5QGhPPxyENfDY5/sb4gVLvjM9F GmoEOMKvKhF3e34SdSTbFgfhuQqEwyKl5BDvjZ3s= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Alex Elder , "David S. Miller" , Sasha Levin Subject: [PATCH 5.14 187/432] net: ipa: fix IPA v4.11 interconnect data Date: Thu, 16 Sep 2021 17:58:56 +0200 Message-Id: <20210916155817.076633677@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210916155810.813340753@linuxfoundation.org> References: <20210916155810.813340753@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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