From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=199.89.1.16 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795970284; b=hZyF+H0cMsyEe+JXiwnJy4VaFPvYoWp7BD3f8EyE37MWHMTysENCUo7lG3Nm/+LynQLY 5SXlsCBL1Kev0LXIquVZ10UYVUvHSO/KjZQAfeaAgpRAFcW6VBMS1kT+1tCOS5FSCIg3O isTMW59+6ulMxpC+EWBPXXpmvzejS6/INStEQb8nkvsbUnPB8abn17jW91F3Ho3aIkqdM qyMCg/lfvLh5kupOiQ5ijwGUi9i/G4A999OE6tOo3i05DbCW3LRuUiT7e9ETN07byVFD2 qnN/Ab1fqlnrZGRf0FTY5v9e8E0tGCBhGLpe19+fSll/Om4jXBRxJyikQ6hbS/xJLcw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795970284; h=DMARC-Filter:Received:DKIM-Signature:X-Virus-Scanned:Received: Received:Message-ID:Date:MIME-Version:User-Agent:Subject:To:Cc: References:Content-Language:From:In-Reply-To:Content-Type: Content-Transfer-Encoding; bh=wvKXoveb4fgD646Ud0DYcPI5JOpCx47v9fDxEO4XfUg=; b=c+RZdYV/ncnJFo/JmU0Wa6Ra1scgkyyGlBqCbUl/zkUOnUOTmLqauVdC3botqxnyC/UK Qytrwydi7pWzett4YAIH8jNu0+TKl50rigl5aA+YKHkfnFL0ZV7AkYSmQeLh47vrW3DQF /qPPAMegyd+ZCcSf8CAA/DA97+buVvRJsVyA6U5HzqGWLeImxK4CXuF4u8vLJ+Vm30b65 h2PaMPuYh5bjkvIiV80w9Xn4hVbgEYcxY7hY5SUQ4GV6ZhQqPY7wMR1YumI79OR+CbARx 86jhWzG+TA/qMs6bcVleVRCrPhHbPx7+CUMxcPxs7BMjR4wcJf/duNIdHXMpziVjz5w== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=acm.org; spf=pass smtp.mailfrom=acm.org; dkim=pass header.d=acm.org header.i=@acm.org header.a=rsa-sha256 header.s=mr01 header.b=dMZkzbwP; arc=none smtp.remote-ip=199.89.1.16 Received: from 013.lax.mailroute.net (013.lax.mailroute.net [199.89.1.16]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C99D2606A31C; Sun, 29 Nov 2026 16:38:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org C99D2606A31C Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=acm.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=acm.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=acm.org header.i=@acm.org header.a=rsa-sha256 header.s=mr01 header.b=dMZkzbwP Received: from localhost (localhost [127.0.0.1]) by 013.lax.mailroute.net (Postfix) with ESMTP id 4jctB328hzzlfvps; Sun, 29 Nov 2026 16:38:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=acm.org; h= content-transfer-encoding:content-type:content-type:in-reply-to :from:from:content-language:references:subject:subject :user-agent:mime-version:date:date:message-id:received:received; s=mr01; t=1795970280; x=1798562281; bh=wvKXoveb4fgD646Ud0DYcPI5 JOpCx47v9fDxEO4XfUg=; b=dMZkzbwPv7KBxtO03vvBFQDe7aXV7JjwKPz/PMgX W9k0lIs61iB3Jtj+iMUcFWoD8NUeRyIwrIFqAZ7vCpoNSmukdJVF/Im4XiQDLkLe DilOIfwIj4nj8sRfSUShRpXzx+8cvNts+HYGDtKBsrzzxymkXTrp9A414y0ubiKs urgXN4V0q5BvKIT7OThllo3c2PQk9z/ZunLOIGRXUeyiirAM0kuSQupqsrjZRGaZ +mjCSy+TB7e9BY78YAok5rp44V0kmTz1XKtNmLkYQZXE0P7Y3fLHPb6SHka93uY4 oIptDxw/bn8oDJUlEQLam+JsA3LHUeYIzGh7MWfkLyQl3w== X-Virus-Scanned: by MailRoute Received: from 013.lax.mailroute.net ([127.0.0.1]) by localhost (013.lax [127.0.0.1]) (mroute_mailscanner, port 10029) with LMTP id dtDHKDSAsrCJ; Sun, 29 Nov 2026 16:38:00 +0000 (UTC) Received: from [192.168.51.14] (c-24-6-239-25.hsd1.ca.comcast.net [24.6.239.25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: bvanassche@acm.org) by 013.lax.mailroute.net (Postfix) with ESMTPSA id 4jctB0128RzlfvpK; Sun, 29 Nov 2026 16:38:00 +0000 (UTC) Message-ID: Date: Sun, 29 Nov 2026 08:37:55 -0800 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 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2] scsi: ufs: core: disable exception work before removing hwmon To: Yaohan Li , "Martin K . Petersen" , "James E . J . Bottomley" Cc: Alim Akhtar , Bean Huo , Bean Huo , Stanley Jhu , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org References: <20261126111400.2828356-1-shunsheng1218@gmail.com> <20261127072503.3922964-1-shunsheng1218@gmail.com> Content-Language: en-US From: Bart Van Assche In-Reply-To: <20261127072503.3922964-1-shunsheng1218@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 11/26/26 11:25 PM, Yaohan Li wrote: > Fixes: e88e2d32200a ("scsi: ufs: core: Probe for temperature notification support") > Cc: stable@vger.kernel.org # v6.10+ The Fixes tag looks inaccurate to me. Commit e88e2d32200a added ufs_hwmon_probe() and ufs_hwmon_remove(), but did not touch ufshcd_exception_event_handler(). Calling ufs_hwmon_notify_event() from eeh_work was introduced in the next commit: Fixes: 322c4b29ee1f ("scsi: ufs: core: Add temperature notification exception handling") More generally, the missing teardown of hba->eeh_work in ufshcd_remove() goes back to commit 66ec6d59407b ("[SCSI] ufs: Add support for host assisted background operations"), as eeh_work can also outlive ufshcd_remove() even without hwmon. The code change itself looks good to me. Hence: Reviewed-by: Bart Van Assche