From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=74.125.82.49 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796458828; b=W3wbChn1xwiBkUNtP9y0rvcFXzmQO+vzUj0f/M7hrSVZ/0tkMcoQxpVmtSGMI3ENj8+z L50Qk2wlfWtEiDpxXrCaBhvGqku0lALyMFhEU7YcvJmbsJ+AZ+u0O1FkjhS7UF+FMNJxn qn379m5zXjAU3syYkd9Lb+Iy6AQk6ah8Aw1/DDvOB4aVI+gqP5QAI34yNadZ9O1+282dg +nap9anZ73+VW6AB0H9kqfo/GajqHL+QQQRf9NQrw6zUwyuq3aCL6gR143xizN+gXkI9p V3DoDZfQj1VBoaOsKM8dE3g/vhQtO6qyBfOWUA0ewM2GeGDEYHKJrmwFBMbl7wvD5Pw== 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=KPMJodxe4TzXLHDy+YcByeBVojlhpAcvHf38y0FY1obPVXxASKZ6RyeOIzrAwWkADqDW E/NWmtUh2yMsqYF7Nul3H/MvDezCeGl1G0bk6k3/hV1mQuP7ln/bRWQBmP2+0nPkKaNng tSB/rTmXJ8RIKgUXF9s+eTvJPDqy3Cp1Hj0b9oxm/FwUQ3/hLacLhDST9N2LZE6NWybHO 9WDSfj2k1levS3wopr9YsSQcgxC7LK9xvHoFzg+mfDW5zpAoxQgbQ3DxRascSAkfEpCco hXYsqZU8/X/eZU+lFAcxcS/XPs3FG5PDG1xNxn2Pw5vHcZooVJTyBJjnOGkcin/m2mg== 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.49 Received: from mail-dl1-f49.google.com (mail-dl1-f49.google.com [74.125.82.49]) (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 0864C606A322 for ; Sat, 5 Dec 2026 08:20:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 0864C606A322 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-f49.google.com with SMTP id a92af1059eb24-1b5d5f9938cso1970357c88.1 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=qi4uB7JecblmsSgmlPBErH47GIed7zNPmPW5hJrejqKAG1VuC2oMmYXTfUOvTFQe7u f83jWvSS1t9YzNehIEvvO9+u5j8DPHHz8uSQQxHrR2e2RnEQAZSHRvE8ol2ocPBeP9Sv buwfz2ELaYYY+//JfI/ohbfpo9brUJd7D93BhbCjLkHJE6G+vUoW/JkUHPELsJtEXwqv Y/vV2tEZLo6m675Uojj6FbX4+wPVbomFdEXFWJRbvw68UlY1unLUW8A0S6khyVhJZOkQ DsWcdH/bi0xulsRUu6nBomZlkE2QDimrwFmzibI4d1+/PaTeAJf3d+1wnn7BYfOtTdN7 4lNg== X-Forwarded-Encrypted: i=1; AL+hErEKTAWtb2NRb4yIejhMkEfrSfHZdN/ohmpIPuOIDZ2qxd7of11uozLseQj/QkUOl3bs105xlO0x8Hst@vger.kernel.org X-Gm-Message-State: APuU4Z+zVblXFejo+IbiLBAWDhVAel2WtLRN+1UQ3MMQjKk+q2+Nhmgj 8qeMIfjpkyc73tOkGQKE68roYs0vet+Qxe/kSlq+zIXbTGrp26MfCPsv X-Gm-Gg: AZFdTZfJLEYLnaIEunuJBCCEb8UxydVJEBEz6WcHtZe0/K4+5PdBML87BS/DeHWOfGs cH+2vkvpGo3BCX7x7a1etghCDOsc8GEInvMpnuMvssn+CTvKx8ZKzLzX3g+xnIaFfpuhc6QGI87 KbI1j6g/alpZBJUxlglo04nveOEdH4SbQRyXVFsA23psF1QEluS2+TXxtG9a7RQRxnRsE89Nz8D 0OY5kM8ShbUYas9kSZEAU7yl5R1FTk/hAuktv7+zmYBiwg4y8rIApY9JevhA5uQb3Ziwh1+boD8 5o2fUaZVp5TCepTraJ5J30vY13dGJXvC1ysAJ5+bN4tEMQ73vpXMhJFmUk4wNOh69+5bkNCoCvd +/FC5Nt0jAWNw+sGquAqZK1MJ1tpNV7w9pSy2QiOsN51Aw8CSyobIOey+s9n43em/+ieWplQatk clxYhOpVH4Lz0ELg+RV8goznxL6uVoGK7OE1SEvHNRCx0UdClpfjwuhWmkw+x9cMp6uX72/ihl4 KKVFqklcz9LL/jbqOcrFOtwRhbC6ciiJDazbxWgkqcm0VEy9UGUXRk2385e06uzG3lH1qNMP6+f jo8qVEveVlzXOD87p6N10v/lUViw37Fs128RLHhUrvh7+cZYnFWClHMh9+C/qAJlp1s/ClE0MW/ eXKNIm5fNy+Qrew== 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-scsi@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.