From patchwork Thu Oct 27 12:26:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Elder X-Patchwork-Id: 11761 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp199871wru; Thu, 27 Oct 2022 05:27:33 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6hzEXE52PJp5hGv1rjlWKdblfkPWJwYLChuAZe2+5PfyCSm1QXO1uxF3RBm6W2+OyW5ZGZ X-Received: by 2002:aa7:c58e:0:b0:461:77b:7bd with SMTP id g14-20020aa7c58e000000b00461077b07bdmr34786591edq.387.1666873652923; Thu, 27 Oct 2022 05:27:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666873652; cv=none; d=google.com; s=arc-20160816; b=yuLF/69vbMb4S29ptdFT6qA5Nq5dz0UlS0hjam3YV37dHs6+mNtAzVSWOwGRGF2LrT 5qLoKhhxRhM0WTjz0jmHalQRy5TBVNmSxkRGJFjcmNGsQy6yL0Udc8SdX8QHPUZX9NLu y/RQFs9vMKBxN5N1mcm7K1IhY5SVDS6HIvwDKtpllrbJPo+bAQ6JxOY7k1l9G4DBK2ZA 8smV+wBfmreAd71WnT9is4NOBZZnuDPIhzoziYL2h+jU/JDb7xIg5Pd/ZvnCLzk2Isac 5hMF+kCoG6SO9uZYtznhw2Bx/71ixySa9OujLLkLEl7qkzcheLyb0fEaXAu5oeHHuX9p tdAQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=MjjSjVxz43dPoj+rB5pDgaOIlILrA2m91ybZAXvDhDE=; b=vhrP+OBvKKXLB0uozfFTqgd9k7xmZOhvzr91CL9W7WDK5p8py9WqKaXn1q7rXguiy+ tMimf4q2gqTInM+bHPvlit1RsZfCYayB0Bhs+t71xAlkndgWS0fOhJpiTBfoJWqek4e4 MenwmRepg8wTNjtXScLQGAjOGbDM0M+IHrySYKmdPZfzhsT8w8Wrnv31Pc58G9e0e1pn zEceimt6FiaFVKFIiQqnhayJVvafw7VQvNp+9E6amGv3iAbPC8oCwC2nHxnri5nZ3pEP NnpDTNPSkpiSz9TtG5rMbSaYLMWPfJtwly7g/R7exPgl3nCPUuDoGCW/LLFP6sxyBgie tYDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="LFbhw/vD"; 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 cw17-20020a170906479100b0078d9f02b452si1351695ejc.861.2022.10.27.05.27.08; Thu, 27 Oct 2022 05:27:32 -0700 (PDT) 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="LFbhw/vD"; 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 S235535AbiJ0M0p (ORCPT + 99 others); Thu, 27 Oct 2022 08:26:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38864 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235480AbiJ0M0j (ORCPT ); Thu, 27 Oct 2022 08:26:39 -0400 Received: from mail-io1-xd2d.google.com (mail-io1-xd2d.google.com [IPv6:2607:f8b0:4864:20::d2d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D58DE132EBD for ; Thu, 27 Oct 2022 05:26:38 -0700 (PDT) Received: by mail-io1-xd2d.google.com with SMTP id 11so1305212iou.0 for ; Thu, 27 Oct 2022 05:26:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=MjjSjVxz43dPoj+rB5pDgaOIlILrA2m91ybZAXvDhDE=; b=LFbhw/vDugO3V+guejpZp9r55Py7iMGG6jyjnu9kESgzHZbFfP+VFBMim552nitqST Q8p7/ZL3JQTGEFe2PDO7eWH8E69a6ayRvfK2N4xY2CIm6EToqdRKuRV0kQPX1UC9A9XK L2+6sNH0CvZ0+rFiZRuJ4E69Vbbz/17nG8QEkMBlqUpTiACt75Wgnjl4SS6+XAL0S8Yj JI8xZl+RxmcjpHDJk8uIOrrZ0DLKxNAhs4yxWScvT20VSb3SkOoJWBvU9Q+77eo4u1dd tvQ8m+AaFCszslPrcET1X+Lkclnc+l2rhhll3YGJc2dTtjrnWBrqEi9Tg2+f3qXdFMT2 r6DA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=MjjSjVxz43dPoj+rB5pDgaOIlILrA2m91ybZAXvDhDE=; b=QJerwaM00wk/fUq18YZp6TLj1dYUhhUAL6RPWTAcniGF3jBw9NFWJLIvaH+3UQwHZb IZPd76mmEDIldeg8wrJV909pS7TBIPrZzYcPpJVjLKETHV9Frax1186GqGjYg6lw6q0/ Ic+p6WMPnc/McvuonmfsjQoxqDNHgpfo9m62V34dg5ITXjvTHEIcwUFwIJ8y8OvHd3SF ckRznMfwiYDLq0/W2pXMlchqfJk9THG9skIf/VC8crTFN4M1CeMxZQA8rdou5l5bJQtI asH5F943RgM66q0jYK2B08iEf7J++y9rjEfuMnPowOH0l2ctYqgsXNZR5A6YT4bhqsSc A7wQ== X-Gm-Message-State: ACrzQf0M9m3XBbs0w7HJ7f8FRG60t/R5dUxJ3kx3afIl2K+anbfdWA1K NSbhp7SWejNQrLPR0FmHL0LZUA== X-Received: by 2002:a5d:9ac1:0:b0:6a3:1938:e6b0 with SMTP id x1-20020a5d9ac1000000b006a31938e6b0mr28385734ion.186.1666873598126; Thu, 27 Oct 2022 05:26:38 -0700 (PDT) Received: from localhost.localdomain ([98.61.227.136]) by smtp.gmail.com with ESMTPSA id w24-20020a05663800d800b003566ff0eb13sm526528jao.34.2022.10.27.05.26.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Oct 2022 05:26:37 -0700 (PDT) From: Alex Elder To: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com Cc: mka@chromium.org, evgreen@chromium.org, andersson@kernel.org, quic_cpratapa@quicinc.com, quic_avuyyuru@quicinc.com, quic_jponduru@quicinc.com, quic_subashab@quicinc.com, elder@kernel.org, netdev@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH net-next 1/7] net: ipa: define IPA v5.0 Date: Thu, 27 Oct 2022 07:26:26 -0500 Message-Id: <20221027122632.488694-2-elder@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221027122632.488694-1-elder@linaro.org> References: <20221027122632.488694-1-elder@linaro.org> MIME-Version: 1.0 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=unavailable 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747843707427320940?= X-GMAIL-MSGID: =?utf-8?q?1747843707427320940?= In preparation for adding support for IPA v5.0, define it as an understood version. Signed-off-by: Alex Elder --- drivers/net/ipa/ipa_version.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/ipa/ipa_version.h b/drivers/net/ipa/ipa_version.h index 7870e0cc3d7c9..7889c310e943d 100644 --- a/drivers/net/ipa/ipa_version.h +++ b/drivers/net/ipa/ipa_version.h @@ -19,6 +19,7 @@ * @IPA_VERSION_4_7: IPA version 4.7/GSI version 2.7 * @IPA_VERSION_4_9: IPA version 4.9/GSI version 2.9 * @IPA_VERSION_4_11: IPA version 4.11/GSI version 2.11 (2.1.1) + * @IPA_VERSION_5_0: IPA version 5.0/GSI version 3.0 * @IPA_VERSION_COUNT: Number of defined IPA versions * * Defines the version of IPA (and GSI) hardware present on the platform. @@ -36,6 +37,7 @@ enum ipa_version { IPA_VERSION_4_7, IPA_VERSION_4_9, IPA_VERSION_4_11, + IPA_VERSION_5_0, IPA_VERSION_COUNT, /* Last; not a version */ }; @@ -48,6 +50,7 @@ static inline bool ipa_version_supported(enum ipa_version version) case IPA_VERSION_4_5: case IPA_VERSION_4_9: case IPA_VERSION_4_11: + case IPA_VERSION_5_0: return true; default: return false;