From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5C9071F8691 for ; Sun, 7 Dec 2025 23:15:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765149357; cv=none; b=QvEnvwr6QswsL2RxEXgFncXgTvTMEgcduNUNt7MRw1DS+S1F6sLtfeIEXw70KsiB73UX60wvWj/FrmZu3g1MRbFGRtk7wL/oT/5y2o8CG37uUfT0OpBfVn40tRROQS3C9M8O9MiJje0iVgFQLd3lF/MQU8cyMP2/fpVwpgSBwGQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765149357; c=relaxed/simple; bh=JrawoIvD5t0mSOtoyYriDOG37dzck5mS9GT3TPZS81w=; h=Mime-Version:Content-Type:Date:Message-Id:Subject:From:To:Cc: References:In-Reply-To; b=ByalMl3mKATOsb/mDBRDVwXA7wFh4RyNKMxDug1kXrp7ayusMGVknwoEx8NGLD1MxZs1vSRS2QjnTnmQwfhER2P6pzKP2EoHJhMyESw2k7RtW6sfayvv8z0rMAsHE76kVjAKohpisVjdCM24Ze5H/M4a1oR227cjy2UVW0hQtjw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=pdP1IOPS; arc=none smtp.client-ip=209.85.128.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="pdP1IOPS" Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-47118259fd8so31512625e9.3 for ; Sun, 07 Dec 2025 15:15:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1765149354; x=1765754154; darn=vger.kernel.org; h=in-reply-to:references:cc:to:from:subject:message-id:date :content-transfer-encoding:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=JrawoIvD5t0mSOtoyYriDOG37dzck5mS9GT3TPZS81w=; b=pdP1IOPSL8KY3IxDXkN4DeLPaWDErmLm++ZI+K2V3F+iMdk+9svTMBxzeqVufMDb4c VqS0L7/Isr8sWDqpKcmaZJ7jqmS1XHlXUnKWDTVHd2TyLKYqz2PCy83D4GPHMZV/52Df HjF3Hv1rTIWM3HSXELgBZWu/XQgNv95rW/QizddCHo9oxvDXmrX+KDc4I4CeH9tdnwSC SMZErt8fRPdW5UsPGNwjLL5Npe+jLhhhnz45DcBDgS8StOECkK4HH9n8EliAj7JApJwq N/ukRV+Lm/XWSRpWGFBGggtyd7zPcECJ7eQHAhruKBpMZD0NvHoT+wk/yLkWZkMj9e4r y5pw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765149354; x=1765754154; h=in-reply-to:references:cc:to:from:subject:message-id:date :content-transfer-encoding:mime-version:x-gm-gg:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=JrawoIvD5t0mSOtoyYriDOG37dzck5mS9GT3TPZS81w=; b=il2cYkMAZtDBsPH7jYUwLYSTMMPpJqSDWYdK8FnqczqRjtZuCMznvcHZUMDtwLqv9P 63c9/saRDzfLnpDz37M2VzW0JUhAlUlZQRd5SWYY8P2Pv2JFuQ1bqTn747WF4Yx/lMKp 3TkwNdxTsAdj5Wp9GwQ5oNJAASNwPzU4XmgZf9dP6MCzfLj2WCCTRI74iH+U+e3opSR7 BH+VTkWHsAWu/JFomQz2icb2GGTHe2F+Rjr5MxZAXlQ7wEH5hdqfALsVqJ3tZ6ocd29D ozwJlMFWz+Dw+lZFsRM41VKYuT+N3aN9j2oy4UjQ01Oo4rkH4VBVGSRMrn5ibCIFJh+1 29cQ== X-Forwarded-Encrypted: i=1; AJvYcCU+mMHH4U22uysX9OCFjI97P76/yfWsiXWZ0biePKOsQwBUinoYgTprVReVNq5YKvI9MzbOlmcW77qTLQs=@vger.kernel.org X-Gm-Message-State: AOJu0YwJLKq9hPF8ezAVXycVkzGwerCe9DY/1E9RNq9AQcf49W6DWHDl uW3dvpei4iqlDsQcsBWFUUzpYQn1NIhJHFbaL5MZyogTdOvr8hYhx2y9FZyvwbGDwlc= X-Gm-Gg: ASbGncvidOr+gPuzZNtd+8HtWBJ0o7NToQC54f/vyDqUNxJ2nXx4zkAyZn9aJGuR26Q sCUMkCycf1MQVyfPzZ0X9QK94puPzk8oUcCyFTkAiyEy7TCLtSbylWpXNhBD0VV/IbCBSltSBEV P2LExFS+zNO9phCQhAj8m8IgFeuUMBPsxQGq4C1KxfvUZ4wfZMj59VVPwNBPmAaG3mwh9pqdrzQ OFElRx5B5+HiqjkJjuENszarcsTrpCoXUQtLNRiztVhOjevhTR7kPe2MTk96vSYY/5ZlmsB+kS1 zN+vRfvbeUY74xJrs9iuDE9k1f66MxcU3tNdaKLqM/g13ol7f9ODlZhcCtWy4mUh3yZi5elX90y bnNG19F1P55OmcIOe0WOldL0mGlUxh8yMTKk3KcK9Xf7vR903PfS7Mdu0b5vI7Bcj12gTU1N4Nx 7OniFH1fXu4IBgF5Z5 X-Google-Smtp-Source: AGHT+IG265bGsuH8yFF78i9r8fah0BbcyblFqGg1lC2v8CBn3ElR0sMxydVKkkvoEWSpFSE0ekKljA== X-Received: by 2002:a05:6000:1a85:b0:42b:40b5:e64c with SMTP id ffacd0b85a97d-42f89f6340dmr5988631f8f.30.1765149353630; Sun, 07 Dec 2025 15:15:53 -0800 (PST) Received: from localhost ([2a02:c7c:5e34:8000:da07:24c6:f91a:9817]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-42f7d222478sm21783666f8f.20.2025.12.07.15.15.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 07 Dec 2025 15:15:52 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Sun, 07 Dec 2025 23:15:51 +0000 Message-Id: Subject: Re: [linux-next] potential deadlock in ufshcd? From: "Alexey Klimov" To: "Bart Van Assche" , , , Cc: , , , X-Mailer: aerc 0.20.0 References: <46cf2cb9-76f4-4d73-be3d-88fcbe7055f4@acm.org> In-Reply-To: <46cf2cb9-76f4-4d73-be3d-88fcbe7055f4@acm.org> On Sun Dec 7, 2025 at 3:18 PM GMT, Bart Van Assche wrote: > On 12/6/25 7:07 PM, Alexey Klimov wrote: >> Is it a known problem? I can test potential changes to resolve this >> or try to collect more debug data if needed. > > Please help with testing these two kernel patches: > * "[PATCH] ufs: core: Fix a deadlock in the frequency scaling code" > (https://lore.kernel.org/linux-scsi/20251204181548.1006696-1-bvanassche@a= cm.org/). Thanks! This looks like that one about fixing deadlock does the job. I provided tested-by tag there. > * "[PATCH] ufs: core: Fix an error handler crash" > (https://lore.kernel.org/linux-scsi/20251204170457.994851-1-bvanassche@ac= m.org/). I didn't test this one yet though. Best regards, Alexey