From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=74.125.82.44 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796458828; b=4Bz+eNiI0QuNW+29ymvnhHSkbENrzKUT5MmVkOFQawV4nG/eGt5OrgpJWnburpDQF7St WTBfNp4yXIRvDs4OSJM6+3BuAn1MPcCobxVLFAIfQtOK+lIKIxalA5qEtrOfjxcOd33PY ujsakPPhghwQmRNYy0KGx6Y4jilDx6Np59Pr0Kw4BfsARCI/0s9fhViHjdJdpW/Si3VLt iiGWZkwDhR5znGS0XOsLWzuQZhPL0Xh+52gIdi0i71+Pactj8hUVUi8Lz/hKsIdf7NKZM jTlgP2aPM6D2W0BbMyeF3GOwFcxyv9etrrlnseNs8REObfsxMGbkBOZzts6OJH67iGQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796458828; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: From:To:Cc:Subject:Date:Message-Id:X-Mailer:In-Reply-To:References: MIME-Version:Content-Transfer-Encoding; bh=tGdQmM7x3vVzLE1O9Nl5/iExfzE8fVM5D8EHlzrsNyA=; b=w8GmDr4qeBcLXKkvviBRAH5GCLJjQbLhXnn3CDzjVrGA8ycRpgE8BmRjMrsj4Dqsj+GO gRIwBcVV2WZNsqWLFz+FjEIf/hzQfpWkkkY2lguNkPCXIV7SRoqlzofBGSG3u3CIjYBx0 aVOoOsqzJsQyKWmprWWS7W3ajI7xSsOKePFdfS7XD0hQKWX7JIG522Eqn8i+fJl7vbkpZ iXe+HWxx3bSm8hPDGYth2PTLR/PbJOvVz7PQhfhLIsq9gBHc1c7V1d4ff+dqQQSJNMlJd cwVQWYotm9L8D0DDEejzhd0TywfD6aouYEBksbWdJ9n98QloEuByQEjTU7aHa/RHPUg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=J8YHQD4L; arc=none smtp.remote-ip=74.125.82.44 Received: from mail-dl1-f44.google.com (mail-dl1-f44.google.com [74.125.82.44]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0E425606A330 for ; Sat, 5 Dec 2026 08:20:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 0E425606A330 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=J8YHQD4L Received: by mail-dl1-f44.google.com with SMTP id a92af1059eb24-1a3c08d6928so2582805c88.0 for ; Sat, 05 Dec 2026 00:20:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796458827; x=1797063627; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=tGdQmM7x3vVzLE1O9Nl5/iExfzE8fVM5D8EHlzrsNyA=; b=J8YHQD4L/ACex2Gn3+XEeHK4dFOGoSaEExpepnDFDqrWCC64cwEcTv2Hf7dt7cg+xO 9ZGwR6j+mBsksnz6X3Uz19axXTT8UDab1FITkdmNqU/GqCm+T+fePhKhjbHRnDHj+RJL wlNXHv24lpLIkT+2rDY+3b5kJqQZ+XhMUby9UTRJaYlWO/43NgrBWmuRX61W8UENqbYJ x4Noe6EPfm5upWMgbe3x7asHbseBotbeuMblwcysGHVM8KH/zmKsVED9fWS1cg6ghPn7 jUjBkLEIYg4/ulxtIl0MXC7DnFEgbgntK90ToEn1fSbS/qADChK67ZhwCtDagOqRv+xd oY3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796458827; x=1797063627; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=tGdQmM7x3vVzLE1O9Nl5/iExfzE8fVM5D8EHlzrsNyA=; b=ponY2fDqiAvNH1Q1V91rovV8l2wmFEje7roBuxslJ+DS0p9Zmgy5cCMMMWuXH2IYxH ky0dGk5JrCOgh4HtISzI6zO6pT/Vl/wL9XGr/Wihc+UMFfYjVBcrkel0iUfhIuFJB/UC vj8OeuxSMa4tEu/oumto1FllUT1v3VtfMNVuqg08la1Qw4c2TKh+IRJRY30xyK99pg/G Dc8cpH8uaDXRRl9wIheCBJSywRk0OHmEsML7MrP6eiB+TtzuS4Q35dEYyRToHesoiea1 1D5hdjSKozXX8te6ejxM0MVSHw2a/HfD8dvSkHYcd7cdyag5gScL9E6QvWvY613SlC56 1FFg== X-Forwarded-Encrypted: i=1; AL+hErHSaK+UBj4CvQAOScxSBJabD32VHADsfo5QPV8ItEC8k+5lsc6hfxnKOxDg+tRj0rPWZUom8hxQV89DM4c=@vger.kernel.org X-Gm-Message-State: APuU4Z/ojyNDRjtEOYF6pzmPKvr/sCBz/x5ByahdBC6l6KGJVmHDyJW2 hzapzn7p/sGmtLDoL8YjK1Au92N7ui3WlJdff5byctrBQHf06tpf1eEn X-Gm-Gg: AZFdTZdy7mSqnNYRMZpk9SWMZ12xk+jMSapu9pRKgRQr2Jd+eLKQ9cMOivwbiUXnJxt fKUm7uozCxhXHM8Q0ahDWL3AlGmvbj+lCUwrGZWmdh6PWNmhx9teM3UmRxnoBiN8c6efHMBX+gY 7LLmPfyTUj4Qh9t2oZJDsZuojAuChxjZBPwqnB/1NpNiPHxnjwaIxIIZ+AeePnNysJqTTD8s/bZ AA5FkZ3Bfps6rH9ZV6EUIYNq0k+EblYVO/aV0lSiyA06EsaOB/QxrRatqoexVHBPDbzjeL9aojr LAUt9GwSFsNqOKBjSaY0nF3MoKzCYqZGk9DnumsdC2mvT6NHUufOwqRLwGV+60PcHxwpST/9WTp mCqWJZEQ9pEpmKkFB8yyvTrlf6DaYSC56+8PSbSR/fNQCHt32eqhQcCtS5gfc8x8vCETEiqmUfQ U8NJUkJ/3SxPqK2heODBB8TFYa1vwfmy7O52RcbVfSEfb+5rHK4I3aQFPQDpI8KPfD4tO+TnL2E FAu5Hey35jAEGUeb/KUedkJVocwSh0rMiCzV0WcUz+C9qv+dyhVSF9dub5xiKpm3jH/9AXPkpVk mQFwJyxvqOJl6xcItEagOC+DUtMZE7+3KS9WI/Joq8v9XnfEBQO8BGML8RmDPoy0MTvTwHgUHuX VbsWauj7EaTueVg== X-Received: by 2002:a05:701a:844e:20b0:149:1b5b:1f25 with SMTP id a92af1059eb24-1b5d711253amr4624858c88.15.1796458827053; Sat, 05 Dec 2026 00:20:27 -0800 (PST) Received: from localhost.localdomain (wood.seclab.cs.ucsb.edu. [128.111.49.37]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-387521e5e7dsm17560789eec.19.2026.12.05.00.20.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 05 Dec 2026 00:20:26 -0800 (PST) From: Praneeth Balasubramanian To: sashiko-reviews@lists.linux.dev Cc: Russell King , "James E.J. Bottomley" , "Martin K. Petersen" , 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 Message-Id: <20261205082023.2596563-1-praneethb2002@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: References: <20261205063229.2518424-1-praneethb2002@gmail.com> <20261205063229.2518424-6-praneethb2002@gmail.com> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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.