Message ID | 20221116073257.34010-1-elder@linaro.org |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a40e:b0:83:7221:86ba with SMTP id ck14csp254646dyb; Tue, 15 Nov 2022 23:33:45 -0800 (PST) X-Google-Smtp-Source: AA0mqf7yrhjTulaLenHmuYZs/KWa/2ISjomMQ/LmvjqTXoD6enebMKdhu4usfMFg9cwyGFmMxNFZ X-Received: by 2002:a17:90a:f80e:b0:200:6637:a9e3 with SMTP id ij14-20020a17090af80e00b002006637a9e3mr2333729pjb.176.1668584025087; Tue, 15 Nov 2022 23:33:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668584025; cv=none; d=google.com; s=arc-20160816; b=KUJirW0BY8vkrxc1Dncc0GYAvtAhafHJsP9cDe1woDHO8nCEBksN1qciIZJxW03kHp FweL3Jmsn6rHe1Jx5PXCOuNgdIaJyBMn0zCj5VLzNzb3jxCw80+hT8I1asIK5DfMA/b7 77GAs1V7Vcb62GSa7T6EIpwzm6jvXHfK9jKN1xkXyVH/S4bGGXBFTKGNgzBQEldNAMsl rjFeK7AExdk/u31KF6BaJ2KviXQopPV4GLdiDZSCggEVtHxIXrK3FrJmnuWynwAzEphI hF+UbWq+wcD/T8k1d3FkzpnPkeNiBWsXzRUG789nQo/HlEaOneR6J0VudRhr/VFgwYTN l4Jg== 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=gVVk4rPqVJ+nI9+Wk7suoLY9Sdv75O8vEmrQasB0XMM=; b=JtyJhJrut9x9DhYw3nGm7sZah5wgRpNCl395g81Bl5LODHU2xHDnMf2lvgcyfJEB6p /zKxkgkp9ImohlzjYhhei1jLxHtPnx/0gtJbV56aCL+5/EFLCqw8Dv0HXfjOoEIhIyGs 6e4fCQg/My2y4kCSt04wHIM4xHYTT8/hVvQ9Yg2upE06ZlkW8eOfzdu5BXy056Tl6ELt 0K08iEQrLZv3qdvBoVOraatCoZNCVt4keGaUYz0mcHwbLLvtHYwjE7Z8RxrOM53d90wl Lt5xowhT1aYbrILL2fC3Q2cVmOFUPdV7wZwQZ1PKIpbtboooKiqPqC3D2gvSDzS9oWOb dMkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ezU1MOhu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i186-20020a6387c3000000b004769f0faab8si5600787pge.740.2022.11.15.23.33.31; Tue, 15 Nov 2022 23:33:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ezU1MOhu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S232680AbiKPHdF (ORCPT <rfc822;maxim.cournoyer@gmail.com> + 99 others); Wed, 16 Nov 2022 02:33:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47952 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232501AbiKPHdD (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 16 Nov 2022 02:33:03 -0500 Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8DF94F7 for <linux-kernel@vger.kernel.org>; Tue, 15 Nov 2022 23:33:02 -0800 (PST) Received: by mail-wr1-x431.google.com with SMTP id y16so28438254wrt.12 for <linux-kernel@vger.kernel.org>; Tue, 15 Nov 2022 23:33:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=gVVk4rPqVJ+nI9+Wk7suoLY9Sdv75O8vEmrQasB0XMM=; b=ezU1MOhuwcskDPEe2bAhdvR+saE8yzF7v50He6N3NYDA1e9oyfiK0xPq/mtJzqf6zo hV3LIOzYgJ+2LZlLEk3wlsgHkCYlPabAM7ejHya7guA8ZshDLICtfFxKM4yrLtRZq4uD j38fLLpxY20S+xJ3DHEGn1kCYmVZWlu0QPjNEyxYCQ4ecRCiwQLryn153Ovy0t6Y0Ig0 uQ28ddCIkeDEAWhkqWiSezzs98gD2fGopOKA+jM++ODFnhHLL9W3XnWOtF6pGZC3Qo9f danLss66FfMq0m2B3K+UzXK8FxXcU64qZhuwzodNH2l7NTEaJ8FPhTEOeyfNRUe5mG5G 427w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=gVVk4rPqVJ+nI9+Wk7suoLY9Sdv75O8vEmrQasB0XMM=; b=VptkX+qs370w0o9BeXxhK6DCNlrmX1nxFjIX/AljQU30I05DX7b2K7s9ashV5USpc/ GXgMSut+YVk+VRBcfO5fqchxRUXcg3cUSHRpKVY3S1RcdxfyuKva+VNCjnLZptJgF5Hs 8kmhmd3qJBj2PeBOigq/dMoM2OYtXjacpxf0wDxaQ+RxKpYvpINRIYTknY8xnfU5Vqt0 /59Qz5oQHNrduodAVZHfU7j8YvlUtlRT0QkZImr4ZKfCVsQRBVhBxBLejSpOX/Fkid78 xlPZ8bY9VGDdnE3af/OM97cpTPdP0rv2O1jFUgv+nIA3p2Ey0B/x1JK69KGCcb9QdHzD ZDzA== X-Gm-Message-State: ANoB5pmpQsnR3W4q6u2Ly+aZ2VsFIIMyo8A1tXOvaQT9jOCWParzWefP 4yXk7/+1i7k3rSlL50mPKf0vBw== X-Received: by 2002:a05:6000:24f:b0:232:eb2:6a33 with SMTP id m15-20020a056000024f00b002320eb26a33mr13198010wrz.325.1668583981057; Tue, 15 Nov 2022 23:33:01 -0800 (PST) Received: from zoltan.localdomain ([167.98.215.174]) by smtp.gmail.com with ESMTPSA id g34-20020a05600c4ca200b003cfd4e6400csm1058823wmp.19.2022.11.15.23.32.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Nov 2022 23:32:59 -0800 (PST) From: Alex Elder <elder@linaro.org> To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com Cc: andersson@kernel.org, konrad.dybcio@linaro.org, agross@kernel.org, elder@kernel.org, linux-arm-msm@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH net-next v3 0/5] net: ipa: change GSI firmware load specification Date: Wed, 16 Nov 2022 01:32:51 -0600 Message-Id: <20221116073257.34010-1-elder@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749637162405445744?= X-GMAIL-MSGID: =?utf-8?q?1749637162405445744?= |
Series |
net: ipa: change GSI firmware load specification
|
|
Message
Alex Elder
Nov. 16, 2022, 7:32 a.m. UTC
Version 3 just adds reviewed-by tags for Krzysztof Kozlowski. Version 2 of this series modifies the first patch only. One section in the description is reworded, and the example now consistenly describes the SC7180 SoC, both as suggested by Krzysztof. Currently, GSI firmware must be loaded for IPA before it can be used--either by the modem, or by the AP. New hardware supports a third option, with the bootloader taking responsibility for loading GSI firmware. In that case, neither the AP nor the modem needs to do that. The first patch in this series deprecates the "modem-init" Device Tree property in the IPA binding, using a new "qcom,gsi-loader" property instead. The second and third implement logic in the code to support either the "old" or the "new" way of specifying how GSI firmware is loaded. The last two patches implement a new value for the "qcom,gsi-loader" property. If the value is "skip", neither the AP nor modem needs to load the GSI firmware. The first of these patches implements the change in the IPA binding; the second implements it in the code. -Alex Alex Elder (5): dt-bindings: net: qcom,ipa: deprecate modem-init net: ipa: encapsulate decision about firmware load net: ipa: introduce "qcom,gsi-loader" property dt-bindings: net: qcom,ipa: support skipping GSI firmware load net: ipa: permit GSI firmware loading to be skipped .../devicetree/bindings/net/qcom,ipa.yaml | 78 +++++++++++---- drivers/net/ipa/ipa_main.c | 95 +++++++++++++++---- 2 files changed, 135 insertions(+), 38 deletions(-)
Comments
Hello: This series was applied to netdev/net-next.git (master) by Jakub Kicinski <kuba@kernel.org>: On Wed, 16 Nov 2022 01:32:51 -0600 you wrote: > Version 3 just adds reviewed-by tags for Krzysztof Kozlowski. > > Version 2 of this series modifies the first patch only. One section > in the description is reworded, and the example now consistenly > describes the SC7180 SoC, both as suggested by Krzysztof. > > Currently, GSI firmware must be loaded for IPA before it can be > used--either by the modem, or by the AP. New hardware supports a > third option, with the bootloader taking responsibility for loading > GSI firmware. In that case, neither the AP nor the modem needs to > do that. > > [...] Here is the summary with links: - [net-next,v3,1/5] dt-bindings: net: qcom,ipa: deprecate modem-init https://git.kernel.org/netdev/net-next/c/4ca0c6474f71 - [net-next,v3,2/5] net: ipa: encapsulate decision about firmware load https://git.kernel.org/netdev/net-next/c/50f803d4aa71 - [net-next,v3,3/5] net: ipa: introduce "qcom,gsi-loader" property https://git.kernel.org/netdev/net-next/c/07f2f8e1b747 - [net-next,v3,4/5] dt-bindings: net: qcom,ipa: support skipping GSI firmware load https://git.kernel.org/netdev/net-next/c/a49c3ab7d75f - [net-next,v3,5/5] net: ipa: permit GSI firmware loading to be skipped https://git.kernel.org/netdev/net-next/c/7569805ec26e You are awesome, thank you!