[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOAMb1Bf-kB1=HkgMd_w-5v6Wh0XVX4knotiOu5CLKqQg+3X9g@mail.gmail.com>
Date: Wed, 30 Jan 2013 09:53:03 +0900
From: Chanho Min <chanho.min@....com>
To: Linus Walleij <linus.walleij@...aro.org>
Cc: Russell King - ARM Linux <linux@....linux.org.uk>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Alan Cox <alan@...ux.intel.com>, linux-kernel@...r.kernel.org,
Pawel Moll <pawel.moll@....com>, linux-serial@...r.kernel.org
Subject: Re: [PATCH v2] ARM: PL011: Add support for Rx DMA buffer polling
> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists