Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp3758875rwb; Sat, 12 Nov 2022 12:12:11 -0800 (PST) X-Google-Smtp-Source: AA0mqf5JwGxO9l27mQf0P4Pk7MOBCTg//7jDlL/8X125dlL1m/vjNOMYoU+bFs64DfFt7xugO+dg X-Received: by 2002:a05:6a00:1d9b:b0:56d:a89d:fb9b with SMTP id z27-20020a056a001d9b00b0056da89dfb9bmr8045680pfw.24.1668283930898; Sat, 12 Nov 2022 12:12:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668283930; cv=none; d=google.com; s=arc-20160816; b=SDqupKk5rLIgaZtEQwVZ0MO2uxnGhZwuT6WODuS56/b/3DA3cyg3HI/YHACzKlJORe NVfg9Xx5LQIsWPcbQ5zgM0H+XFVTJtcuNK9xHN5aNGgMAAMBZjpTloLZkDcZdyGM9RMz aHaTjK8cArKZuzu88QZOk+N0YTiXE+NsL/wz+nYra+/+OwivAcw+Mf0qJDzlEK7wGdMF MU5fO0CqERTomOvBdJPUfpGEa8k6R+QAijY8aWhqFBtpaaAJMTdSdVCh3kOPpZt9q16V 7gx97ZU2MyMqo0NtxMWhKVNcSG5hGFQhQE8iVVJb4ozXJDy7IOszRICBfRivFI0hfuS7 /oWg== 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=OjxOPLzWayMM34TYDIOn4YJBIrr4/PeJ0axT2GqWnMo=; b=idjSZvEqLSeoXhvJQQBj/pIPEbIam/w4iSE23V16uC7sgTKFkU6BplKWDb5UxrGHm8 Q/x0x+kOkg/dymmnY1Z+VVB4Xmu1XOfTHgngY0FOM/lcRxLK8m5urJjOLBneM/6IkSy4 pXPF2WRVxRrfe1PbZOq9CwzlCtA15tFV9ze66ndHJ4i9dlS4+6Nw4yUkYlpViyFRYkgT 71YpsAO4+0v8TazZVD4TUKCTmPJxKUpRQe7BH9JHJjpp+9dYNxo8GxV9PePUr+IYWW0p XC3QvuPzX7buFo5VgGwTnmHNcr8shnGn+DSThOh7DL/scuP13kEehAsC9gRchheFi5Ew H+WA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="iA/nY8KL"; 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 c5-20020a170903234500b00186a16c000dsi6430537plh.313.2022.11.12.12.11.58; Sat, 12 Nov 2022 12:12:10 -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="iA/nY8KL"; 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 S234982AbiKLUH2 (ORCPT + 91 others); Sat, 12 Nov 2022 15:07:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35684 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232659AbiKLUHZ (ORCPT ); Sat, 12 Nov 2022 15:07:25 -0500 Received: from mail-il1-x12b.google.com (mail-il1-x12b.google.com [IPv6:2607:f8b0:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 98C8813E2F for ; Sat, 12 Nov 2022 12:07:22 -0800 (PST) Received: by mail-il1-x12b.google.com with SMTP id i5so4004166ilc.12 for ; Sat, 12 Nov 2022 12:07:22 -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=OjxOPLzWayMM34TYDIOn4YJBIrr4/PeJ0axT2GqWnMo=; b=iA/nY8KLi3U1BcdOxgx9+y7xBKt32iOmQLRV4zxGlU3OYYgOR5m2cIQoE4QUBGeB+S gVWvFcaEdu5hCkJjMG40CiQa6YF/vUetF5fJO2qkkyjiY+ZHi4ZHS2sIkb4yk0BK42Zw 3vQkR/HO5cFnZmwczrZdcU5nuK6sRu6/nz8M8sPAjQ+c/h3TdLvalPVKnvgcOte5TFvC ++4sRaEqt9NlecVe24kG4dVbMN+6zk+u97cPsE/0SPsxR9QjHx7o/Bao4ixnZwzcFweV yn1fKfOVudFsnlYHTNw/cuVC8V3GS3ZbLA6qV4MEhyX7cXhaZ6ro4afRTDLUBLzp7TQj Y9ig== 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=OjxOPLzWayMM34TYDIOn4YJBIrr4/PeJ0axT2GqWnMo=; b=ZqQw2FFHgCllV5DU3/dalgyW3XRT+dCs0cpNDWF4XhnzRSYuR0dehnF/5UADmupvGw h4ZhfpVGorDbxoHyPYcLzQ50uQiizX9y0Jd0kgrLxWaY+dow6mi/oETjM9XGzqVclE6f Um+ckRa0RicPN9PrJmb8eBoPTZOVOKsBiz5KK+O6h7Wd+JCW3S0dKINMphN9dEejuJSe 9FHrmdURcgxRynxbnoAUQBHlMw3JhixXHVyFoG07dqgOTUPd3BXUdHvtyG01vl1Ninmi SR7/8itY1v8+A98KcmG3zyvM7/FkY5U5BbtBegjDsfme7iUgdN5mSln5yP2dB0wDP+/q aJGg== X-Gm-Message-State: ANoB5pnAzqtA9Whj6e+52KggAl5RDN6wQSCGZjqBk+gdkWUxg3fESKzm 17BcbOxMNmdWK+OvwIgzLK/xWA== X-Received: by 2002:a92:d94f:0:b0:2fa:b811:ed3b with SMTP id l15-20020a92d94f000000b002fab811ed3bmr3542403ilq.288.1668283641934; Sat, 12 Nov 2022 12:07:21 -0800 (PST) Received: from presto.localdomain ([98.61.227.136]) by smtp.gmail.com with ESMTPSA id j28-20020a02cb1c000000b00363dee286edsm2036870jap.60.2022.11.12.12.07.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 12 Nov 2022 12:07:21 -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 0/5] net: ipa: change GSI firmware load specification Date: Sat, 12 Nov 2022 14:07:12 -0600 Message-Id: <20221112200717.1533622-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 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 | 61 +++++++++--- drivers/net/ipa/ipa_main.c | 95 +++++++++++++++---- 2 files changed, 126 insertions(+), 30 deletions(-) -- 2.34.1