mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Bart Van Assche <bvanassche@acm.org>
To: Yaohan Li <shunsheng1218@gmail.com>,
	"Martin K . Petersen" <mkp@kernel.org>,
	"James E . J . Bottomley" <James.Bottomley@HansenPartnership.com>
Cc: Alim Akhtar <alim.akhtar@samsung.com>,
	Bean Huo <beanhuo@micron.com>, Bean Huo <beanhuo@iokpp.de>,
	Stanley Jhu <stanleyjhu@google.com>,
	linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] scsi: ufs: core: disable exception work before removing hwmon
Date: Sun, 29 Nov 2026 08:37:55 -0800	[thread overview]
Message-ID: <da3cf284-a0af-4dd0-a320-1fe259a39225@acm.org> (raw)
In-Reply-To: <20261127072503.3922964-1-shunsheng1218@gmail.com>

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 <bvanassche@acm.org>

      parent reply	other threads:[~2026-11-29 16:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-26 11:14 [PATCH] " Yaohan Li
2026-11-26 18:09 ` Bean Huo
2026-11-27  7:25 ` [PATCH v2] " Yaohan Li
2026-11-29 15:27   ` Bean Huo
2026-11-29 16:37   ` Bart Van Assche [this message]

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=da3cf284-a0af-4dd0-a320-1fe259a39225@acm.org \
    --to=bvanassche@acm.org \
    --cc=James.Bottomley@HansenPartnership.com \
    --cc=alim.akhtar@samsung.com \
    --cc=beanhuo@iokpp.de \
    --cc=beanhuo@micron.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=mkp@kernel.org \
    --cc=shunsheng1218@gmail.com \
    --cc=stanleyjhu@google.com \
    /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

all inboxes | Powered by JetHome®