Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp826662pxb; Tue, 2 Feb 2021 20:23:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJxHaH39P9mSfE5PUInrrSsUZ70MtHutpdFREnPRKhdpppfqeMqTOF8521MlK9Hk+r2lui9m X-Received: by 2002:a17:906:c09:: with SMTP id s9mr1263116ejf.539.1612326236579; Tue, 02 Feb 2021 20:23:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612326236; cv=none; d=google.com; s=arc-20160816; b=SdPI01hSVU7NyQL5KZzdYV/smx1un4af9nrxoOUs0kCE1jFgAPoxEDHA5twjt2fS3O 1GWKjLc+Tsl+8pZyOWAKnAUBmoE8dTX+yUFPAUXj12pHH/hw+f6gpud5J+2oaDEOKQqL etMo29eS8zv1OIUegxFtL7lkCV8OfKwXYVs+yM6D1CtVhHX0wRnbkzo5N8+A5+jE67Q2 EQYc7djOyufJoSn/Wi/VDXITfXqMTzPLEtvRgXjmZKCtd0Zv3RiBoT3+tEYIbpd86iQz 8r7rstlo/agwbx+u3we+gYWrHVs013FI/LS8OT/mzYCeuc3357PGX9AipUStNAGwbBuR JMuw== 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:subject:cc:to:from:date :dkim-signature; bh=ttrf7XE50UNYdmR3pwz7G/mOvprjG6s/7YTPvoQULDI=; b=yCwi/wgT7HOvGruTXQ6giyzPfx9Xf96U9KVVNqPL71vdi/nNjTEPrehWWCy6wWgqte wGJZDEcZdl1XmEICJW3T1FwJI4Tuj48gYvEcCFh1KSbbgOnW8ROZTwAbFuDbMYtW1EpM 6LUiK0skzeqZOBh6KVQg9iyWLi0AUvtfTXorgnx4k/qji1oJtOb3b2il+/sT8NxgV0y7 dJc1nc8Ib+MEmuaE4XDmS7c/lIcf0OQx97Lsa4xDdyFC84meyWmFou/52LUIX9gMq9mC 2A6+Ke3IyBiQshKwsyzLuj7Ryu0LzbobTSt2A2dSVyxndbRTgAS4zRTfFypiMiCsOf9V qHFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=t1tmvtZ8; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hq16si603158ejc.710.2021.02.02.20.23.32; Tue, 02 Feb 2021 20:23:56 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=t1tmvtZ8; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232169AbhBCEK5 (ORCPT + 99 others); Tue, 2 Feb 2021 23:10:57 -0500 Received: from mail.kernel.org ([198.145.29.99]:41230 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229511AbhBCEKu (ORCPT ); Tue, 2 Feb 2021 23:10:50 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 8E44E64E24; Wed, 3 Feb 2021 04:10:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1612325410; bh=CgdJbQTrFCDwJM3Jryez1J/78+dy9W2vLlpmLQkxPDA=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=t1tmvtZ8aaBM2IF9857xU1FKwCRPAiQV3IZrANGiEHIjoJzaN6dkoevY6/lseZvRa wgQa+HQrpLoMfzR0FVeGNaD32C7ecLr8k3S4mksejZ6iQZNkBMNFqRQ0NwZT70jgcJ WFP22O8sHuJOywhUBVWmfMSsSk791iz6SGzkeEdEV8R4YWNzNF3PhZ8PIHgXJqZX6F LcQj1hGUUDWd6mFHcHJkVzZkq8LRlxKAbYHBz9nIDdTmlvQ9cLPj8R0lQD+oIch4Rg WMQj52l4oGIsaaEoJOsfw1M9mjDXqcnAo1Pz7uCbng8b66Az53ZCyPtu9GoZVCUUH2 2v7wjOy5paI2A== Date: Tue, 2 Feb 2021 20:10:08 -0800 From: Jakub Kicinski To: Manivannan Sadhasivam Cc: Greg KH , davem@davemloft.net, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, jhugo@codeaurora.org, bbhatt@codeaurora.org, loic.poulain@linaro.org, netdev@vger.kernel.org Subject: Re: [RESEND PATCH v18 0/3] userspace MHI client interface driver Message-ID: <20210202201008.274209f9@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: <20210202042208.GB840@work> References: <1609958656-15064-1-git-send-email-hemantk@codeaurora.org> <20210113152625.GB30246@work> <20210201105549.GB108653@thinkpad> <20210201121322.GC108653@thinkpad> <20210202042208.GB840@work> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2 Feb 2021 09:52:08 +0530 Manivannan Sadhasivam wrote: > > > I don't see the connection here, sorry. > > > > For instance USB_NET_CDC_MBIM driver creates the /dev/cdc-wdmX chardev node for > > configuring the modems which supports MBIM protocol over USB. Like that, this > > driver creates /dev/mhiX_MBIM chardev node for configuring the modem over MHI > > bus instead of USB. The question arised why we are creating a chardev node for > > each supported configuration (channels in the case of MHI) and why can't we use > > the existing /dev/cdc-wdmZ interfaces? The anwser is there is no standard > > subsystem for WWAN and all the drivers represent a chardev which gets used by > > the userspace tools such a Network manager for establishing connection. > > > > And /dev/cdc-wdmX is restricted to the USB CDC devices. > > > > Hope this clarifies! > > Jakub, Dave, Adding you both to get your reviews on this series. I've > provided an explanation above and in the previous iteration [1]. Let's be clear what the review would be for. Yet another QMI chardev or the "UCI" direct generic user space to firmware pipe?