Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp837950pxx; Tue, 27 Oct 2020 01:23:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy3jbQi9iwKuEyZV1YJjOEQs17UiW9HV+kOWpD6OnfPEH40l5X0K+TLTRKyrrOuyLRDFbGx X-Received: by 2002:a17:906:1e08:: with SMTP id g8mr1265169ejj.358.1603787030794; Tue, 27 Oct 2020 01:23:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603787030; cv=none; d=google.com; s=arc-20160816; b=aWlKUDvss6Z47GN/F/q3BD9lF06xFO6Sd7CnEm8WTMLSwl+jf4CgTd2gY8cUPR9xzW 993LGVlnKOG+GwZhNAahxWxD0/PxkhiI7AqJ0DeOj+9OXgsvtZAt/LFc9Ua0fFu8YsKv d/FgTFG5S5ulWg2TZ2X6JtgV30RlC4lSbOLEk0AZt0EDEdlvXmlRNLgdWwixo66XyFTq GPQu7dnwPisssiRH7wWnuXNl2cyg/Ct4Y/TlDQ0jRNInXvV0HSjn4CCGP1m8/1AOLQsv iZ3/8v/toR3dM17uXg6pRQBCyEaqLDOf8Uvmm8tDYHGwX1r+F3BiygADrtXcJw/fwNUm cGEg== 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=qfqnN8kewdEWKs8j7pXJZatcdpFRqM8grrstHaGRuac=; b=LQ+q5ggFj8cyWvF7EeMRfYPpmxbNnyF+vKSs1no8L+BsspZnduXESeGq+nJNDDqHgX qtaER9nivWfHgxZmmZPrVkIFEpGgGQai3oAMjTggxLL9BcKnuVxCnI3csirNG1s4UBES V3qoQQMklDOKWuJ2cm2gNH0WWzftfGzvmnly1Ns0vrFZQeuQoTBdt1j7gm72enUi9vd/ GyigoCzOnrUuXbvm76e7CSKbghq9tzp2yYrqNqciC7UaZkoRuewBvYoZwuAhJbL5mrog iH0povV3JwHLPIKgJk+fawPHgBI8LAt38rJAxKQ9AREoEFANAyqVPGcRRq+DXEfEp24o E49w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=0zTw8Aen; 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 f25si583902ejh.309.2020.10.27.01.23.28; Tue, 27 Oct 2020 01:23:50 -0700 (PDT) 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=default header.b=0zTw8Aen; 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 S2394936AbgJZW4T (ORCPT + 99 others); Mon, 26 Oct 2020 18:56:19 -0400 Received: from mail.kernel.org ([198.145.29.99]:48486 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2394842AbgJZW4S (ORCPT ); Mon, 26 Oct 2020 18:56:18 -0400 Received: from kicinski-fedora-PC1C0HJN.hsd1.ca.comcast.net (unknown [163.114.132.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D1F9F20709; Mon, 26 Oct 2020 22:56:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603752978; bh=ed2zP2Q4+R9HFumLdNYzSm30Gi9PR7ZxcInXxwiPO1o=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=0zTw8AenVmXHoi5LHbLxI59SMaoOmkxUjJR2m1kY4kELosVMI/Tp05cxUHjpzPuvc GtHgqEeooGBJYqTxBIWY+ePtm51PZd7VD27gS+NxfZJHuFxGqWMocPHS2hu89+cqSe 41mi6pdAh/qHja5uG2amXpAbIpOmO3J4Lhk9dINs= Date: Mon, 26 Oct 2020 15:56:17 -0700 From: Jakub Kicinski To: Jeffrey Hugo Cc: Hemant Kumar , manivannan.sadhasivam@linaro.org, gregkh@linuxfoundation.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, bbhatt@codeaurora.org, loic.poulain@linaro.org, netdev@vger.kernel.org Subject: Re: [PATCH v9 3/4] docs: Add documentation for userspace client interface Message-ID: <20201026155617.350c45ab@kicinski-fedora-PC1C0HJN.hsd1.ca.comcast.net> In-Reply-To: References: <1603495075-11462-1-git-send-email-hemantk@codeaurora.org> <1603495075-11462-4-git-send-email-hemantk@codeaurora.org> <20201025144627.65b2324e@kicinski-fedora-PC1C0HJN.hsd1.ca.comcast.net> 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 Mon, 26 Oct 2020 07:38:46 -0600 Jeffrey Hugo wrote: > On 10/25/2020 3:46 PM, Jakub Kicinski wrote: > > On Fri, 23 Oct 2020 16:17:54 -0700 Hemant Kumar wrote: > >> +UCI driver enables userspace clients to communicate to external MHI devices > >> +like modem and WLAN. UCI driver probe creates standard character device file > >> +nodes for userspace clients to perform open, read, write, poll and release file > >> +operations. > > > > What's the user space that talks to this? > > Multiple. > > Each channel has a different purpose. There it is expected that a > different userspace application would be using it. > > Hemant implemented the loopback channel, which is a simple channel that > just sends you back anything you send it. Typically this is consumed by > a test application. > > Diag is a typical channel to be consumed by userspace. This is consumed > by various applications that talk to the remote device for diagnostic > information (logs and such). > > Sahara is another common channel that is usually used for the multistage > firmware loading process. Thanks for the info, are there any open source tests based on the loopback channel (perhaps even in tree?) Since that's the only channel enabled in this set its the only one we can comment on.