Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1878018pxu; Sun, 13 Dec 2020 06:20:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJx71veU5OqtvhZfZqJNseN6Ixq5OKrqRy9L3Iq6MD8TAtWclgM9WfCEfCip1AQTZHh8xvzx X-Received: by 2002:a05:6402:610:: with SMTP id n16mr20341390edv.172.1607869205533; Sun, 13 Dec 2020 06:20:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607869205; cv=none; d=google.com; s=arc-20160816; b=PgCFDaliJTMEM1dKOtD5m5O5h6wizAKe6bja7WK/Cm1dVzTP/LcIhFILLlEthy0jn4 E+N5WuDl9EFkLmnX16D1VRjbW14H9uCX2rrcJGXVrAQgTdMjF46cW4Sww/ZqapbbWOjm 9GbGGA70CLsBih4dTXyrA/C7aZ06qpEvqtEtDjxpQfPSfi76LiRmUhn5WmkPmyTSrW7E H8uO9w1fgahiheeDdixgJ3IEd1DSIJcruAdLpFkkp4L4WPvECVKIIalS6V4ldDJWUZ45 lCxzoOheMpOd8zHj/xzPRRvMgpt6E9KE0D1YAIpnYDmIa86SvpKE77VFaR/3+UXiSL8h 4a0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=KrrfqCz8fMnvHaHUpeYSii56XdL30O9rReJj2B9MO5Y=; b=ufOTMEhnsZqkZ7EoLldPqa+G9Ia6t95ZB+rOoyqbGHSbfepvvEggAAoyndxtJkPhzc /X9hax7HH22chf7dCd2Tento60RmcJaefF0Ll4lM42vImxN4QIa/4mrbjw1pAdT/s0Ma FBM/IPYLnzdv4ljnOrQgJmkvgmHyGcqWQrEpv+/7AHDksore0DRlC7RRhj3f7RCmzjs3 aPD/td7xhZlmuIXzpksBrCuKr+LwCZo0FZHvuw4829+n1v7yoAR2/Gris2qCBXdddi7Q S+sNP0BCWjq7508dTuNk6S+In27kqAM+74B4CN1e+2RO2BFIlwIYK05AIao6PyHryY/4 mAiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DH8VhTet; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s11si8462637edw.280.2020.12.13.06.19.42; Sun, 13 Dec 2020 06:20:05 -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=@linaro.org header.s=google header.b=DH8VhTet; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2438331AbgLLGJW (ORCPT + 99 others); Sat, 12 Dec 2020 01:09:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47924 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2407049AbgLLGJK (ORCPT ); Sat, 12 Dec 2020 01:09:10 -0500 Received: from mail-pf1-x441.google.com (mail-pf1-x441.google.com [IPv6:2607:f8b0:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 331F4C0613D3 for ; Fri, 11 Dec 2020 22:08:30 -0800 (PST) Received: by mail-pf1-x441.google.com with SMTP id c12so8414583pfo.10 for ; Fri, 11 Dec 2020 22:08:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=KrrfqCz8fMnvHaHUpeYSii56XdL30O9rReJj2B9MO5Y=; b=DH8VhTet2wSm66pWTT6sexa+GKrsgAa2RZ0lUe0rK0qB6wJxrl1bQr9rsi5lLJCzMP t4nZHGk77JTx4s6KVuGSWBp1sslP+rME+kYcDZ6jWZ4jOKUEExRCWSSqvoQd7DFmElKq L7aa3IubZ3zPnTuYWOMkG+DNfhzorJdgQ1LvqBmXTzDjBAODiZ4BBuPDRoNUoQw5mbew PHHFQhRsdAGvATgjKIiOpzwEaYg5Mxq9Z2FVhVbYpcuoWTVpttRHH7fJ6fskxfhSECwb hsbirvv+SPX74C9hR1ILC6yvK7KgeW60LUXWL3Cdq/dq1MMnTmn6VfgUenz//5bdoe64 tibQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=KrrfqCz8fMnvHaHUpeYSii56XdL30O9rReJj2B9MO5Y=; b=d7PlC0wJmUwUNa+e3zbiLKgsmL+6Pnoh3Bm9vMkKenpDVoIysKHyfKzCNYzb3j7DKy 6reTW31efb29GsUh7T0FPx6jyEANK8MiDoOdsItc4jHAvBPODoLpGVaMFFkK/Jj3CaZN XbxuvtiZvPhX2Omce3PHqm6k+wBPzfyxnwjbf3Gbwcz65wmlTVzPGqFRl6vHQ7yOptwn wtniUxdRbDH5IwrY8/gdSn/fuiYDcAHg92Em3Qr/v1LaBHquMWNGpxFi1ZLT6w2rqfv5 DxDvImBQQTsKqQd0wxmVLxLnEfUtHScl3QInYUvgMx7gbE0qOrtOZibLc/hLFjXlupZj YP3w== X-Gm-Message-State: AOAM531AZQ5CvyTkpKUP88QM/TsZ4DK9942g0UqxfdB8MsqoSmuZCoIR /x3oTVB/O8zfx5C83XtIGRU1 X-Received: by 2002:a63:7982:: with SMTP id u124mr15124116pgc.259.1607753309565; Fri, 11 Dec 2020 22:08:29 -0800 (PST) Received: from thinkpad ([103.59.133.81]) by smtp.gmail.com with ESMTPSA id v19sm12299536pjg.50.2020.12.11.22.08.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Dec 2020 22:08:28 -0800 (PST) Date: Sat, 12 Dec 2020 11:38:18 +0530 From: Manivannan Sadhasivam To: Jakub Kicinski Cc: Dan Williams , Greg KH , Hemant Kumar , 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: [PATCH v17 3/3] bus: mhi: Add userspace client interface driver Message-ID: <20201212060818.GA10816@thinkpad> References: <1607670251-31733-1-git-send-email-hemantk@codeaurora.org> <1607670251-31733-4-git-send-email-hemantk@codeaurora.org> <81dfd08b90f841194237e074aaa3d57cada7afad.camel@redhat.com> <20201211200816.7062c3f9@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201211200816.7062c3f9@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Dec 11, 2020 at 08:08:16PM -0800, Jakub Kicinski wrote: > On Fri, 11 Dec 2020 11:37:34 -0600 Dan Williams wrote: > > Just to re-iterate: QMI ~= AT commands ~= MBIM (not quite, but same > > level) > > > > We already do QMI-over-USB, or AT-over-CDC-ACM. This is QMI-over-MHI. > > Why do we need a different QMI-over-X for every X? If you say there > are already chardev interfaces to configure WWAN why not provide one > of those? > Just because the underlying PHY is different and it offers more services than just configuring the modem (downloading crash dump, firmware download etc...) The existing chardev nodes are closely tied to the physical interfaces. For instance, /dev/cdc_wdm is used by the USB based WWAN devices. So we really can't reuse it for MHI/PCIe. > > It's not networking data plane. It's WWAN device configuration. > > Ack. Not that network config doesn't fall under networking, but eh. > I wonder - did DaveM ever ack this, or was it just out of his sight > enough, behind the cdev, to never trigger a nack? > > > There are no current kernel APIs for this, and I really don't think we > > want there to be. The API surface is *huge* and we definitely don't > > want that in-kernel. > > It is what it is today for WWAN. I don't think anyone in the > development community or among users is particularly happy about > the situation. Which makes it rather self evident why there is > so much apprehension about this patch set. It's going to be > a user space channel for everything Qualcomm - AI accelerator etc. > Widening the WWAN status quo to more device types. Well not everything Qualcomm but for just the subsystems where there is no standardization right now. I think we went too far ahead for standardizing the modems. Thanks, Mani