diff options
| author | Ritesh Harjani (IBM) <ritesh.list@gmail.com> | 2026-05-01 07:11:40 +0300 |
|---|---|---|
| committer | Madhavan Srinivasan <maddy@linux.ibm.com> | 2026-05-06 05:00:24 +0300 |
| commit | 7a4f0846ee6cc8cf44ae0046ed42e3259d1dd45b (patch) | |
| tree | 82d3b388aac49ead73a79732af9e30646db48530 /include/linux | |
| parent | 0342545a29bc2edfbe132c68c68b51c92a12444c (diff) | |
| download | linux-7a4f0846ee6cc8cf44ae0046ed42e3259d1dd45b.tar.xz | |
pseries/papr-hvpipe: Fix race with interrupt handler
While executing ->ioctl handler or ->release handler, if an interrupt
fires on the same cpu, then we can enter into a deadlock.
This patch fixes both these handlers to take spin_lock_irq{save|restore}
versions of the lock to prevent this deadlock.
Cc: stable@vger.kernel.org
Fixes: 814ef095f12c9 ("powerpc/pseries: Add papr-hvpipe char driver for HVPIPE interfaces")
Signed-off-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/e4ed435c44fc191f2eb23c7907ba6f72f193e6aa.1777606826.git.ritesh.list@gmail.com
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
