Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp303934rwb; Wed, 16 Nov 2022 00:23:48 -0800 (PST) X-Google-Smtp-Source: AA0mqf57XIhhRF5yLytBAswHHohYFaQLarKC5z4ZXezSUWRXpeiSJs0B79WIhx3s4W90xO2K7oqB X-Received: by 2002:aa7:c9c2:0:b0:45c:c64d:a6ac with SMTP id i2-20020aa7c9c2000000b0045cc64da6acmr18137891edt.416.1668587028403; Wed, 16 Nov 2022 00:23:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668587028; cv=none; d=google.com; s=arc-20160816; b=f5FIKClQwNSz4+xF/kojBvW/3e+IOEguIpy5eblc1sbOMkzUNcLmiapLRuiUEFMbhV PbJwlgpksuzNWenTqEekm6pWovws2yKRCTyWrlEwKyKDl+1oUQHB5/N3w9e+soTQgKIK 6vGRGJmAsYQWuwgZWoKp/lsOz8fw5rnH/Fb6WMYYpgBuWpJissWixowSnQAPnya0QH/4 fPk/mkp8W3FBV6L+wqPB2IY87/9Gk1z01xcgX4Es3suLx069JhlmxitBUay/Cs5p2496 UFjMVla5OM0tRFgBnmIsAEozpKbqHVNQbQKyoV/yVOUbXatSBlh6TXIBrgIu+m3xI6K0 G5vQ== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u11-20020a50eacb000000b00459a0a21965si13332702edp.516.2022.11.16.00.23.26; Wed, 16 Nov 2022 00:23:48 -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 + 90 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 ); 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 ; Tue, 15 Nov 2022 23:33:02 -0800 (PST) Received: by mail-wr1-x431.google.com with SMTP id y16so28438254wrt.12 for ; 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 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: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) -- 2.34.1