Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp3042295pxb; Tue, 12 Jan 2021 05:05:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJy0H/sguMbzH426TgLOLpz3SG3vve7w8IF/jc2u4CqFVKoKtC2QbVP2fu11WezyOf6z/7PQ X-Received: by 2002:a17:906:c7d9:: with SMTP id dc25mr3261826ejb.138.1610456728395; Tue, 12 Jan 2021 05:05:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610456728; cv=none; d=google.com; s=arc-20160816; b=VD6oQaoj/9kEYq0MYtJvCQvqAUNFWJT8jZedJOpoXy6nVug5fMV1WyUHA1+yf5xFmy cLjWTfRDTa6aJqgVRRH17OZVVdp/rzZU9MP7luTEBuBR8c8VZCf4r114NTZnfjysxNbv kCM72GHcg8LnrsKiB+vZV/KBVwZZG++MetCAehC5aWw9jbxNJ10vS/wU+R8X/U6/YlSV GD0Tl/JHRof3EYYA3RwCkpVc7stuyYUXWoTTuBh7X8XBgtGfNlzaPuEzCNpzdBWeyYb9 AGXRKY57NxRV43Eh2Lv0IZ89E7Drc0Fv0WB8ZqBE/rh6ByGp6g8z8mhtl7BbagADZYJ8 nKug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:ironport-sdr :ironport-sdr; bh=9Yiagz0rX57GILtglGsf7CxI4QZWWYOe7+xRO3RNc+I=; b=TevUviAOnFH5mbEPFKTW455Y9bgE1r5NUSEzPRH70FBFxJFLqQP2dhOeSmixVtX8RW z2GcgZE8Ae1jK5os5hhO7cHITFhR0NwpogrOMkMcYx7CViXc0T3cHo+W40xeB5x7HVw/ MdGKycjFCMiYXiHTSlZhE0lx0Fp0TsZTqahs0qlZQ6Fm8k/3DVVE1gvG56UB3zPfF+cD F+mE5JhLSNVxM/QCHd6EZQALVpJC6Y5ngtaojfnQIooQUFn+3HgPA1G+Cof6vie0xfqE NSd6oUBuGHyRMEeejqtF7p2r7+kozUR5YTsyFVh1+7ERFOR+4qqlcMKExp2K3aZ8KeXr fo6w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i10si1248343ejd.240.2021.01.12.05.05.00; Tue, 12 Jan 2021 05:05:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731892AbhALMBD (ORCPT + 99 others); Tue, 12 Jan 2021 07:01:03 -0500 Received: from mga12.intel.com ([192.55.52.136]:27173 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731606AbhALMBD (ORCPT ); Tue, 12 Jan 2021 07:01:03 -0500 IronPort-SDR: R/Hl1yEXs06u8FO2u11+i7xFSkqjrAEerYLey0NYhTi6FZibc4D3H+i1iMXMFt76EVpW8CJ7Qv A6FE5QMtIh+g== X-IronPort-AV: E=McAfee;i="6000,8403,9861"; a="157205902" X-IronPort-AV: E=Sophos;i="5.79,341,1602572400"; d="scan'208";a="157205902" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jan 2021 03:59:17 -0800 IronPort-SDR: ypKEomEnaAKcpXlhn1tv5Fdigz/K/gyvkGrARNw2AOh1KfWq312h42F8Z2FGOH+PvOm8J4VL9G 7DMZn0X3wWhw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.79,341,1602572400"; d="scan'208";a="464500260" Received: from kuha.fi.intel.com ([10.237.72.162]) by fmsmga001.fm.intel.com with SMTP; 12 Jan 2021 03:59:14 -0800 Received: by kuha.fi.intel.com (sSMTP sendmail emulation); Tue, 12 Jan 2021 13:59:13 +0200 Date: Tue, 12 Jan 2021 13:59:13 +0200 From: Heikki Krogerus To: Greg KH , Guenter Roeck Cc: Kyle Tso , hdegoede@redhat.com, badhri@google.com, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v5 0/3] AMS, Collision Avoidance, and Protocol Error Message-ID: <20210112115913.GB2020859@kuha.fi.intel.com> References: <20210105163927.1376770-1-kyletso@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 12, 2021 at 12:53:56PM +0100, Greg KH wrote: > On Wed, Jan 06, 2021 at 12:39:24AM +0800, Kyle Tso wrote: > > This series include previous patch "[v4] AMS and Collision Avoidance" > > https://lore.kernel.org/r/20201217030632.903718-1-kyletso@google.com > > and two more patches "Protocol Error handling" and "Respond Wait if...". > > > > The patch "AMS and Collision Avoidance" in [v5] is the same as the one > > in [v4] (only rebased to ToT). > > > > The patch "Protocol Error handling" is based on PD3 6.8.1 to fix the > > wrong handling. > > > > The patch "Respond Wait if..." is to fix a conflict when > > DR/PR/VCONN_SWAP occurs just after the state machine enters Ready State. > > > > Kyle Tso (3): > > usb: typec: tcpm: AMS and Collision Avoidance > > usb: typec: tcpm: Protocol Error handling > > usb: typec: tcpm: Respond Wait if VDM state machine is running > > > > drivers/usb/typec/tcpm/tcpm.c | 925 +++++++++++++++++++++++++++++----- > > include/linux/usb/pd.h | 2 + > > include/linux/usb/tcpm.h | 4 + > > 3 files changed, 792 insertions(+), 139 deletions(-) > > Heikki, any thoughts about this series? Sorry, I did yet go over these yet. I'll review them now. Guenter, have you had time to take a look at these? Br, -- heikki