Received: by 2002:a05:6500:2018:b0:1fb:9675:f89d with SMTP id t24csp677388lqh; Fri, 31 May 2024 12:55:13 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVFc5L0VaWBPCy7r30FIt+YApJYfzzU82IdE0CH9Vlgh7FSXjRQYz4ErJ6GM6MIydd+IxeUZpT8k8u3KZPzgFRastyBYbZAzPGo6ASHYw== X-Google-Smtp-Source: AGHT+IFeBz3vlHjxLODsNNiWE4Jfg9BvlhHBxflUHfQBERr81uqcuszqhA67M6r/aoHit629l3rV X-Received: by 2002:a05:6a00:114d:b0:6f8:effd:7942 with SMTP id d2e1a72fcca58-702477be3b0mr3115990b3a.2.1717185313108; Fri, 31 May 2024 12:55:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717185313; cv=pass; d=google.com; s=arc-20160816; b=Aw3os0iElFEuJrQhOenswfmEkU1Do9vlwjiJSugk9R0Q94mIfKRS/LqJrJPyfF5BxD lmAwfKYdu90jRdOAhFTOq06mr/QdIJFIcxYmug9jjpYxzMDuSV/0Wt2Ex2Ofo1vnSlTu qipplPltPiHJWWMFye+SNhgvE+xaeNncPdAB6rm7jUTwxOGCNE0MbjJHspKfcqTj198P x+DX6UgOdTCpZ7MUIRGSnNfJJEyXcoGLOL7kU1keXQfmVb5meuD6SVRfDL0Ujyta7n/N ifwI5Msvay5aDhsTUQB764FXvBh1cplWttFeaIrAb6tbT/R4zv9WaIQ5JsP193t0VSiY AOJg== 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=zpEOVVkN3svgvLJ0MSvleVz0zBxYmtfdpebZBpC6rKo=; fh=izKlfBnvSPiIAgDy/hVIbs9vFQ+OqWuyXV5Nf/jMltk=; b=aJBM2GWBVUPMb3yPyuqcWLLFhqsnD5a5MlrXZsAjJ551UtBC1rGRrxK3/R3FjszJeR tdLy6IAnBY8MQyILrUURHiTVPf0kXJmT+VRIys5nk+M1thw1SikSvRdClQOPoZdhY+Uf xFC4D/iz+3HL4uuk4ABnbxwVbdyDzOKCAUC96ZV8qiwHViOQcw4dhXlBjojqf3mvclzJ wseQlKNDQhvZY+5b8hh+XVVnYlzt36saT5Qb4TcHmjoJP1iuO56TatnfbFwAr6qy0T9C zGz4DgVcOdLMm1qC9NIJO3zjLgUtlxtDh/ziv73qSwnosUSeMD3dmVAbLjfbDuwFeKpZ 6MLQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qrJhPj6Y; 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-197396-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-197396-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id d2e1a72fcca58-70242d61663si2023394b3a.378.2024.05.31.12.55.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 12:55:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-197396-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qrJhPj6Y; 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-197396-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-197396-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 5ED76B2553A for ; Fri, 31 May 2024 19:45:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1393B17E46A; Fri, 31 May 2024 19:43:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="qrJhPj6Y" Received: from mail-lf1-f50.google.com (mail-lf1-f50.google.com [209.85.167.50]) (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 9998F17D890 for ; Fri, 31 May 2024 19:43:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717184620; cv=none; b=eT1k854WHrR6o7SPZ8CBelfJMpMbOcgGzNDrQPk8sxEqm/xV9P2rjw8KqXh7B6uA9jrG/sXjvLZ0DLhvXcOeo7tq9PEoNjf/n62fIbQMYA8vdNix/9Nc/oO/WrFvJGr0vHDLoJQZS6/Zxm+RYroGq0kHpAIGMe9poeXK+WE8y0M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717184620; c=relaxed/simple; bh=4tvjmu36F6bVNll87Rdec66D3Daq61/yZgAKaXG9tA0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=tJQME5BNel4fzQSegaE/DaERvGgQ2cTIh0Fkg0XnxV1LF7TF/HEXaAgyjHikcqG9mHrFTJRsktIv6Px49TheBI4J+LO0pIezS+RekrJ7Y7kKSIooBb8HeoSvY6C5e+kGIlb2phmrP/+Xv5OqFyHGMWXNETqM5bdeeNldc1UF2fI= 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=qrJhPj6Y; arc=none smtp.client-ip=209.85.167.50 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-lf1-f50.google.com with SMTP id 2adb3069b0e04-52b27afe214so2075944e87.1 for ; Fri, 31 May 2024 12:43:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717184617; x=1717789417; 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=zpEOVVkN3svgvLJ0MSvleVz0zBxYmtfdpebZBpC6rKo=; b=qrJhPj6Y0J1Bp/a3KHTPqHe4Ki3QnE1TD+9YoIlSnJNmFbJ+BjmAGoCJ5I8yYrqPtW tA0XCPwHrqw3Rc0W5roDyRm4RE5gngHnuEl3n19sLjzpU77ZpKKi8uTpr6w1xGzHOSQQ ZS0D1SC8C1aF9fE+fnhVdRMWpvTJKABbdA+A9nID5T20tLwVOUjF+RhpaPWKM9jP5HtI dKiXGX/R30S5JksJ0p6rk3/Kf/8cPmw0FIjNSK/Dr0BeTC9PyLRc6PYv38V9kNU5DtVZ DxiP3UrGyYQ0xb/uroEZ8JQLwRHrmXBjTkqEXskEt+JqFx/gYJGbO/TAJ5OaJRHTzJDr adkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717184617; x=1717789417; 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=zpEOVVkN3svgvLJ0MSvleVz0zBxYmtfdpebZBpC6rKo=; b=Gb6nPGIYbJrK89qys3gNtHIhMVtF7aHowkdyUGgeThCaK4TgaTEk3iI1xARknuEW87 tMlOhuZ494CjCMi0hh7gPpMKHrdBlp/gFO+UH3Juj51opfp2Lg5/Jvt8wG6ZF4eP8ylS ABFQ508QY4Uk0Xpb/FcVTxd/74DmqAyOkNUVd6ZHEG+nBlMrKk3jMZP38nBwK4DVnX4L UeXsSF+ktpZ+vcl0vS+irwf9lnoyqCGP54f31yteV6jg6xqr4GVl9MdnMtnt8YlvEdJJ iXX9kjfg994Wu4HPhC8MFowm03jQ9HShVsAS02WWbUEm1xrxCowqhLYeZ9dTsHnw0tj4 zwmA== X-Forwarded-Encrypted: i=1; AJvYcCXC4FQUq2feo9QyTi/AmtwMVN6ZqVzYHOf+uo0GNFetAQRozZ8f/kgNltlW00T0v3fULv23WH2b4X8nHBx8zxtFflgKj5eKs6HHVnqq X-Gm-Message-State: AOJu0Yz49uCg0JgD9lJBbmVuAaiy9AFXiLDozLyC15p3upOePak9rHp8 IvF46Z/2Kp2sCkYD0GIBZ/kxAoiM9IcxMi5u0l9GgXmk5UqU7CiwzPEMdHZiiLw= X-Received: by 2002:a19:f519:0:b0:51f:a4e0:8b4a with SMTP id 2adb3069b0e04-52b7fa347b1mr1639739e87.21.1717184616749; Fri, 31 May 2024 12:43:36 -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 2adb3069b0e04-52b84d76217sm418812e87.121.2024.05.31.12.43.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 12:43:35 -0700 (PDT) Date: Fri, 31 May 2024 22:43:34 +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 4/4] usb: typec: ucsi: Always set number of alternate modes Message-ID: <6lvxjiaxlulwknxo36x5ll7ueneqvu7paiz64vjmzk6v3cbq5d@5s7dkyowtabu> References: <20240510201244.2968152-1-jthies@google.com> <20240510201244.2968152-5-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-5-jthies@google.com> On Fri, May 10, 2024 at 08:12:44PM +0000, Jameson Thies wrote: > Providing the number of known alternate modes allows user space to > determine when device registration has completed. Always register a > number of known alternate modes for the partner and cable plug, even > when the number of supported alternate modes is 0. > > Reviewed-by: Heikki Krogerus > Reviewed-by: Benson Leung > Signed-off-by: Jameson Thies > --- Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry