Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp3685586pxb; Mon, 21 Feb 2022 03:41:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJxhGRcKi+obxBRez996XfLZp7L8sZ+LCNhuBWvRpNtiD7CU5akCDSX8ZaSpdzkAv8cuBds/ X-Received: by 2002:a62:7e06:0:b0:4e0:f0f8:9b86 with SMTP id z6-20020a627e06000000b004e0f0f89b86mr20028122pfc.26.1645443686999; Mon, 21 Feb 2022 03:41:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645443686; cv=none; d=google.com; s=arc-20160816; b=ckAOzx0NopVfverYvrATdZihgB8K2qSIBZSqMEcV86bAIUxgvlU1V4JpBkN+hF7tCh cnkx+Xo8Q+LsnI6gDlzsk6LaLzx+CZg51pqWlx6nmgLA2NidfQsQhDMZATqrMJGhnIhQ VVv66vg+cFguFbR5pQJmDlJtagY4fao+jHsYdvZbnUwJKfz3vWtq0HK93XuBmRDLVS+F EUUmwQlbAweJ60yqi6lxfP3rKBZ35ihltT22H+AJKULRSZaCcQr8760dTD0ZGVUyuELc O424iWD9hePb5/j5XaQy8lxYpvxS8rKbRjy7shN3dtp407BokCRhlMvu5/uxq64zwj61 uVYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=zBMxT6mUsrZF5CxDEWFMeByDYV1JnyiE3N8k2hcGECU=; b=QAnmP+7zMajRkVAg//F+nmmqAp59qaPFuTGnPnp5EUR/PiWxN/TIcUnBv/htcyy00a Teotrg14IhguhmK8t8vSde4yyEV7NpukVSgUYnHELUXVQckoQQ3rZ3/4imci2aab4YO9 fTQFgCP1OrWciYJ8Na3sKgTDX4Obm4PJFQFPELmdlhjI1HbCTlmxoQRX0z5013AHwv/b 9b1dwvAlsMpaBkjFWG1AHwW4UXqlZ2TxpegrR178uxWdtHU6KKpf2JMDgoaftNuB6Fse Su44DPpuVaSIL3h1pYSSdKBsbza5ogR4Non56guvfCTkCpW2q7/dzWSKbd3kVFOHy3SU xngA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=oqqOHqSy; 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 v10si20383776pgt.424.2022.02.21.03.41.12; Mon, 21 Feb 2022 03:41:26 -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=oqqOHqSy; 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 S1355941AbiBULR4 (ORCPT + 99 others); Mon, 21 Feb 2022 06:17:56 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:48034 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1356007AbiBULPm (ORCPT ); Mon, 21 Feb 2022 06:15:42 -0500 Received: from mail-pj1-x102d.google.com (mail-pj1-x102d.google.com [IPv6:2607:f8b0:4864:20::102d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 898936392 for ; Mon, 21 Feb 2022 02:55:43 -0800 (PST) Received: by mail-pj1-x102d.google.com with SMTP id t4-20020a17090a3b4400b001bc40b548f9so1984887pjf.0 for ; Mon, 21 Feb 2022 02:55:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=zBMxT6mUsrZF5CxDEWFMeByDYV1JnyiE3N8k2hcGECU=; b=oqqOHqSypYg25IJxdVoI6B6JMbaJVEET4dh0ZwvKdM02nESkKShqcQcEAeJH4V0VCM uXI9iuhFXbb++O9ukcBiCbNALAKfx5DpdMHwczy9DbTUsW44kL/lnka85qqWvRej0RPF RnZ5VQi9/Mjq9HqVC0zMI/jx6jaX6l3eySLLacUi2cknQyzHpMuotUajsmC3GEpzlOin o1tPkiMKwsJupC8oYXfyRQVBef8zEU0ZGw4rtAZoHwAnKLbd9vZK1AgZndTWoifXBC8/ AuESCa6BessImTSDHkf64leJzic5r/rVZzBOg5nQtxSNoV3iHs4YEsgn1YleKilaig88 BkCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=zBMxT6mUsrZF5CxDEWFMeByDYV1JnyiE3N8k2hcGECU=; b=THltHa8S4wBh8OVdVdmYyJPzXZ3bth6z2tgm7uZtBBlgN8hHnAUvW95dK56Oon6nTM bGqs/MUFUeV6m5FRYp5k7vsY9Eee6YTfqSRZItL/WzqInUTcdYMY20BLLD4m0aAMBRk0 srGofZH7AVUkZ3qLp0lEAIY0MeBd/8D0RjBrXdatYiZijFEb+7evPMQoclCml0dQStog pdKN5/tmfrDpnysbfNk1kGiEtRHB63bCYJ4ECBwdgNTlB2AsRYJKcJY8Utw35Itoko3j Ekvt5xZkpn2pSLQoDEO1V1+4PCTTSy8kPgFEiePyXbEbmG8+hG4rdDAxLSm+2m1jUM8/ rl4g== X-Gm-Message-State: AOAM530MoyBas849IzMbgYnoGlJrs77itfzNSKTGIS3tDio9pUfyLaEi INcN1YpP99eGQss5AtyKP87WFFw+fKZ1WAwCD5UTPQ== X-Received: by 2002:a17:90a:db90:b0:1bc:529f:7071 with SMTP id h16-20020a17090adb9000b001bc529f7071mr1589092pjv.40.1645440943069; Mon, 21 Feb 2022 02:55:43 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Loic Poulain Date: Mon, 21 Feb 2022 11:55:07 +0100 Message-ID: Subject: Re: [PATCH] net: wwan: To support SAHARA port for Qualcomm WWAN module. To: =?UTF-8?B?6LCtIOawuOaelw==?= Cc: "ryazanov.s.a@gmail.com" , "johannes@sipsolutions.net" , "davem@davemloft.net" , "kuba@kernel.org" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" , Manivannan Sadhasivam Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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,T_SCC_BODY_TEXT_LINE 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 On Mon, 21 Feb 2022 at 10:27, =E8=B0=AD =E6=B0=B8=E6=9E=97 wrote: > > Dear Loic, > > The Qualcomm x24&x55&x6x platform are all using SAHARA port to collect me= mory dump log. User can use QLOG tool to collect the whole memory dump of d= evice while the device entered into Dump mode. The firehose protocol is use= d to download FW from the host, it's different from SAHARA. MHI CH 2&3 are = used as SAHARA CH but firehose use 34&35 CH. Ah right, firehose programmer is loaded when entering EDL mode, not SBL. > > The bus driver use " MHI_CHANNEL_CONFIG_UL&DL_SBL " to initiate SAHARA CH= configs. > > The code is Quectel EM1XX channel config. > MHI_CHANNEL_CONFIG_DL_SBL(3, "SAHARA", 32, 0), > > For example, > - Once the device crashed due to some reasons. > - The module entered into DUMP mode(SBL Stage), and changed the EE to SBL= . > - Then the host should detect the change and re-enumerate the SAHARA port= . > - Then users can use QLOG tool to collect the Device Memory LOG by SAHARA= Protocol via CH 2&3. OK, you should add that to the commit message. Also, instead of exposing the raw sahara protocol, can't this be integrated with the devcoredump framework (https://lwn.net/Articles/610887/)? Regards, Loic