From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0C983C48BD6 for ; Wed, 26 Jun 2019 17:48:59 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DA76D216FD for ; Wed, 26 Jun 2019 17:48:58 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="VEaFbJYG" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DA76D216FD Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=sipsolutions.net Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Mime-Version:References:In-Reply-To: Date:To:From:Subject:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=DvnnM0It9ihvIt56k0MRxK4HyqdEjgAzCjLmExdB6Xk=; b=VEaFbJYGHkwauO sqLmwLK0dNbmb99MyP/M31U9Mxro0sZyt1Gh6ZPK/6iXtxM8tb2PJqqPcz49AQXCqAjGDlmyAlMhk U0B4TVdfPxlCXbNroL24ez6NLP5HsTcb2R6LGo3kk+ulUk/rrQjY0//5jiZAyysovF5WRTyNsrefM spDzMj6VTcDrXFLE0IG3ZmNwkaqlx5hVZ2XOWS2ax9pNGPqWGXOCR3LJCLp7qGl9mYDm9reig3QtV NTU84G8nJ3Q0HHYnEyCCJr9+1J0xHcFrwhMnAfJETr7PdEPa4SSw5Mla3HeMkkupYDDKcGKk/zNy+ 2zDYByPYaUEUmeByXBAg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hgC2O-0002ri-C0; Wed, 26 Jun 2019 17:48:52 +0000 Received: from s3.sipsolutions.net ([2a01:4f8:191:4433::2] helo=sipsolutions.net) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hgC2L-0002rN-6b for linux-arm-kernel@lists.infradead.org; Wed, 26 Jun 2019 17:48:50 +0000 Received: by sipsolutions.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1hgC2C-0007vw-Ho; Wed, 26 Jun 2019 19:48:40 +0200 Message-ID: <9e46f95b8727c8b95aedb144970986a21266983c.camel@sipsolutions.net> Subject: Re: [PATCH v2 00/17] net: introduce Qualcomm IPA driver From: Johannes Berg To: Arnd Bergmann , Alex Elder Date: Wed, 26 Jun 2019 19:48:38 +0200 In-Reply-To: (sfid-20190626_155908_107021_A3066824) References: <380a6185-7ad1-6be0-060b-e6e5d4126917@linaro.org> <36bca57c999f611353fd9741c55bb2a7@codeaurora.org> <153fafb91267147cf22e2bf102dd822933ec823a.camel@redhat.com> (sfid-20190626_155908_107021_A3066824) X-Mailer: Evolution 3.28.5 (3.28.5-3.fc28) Mime-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190626_104849_243813_E78A1F1E X-CRM114-Status: GOOD ( 15.41 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: DTML , syadagir@codeaurora.org, Eric Caruso , David Miller , Dan Williams , linux-arm-msm@vger.kernel.org, Ilias Apalodimas , Linux Kernel Mailing List , evgreen@chromium.org, Bjorn Andersson , Linux ARM , Networking , Subash Abhinov Kasiviswanathan , linux-soc@vger.kernel.org, abhishek.esse@gmail.com, cpratapa@codeaurora.org, Ben Chan Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, 2019-06-26 at 15:58 +0200, Arnd Bergmann wrote: > > > The IPA hardware is actually something that sits *between* the > > AP and the modem. It implements one form of communication > > pathway (IP data), but there are others (including QMI, which > > presents a network-like interface but it's actually implemented > > via clever use of shared memory and interrupts). > > Can you clarify how QMI fits in here? Do you mean one has to > talk to both IPA and QMI to use the modem, or are these two > alternative implementations for the same basic purpose? I'm not going to comment on QMI specifically, because my understanding might well be wrong, and any response to your question will likely correct my understanding :-) (Thus, you should probably also ignore everything I ever said about QMI) > My previous understanding was that from the hardware perspective > there is only one control interface, which is for IPA. Part of this > is abstracted to user space with ioctl commands to the IPA driver, > and then one must set up rmnet to match these by configuring > an rmnet device over netlink messages from user space, but > rmnet does not have a control protocol with the hardware. Right so this is why I say it's confusing when we just talk about "control interface" or "path". I see multiple layers of control * hardware control, which you mention here. This might be things like "enable/disable aggregation on an rmnet channel" etc. I guess this type of thing would have been implemented with ioctls? Not the aggregation specifically, but things that affect how you set up the hardware. * modem control, which we conflate, but can be like AT commands or MBIM. From the kernel driver POV, this is actually just another channel it provides for userspace to talk to the modem. johannes _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel