Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=192.198.163.8 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796053176; b=BdC24L7q/dWJNlj6p2Yr/oxIbdbEJOqfcMkPRQTrjfhHF+xNmvUB1dyGgC60o5yH+eyt HLOrAKHV2Rf9F7T6pIftCkw9Pt8+SYRFUpvkP4+A5ljJzsd/Lszqkr75fKAWurdpNnkZp Dov+IYA4rGfNm2tlycu2Gl5uxfM671AGRN7gF2UNj7iUdNHeRVSyjD29AAt9FIaJvBOdv vedVLp4WVMg13l6xM+h7KJCjeOqAb/EuDAgvjQkfeqRw2TlgFdYkcpp8YSVcMN1OValsl 18RI7OsDOKSQUtyXIwd0f08fXUFgBsVEty3vRafaMv7HhCoCNoSpn00JGp/NN4s13Uw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796053176; h=DMARC-Filter:DKIM-Signature:X-CSE-ConnectionGUID:X-CSE-MsgGUID: X-IronPort-AV:X-IronPort-AV:Received:X-CSE-ConnectionGUID: X-CSE-MsgGUID:X-ExtLoop1:X-IronPort-AV:Received:Received:Date:From:To: Cc:Subject:Message-ID:References:MIME-Version:Content-Type: Content-Disposition:Content-Transfer-Encoding:In-Reply-To; bh=ZknYY32bOLMWj4X3svF5I/RKfngrsY8Ri+Hmz4W2LVc=; b=zJjAxbf2jVmow7csThDZTmSlVSCs4GxkVOTNbLEapL0z4OvkHXsFcL2zulbgKgjIVJxn 1FtlsB/FMgMwEd642cJagWWDefimsQ6QrXq1X+GDffLMpjigW7ksWc1HP69D9beHI0ckY vZXHx/RX7lg6Sy/eYRmelw2f4ELfh/YQIPClx6uuiMs2ItO+FCDNtUIi7mFcaT8Q1MEMF zxQz2xvzjLrzA8fAkF3I0qXqtXF3/dQ9SNbl+oFhD3DpsCIrIVZoP7MQFzf3xZwXgNNUX oA8If0i0tx2zeHSenhwgpA54lLR5W//6B41wtV2QqMIPILHLKZGiuixC5BPQibt2gWg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=linux.intel.com; spf=pass smtp.mailfrom=linux.intel.com; dkim=pass header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b="dwnwKvU/"; arc=none smtp.remote-ip=192.198.163.8 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.8]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1891F606A325 for ; Mon, 30 Nov 2026 15:39:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 1891F606A325 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=dwnwKvU/ DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1796053176; x=1827589176; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=ZknYY32bOLMWj4X3svF5I/RKfngrsY8Ri+Hmz4W2LVc=; b=dwnwKvU/jKgJxEZw9kyDH/mUdrJc8CeSZTgyNLGidODHHLXxvH7M5DCG UmM6U4Ncx33lvOaLjFaO8nc9Wl5qs3pE2QSOrA6giZ70rWSEH4S8xp1SE cqhFzi72zEAzt4GFqtcyoHLF9vCvJOWPu00tutw16NC+UjNkpnDPne9M7 XBMeYM6KIAtaYwCoJsYNloJFC1fy0dBIHXttjYvXqHAqf3yIs7vFj/EXT Bw8FmKiAsfCdNdzJkbx2BI9WwldjTPMTFB7VxKA6CXJpXdS6ADqfw+HGM s64Ttp638eqKoy5xx/KCNBVDtvPFq7yWGd3vunIbYRw3I3EcKvLXR7wgO w==; X-CSE-ConnectionGUID: PEWVhz2STnmJ2u7zDdXsnA== X-CSE-MsgGUID: P6HXH5Q2RbaSznsUvdJs9w== X-IronPort-AV: E=McAfee;i="6800,10657,11982"; a="4770539" X-IronPort-AV: E=Sophos;i="6.27,243,1787036400"; d="scan'208";a="4770539" Received: from fmviesa002.fm.intel.com ([10.60.135.142]) by fmvoesa102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Nov 2026 07:39:35 -0800 X-CSE-ConnectionGUID: jHAHAYamRj+M/FRGh2dr1Q== X-CSE-MsgGUID: 6x08+ftCQfaAwk1MfTzEbg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.27,243,1787036400"; d="scan'208";a="13204888" Received: from black.igk.intel.com ([10.91.253.5]) by fmviesa002.fm.intel.com with ESMTP; 30 Nov 2026 07:39:33 -0800 Received: by black.igk.intel.com (Postfix, from userid 1008) id 7E7EC98; Mon, 30 Nov 2026 16:39:31 +0100 (CET) Date: Mon, 30 Nov 2026 16:39:31 +0100 From: Heikki Krogerus To: =?iso-8859-1?Q?Andr=E9?= Draszik Cc: Greg Kroah-Hartman , Badhri Jagan Sridharan , Sebastian Andrzej Siewior , Clark Williams , Steven Rostedt , Peter Griffin , Tudor Ambarus , Juan Yescas , Amit Sunil Dhamne , kernel-team@android.com, linux-usb@vger.kernel.org, linux-rt-devel@lists.linux.dev Subject: Re: [PATCH v2 4/4] usb: typec: tcpm/tcpci_maxim: only complain about vbus when sourcing Message-ID: References: <20261125-max77759-wait-v2-0-9914b985c00b@linaro.org> <20261125-max77759-wait-v2-4-9914b985c00b@linaro.org> X-Mailing-List: linux-rt-devel@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Mon, Nov 30, 2026 at 01:35:35PM +0000, André Draszik wrote: > Hi Heikki, > > On Mon, 2026-11-30 at 13:38 +0100, Heikki Krogerus wrote: > > On Wed, Nov 25, 2026 at 12:16:58PM +0000, André Draszik wrote: > > > get_vbus_regulator_handle() logs a spurious "Failed to get vbus > > > regulator handle" error during probe and stores the ERR_PTR in > > > chip->vbus_reg even when sourcing VBUS is not requested. > > > > > > During tcpci_register_port(), tcpm_init_vbus() calls set_vbus(false, > > > false) before the PMIC charger providing the vbus regulator has probed > > > (the charger's power supply waits for the TCPM power supply), or on > > > sink-only boards without a vbus regulator. Sink-only operation does not > > > need the vbus regulator, and max_tcpci_set_vbus() already ignores > > > regulator lookup failures when source is false. > > > > > > Leave chip->vbus_reg untouched when regulator_get_exclusive() fails, > > > return the error from get_vbus_regulator_handle() silently, and log an > > > error in max_tcpci_set_vbus() only when sourcing is requested. > > > > > > Fixes: 0c8935642cb0 ("usb: typec: tcpm/tcpci_maxim: deprecate WAR for setting charger mode") > > > Signed-off-by: André Draszik > > > > Not for stable? > > AFAIU, Fixes: commits get ported to stable if they apply cleanly, while > cc:stable is asking maintainers to do more work to ensure it backports, > i.e. deal with conflicts. > > This here is just getting rid of a log message, for which I didn't think > stable would strictly be required. So why do you need the Fixes tag then? The only case where you can skip the stable kernels (CC stable tag), is if your patch is fixing a commit still in -rcX. If you disagree, and think that the Cc stable line is unnecessary, then you need to update the kernel documentation. You can explain why the Cc stable line is not necessary in the commit message for the patch where you update the documention. But before that, please always include the Cc stable line. Thanks, -- heikki