public inbox for dri-devel@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH 0/2] drm/vc4: Correctly uninstall interrupts
@ 2017-11-10  1:05 Stefan Schake
  2017-11-10  1:05 ` [PATCH 1/2] drm/vc4: Account for interrupts in flight Stefan Schake
  2017-11-10  1:05 ` [PATCH 2/2] drm/vc4: Ensure interrupts are disabled Stefan Schake
  0 siblings, 2 replies; 8+ messages in thread
From: Stefan Schake @ 2017-11-10  1:05 UTC (permalink / raw)
  To: dri-devel; +Cc: David Airlie, linux-rpi-kernel, linux-kernel, Stefan Schake

This set of patches fixes issues with vc4_irq_uninstall.
The first patch fixes a NULL pointer dereference when the binner BO
would disappear during an in flight overflow mem work callback.

The second patch ensures we return with all interrupts disabled. This was
suspected to cause the NULL dereference but turned out to be unrelated.

Tested with a Raspberry Pi CM 3 that was previously stuck in a boot loop
due to the issue. With the patch applied, the NULL dereference was no
longer observed through numerous resets.

Stefan Schake (2):
  drm/vc4: Account for interrupts in flight
  drm/vc4: Ensure interrupts are disabled

 drivers/gpu/drm/vc4/vc4_irq.c | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

-- 
1.9.1

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-11-14 23:19 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-10  1:05 [PATCH 0/2] drm/vc4: Correctly uninstall interrupts Stefan Schake
2017-11-10  1:05 ` [PATCH 1/2] drm/vc4: Account for interrupts in flight Stefan Schake
2017-11-14  0:59   ` Eric Anholt
2017-11-10  1:05 ` [PATCH 2/2] drm/vc4: Ensure interrupts are disabled Stefan Schake
2017-11-14  0:18   ` Eric Anholt
2017-11-14 11:43     ` Stefan Schake
2017-11-14 19:44       ` Eric Anholt
2017-11-14 23:18         ` Stefan Schake

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox