From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=74.125.82.171 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796458815; b=0fhr3tdbYEe4nM6UD2embLo9T+Vr62QECFqzMTPtbyRaM6qOQ9Qd599Lx5W22NDcDAnd F4+eEF3Thiqcc/3jcOZnC4SRrqO5MXAxA7IGVIasXiUstus8q8QZuuKP71E+cnfnyFkxA /dj3lmXLPsdIQPA0PNtGchTxPD3kUAlr8jIWiPvRUPdAK/hI3NwL8I7TZuIcRzqTRRSOU UM4QA5j3M8/FS88MBHLg7MTTsEvXQoQW2IZp2VcWgwo/xYoEwpHRTQ7wtHmz75lErYOo4 xCszT2X3uQDjKS6ASsaQioBzFGAeQkP9JmwOs1YDDw6BZvHdpeFa5P/UQvC8iHB5s6A== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796458815; 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=aWBWbFkBCy/g6CBbiujTAQ8f893rVYorypRQE3PR4XY=; b=qmP5fYTlmtDqUKTB0XzNi2dwZL/1DT9reurtSRiZ+1gmfGtMT99a3IHLs49p571JgKF+ LgXc/pgRsFREjLKszzSXnUfmHnP8snekQzmd9IvcYp+s9HI5TUmXFnOI0d4YfB2AW9vL3 RgqHeqiiP/ZfENRzX3xeyBCPWD+2C6eGCAuNBwq0fQFKDbHHRVA4smNpUY8pO3PY9rLMt 9RsV1yUgDKZGqEehZANYF2tY7uejYOxtWLe4xOr1Qdlo4lP8H86BjmWlWTOIvZyVv6ppr 7AUdy6zYZ7LA7Z+J72TFve81GWPE7YVqRUnZsTnKhVsHJw2K/yZBLvzRK3LbadPZhnw== 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=tl95jeD9; arc=none smtp.remote-ip=74.125.82.171 Received: from mail-dy1-f171.google.com (mail-dy1-f171.google.com [74.125.82.171]) (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 4DF6C606A333 for ; Sat, 5 Dec 2026 08:20:15 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 4DF6C606A333 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=tl95jeD9 Received: by mail-dy1-f171.google.com with SMTP id 5a478bee46e88-38431138772so2448931eec.1 for ; Sat, 05 Dec 2026 00:20:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796458814; x=1797063614; 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=aWBWbFkBCy/g6CBbiujTAQ8f893rVYorypRQE3PR4XY=; b=tl95jeD9LyXzLemvs9WEHIXQCdP0AsDd/hH+IVZuEoLwFfGOLdojwmfUr9iQatkQV2 qyzWWAZCuAHP62wz+PezNGMGw9KJo1vNZZW9583+A83sYltNN1ltVcqjadsbq0MUAtJE gqXzx+wOxp1JhHqOrXQ4Qm5QY98fxNXa7tzvtXrSaREUlEeZKAlCflPpCTYCWMg7bmL7 GHVZphYuESFPLPM+s/n0fsg+XFB+DuvNiMc1Kd8PyUo+liEE180vayKClkjOLR2ysc2n 5X/+e7Pa3nVPGWIA3d3vSALHhgXpyTQEXdXgt+gZurxaagU0ep3eWy2Sd15g12tsHNa8 QfcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796458814; x=1797063614; 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=aWBWbFkBCy/g6CBbiujTAQ8f893rVYorypRQE3PR4XY=; b=Qx4LgipdjmVGFoGxgVnydODW38AeXjo5dIeMubYvw5go/esVP1y483uSfQEF3y0Qfl wRKPKmWnuMAl34TEVSjytaTruxTX7o4LD6OnZMvOUSq7h9aXjuKzgRODwxR8QF4+6b0v XkwyaqT6IiYHtFx/1AON3yOeyxn7Yj17lx4I3cxp6BIpYQub4EoIs39zk2e0xYWU6rgX +QLMZJge5qvlj1jtST9KSsShdzOKKscb80LwCbFnU4+zqYGnJI7dMJjGHkVuUcmIMUoz DC0a7BDSLqpFUsMPgvjsp5WIpDto8Ub9VRN5lxCNdSW3sU5ReVRuYDJHfZQalecaErmd sWQA== X-Forwarded-Encrypted: i=1; AL+hErGCwfXLJNBV7gihi1ACzuMoWgOYydDmmLfeKD8QndWhbN4xeC7n2a6SY9xuU/1g6/u0ltaS5NEXqM0pvo0=@vger.kernel.org X-Gm-Message-State: AB4q+uFp6iB56CPs0OtoTYO5phj3+8HnFDqu4oBPyBqCr4iOumHjzi+B Sni9IR4zIL2vahbV2j+Ydph8q7NRjGn0Vj1ULUu8RT3aBjcxAEYMBW3mdXO7jrrp X-Gm-Gg: AZFdTZfpQqzqmyarh3kw86BfVvN0Fxra8nh9ARsSTCNKxVpIxc5+tB9eDJanymJvC/l VuYn1dBy6bOjukHbbDeR5UKCzULuDYrm1nYA43f7UZDdQjbv6yk8lzFenEAQVF0QQN8Uymr6DL1 /re+bpyeNc3eW5yR4EeSWb1/UTvocTaxK9qh4IxOudaPa0weIZOjPI4AY4C7OvpvnDLWgrMesea eKq/7E/dArVriB1OuTZ1TiTMsbIic7Gap5kobAtHXvXHarxfyq8YOOTPy8MqqWbqtT66b0cT5DG jMB6B9GbGM+weQ+4ZrCDCEESghTllbM5y8HCVXdI8AOAnG0xnmhYcn9gIgUiQvlKixbw+opMuJQ tV+vTJUU9PEL/LsRMADEaDmAqKT56sprwEzxpDzQ7C/9+EEYl4DN/8MNHWdQvINrBnSaYYZIK5b zLmrby2LuRfvDHwxC+LIFxIurU9oNuQqbnAv0fRdZBYZPluplsTLMI7ou8QrfQipJqLzrYxDN5z fMSabcSgfKsb5DVy32FxG6fL5R9NVwGCjy8j96SZuIVlvutzxvc52NVWxiaX83PqR9MCl+OlPVN Db9MzbJ4R7ljHxE1iV+DIemhK6EhOm3lSa2AeRdmw7x22PDx98CWkn8bx9K7vsKogCo= X-Received: by 2002:a05:7300:f797:b0:376:b957:c08 with SMTP id 5a478bee46e88-387521559d6mr4337074eec.9.1796458814176; Sat, 05 Dec 2026 00:20:14 -0800 (PST) Received: from localhost.localdomain (wood.seclab.cs.ucsb.edu. [128.111.49.37]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-387521e5e7dsm17556621eec.19.2026.12.05.00.20.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 05 Dec 2026 00:20:13 -0800 (PST) From: Praneeth Balasubramanian To: sashiko-reviews@lists.linux.dev Cc: "Martin K. Petersen" , "James E.J. Bottomley" , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/9] scsi: pmcraid: Take host_lock around scsi_report_bus_reset() Date: Sat, 5 Dec 2026 00:20:02 -0800 Message-Id: <20261205082002.2596378-1-praneethb2002@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: References: <20261205063229.2518424-1-praneethb2002@gmail.com> <20261205063229.2518424-4-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:43:45 +0000, sashiko-bot@kernel.org wrote: >> Add spin_lock_irqsave()/spin_unlock_irqrestore() around >> scsi_report_bus_reset() in both pmcraid_handle_error_log() and >> pmcraid_error_handler(). The other callers of scsi_report_bus_reset() >> in this driver already hold host_lock and are unchanged. > > [Severity: Low] > Are there any other callers of scsi_report_bus_reset() in this driver? > > pmcraid_handle_error_log() and pmcraid_error_handler() appear to be the only > two call sites in drivers/scsi/pmcraid.c; the only other mention is a comment > in pmcraid_ioa_reset(). Right, these are the only two callers. The last sentence of that paragraph is wrong and should go. The code change is not affected. Both call sites run from the completion tasklet, which calls cmd_done without host_lock for these commands, so taking the lock there does not nest. I will fix the changelog in v2. I will wait a few days for other comments on the series first.