[PATCH v2] drm/i915: Don't disable interrupts independently of the lock

2019-10-18 Thread Sebastian Andrzej Siewior
The locks (active.lock and rq->lock) need to be taken with disabled interrupts. This is done in i915_request_retire() by disabling the interrupts independently of the locks itself. While local_irq_disable()+spin_lock() equals spin_lock_irq() on vanilla it does not on PREEMPT_RT. Chris Wilson

Re: [PATCH v2] drm/i915: Don't disable interrupts independently of the lock

2019-10-17 Thread Chris Wilson
Quoting Sebastian Andrzej Siewior (2019-10-17 09:40:01) > The locks (active.lock and rq->lock) need to be taken with disabled > interrupts. This is done in i915_request_retire() by disabling the > interrupts independently of the locks itself. > While local_irq_disable()+spin_lock() equals