Re: [PATCHv2 1/4] modem_shm: Add Modem Access Framework
From: Greg KH <gregkh@linuxfoundation.org>
Date: 2012-08-08 13:37:56
Also in:
lkml
On Wed, Aug 08, 2012 at 05:36:05AM +0200, Arun MURTHY wrote:
quoted
On Tue, Aug 07, 2012 at 12:24:28PM +0530, Arun Murthy wrote:quoted
Adds Modem Access Framework, which allows for registering platformspecificquoted
modem access mechanisms. The framework also exposes APIs for clientdriversquoted
for getting and releasing access to modem, regardless of theunderlyingquoted
platform specific access mechanism.The term "modems" here has a lot of legacy connotations. First of which is, userspace handles this today as tty devices, why aren't you doing the same here? Why does this have to be something "special"?The main focus over there the modem IPC.
Over where? What "modem IPC"? You need to really explain what you are doing here, as I have no idea. And I have no idea why you still can't just use a tty device, why can't you?
In doing so, there are some functionality like waking the modem, or releasing the modem etc. These will be used by the modem IPC drivers and also few others like sim driver and security drivers.
What's a "sim driver", and what type of "security drivers" are you referring to?
Since this is a shared call and hence has to be synchronized. Hence so a small framework like is being done to monitor the modem access related only operations.
Again, why can't the tty layer do this for you? greg k-h