[PATCH 1/2] spi: Allow master drivers to set realtime priority
Linus Walleij
linus.walleij at linaro.org
Thu Mar 23 06:10:35 PDT 2017
On Thu, Mar 23, 2017 at 11:36 AM, Lukas Wunner <lukas at wunner.de> wrote:
> Commit 14af60b6fb3b ("spi/pl022: Add high priority message pump
> support") extended the pl022 driver to optionally run the message pump
> kworker thread with realtime priority, subject to a bool set by the
> platform.
>
> Commit ffbbdd21329f ("spi: create a message queueing infrastructure")
> moved a large portion of pl022 to generic code, making the realtime
> priority support available to other drivers.
>
> However the priority is set to MAX_RT_PRIO - 1, higher than most IRQs
> and identical to the CPU timer clock threads. This seems excessive so
> make the priority configurable.
>
> Cc: Mark Brown <broonie at kernel.org>
> Cc: Chris Blair <chris.blair at stericsson.com>
> Cc: Linus Walleij <linus.walleij at linaro.org>
> Cc: Mathias Duckeck <m.duckeck at kunbus.de>
> Signed-off-by: Lukas Wunner <lukas at wunner.de>
Looks reasonable to me.
Reviewed-by: Linus Walleij <linus.walleij at linaro.org>
Yours,
Linus Walleij
More information about the linux-rpi-kernel
mailing list