spi/pl022: Add high priority message pump support
authorChris Blair <chris.blair@stericsson.com>
Thu, 2 Feb 2012 12:59:34 +0000 (13:59 +0100)
committerGrant Likely <grant.likely@secretlab.ca>
Thu, 2 Feb 2012 18:32:16 +0000 (11:32 -0700)
commit14af60b6fb3b76634278364b697dae2f9f360abf
tree7b454608c85bb6823384009a90ebe290431f17cf
parent90bbf4fdf2dc64aa7c20a93a9744c56a566baf26
spi/pl022: Add high priority message pump support

This switches the PL022 worker to a kthread in order to get
hold of a mechanism to control the message pump priority. On
low-latency systems elevating the message kthread to realtime
priority give a real sleek response curve. This has been
confirmed by measurements. Realtime priority elevation for
a certain PL022 port can be requested from platform data.

Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Viresh Kumar <viresh.kumar@st.com>
Signed-off-by: Chris Blair <chris.blair@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/spi/spi-pl022.c
include/linux/amba/pl022.h