From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f198.google.com (mail-pl1-f198.google.com [209.85.214.198]) (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 B39EE4B049F for ; Mon, 21 Sep 2026 14:08:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.198 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789999688; cv=none; b=DMVTfXBu60+HKMblE4DkWKLoPsJGHmz7/KHYKWXMS1MBAniISrOhXlC8cmq7jZQksO1Gc/NEG6XM0A/uI74qKxLAFWGKhk6ushEt5woRz+b1ZQYsduy+oPwk1oBe0CXflGJCgZfxT6RNyNmWDGh2a9R2grRIyezawDVUC1Qgn6Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789999688; c=relaxed/simple; bh=NHBznU/RKpQgFAQzB7weutwQS0p5qU29+fazNItsqXQ=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=iwdaIjDaN3NhoQtO/NCX0PaJxo9QQo+miZCRUTg24Bh7S6MkUfKjE5FfsyjzOkb7xZGoqnNZKneLj+5u6qs6b1ZzDEWSx66D5i1YPm5Gccqa0thZht473RTBfpzFtWcv1SUya+ZZJEGoZBhGCU7s3CTHdIL38kGA2FdD+fmF7ro= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--stanleyjhu.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=VIN/dXc+; arc=none smtp.client-ip=209.85.214.198 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--stanleyjhu.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="VIN/dXc+" Received: by mail-pl1-f198.google.com with SMTP id d9443c01a7336-2d55d8cd938so53817225ad.1 for ; Mon, 21 Sep 2026 07:08:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20251104; t=1789999686; x=1790604486; darn=vger.kernel.org; h=content-type:cc:to:from:subject:message-id:references:mime-version :in-reply-to:date:from:to:cc:subject:date:message-id:reply-to :content-type; bh=NHBznU/RKpQgFAQzB7weutwQS0p5qU29+fazNItsqXQ=; b=VIN/dXc+3mfctB58u0v6Mi2hpvvnHHwQ7Huu8Ql+dxEI7tIGv9ykgDA6ERDm/Nt2eX c871t6y+tXoq2KWOeUE2LBpw9B9vhLPaOYcCb0NwQ5Om7Pxlr5bawN5newyE7Pe6pR7P gRdmLVkziTeaPLdrjWDYemNbtHAPdbHiCkOHPPkSJsnhw9tqr2NbmgLe6L2/K+bAMstO fexm6ucuTBAvzDvw6s8yQfFDn84Ry9ongK+Iqc3IGha3hJAFSp1EELZEDB/hWj6Cvvfy Bu8i22FMqtHmp8z5f7/qlQPjZ/SjbVuoJNHarDY9dFVpIJKXnrcOJkeX2/owIuyCj4Vx FbJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1789999686; x=1790604486; h=content-type:cc:to:from:subject:message-id:references:mime-version :in-reply-to:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=NHBznU/RKpQgFAQzB7weutwQS0p5qU29+fazNItsqXQ=; b=HJdzyh9sLI01SQKSMOS2H5y91ascEbMUxgVEIqKOLF8oN37d5lq2UDSzLk+KrPEn0V g77zxC79amv3Zq4RYBN714cDrXyQ7gkANFlwi16OMUG7Hk8MkuHZEY8UOhqWCQpUiKSs KFvbdbyXG/FL4eR644zqjjVXD0PxE3CdAI5L1DL8SOpB0aqNTBCiqV7aXWDKU1tZdCVB yiq3Rg292dAvMDqJJnqbfbojtcLGtScM1svfBCb6OyBIp3UOXWIoC0q/Ik5MYfD3SDpE ChcXWyB5v07HzupjZH4cCKHpFYZYj8FnaQr7KUJYFV3o1jgpAVtg3L+KhryykM3VDl33 cVmw== X-Forwarded-Encrypted: i=1; AKwUvBy+GfpqIqTQC84FAHk4N1n2VAJ7/G7tL8sqcQXxlhSqBEszui5Bsle3Yij5r6fHXl4UnyJncfB2M36Ny1Y=@vger.kernel.org X-Gm-Message-State: AFuF++kh/43dwHPQ2LkU7/sYvHHa05tx52hd7aOWSBlLCXE0SC3TYoL9 SNWuyB1vdSbhEebPJ3dokPuTaQYjw1b1tZFS688GCevKl7C2Vb72eEgxJOGR81uvfET190tLF6T kTehseiNg/zzm05JAagwh0Q== X-Received: from plrr1.prod.google.com ([2002:a17:902:c601:b0:2df:3de3:9186]) (user=stanleyjhu job=prod-delivery.src-stubby-dispatcher) by 2002:a17:903:1844:b0:2dd:c100:942f with SMTP id d9443c01a7336-2ddc1009bf7mr110453315ad.45.1789999685875; Mon, 21 Sep 2026 07:08:05 -0700 (PDT) Date: Mon, 21 Sep 2026 22:08:03 +0800 In-Reply-To: <20260920034953.19535-1-hppiscas@163.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20260920034953.19535-1-hppiscas@163.com> X-Mailer: git-send-email 2.55.0.1082.g2b9226bbc0-goog Message-ID: <20260921140803.3210439-1-stanleyjhu@google.com> Subject: Re: [PATCH v2] scsi: ufs: mediatek: handle mPHY power-on failures From: Stanley Jhu To: Pengpeng Hou , Peter Wang Cc: Stanley Jhu , chaotian.jing@mediatek.com, chu.stanley@gmail.com, james.bottomley@hansenpartnership.com, mkp@kernel.org, linux-scsi@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, martin.petersen@oracle.com, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="UTF-8" On Sun, 20 Sep 2026 11:49:53 +0800, Pengpeng Hou wrote: > Check phy_power_on(), attempt to unwind VA09 on failure, and leave the > state flag unchanged. Propagate the helper result from host > initialization as well as its existing resume caller. Keep the original > PHY error if the supply rollback also fails, and report that rollback > separately. Reviewed-by: Stanley Jhu