lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <b7d2f4d9-6755-c099-07f7-f503b97c9f09@codeaurora.org>
Date:   Mon, 26 Oct 2020 16:22:07 -0700
From:   Hemant Kumar <hemantk@...eaurora.org>
To:     Jakub Kicinski <kuba@...nel.org>,
        Jeffrey Hugo <jhugo@...eaurora.org>
Cc:     manivannan.sadhasivam@...aro.org, gregkh@...uxfoundation.org,
        linux-arm-msm@...r.kernel.org, linux-kernel@...r.kernel.org,
        bbhatt@...eaurora.org, loic.poulain@...aro.org,
        netdev@...r.kernel.org
Subject: Re: [PATCH v9 3/4] docs: Add documentation for userspace client
 interface

Hi Jakub,

On 10/26/20 3:56 PM, Jakub Kicinski wrote:
> 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.
> 
i am not aware of any open source tests based on loopback channel. My 
testing includes multiple sessions of echo, cat etc using adb to confirm 
what is sent is received back. Loic is using UCI driver for his use case 
too.

Loic, in case you have any use case (which is part of open source) which 
can use UCI driver, pls share that info ?

I think as soon as UCI becomes part of the tree, more and more channels 
would get added to the driver having open source code for that from 
other folks in community (Loic would be one of them i guess).

Thanks,
Hemant
-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ