Received: by 2002:a19:651b:0:0:0:0:0 with SMTP id z27csp3628435lfb; Mon, 9 May 2022 00:19:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw+p5aPKvC7DVX2cm4yLZIexGOfOu+cZA15DQSO5/U+ABnAHpuldzlHGvSENQrXL1dHa08g X-Received: by 2002:a17:902:ce88:b0:15e:a392:137a with SMTP id f8-20020a170902ce8800b0015ea392137amr14800709plg.41.1652080741967; Mon, 09 May 2022 00:19:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652080741; cv=none; d=google.com; s=arc-20160816; b=OzfOYpi29h0iJ7vg2FozQxwz7ZLhccZmi0VpWP+/DvDf+EueBFygtHG4tr8pWCpmZ+ n3gmgPHVTyNJcYUSqP5OjJn9bw4j+ecaBKJSNed9kxpnoZLJEnTLHNJSdd1HVI8TFwnT L+rBkKK/GtZB3RXAML8p+8iEHEapayHyam6VzISjXZvbh0BjkJxQiRUdOf6XC144S3pb C0vaMduBRSBijr/2IMDrI0XjZvG++Mb0hQYr5495c408uCodk+OMyUTmZZ5VX1xw5ZTy t3a7Un3M4Ek4izakGEBGzJ1mmvSdml2ga9rhjJ+/s9Z48wsxEMjzkX5or15IaDoBepnE 7QVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=SroFlihw0xrmqVAe3WcslL+6J94hjxKWX4nAeb+7dXE=; b=uxJE9hArO9KBUcAbqwmzwjlCaaI70Nu01SOSTp6mIC8Nck2HEbqjjWOTk8hMv7QRkL Ie8vA6yFnsSmjwKssJnyKV5/LHjYsdLte7cMWODokrlcYwROy+EgBfJO0pP43t3nO3Jm 6zosQmgA+lXpc5+2xJRx3hzC83e3IJe9Uz3fAGXQKcUOzZDI1gLkZSMV2t+kjSPRQyit muZo+IGa6S4KhHjurdzzYJ5i8Sc/JKRh2rpwCXhu3PWsJNQggBOgdOmQr4/CBTL86fFo FcRXTlzshbeqDXsdKg1PuNy3sBOsjy97t4llfC7g0cCDNd+S7KaGzZI8eqGNuIJq7/wJ p9Qg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=aQczqjAe; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id l16-20020a17090aaa9000b001d952d60f67si18326043pjq.45.2022.05.09.00.19.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 May 2022 00:19:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=aQczqjAe; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 5B22C13B8CD; Mon, 9 May 2022 00:15:52 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1443851AbiEFQti (ORCPT + 69 others); Fri, 6 May 2022 12:49:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51622 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343762AbiEFQti (ORCPT ); Fri, 6 May 2022 12:49:38 -0400 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DC7A52AC44; Fri, 6 May 2022 09:45:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1651855554; x=1683391554; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=sHOpTDaVdHwXHGQJz+fHBf4Vwt0d9C/WRQnUKVhhBo4=; b=aQczqjAe4oYx51T5ivVE1oQQgIITqbqcgSpcvBVqdG3MSJsPbcWP3Ciu m9Hby0AE8jnE2XBOxdX+P1DfaXYEdokIQCM/63tOiMzPu5Sjkkj+DXBP5 Qo4npAXTVSmG9i0obkR97DzQcnP6XuLrN9DTnaVWrKiWPbV7yoYV79mIh Y1xbceI+RlSasr4gYYeoAOQEEdDZNADyRqVambzWXStUbAxk/0PlN9Bjq wOTaF04OsQ0zUIja99zqtgxP/3tkeGDQ48xAnFmTRVfcnI877Htdx2i33 Gts6JV2Qw/K20Ic3WGWD+phShOimdanaaPEfNWSAmcIG12qsbeRg/CXxS A==; X-IronPort-AV: E=McAfee;i="6400,9594,10339"; a="268659447" X-IronPort-AV: E=Sophos;i="5.91,203,1647327600"; d="scan'208";a="268659447" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 May 2022 09:45:54 -0700 X-IronPort-AV: E=Sophos;i="5.91,203,1647327600"; d="scan'208";a="812456991" Received: from rmarti10-mobl2.amr.corp.intel.com (HELO [10.255.230.121]) ([10.255.230.121]) by fmsmga006-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 May 2022 09:45:53 -0700 Message-ID: Date: Fri, 6 May 2022 09:45:46 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 Subject: Re: [PATCH net-next v7 00/14] net: wwan: t7xx: PCIe driver for MediaTek M.2 modem Content-Language: en-US To: Sergey Ryazanov Cc: netdev@vger.kernel.org, linux-wireless@vger.kernel.org, Jakub Kicinski , David Miller , Johannes Berg , Loic Poulain , M Chetan Kumar , "Devegowda, Chandrashekar" , Intel Corporation , chiranjeevi.rapolu@linux.intel.com, =?UTF-8?B?SGFpanVuIExpdSAo5YiY5rW35YabKQ==?= , "Hanania, Amir" , Andy Shevchenko , "Sharma, Dinesh" , "Lee, Eliot" , "Jarvinen, Ilpo Johannes" , "Veleta, Moises" , "Bossart, Pierre-louis" , "Sethuraman, Muralidharan" , "Mishra, Soumya Prakash" , "Kancharla, Sreehari" , "Sahu, Madhusmita" References: <20220506011616.1774805-1-ricardo.martinez@linux.intel.com> From: "Martinez, Ricardo" In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE 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-wireless@vger.kernel.org On 5/6/2022 6:43 AM, Sergey Ryazanov wrote: > Hello Ricardo, > > On Fri, May 6, 2022 at 4:16 AM Ricardo Martinez > wrote: >> t7xx is the PCIe host device driver for Intel 5G 5000 M.2 solution which >> is based on MediaTek's T700 modem to provide WWAN connectivity. >> The driver uses the WWAN framework infrastructure to create the following >> control ports and network interfaces: >> * /dev/wwan0mbim0 - Interface conforming to the MBIM protocol. >> Applications like libmbim [1] or Modem Manager [2] from v1.16 onwards >> with [3][4] can use it to enable data communication towards WWAN. >> * /dev/wwan0at0 - Interface that supports AT commands. >> * wwan0 - Primary network interface for IP traffic. >> >> The main blocks in t7xx driver are: >> * PCIe layer - Implements probe, removal, and power management callbacks. >> * Port-proxy - Provides a common interface to interact with different types >> of ports such as WWAN ports. >> * Modem control & status monitor - Implements the entry point for modem >> initialization, reset and exit, as well as exception handling. >> * CLDMA (Control Layer DMA) - Manages the HW used by the port layer to send >> control messages to the modem using MediaTek's CCCI (Cross-Core >> Communication Interface) protocol. >> * DPMAIF (Data Plane Modem AP Interface) - Controls the HW that provides >> uplink and downlink queues for the data path. The data exchange takes >> place using circular buffers to share data buffer addresses and metadata >> to describe the packets. >> * MHCCIF (Modem Host Cross-Core Interface) - Provides interrupt channels >> for bidirectional event notification such as handshake, exception, PM and >> port enumeration. >> >> The compilation of the t7xx driver is enabled by the CONFIG_MTK_T7XX config >> option which depends on CONFIG_WWAN. >> This driver was originally developed by MediaTek. Intel adapted t7xx to >> the WWAN framework, optimized and refactored the driver source code in close >> collaboration with MediaTek. This will enable getting the t7xx driver on the >> Approved Vendor List for interested OEM's and ODM's productization plans >> with Intel 5G 5000 M.2 solution. >> >> List of contributors: >> Amir Hanania >> Andriy Shevchenko >> Chandrashekar Devegowda >> Dinesh Sharma >> Eliot Lee >> Haijun Liu >> M Chetan Kumar >> Mika Westerberg >> Moises Veleta >> Pierre-louis Bossart >> Chiranjeevi Rapolu >> Ricardo Martinez >> Madhusmita Sahu >> Muralidharan Sethuraman >> Soumya Prakash Mishra >> Sreehari Kancharla >> Suresh Nagaraj >> >> [1] https://www.freedesktop.org/software/libmbim/ >> [2] https://www.freedesktop.org/software/ModemManager/ >> [3] https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_requests/582 >> [4] https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_requests/523 > Now the driver looks really nice. Good job! Thanks Sergey.