Re: [RESEND PATCHv5 09/11] modem_shm: Character device for SHMchannel access.

From: Sjur BrÃndeland
Date: Thu Aug 02 2012 - 08:11:05 EST


>On Thu, Aug 2, 2012 at 12:25 PM,
>Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> wrote:
>> Add a character device implementation for the SHM stream channels.
>> The character device provides asynchronous IO and ring-buffer handling.
>> The device copies data directly from the Shared Memory area into
>> user-land buffers.
>
> What is the use case for this - it seems a little odd that it's not using
> the tty layer so won't work with all the normal modem apps as anyone
> would expect and want ?

Hi Alan,

Thank you for reviewing this patch.

I am working on a re-spin of the entire patch-set for Modem-SHM using
the RemoteProc framework from Ohad Ben Cohen and using Virtio as
transport mechanism between modem and host. I hope to be able to
use Virtio Console for the tty.The use-case tty/char device is for
transfering boot images to the modem and fetch crash logs.

For normal operation of the modem the CAIF protocol is used. I'm writing
on a new CAIF-Virtio driver for this that works with the RemoteProc
framework.

Regards,
Sjur
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/