lkml.org 
[lkml]   [2013]   [Jan]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v2] ARM: PL011: Add support for Rx DMA buffer polling
From
> Then it can use DMA polling post-wakeup?
Yes, It will be switched back to DMA polling on UART IRQ.

> What do you mean by "user" here? Userspace? Or
> "platform data parameter"?
platform data parameter

> Not platform I think. Per usecase.
> Are you not actually thinking about things like the above?
> These are usecase requirements, not platform requirements.
I mean that:
Platform knows the requirement of it's ports (It can be usecase above)
and can set the poll rate with platform data parameter. Some port is
enough to do with slow poll rate, some need fast poll rate for the fast
response. Of course some port don't need rx dma and polling, in this case
we can set the poll rate to 0. If we fix the poll rate to the scale
of baud rate, we don't have such flexibility.

Anyway I just want to know we still need auto scale of poll rate.
If this become clear, I will prepare v3 of this patch.

Thanks
Chanho


\
 
 \ /
  Last update: 2013-01-30 02:21    [W:0.061 / U:0.492 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site