Received: by 2002:ab2:2994:0:b0:1ef:ca3e:3cd5 with SMTP id n20csp910197lqb; Fri, 15 Mar 2024 09:36:16 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW2Sqjr+sb3j/Gzt8KXJcJ+I6Zmi2LgL985UNgeUkyhdCzwWWFZEE+T1ij+N6qaNqOkarP1ffsl9pzSxvdxGDXejowtAlLS+pQpO45nxQ== X-Google-Smtp-Source: AGHT+IERaw/Cs4wxzK/Ls/EInyoUPOpDCYaT5h/pAGxEMknn0xV/Hsgpz7paX0WbuY+fMapD4OUK X-Received: by 2002:a17:902:ea01:b0:1de:fa9b:7f99 with SMTP id s1-20020a170902ea0100b001defa9b7f99mr1465116plg.10.1710520576537; Fri, 15 Mar 2024 09:36:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710520576; cv=pass; d=google.com; s=arc-20160816; b=tFgpoRZtjy5/tnl4EDNT7LnxUKf3n7KY1/mXay/I04kNqz82NEkKcLKcknbMtPNAlr qucm7xhNHcHmaAqu1QPLw1NXMwf9B0ujOVg9pREbsC18o8AnIg2xm+EgycvyY+es7TGM XfMKhfUMBI2izSFSgac1xdDFP7wxBGcqOpP4tMsB/hvUKSvsBsWv+0uRtjNlM4I6v6Pn 7bamOFm3cDa4WEii4IQUPPzzRKQOVtN8b+YO+h/2H4ARhHNng4w2wuzA9dnkaO+ylqmy KaKVLO2GPZkS4VxBPn/Xe/W5xfMGqTJMt34iokqQ86SwBDRF+sO5KFiyVkA42EK6whRo SsYQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=ghw1k/+pt/ZvrdwVjLVvv3tNq9YHf4zCFABTTJrTcKU=; fh=q0vFY5bVeG2n8TWveVLiwKqBNe2gqSvOt77sWqR/2SQ=; b=t+By+JJDjcub2PhQOXXPLB3UgNtJ/c4gw+9m4JSUByiXsya43apmtuG3jc/iEl3Ee/ KjFRf5FAjJELlsw+u5M+vhUcCT7YuUEQGS0HyzlQgAcR5yDgGtxeT480iMOzaqLdEDLC JRa+jXu81S8yfJQ8W8juINXnHcKJ9ob6g9bSV/USRqpw9x2hb9ZG48CD9GTMeSYGENSD pYhvuzrXSuyeonQ9VTWmp9qFRmR/WBBVw9oKbfGGc9L86Oh1uKgqOsEdvAGT4Opn92AT ymy02RMHO/ea1oexa/vEY27tpi3a/EEeXTIhg4YVO5IWF/YEi0vcIMalULWrFvLDIlLR tUpg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=qqoXWUly; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-104628-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-104628-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id jj5-20020a170903048500b001dcc1450482si3671826plb.553.2024.03.15.09.36.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Mar 2024 09:36:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-104628-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=@google.com header.s=20230601 header.b=qqoXWUly; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-104628-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-104628-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com 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 6BE84B2304C for ; Fri, 15 Mar 2024 16:35:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 082B52208A; Fri, 15 Mar 2024 16:35:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="qqoXWUly" Received: from mail-ed1-f44.google.com (mail-ed1-f44.google.com [209.85.208.44]) (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 A588028FC for ; Fri, 15 Mar 2024 16:35:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710520529; cv=none; b=f5Uysd4tuQx2EEHrOVnH7QxWFy4WcckJz20/FotS4R3DSQ3S8Puf0KP4hId4PnXn43c1tt8pQjFOcjm2sPWqxwig/wmBZGXo/xOb/zGMlaP8zi/RRFENeryadd6KGyNhlhBaSVmYlsR/njJLmh5/v4MIVEDokCVSJpo/u2tCjbM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710520529; c=relaxed/simple; bh=ghw1k/+pt/ZvrdwVjLVvv3tNq9YHf4zCFABTTJrTcKU=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=ZwnC2zv4Wn+OSBsB9gRjR0avSkU2E1PgGOC0v8O6NZxbNbSLs9813TiT5yWjfexLDrYTq03TGBVy/QBqoDGOnZJoU0PMoEO4bsjqmFq8TNlTCL9bssTJNlL+5YUdheqdoqkTTD2CfIx+sXugr34RortzB662E95gZxvvh19vqbo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=qqoXWUly; arc=none smtp.client-ip=209.85.208.44 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=google.com Received: by mail-ed1-f44.google.com with SMTP id 4fb4d7f45d1cf-566b160f6eeso13790a12.1 for ; Fri, 15 Mar 2024 09:35:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1710520526; x=1711125326; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=ghw1k/+pt/ZvrdwVjLVvv3tNq9YHf4zCFABTTJrTcKU=; b=qqoXWUlybVMBx+mnXrUppo7XMBsADPevjOqKcGDpE7JiUU62xmmjGBbsn1wraVixsL TkLVpmJPMbquRJIfiNXQamr6PEZVdNjSfF5b9qht8xqwW5/iq0FYBMg87fAMFAkfK4oB mAnOyxyrrhVRVPGmwK/b4UEooDhXXPn6WKrsdMx/KE7F6BaCFBPelBSAFEzyk3VyRc2E hhmPeJuIy+zrKVnhha8So68hxhOUQwuNOx9wVlhBIoiRgJ8RwMniOn1K06ywemjP3jeZ qoCALuSL8WFYQD91U4ach4GKIRffuf6TktoCBThtcGDH6vfLZ8YcWOUTyNGU6+xSGasY 2kig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710520526; x=1711125326; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ghw1k/+pt/ZvrdwVjLVvv3tNq9YHf4zCFABTTJrTcKU=; b=fDOaI+Pi7e/t8JFSM5m+FvWK/iPmaa+JQmytvzWm4vi6X9TEcxr58CCAVyWrvFLYu3 KXCJ1hYn8FwPTvVfdpX3yhX0slwv5pgoaOjNkummQ8rrBiGHxJjq9/p3+0bJ3HisQ/ga 0NX5ygc9NtURoCn2lkZjo+2GgHNQ+oMKFjcSPh9s+Ywm6WtFtLAY0YKFY5Fe+ffZ87aL b0ORdPp3BsTbqyoMMn8vSWerZRJbJs4A30Q9D0IoAsc67aPpl2iIK0EvzRrLHs/NosUv 8z+F+c8lQSQxrxWM83+lKBodsw3XrxnjuOS19epbqisIHrpmTgXFAB/fk3XgHl6uSena 4vrA== X-Forwarded-Encrypted: i=1; AJvYcCXgRTK2Aby8Dnac0VvII8LNVZp5afvw71UlzkhUZzW5bOhNJMUTL2G/kzUDLioUpPAgdte70HRUmmyuqLaHS2FBq/BKiBLek9+q63vj X-Gm-Message-State: AOJu0YzX+fcSj55QozCaGWotEGpV+3YEyd4Rz/6J6fuwrxzhIkWlhWZ1 T7AE0evqGANHMyKzsEQDflQ+INIKPZwFhpBvvgoWxb+cFYhHKJJzVp2JdYqd8s9LpgpSCOS71qb x+E0jHdkHe+Ev1w7W17RdBFQNiZTjzPDA+CHE X-Received: by 2002:a05:6402:160f:b0:568:5606:71f9 with SMTP id f15-20020a056402160f00b00568560671f9mr168472edv.5.1710520525808; Fri, 15 Mar 2024 09:35:25 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240314235554.90079-1-jthies@google.com> <20240314235554.90079-2-jthies@google.com> In-Reply-To: From: Jameson Thies Date: Fri, 15 Mar 2024 09:35:13 -0700 Message-ID: Subject: Re: [PATCH v1 1/1] usb: typec: ucsi: Check capabilities before cable and identity discovery To: Benson Leung Cc: heikki.krogerus@linux.intel.com, linux-usb@vger.kernel.org, pmalani@chromium.org, abhishekpandit@chromium.org, andersson@kernel.org, dmitry.baryshkov@linaro.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 Content-Type: text/plain; charset="UTF-8" Hey Benson, thank you for the feedback. I'll follow up with a version 2 of this patch addressing these comments. Thanks, Jameson