public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] DSS interrupt related bug fixes
@ 2024-10-12 15:07 Devarsh Thakkar
  2024-10-12 15:07 ` [PATCH 1/2] drm/tidss: Clear the interrupt status for interrupts being disabled Devarsh Thakkar
  2024-10-12 15:07 ` [PATCH 2/2] drm/tidss: Avoid race condition while handling interrupt registers Devarsh Thakkar
  0 siblings, 2 replies; 6+ messages in thread
From: Devarsh Thakkar @ 2024-10-12 15:07 UTC (permalink / raw)
  To: jyri.sarha, tomi.valkeinen, airlied, maarten.lankhorst, mripard,
	tzimmermann, dri-devel, simona, linux-kernel
  Cc: praneeth, vigneshr, aradhya.bhatia, s-jain1, r-donadkar, sam,
	bparrot, jcormier, devarsht

While reviewing the interrupt related code and register dump, we found couple
of issues related to interrupt related register programming. Firstly, the
function enabling/disabling the interrupts was trying to clear the
interrupts which were not enabled in first place and secondly there is a
potential race scenario between interrupt subroutine and interrupt
enable/disable related functions as they both access interrupt registers
without a common lock. This series addresses the aforementioned problems.

Devarsh Thakkar (2):
  drm/tidss: Clear the interrupt status for interrupts being disabled
  drm/tidss: Avoid race condition while handling interrupt registers

 drivers/gpu/drm/tidss/tidss_dispc.c | 12 ++++++++----
 drivers/gpu/drm/tidss/tidss_irq.c   |  2 ++
 2 files changed, 10 insertions(+), 4 deletions(-)

-- 
2.39.1


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

end of thread, other threads:[~2024-10-21 14:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-12 15:07 [PATCH 0/2] DSS interrupt related bug fixes Devarsh Thakkar
2024-10-12 15:07 ` [PATCH 1/2] drm/tidss: Clear the interrupt status for interrupts being disabled Devarsh Thakkar
2024-10-21 11:15   ` Tomi Valkeinen
2024-10-21 14:46     ` Jon Cormier
2024-10-21 14:48       ` Jon Cormier
2024-10-12 15:07 ` [PATCH 2/2] drm/tidss: Avoid race condition while handling interrupt registers Devarsh Thakkar

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