From patchwork Wed Aug 4 13:54:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Elder X-Patchwork-Id: 491677 Delivered-To: patch@linaro.org Received: by 2002:a05:6638:396:0:0:0:0 with SMTP id y22csp1654809jap; Wed, 4 Aug 2021 06:54:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzEhnq/68mLSj0hKL9AgpUK+uDPYEYs+u1aq0veIJnR9bvXcNqh74Q5esk/TxFY8ocXbkB3 X-Received: by 2002:a05:6e02:1905:: with SMTP id w5mr325978ilu.270.1628085254668; Wed, 04 Aug 2021 06:54:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628085254; cv=none; d=google.com; s=arc-20160816; b=wngkQg9Is+4tJ1mrLPib81Z2NLCVi2pTrTFnPhY3E8NVyQZDrMtD6CJbISxcde90MY do7KGJRwOJNBiA9HEcdZ72fMMtllRoFvX6k5igt0lLOzm6LPfzx3isfLRnh4ESpeBO4p 6kT3isVINE3+7FUC55LSSpzRjUfKFphCl3XSO7ubY7Mw7MOil2JUgZ6QoQVgq6su/dKT L1WW9Q7IPsQgDRj4FJ6GwX/rCn8Q1jjlnoZWH07/UgRCOD/krKUVlP9cSwfEmullvv3B 87NzrI38rHpQSicQJukZx9IZP24Sfkk1xwJrxD9nsGHyueYUyEzfmXAKY2RlciP/KwQ2 mkGA== 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=g50hMA8civVRQsXmP2D/YUX+vZIHViVyDmuVOssC7Q4=; b=lGWJL8Ub4ebrv+FS8jxQLbtB4aUaqzxgNN0siFQASer4oNbjkbb6nPp73l5sMWWSCJ +P+VyYwHwMefBcjbImStrzvz0E0KLpXrVJpLhE6/oz88rzswOn6HPtI5CSnkmSe3ygXq fuZfyVaR/ybpOK3JJ10EMfNZLT9j3Eg61c41BrJQ0M3O+e2YzlTVj1tPuRDwBYi3IL8T 5qAC076wht6GEPQaC2KZAFcufQinHpcV8fznCSLFOK8NS38G4olt4SrylhZ4nblHejB9 ZfdL/FhOM4ucjftWc/S/srYyUo/VdQ4jbKgKsdVozZH7E7iKPQpsnBqrP0IqoNEPsFey DDKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=w30c93KU; 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 z9si2331863jat.41.2021.08.04.06.54.14; Wed, 04 Aug 2021 06:54:14 -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=w30c93KU; 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 S238417AbhHDNyY (ORCPT + 8 others); Wed, 4 Aug 2021 09:54:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46592 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238406AbhHDNyX (ORCPT ); Wed, 4 Aug 2021 09:54:23 -0400 Received: from mail-il1-x12f.google.com (mail-il1-x12f.google.com [IPv6:2607:f8b0:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E128CC0613D5 for ; Wed, 4 Aug 2021 06:54:10 -0700 (PDT) Received: by mail-il1-x12f.google.com with SMTP id i13so1716720ilm.11 for ; Wed, 04 Aug 2021 06:54:10 -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=g50hMA8civVRQsXmP2D/YUX+vZIHViVyDmuVOssC7Q4=; b=w30c93KUxVwBZ3VBYyjcQ5MRZNYgMyjG3joOSYAjPkcGbx20slrAlpUcwJK3ymPSY0 Esfmr/2LqmnuJibtqthwzXWppseDwGodWk8FQBv4oA2HIEaUMYhKwHs7qHw9RYXYeZ+0 mMLj5dniy1j9q/Dn3FdV5KNnUFUYxsJN4InedxNviIgAR4VseFUFx/t4w0g9n4wZ/xNl Yhqh1oAnX3I3z9BWONJoUg2HVip7b6ro0yufEN961cNy9T041HFIAkkJMDFk+LsgxNkd qXJ20dR9Eum9RlUnXtBs3vATn0Qofa9xvOUNWEGtEtun1j6h4MOxwGAseJIoKJYT00O4 O2lQ== 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=g50hMA8civVRQsXmP2D/YUX+vZIHViVyDmuVOssC7Q4=; b=rTsKH8rzo0eCAb6UeEHR73+DBr3nFs4GUgNWnE5yD+N1CohwGLTwXrqNQKmnQQbBFz ETTpQiDtIivm4DD7bZb4a2fsFktEBqOhR6lQkCSKhi3lJQezsUiL7EY7nyYdamaDaysY x4wfEPVGrUfzXY9e0yBdjB5cDfNPMKhwoQfNAywQZNzukjvNRBjFfGGCrAvzsDhjSqFC CODXrcp8tzQUERSR4BswRO7ZObiV98hgkHClAe4MVL8iJ6w8pAcBMWeqrgRVhhmzwKx2 oGyqotqxbm750b/BBFSgztZmrIefzcAOkSYlaA+dW9P9enfl+8Fb2SVhT9Q9tsHghXp9 yoLw== X-Gm-Message-State: AOAM531yoHqliPwC6YC+Y1aaNnij5LgpOD21FFrSAsdP9iti2aXLmwla dvPzdOXbdjOe9SwhbjpppzzZKA== X-Received: by 2002:a92:dacf:: with SMTP id o15mr211090ilq.27.1628085250311; Wed, 04 Aug 2021 06:54:10 -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 w8sm1062088ill.50.2021.08.04.06.54.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Aug 2021 06:54:09 -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.9 interconnects Date: Wed, 4 Aug 2021 08:54:07 -0500 Message-Id: <20210804135407.1358606-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 Three interconnects are defined for IPA version 4.9, but there should only be two. They should also use names that match what's used for other platforms (and specified in the Device Tree binding). Signed-off-by: Alex Elder --- drivers/net/ipa/ipa_data-v4.9.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) -- 2.27.0 diff --git a/drivers/net/ipa/ipa_data-v4.9.c b/drivers/net/ipa/ipa_data-v4.9.c index 6ab928266b5c1..8d83e14819e29 100644 --- a/drivers/net/ipa/ipa_data-v4.9.c +++ b/drivers/net/ipa/ipa_data-v4.9.c @@ -418,18 +418,13 @@ static const struct ipa_mem_data ipa_mem_data = { /* Interconnect rates are in 1000 byte/second units */ static const struct ipa_interconnect_data ipa_interconnect_data[] = { { - .name = "ipa_to_llcc", + .name = "memory", .peak_bandwidth = 600000, /* 600 MBps */ .average_bandwidth = 150000, /* 150 MBps */ }, - { - .name = "llcc_to_ebi1", - .peak_bandwidth = 1804000, /* 1.804 GBps */ - .average_bandwidth = 150000, /* 150 MBps */ - }, /* Average rate is unused for the next interconnect */ { - .name = "appss_to_ipa", + .name = "config", .peak_bandwidth = 74000, /* 74 MBps */ .average_bandwidth = 0, /* unused */ },