From: Praneeth Balasubramanian <praneethb2002@gmail.com>
To: sashiko-reviews@lists.linux.dev
Cc: Russell King <linux@armlinux.org.uk>,
"James E.J. Bottomley" <James.Bottomley@HansenPartnership.com>,
"Martin K. Petersen" <mkp@kernel.org>,
linux-arm-kernel@lists.infradead.org, linux-scsi@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 5/9] scsi: arm: Fix eh_abort race against the interrupt handler
Date: Sat, 5 Dec 2026 00:20:23 -0800 [thread overview]
Message-ID: <20261205082023.2596563-1-praneethb2002@gmail.com> (raw)
In-Reply-To: <sashiko-outbox-251150@kernel.org>
On Sat, 05 Dec 2026 06:50:47 +0000, sashiko-bot@kernel.org wrote:
> [Severity: Low]
> Should the Fixes tag reference 8fa728a26886 ("[SCSI] allow sleeping in
> ->eh_abort_handler()") instead of 1da177e4c3f4 ("Linux-2.6.12-rc2")?
Yes. Before that commit the midlayer called eh_abort_handler with
host_lock held and irqs off. v2 uses that Fixes tag.
> [Severity: Low]
> Could this comment name info->host_lock explicitly?
Yes. v2 names info->host_lock in the comment and the changelog. It also
says that fas216_eh_device_reset() and fas216_eh_bus_reset() take that
lock, and that fas216_intr() itself takes none, while some of its callees
take it around fas216_kick().
> [Severity: Medium]
> Does spin_lock_irqsave(&info->host_lock, flags) still race with
> fas216_intr() under CONFIG_PREEMPT_RT?
It does. On PREEMPT_RT the lock leaves interrupts on, and the handler
runs in a thread. The device and bus reset handlers have the same limit
today. Closing it needs the interrupt path to take info->host_lock, and
its callees already take it around fas216_kick(), so that is a larger
rework. These are single processor RiscPC boards, so I kept v2 to the
non-RT case and said so below the --- of the patch.
next prev parent reply other threads:[~2026-12-05 8:20 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-05 6:32 [PATCH 0/9] scsi: fix missing locking and dump length checks in several drivers Praneeth Balasubramanian
2026-12-05 6:32 ` [PATCH 1/9] scsi: bnx2i: Hold the session back_lock around iscsi_itt_to_task() Praneeth Balasubramanian
2026-12-05 6:32 ` [PATCH 2/9] scsi: mpt3sas: do not keep an enclosure pointer across a host reset Praneeth Balasubramanian
2026-12-05 6:32 ` [PATCH 3/9] scsi: pmcraid: Take host_lock around scsi_report_bus_reset() Praneeth Balasubramanian
[not found] ` <sashiko-outbox-251140@kernel.org>
2026-12-05 8:20 ` Praneeth Balasubramanian
2026-12-05 6:32 ` [PATCH 4/9] scsi: ipr: Skip dump entries whose length is not a 4 byte multiple Praneeth Balasubramanian
2026-12-05 6:32 ` [PATCH 5/9] scsi: arm: Fix eh_abort race against the interrupt handler Praneeth Balasubramanian
[not found] ` <sashiko-outbox-251150@kernel.org>
2026-12-05 8:20 ` Praneeth Balasubramanian [this message]
2026-12-05 6:32 ` [PATCH 6/9] scsi: csiostor: hold hw lock when issuing port stats mailbox command Praneeth Balasubramanian
[not found] ` <sashiko-outbox-251143@kernel.org>
2026-12-05 8:20 ` Praneeth Balasubramanian
2026-12-05 6:32 ` [PATCH 7/9] scsi: fnic: Hold fnic_lock for the oxid calls in the FIP timer work Praneeth Balasubramanian
2026-12-05 6:32 ` [PATCH 8/9] scsi: qla2xxx: Hold qp_lock when completing command in abort timeout Praneeth Balasubramanian
2026-12-05 6:32 ` [PATCH 9/9] scsi: target: core: Fix PRgeneration race in REGISTER AND MOVE Praneeth Balasubramanian
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261205082023.2596563-1-praneethb2002@gmail.com \
--to=praneethb2002@gmail.com \
--cc=James.Bottomley@HansenPartnership.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=mkp@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox