Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2491469pxb; Thu, 11 Feb 2021 13:53:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJxDO7xkpH260PQKYYRCBOs8J7MNGfzE/bb6KpsqT2hOAjgzq6ttXnoMzGcgYD2WXterVs9Y X-Received: by 2002:a17:906:38c3:: with SMTP id r3mr10653175ejd.193.1613080392030; Thu, 11 Feb 2021 13:53:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613080392; cv=none; d=google.com; s=arc-20160816; b=z9v5pb9Tfq2JrM0leIw7ez7D7aNOYCHv433lJSVzWiwo+uNbBieTWxNJJsvv9uDeyH LoWJ7HOt3GaMG93noRwKNJ0f9xZsBfCAmY2VqHVnn7WumA8KDZD1L81zJ8/lATI9+tgZ yTO7WvrnvKwGe17qPH+Fl0J3yIYqhk6Pr3oHKBv3srOny64Wyidyzzvo43SZezcJGNRf O/eAehhoa/TFiQuYkFdGW7mSF6v6HlRIBGA/t5sWg0ag+U4G+mrC8MlGmk+d8v3xosFX 6KdFEkEBCkWtnEYXlw+9uDhPKMNZ3Sha0TwdA+TvTLYg5nAvG0yV9gdcBr+umEjPb7m7 p4NQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=RcHn4qIjiSisiTvCS1/D4NBflIUItqKFyXejysdk84I=; b=NRHd/Ayg/1YS5sCTjImHP9byrG1tC/jfiz5klROPmPuW1uXpz9Ir4gw2ZRIqJAKN3b PBrxTe1Axc6BkXX3pVqk7vNWcvOGUwnXFjK74u/Y7DbrVQBaftL0H/0mhoRaGRAjXhG2 F0X3mjdMFmtjd/lUptOtKf+zmhCh0hjl61UaL2AcPaHKx0TMnTRqElJjgcvnJecAnqIL 5O02mDxnjM+T0Jj25TvH0p0/pQceITP/kF6+hmVrY3ARQLBbZV1qhCRqW2DXWfzK+keN iU85NWcY9rv5sKcAbILUITOrVVQinFylnNHuOvNJEnruqwIPxxOKUqMPKQtWXi/l0tL7 KveQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v4si4598043edy.79.2021.02.11.13.52.49; Thu, 11 Feb 2021 13:53:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229913AbhBKVvw (ORCPT + 99 others); Thu, 11 Feb 2021 16:51:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50322 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229768AbhBKVvu (ORCPT ); Thu, 11 Feb 2021 16:51:50 -0500 Received: from relay01.th.seeweb.it (relay01.th.seeweb.it [IPv6:2001:4b7a:2000:18::162]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8ACFDC0613D6 for ; Thu, 11 Feb 2021 13:51:09 -0800 (PST) Received: from IcarusMOD.eternityproject.eu (unknown [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by m-r1.th.seeweb.it (Postfix) with ESMTPSA id D0B9C1F506; Thu, 11 Feb 2021 22:51:07 +0100 (CET) Subject: Re: [PATCH v1 0/7] Add support for IPA v3.1, GSI v1.0, MSM8998 IPA To: Alex Elder , elder@kernel.org Cc: bjorn.andersson@linaro.org, agross@kernel.org, davem@davemloft.net, kuba@kernel.org, linux-arm-msm@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, konrad.dybcio@somainline.org, marijn.suijten@somainline.org, phone-devel@vger.kernel.org References: <20210211175015.200772-1-angelogioacchino.delregno@somainline.org> <3a596fce-9aa3-e2eb-7920-4ada65f8d2ee@ieee.org> From: AngeloGioacchino Del Regno Message-ID: Date: Thu, 11 Feb 2021 22:51:07 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 MIME-Version: 1.0 In-Reply-To: <3a596fce-9aa3-e2eb-7920-4ada65f8d2ee@ieee.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Il 11/02/21 21:27, Alex Elder ha scritto: > On 2/11/21 11:50 AM, AngeloGioacchino Del Regno wrote: >> Hey all! >> >> This time around I thought that it would be nice to get some modem >> action going on. We have it, it's working (ish), so just.. why not. > > Thank you for the patches! > > I would like to review these carefully but I'm sorry > I won't be able to get to it today, and possibly not > for a few days.  But I *will* review them. > Don't worry :)) > I just want you to know I'm paying attention, though > I'm sort of buried in an important issue right now. > > I'm very impressed at how small the patches are though. Actually, the driver is in a great shape. That's why the patches are that small: thanks to you! -- Angelo > >                     -Alex > >> This series adds support for IPA v3.1 (featuring GSI v1.0) and also >> takes account for some bits that are shared with other unimplemented >> IPA v3 variants and it is specifically targeting MSM8998, for which >> support is added. >> >> Since the userspace isn't entirely ready (as far as I can see) for >> data connection (3g/lte/whatever) through the modem, it was possible >> to only partially test this series. >> Specifically, loading the IPA firmware and setting up the interface >> went just fine, along with a basic setup of the network interface >> that got exposed by this driver. >> >> With this series, the benefits that I see are: >>   1. The modem doesn't crash anymore when trying to setup a data >>      connection, as now the modem firmware seems to be happy with >>      having IPA initialized and ready; >>   2. Other random modem crashes while picking up LTE home network >>      signal (even just for calling, nothing fancy) seem to be gone. >> >> These are the reasons why I think that this series is ready for >> upstream action. It's *at least* stabilizing the platform when >> the modem is up. >> >> This was tested on the F(x)Tec Pro 1 (MSM8998) smartphone. >> >> AngeloGioacchino Del Regno (7): >>    net: ipa: Add support for IPA v3.1 with GSI v1.0 >>    net: ipa: endpoint: Don't read unexistant register on IPAv3.1 >>    net: ipa: gsi: Avoid some writes during irq setup for older IPA >>    net: ipa: gsi: Use right masks for GSI v1.0 channels hw param >>    net: ipa: Add support for IPA on MSM8998 >>    dt-bindings: net: qcom-ipa: Document qcom,sc7180-ipa compatible >>    dt-bindings: net: qcom-ipa: Document qcom,msm8998-ipa compatible >> >>   .../devicetree/bindings/net/qcom,ipa.yaml     |   7 +- >>   drivers/net/ipa/Makefile                      |   3 +- >>   drivers/net/ipa/gsi.c                         |  33 +- >>   drivers/net/ipa/gsi_reg.h                     |   5 + >>   drivers/net/ipa/ipa_data-msm8998.c            | 407 ++++++++++++++++++ >>   drivers/net/ipa/ipa_data.h                    |   5 + >>   drivers/net/ipa/ipa_endpoint.c                |  26 +- >>   drivers/net/ipa/ipa_main.c                    |  12 +- >>   drivers/net/ipa/ipa_reg.h                     |   3 + >>   drivers/net/ipa/ipa_version.h                 |   1 + >>   10 files changed, 480 insertions(+), 22 deletions(-) >>   create mode 100644 drivers/net/ipa/ipa_data-msm8998.c >> >