Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753110Ab2HBMLI (ORCPT ); Thu, 2 Aug 2012 08:11:08 -0400 Received: from mail-ey0-f174.google.com ([209.85.215.174]:51472 "EHLO mail-ey0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752774Ab2HBMLG (ORCPT ); Thu, 2 Aug 2012 08:11:06 -0400 MIME-Version: 1.0 In-Reply-To: <20120802112542.6ae3dd8f@pyramind.ukuu.org.uk> References: <1327999726-8774-1-git-send-email-sjur.brandeland@stericsson.com> <1327999726-8774-10-git-send-email-sjur.brandeland@stericsson.com> <20120802112542.6ae3dd8f@pyramind.ukuu.org.uk> Date: Thu, 2 Aug 2012 14:11:05 +0200 Message-ID: Subject: Re: [RESEND PATCHv5 09/11] modem_shm: Character device for SHM channel access. From: =?UTF-8?Q?Sjur_Br=C3=A6ndeland?= To: Alan Cox Cc: linux-kernel@vger.kernel.org, Arnd Bergmann , Linus Walleij , Ohad Ben-Cohen Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1275 Lines: 32 >On Thu, Aug 2, 2012 at 12:25 PM, >Alan Cox 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/