From mboxrd@z Thu Jan 1 00:00:00 1970 From: Linus Walleij Subject: Re: [PATCH 1/2] spi: Allow master drivers to set realtime priority Date: Thu, 23 Mar 2017 14:10:35 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Cc: Mark Brown , "linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Chris Blair , Mathias Duckeck , linux-rpi-kernel , Stephen Warren , Lee Jones , Eric Anholt To: Lukas Wunner Return-path: In-Reply-To: Sender: linux-spi-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: On Thu, Mar 23, 2017 at 11:36 AM, Lukas Wunner 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 > Cc: Chris Blair > Cc: Linus Walleij > Cc: Mathias Duckeck > Signed-off-by: Lukas Wunner Looks reasonable to me. Reviewed-by: Linus Walleij Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html