Received: by 2002:a05:6500:2018:b0:1fb:9675:f89d with SMTP id t24csp673239lqh; Fri, 31 May 2024 12:44:44 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWsAmy4VW4UeXybgHec2XsYDtHa+wfxbzYXavs+281Rk1RmACczuxkTlTas7ySrbdquUGx/5FJAGPljrEvSbyveUoNMzyoOWYl26/JQ0w== X-Google-Smtp-Source: AGHT+IFjNUW01iYwcfpusjRor9WHX7WE8t26gn80UMTMt0aHsG2VadJOEi9nlEnFT0WWORhEzTbI X-Received: by 2002:a05:6870:9a11:b0:21f:1705:d5b0 with SMTP id 586e51a60fabf-2508bb80660mr3398386fac.52.1717184684156; Fri, 31 May 2024 12:44:44 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717184684; cv=pass; d=google.com; s=arc-20160816; b=AVvhtZJU4/2OQ+nAQ0tucXMnVDgxAk2ax2njFiNl3ROFCSyefI+hDxb71vCQvBQP4+ tmeCEAjJ/oW1a0XtwUbojGNLsalbAOhFjpj+t4LTjQJcGAOx1+P96r0S0wKvU9V00c+y Wf6VJq0aq536odsQWxaCEFe1+uo3ByNJUPwMsPWJoZBNRuOFIZkKDQ577vwSWx8+gDLM YTggGzFIeDPOJC5H8hGynOL1rCI4Xie0hUOgPf5KqOVwNar/YBM7cTS1KiKTRoZEzJym Tz4IEmld6+RKUC+FIToCjQJQvfaR2LTbS76aG9CeKPmeFk9/8PHM7xJ1KqKBpxQZWmXs Z4gQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=cj95dgjOxLUo6tCNv9nV5YDxUYseJBGSFHyhTNhlFaY=; fh=fVvQWTH02ajxtdZaeQA7aX4wj/V3fEh+iSd9SeEvs3Y=; b=nI5ABfpT7+qHCPHoEVoyR03j/dM/hlUEObwV1UxtVYezK+BDrbiaRyhbGyrcInRyF9 ldHpgYEM9QVwNWe0zT2h3BViYpNM0xIO+0a7J5SNc8AefKJAko5riVAtXPbb29HDowE8 jByorZ6vedPsekakkrd89ryc7MTO2MuJhsun98rFqn578C/swpKbtW/+Et+tq43GpFmV KUu9lt9V1gwN1HFd1FJdYLnY/0xLex/Q3DX2lOl1Bo8UwQfU184U+PuBmpBmkhD/ML9I VzE0hy1N/KoX8kupISN774hZapbF8V90wziW7AOfuYsks5XOcNsW1Ee36LTYyFyHvOU7 OLWw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uBqMBe9I; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-197395-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-197395-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d75a77b69052e-43ff2468bc3si28158921cf.379.2024.05.31.12.44.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 12:44:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-197395-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uBqMBe9I; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-197395-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-197395-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id D849E1C217E8 for ; Fri, 31 May 2024 19:44:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F236217D360; Fri, 31 May 2024 19:43:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="uBqMBe9I" Received: from mail-lj1-f182.google.com (mail-lj1-f182.google.com [209.85.208.182]) (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 9E64E183A86 for ; Fri, 31 May 2024 19:43:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717184584; cv=none; b=ZCNA62S8BgrpXkUs5VeSMlO0tqi2laH1/A0hoOBsFP0GfGHESEuogNvQpx2z61+dVYYyjB9Y61rDSkoJ95eBw3XcMH8FoXQmi5Nxp/s5YEGiA6VazrM6AYQFO5M41a2vCIV6FIvTyiufMtvKw2gfXW5ACyoIU335FABSyLEZANE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717184584; c=relaxed/simple; bh=f51U8aqpLXT7drYRY/VYQWiKVq6GFj4oP94dMlSV8i8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Mcm+ZLIUAiGSoxlrsx4udGUOfpRwNAFUbOvvrAsDKkUgegOp8uYJkrbPLayLZBP4/jk26QezxubOOmwIIxInRUPVtw3i11y8pY0PlIc0xKM021BD6cmD9W+iJb1kk2GjVyunCj8RV6yhxpBi3hdeqAeKfVACXMxKfyU5wSCcH7E= 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=uBqMBe9I; arc=none smtp.client-ip=209.85.208.182 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 Received: by mail-lj1-f182.google.com with SMTP id 38308e7fff4ca-2ea8fff1486so14347521fa.1 for ; Fri, 31 May 2024 12:43:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717184581; x=1717789381; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=cj95dgjOxLUo6tCNv9nV5YDxUYseJBGSFHyhTNhlFaY=; b=uBqMBe9IT/BBCKnbvceSWqWifmovCuZ2O+hlH3sfN8XOkfGuUjc9k7bWrq+FfJDvmJ 31Ue36F87/NzFmI8xn6+xshJVa8VRiTcuIwgmxH9ux7avAfM6Ca+LZqdaHpEx9NXAG17 u/Aa51KIUN9o49531HkPRYK+eq6DkGqB5ZYcFfllwvnwzw8sDgmhPWMQrOT33LvUSAD4 Rh25um0zOcD7is1G7sYUBmGLcDe6IqoZktAzjoFDlGE62YcOUJyp2BgzLH3FsZc8l7Vo pbpHkF6woey7AKPzoPBhCuFou5McYEzytiLlwwUt1VKgzsoBHjY+QMlNx0rQcqAjEoqB iS3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717184581; x=1717789381; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=cj95dgjOxLUo6tCNv9nV5YDxUYseJBGSFHyhTNhlFaY=; b=MMcoYSzd+v7NLTpQMVndSmurNIH08kfGMRMo61NMT9cB13GNsyGjl72lxZ3KTPx28y 5M8GaVP628UZ5y/dxvjMjmGwYP5Ip2yK0tPVX98LHqm3rix9QCIKdlMi2B0ZLS6GfjeD YfiY/qOBWeXvN6kuCamXg4eJiB6gDBSgqtUat8cpka3vffoDnpvNouKoJkUzq2OEreqA erlXKSErLr6E6U9rHBHps5yPMv6WMf7gDrlc9k1GUmmHGQ6BRsYkchaFKsUiHJycJQRy bOkhodgQPkHYP8Rpm8Ka6c7RNt7R9+Pq+MlMZV7iL5awWrp1S29832NXUCpmd6IN0oQu s5Hg== X-Forwarded-Encrypted: i=1; AJvYcCVyl7mZIE1SqGsVqpp8cA6hgcIfXbw6sAL47FFsM32+usc119vNrBHkyD9KfA/ZiQGfCc8/8HPH3DDqkbaf6q+idGttcTVytmfz2rDS X-Gm-Message-State: AOJu0YzlnxhEDNPkqIQxXj9xb/AnHr7Cb1JdMqnximqmfNFcta+U8wfG MY9bKAbCprpoYsDlbUqD06iiOjZv69O032ZVRB0BOHGKsD+HuVDrI0sDISiCCD8= X-Received: by 2002:a2e:b019:0:b0:2ea:97a3:74ce with SMTP id 38308e7fff4ca-2ea97a3768fmr7246431fa.5.1717184580711; Fri, 31 May 2024 12:43:00 -0700 (PDT) Received: from eriador.lumag.spb.ru (dzdbxzyyyyyyyyyyyykxt-3.rev.dnainternet.fi. [2001:14ba:a0c3:3a00::227]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-2ea91b9d739sm3809701fa.9.2024.05.31.12.42.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 12:42:59 -0700 (PDT) Date: Fri, 31 May 2024 22:42:58 +0300 From: Dmitry Baryshkov To: Jameson Thies Cc: heikki.krogerus@linux.intel.com, linux-usb@vger.kernel.org, pmalani@chromium.org, bleung@google.com, abhishekpandit@chromium.org, andersson@kernel.org, fabrice.gasnier@foss.st.com, gregkh@linuxfoundation.org, hdegoede@redhat.com, neil.armstrong@linaro.org, rajaram.regupathy@intel.com, saranya.gopal@intel.com, linux-kernel@vger.kernel.org, Benson Leung Subject: Re: [PATCH v5 3/4] usb: typec: ucsi: Delay alternate mode discovery Message-ID: <26wuxpalndpjdpxbvi4cch6aixtv6zwofyefnnkc4ngkt26342@s42issc4douq> References: <20240510201244.2968152-1-jthies@google.com> <20240510201244.2968152-4-jthies@google.com> Precedence: bulk X-Mailing-List: linux-kernel@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: <20240510201244.2968152-4-jthies@google.com> On Fri, May 10, 2024 at 08:12:43PM +0000, Jameson Thies wrote: > Delay the ucsi_check_altmodes task to be inline with surrounding partner > tasks. This allows partner, cable and identity discovery to complete > before alternate mode registration. With that order, alternate mode > discovery can be used to indicate the ucsi driver has completed > discovery. > > Reviewed-by: Heikki Krogerus > Reviewed-by: Benson Leung > Signed-off-by: Jameson Thies > --- Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry