Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 405BAC433FE for ; Sat, 12 Nov 2022 20:07:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234948AbiKLUH1 (ORCPT ); Sat, 12 Nov 2022 15:07:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35682 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231768AbiKLUHZ (ORCPT ); Sat, 12 Nov 2022 15:07:25 -0500 Received: from mail-il1-x12c.google.com (mail-il1-x12c.google.com [IPv6:2607:f8b0:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 953D513E06 for ; Sat, 12 Nov 2022 12:07:22 -0800 (PST) Received: by mail-il1-x12c.google.com with SMTP id e19so4024217ili.4 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=ywf/WOuYte1MnI8ewFtmRISPCk7lGmRJUpNnzw9PeMqQsum36Fbz6O8E12EUpx6wls syTwskCOwP7+WASpBXktdxEyykCj0orvy6jmpf2SnwGwR6QWQJjCEIT1C/RsJOdzLVgI ZI5EyklFOs9gl4IeWsE8pzj7lMTB3532cY7xdgvXXkAeHc+o0HFHzTv2dvPVm8vVunXn Yn5s/3Y3c+aSv0L0K4oEaHXIM8YYmcmnveifC91xlcStWpPAZjKBqlQp5jCIDGCW+3Z/ mGchstFFAVnW1XbIMIlQb/Q1j/mwsq6F3YVJwPj5f6MSjb/d/lRs/D7VsLctrEelzNTP qmeQ== X-Gm-Message-State: ANoB5pnIksETluacBL2Gwv+zAfVwb3hzTytveFzlkBrB4T4nLH6brF6L bC6iqoCATutUaFW+VfM1lr0weg== X-Google-Smtp-Source: AA0mqf5drpD8vXv0IYl+bsRyK3KVibZiYUaxs3V3jfCSnCrUqrdVqDjUDJv+4zodL7XSBnDO8Su2qA== 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 Precedence: bulk List-ID: X-Mailing-List: devicetree@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