Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp838006ybd; Wed, 26 Jun 2019 06:51:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqxsZy/2CtL3wl+gG5/HxT3SDuVrO3/tx3ggTiBHbLs0meoHc55Hg/13/GT+L7s7np4NSKSR X-Received: by 2002:a63:e001:: with SMTP id e1mr3124386pgh.306.1561557091290; Wed, 26 Jun 2019 06:51:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561557091; cv=none; d=google.com; s=arc-20160816; b=yZoneVHZXA5kNCdhnSPBrsmJt2fghROaMTWkVT6u3x7ofXwzHtHjmLOGYKXo4xqWGP j+ecvm5GQN6EIntn7XeCQBHgYQFZcbLMdtuCCPPJ7WPLXtSxEgt0LIH4a+DyL1rteWme OP89zzwHw9EGhVGC/1DKjCXdpSi+eZUveY7dfhFrIA/Jv3PoOc0OwWiMt2T0i3/emeXt rwGa6+8eyQcpwlVpEFgio8GWZ5bJtu8gsskA9eXooMU5ebYtMPfn9azamK5qPVeyXHBn Pxtn/N6JzTBZKsgPVzeWRwTOX62Nf7thYCRNpZ0q4sYT4FUFDe6TDOyTl7LY+pJqWe0f qcsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=qhiniuMba/JWZz4DtFdVyzygq/a6ifqx5axR5It0RV0=; b=G6HKTOuRyqJoBv6DDUD6e0uR4cw7IkdNdRO2V8JI5yFH8RlMVsvwXV4/5TDknfCcYU MLOZ3qg0X/b9B/wyEB1Re54+ALRgYFSkb2hVqd+bCa44/DrE+oek32Sbk8fTLcnAohcF RygbUxKa1CoXet0Jfyvn/Z8IIMwUAMEXA2WBzP6WJbOxeDHhhjyRlb+eN43nTQTSNpy3 Q5ri56Su3KFse9z5Nt4ASI7lqBMpSNqBckm+b2sxvpIP/DHTbmgFy6wGetrGJZmEJKWa J+WxtLdvRLC+iiMomCZNijAYlarVfoe7Y3b0FAtAaXwDTqKvf0GcrHiYlnC4Kgz8CtTB gm+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dLE5440H; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id k17si16261118pgg.426.2019.06.26.06.51.14; Wed, 26 Jun 2019 06:51:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dLE5440H; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1727991AbfFZNvI (ORCPT + 99 others); Wed, 26 Jun 2019 09:51:08 -0400 Received: from mail-io1-f66.google.com ([209.85.166.66]:40164 "EHLO mail-io1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727874AbfFZNvF (ORCPT ); Wed, 26 Jun 2019 09:51:05 -0400 Received: by mail-io1-f66.google.com with SMTP id n5so1787957ioc.7 for ; Wed, 26 Jun 2019 06:51:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=qhiniuMba/JWZz4DtFdVyzygq/a6ifqx5axR5It0RV0=; b=dLE5440HlC3TTuDBSwEG78wHGjrHRqtO5Eko0Iz+zvSod51w0BiJ3Rmo/9TSrfqlfX L14L00JtFnYMz6Sqc11zCuvdgYAQc2oka2/2ApEb1wCtJao0yiiCROnCmzNRqXhtDx/2 ACB8KAp3R2LJcPov5FkXzqBWnzBgcSL1+Cb5SEzUp2F1DHc3fmbEexu4WpZys9PqNIFJ RvpplLPDwvQb/wmJsaTiX1xZcx23HwvjLzRi2PpzhijQ/3SHMTMNh1Sb9AwDd6JTk1nj d3v7u3rGQ4cjlLm1S6QSGPgf+uLZCTSSm/JArvuSgbUA9nyVj2AvTHIl+1YIJJl8RiOA a8eg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=qhiniuMba/JWZz4DtFdVyzygq/a6ifqx5axR5It0RV0=; b=SzBcBR4EPz4LcwPq/tlJCR/ZmDPBmDIBY/3xNMIclwprZAWydXNG4rHZ+G2UpOT2uJ JggcExhslJgw1Mg32lPgxwtDmMYonVqzK8dgjx4bpjkCQEa1k9CcEIa7Ti5pQmEptwKC ExySl+8Iu7+F2i6dRWy2tfUOs3KCz/vFTkEwbAXcFREEPjAVhfQCTWmiH8/hA1ofFpMM ngRx5HPdU+fMKLNeKn5CXuGtanIPW/nN8EGtuGd/gMaT6N3woTvR0jauXFZbQNZERleY pGKTqx1JGfG/amjF2D7ORlNfTGuXSegKUDbCzoFtgvATjw4OfMUVJk6naTV47uGpuoK/ An9A== X-Gm-Message-State: APjAAAVvauZRns4vCIzFi/fMkt9iUAtEb7AbFX04apxk8BEM5rp9hFTd sqhvorSH4rux7z5vY3XZZD1cXA== X-Received: by 2002:a02:b68f:: with SMTP id i15mr4922765jam.107.1561557064470; Wed, 26 Jun 2019 06:51:04 -0700 (PDT) Received: from [172.22.22.26] (c-71-195-29-92.hsd1.mn.comcast.net. [71.195.29.92]) by smtp.googlemail.com with ESMTPSA id e22sm25713339iob.66.2019.06.26.06.51.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Jun 2019 06:51:03 -0700 (PDT) Subject: Re: [PATCH v2 00/17] net: introduce Qualcomm IPA driver To: Arnd Bergmann Cc: Johannes Berg , Dan Williams , Subash Abhinov Kasiviswanathan , abhishek.esse@gmail.com, Ben Chan , Bjorn Andersson , cpratapa@codeaurora.org, David Miller , DTML , Eric Caruso , evgreen@chromium.org, Ilias Apalodimas , Linux ARM , linux-arm-msm@vger.kernel.org, Linux Kernel Mailing List , linux-soc@vger.kernel.org, Networking , syadagir@codeaurora.org References: <380a6185-7ad1-6be0-060b-e6e5d4126917@linaro.org> <36bca57c999f611353fd9741c55bb2a7@codeaurora.org> <153fafb91267147cf22e2bf102dd822933ec823a.camel@redhat.com> From: Alex Elder Message-ID: <2d40bbcc-1d29-3aa7-e8cb-b0bc5835b8dc@linaro.org> Date: Wed, 26 Jun 2019 08:51:02 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6/24/19 11:40 AM, Arnd Bergmann wrote: > On Mon, Jun 24, 2019 at 6:21 PM Alex Elder wrote: >> On 6/18/19 2:03 PM, Johannes Berg wrote: >> >>> Really there are two possible ways (and they intersect to some extent). . . . >>> The other is something like IPA or the Intel modem driver, where the >>> device is actually a single (e.g. PCIe) device and just has a single >>> driver, but that single driver offers different channels. >> >> What I don't like about this is that it's more monolithic. It >> seems better to have the low-level IPA or Intel modem driver (or >> any other driver that can support communication between the AP >> and WWAN device) present communication paths that other function- >> specific drivers can attach to and use. > > I did not understand Johannes description as two competing models > for the same code, but rather two kinds of existing hardware that > a new driver system would have to deal with. Based on my understanding of what he said in a message I just responded to, I think you are exactly right. . . . > What we should try to avoid though is a way to add driver private > interfaces that risk having multiple drivers create similar functionality > in incompatible ways. Agreed. -Alex