Re: [PATCH 1/2] drm/vmwgfx: Drop preempt_disable() in vmw_fifo_ping_host()

2020-02-28 Thread bige...@linutronix.de
On 2020-02-26 15:01:15 [+], Thomas Hellstrom wrote: > Hi, Sebastian, Hi Thomas, > I suppose there isn't something like a preempt_disable_unless_RT() > macro? We got rid of most users of "preempt_disable_unless_RT()" since it was used as a duct tape. We still have it in the rt-devel tree but

Re: [PATCH 1/2] drm/vmwgfx: Drop preempt_disable() in vmw_fifo_ping_host()

2020-02-26 Thread Thomas Hellstrom
On Mon, 2020-02-24 at 15:07 +0100, Sebastian Andrzej Siewior wrote: > vmw_fifo_ping_host() disables preemption around a test and a register > write via vmw_write(). The write function acquires a spinlock_t typed > lock which is not allowed in a preempt_disable()ed section on > PREEMPT_RT. This has