From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from cae.in-ulm.de (cae.in-ulm.de [217.10.14.231]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4450F129A73; Thu, 15 Feb 2024 12:03:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.10.14.231 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707998589; cv=none; b=gOrQJcRuLRqiB2ptxCIthRCBBm+vXTyehR6ZGOzamR4NSgjsz5/E9IDeK5VoxQ5dnkf9qxNOqEUyQbHh4UlQkYnX1qUGLJiElJn3106FbMixUaHfijqMPtpoMxBNIe75sfShwxRUk4mHzTLDQ28x+K1RNLri/UU2A0V2f/sNA1g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707998589; c=relaxed/simple; bh=KLEpcqUuMdy0qHBK987rtK7f0TP+ymsMuh1O6QES8mY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=hNAddM4OmhJjVXib5orhNjkEWyOMhcLPP3I6KiHwEwnOudKnD6419dMFwDK1RdHpkr6vi5625vFSOEsE9/kFN8leqBQA4o/E5vprU8fcx9NbJqanmU2cTeNPYO5wQJncCHnlEMWNGp5Gl6rS1S9YmVGS6fyQFNKqpzBlkAlMHW4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=c--e.de; spf=pass smtp.mailfrom=c--e.de; arc=none smtp.client-ip=217.10.14.231 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=c--e.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=c--e.de Received: by cae.in-ulm.de (Postfix, from userid 1000) id C91441403D1; Thu, 15 Feb 2024 13:03:03 +0100 (CET) Date: Thu, 15 Feb 2024 13:03:03 +0100 From: "Christian A. Ehrhardt" To: Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Heikki Krogerus , Andy Shevchenko , Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , Sing-Han Chen , Haotien Hsu , Utkarsh Patel , Jonathan Hunter , Wayne Chang , WK Tsai Subject: Re: [PATCH CFT] usb: ucsi_ccg: Fix command completion handling Message-ID: References: <20240215101024.764444-1-lk@c--e.de> <2024021504-oven-worst-5c15@gregkh> Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2024021504-oven-worst-5c15@gregkh> Hi Greg, On Thu, Feb 15, 2024 at 12:07:20PM +0100, Greg Kroah-Hartman wrote: > On Thu, Feb 15, 2024 at 11:10:24AM +0100, Christian A. Ehrhardt wrote: > > In case of a spurious or otherwise delayed interrupt > > it is possible that CCI still reports the previous completion. > > For this reason the UCSI spec provides different completion > > bits for normal commands and for UCSI_ACK_CC_CI. > > > > Only complete a sync command if the correct completion bit > > is set. > > > > This should avoid the need to clear out CCI before starting > > a command. Thus remove this code. > > > > Signed-off-by: Christian A. Ehrhardt > > Fixes: e32fd989ac1c ("usb: typec: ucsi: ccg: Move to the new API") > > What does "CFT" in your subject line mean? It's supposed to mean "Call For Testers". More info in the "Additional Information" section of the original mail. I think the change is necessary and good but I do not have the HW to test it. I did test a similar change for ucsi_acpi.c that got merged and this is the ping for ucsi_ccg.c people that they probably need this, too. regards Christian