diff options
| author | Devarsh Thakkar <devarsht@ti.com> | 2024-10-21 17:07:50 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-02-21 14:01:44 +0100 |
| commit | f94c5f24dae78dafd9cc92cd074851931ff637f8 (patch) | |
| tree | 894fedae769b1c77847a93bd40c4725d6f12a3c4 /scripts/git.orderFile | |
| parent | c5dcd3f421d038cfde8ed3127b0eb07f41154167 (diff) | |
| download | linux-f94c5f24dae78dafd9cc92cd074851931ff637f8.tar.gz linux-f94c5f24dae78dafd9cc92cd074851931ff637f8.tar.bz2 linux-f94c5f24dae78dafd9cc92cd074851931ff637f8.zip | |
drm/tidss: Fix race condition while handling interrupt registers
commit a9a73f2661e6f625d306c9b0ef082e4593f45a21 upstream.
The driver has a spinlock for protecting the irq_masks field and irq
enable registers. However, the driver misses protecting the irq status
registers which can lead to races.
Take the spinlock when accessing irqstatus too.
Fixes: 32a1795f57ee ("drm/tidss: New driver for TI Keystone platform Display SubSystem")
Cc: stable@vger.kernel.org
Signed-off-by: Devarsh Thakkar <devarsht@ti.com>
[Tomi: updated the desc]
Reviewed-by: Jonathan Cormier <jcormier@criticallink.com>
Tested-by: Jonathan Cormier <jcormier@criticallink.com>
Reviewed-by: Aradhya Bhatia <aradhya.bhatia@linux.dev>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241021-tidss-irq-fix-v1-6-82ddaec94e4a@ideasonboard.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/git.orderFile')
0 files changed, 0 insertions, 0 deletions
