Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp3090344pxb; Tue, 12 Jan 2021 06:13:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJyb9kZFBhRmhT9Ui1IN/gaamiGIS1qdtBFvpZKCus0gj1M/6FZvtyaAbMfNPoYllut8T8gI X-Received: by 2002:a17:907:389:: with SMTP id ss9mr3478935ejb.158.1610460791851; Tue, 12 Jan 2021 06:13:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610460791; cv=none; d=google.com; s=arc-20160816; b=MDSmSxsv23UseOr8+E4SO6Th9lvvBp3QGgya0KpXLNDuil9becYxIDiFyfHZvYJzL6 7qgwCvYNwalmrmvg5onl2lub7qkwhRf0XNrAf08rCLAve2SG5UfxpS9KPDJr+RYxjNm1 1dvYLJrTs5ntheESPnkJcr7Hau3bzSrjjD4OmwbVGmgnMpcDTCdwkNgOb+0ot/YG5gwA DwYoP00GTujplG5wCh4eDCDNuAYm/1vXT+VmWZpLr9kTEeKDBz3MUhHmE2Vwl8nr2aRI zM6T2UjM02sGJ5YjhYlRTSZV4SdmsKYwHJqdXACiMWvViTov0dCm43WULA/eEllvuWTH U9cg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:autocrypt:from :references:cc:to:subject:sender:dkim-signature; bh=OeKweST8lxunWd5nJjqzuoPLNHXlVRG7GZzmbSxYm9A=; b=vldiThAd+qhFBOEx/oP83k4J10fQ99C+ef+8G2PRVaC2kBrwpowSphHiL2rVlXkkJ8 X1SeZNc8FEbLcJACf1Ck/FnIXkIYvCTed++cjdmtxz6SrvVSkedEp2h2CKgMK524j+zU qpWZ5jggL+zLGJdKJe2z9JXmk2OwX6r7LM2q+GuZ01XXjmGwf+sZwjWlJDwCY5iRTNZo RdOHNu9CzMgFBwnFHickQ4FWPcjUw4WH8UuwqRE1KetX1wPpOCJ3DR2+smNakHYZ3AGM HoKXajSjKDbJXuD3X1LPBg7ftSBMlVwcdxMcuz3RiEG8LdmojBNw5cSpUumjd/vnD5P+ XWyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=I3ZNk06j; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f12si1078767ejx.748.2021.01.12.06.12.44; Tue, 12 Jan 2021 06:13:11 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=I3ZNk06j; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725831AbhALOKN (ORCPT + 99 others); Tue, 12 Jan 2021 09:10:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60920 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725613AbhALOKM (ORCPT ); Tue, 12 Jan 2021 09:10:12 -0500 Received: from mail-oi1-x231.google.com (mail-oi1-x231.google.com [IPv6:2607:f8b0:4864:20::231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0CEF0C061786; Tue, 12 Jan 2021 06:09:32 -0800 (PST) Received: by mail-oi1-x231.google.com with SMTP id d189so2401981oig.11; Tue, 12 Jan 2021 06:09:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:autocrypt:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=OeKweST8lxunWd5nJjqzuoPLNHXlVRG7GZzmbSxYm9A=; b=I3ZNk06jxUCvuEIXgoNelrfGPFRx/sy5wRprBg/inuCZgBeCURnmhK7P8mMyLn0YBl 8WGG8wn0UMI+RXYTLHU4h+HjfQJ9y1Hv7CTBeLARFp2BN+QNVQfJXTP3a65VlSLbCoo9 A533MfjchwFQUHDtpF871EW7tNk4erB2WZsbbNy/IlXvYm/EHJHlqQx4DJyGM8DQrtob bobRq/HfbujSayXgDHg1AIU1mioTkgP32GPaIhHMu1YasIh6/HPxhQBcsmdDdAUQws+x U0To0qcOUy4K4v2c9bfipU+b7LZL2zM9PV4fE707JP14Ho+srP5vGl0eQ6CiKSibvyRI 7ulg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:autocrypt :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=OeKweST8lxunWd5nJjqzuoPLNHXlVRG7GZzmbSxYm9A=; b=L3kMFaUFLFoHbBP5ZGR9pjqokfuLmtj7piNXdr463UlqWYOdI3925f485du9jX6P3c CWO/3eMj15darr0Sd9XhzLl6TEXRC7pHclIs2tjcwoQmWcWtyPZLuRE8fN8vXrmDXUxo bMTLYOhKbippsceRY/GzvM3bsoKkHeWeudXDGzJPSgnuif3+zrAvxW8NltdAdHKfgfES onb1J97fiFno5MSMvEwxZxp+FsDzobsyKurS7NdQdBZdlkKlU4jsoC9V93SYaRJKim4o nxExjNjjys+MEhUeJziQkxkJBJWob9gaZWAIheRHCo8vAwqyAJ8lKHKXYur5HZh8nn0F XrdA== X-Gm-Message-State: AOAM530eylFVQvROCn/9B03d0kFXaNk5h3jwRx/x0tUiFdvMJ1htzmJt P+pSVfOGNgr797x7orm+B3mPD7LPrek= X-Received: by 2002:aca:7544:: with SMTP id q65mr2450436oic.51.1610460571060; Tue, 12 Jan 2021 06:09:31 -0800 (PST) Received: from server.roeck-us.net ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id s23sm636455otr.59.2021.01.12.06.09.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 12 Jan 2021 06:09:30 -0800 (PST) Sender: Guenter Roeck Subject: Re: [PATCH v5 0/3] AMS, Collision Avoidance, and Protocol Error To: Heikki Krogerus , Greg KH Cc: Kyle Tso , hdegoede@redhat.com, badhri@google.com, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org References: <20210105163927.1376770-1-kyletso@google.com> <20210112115913.GB2020859@kuha.fi.intel.com> From: Guenter Roeck Autocrypt: addr=linux@roeck-us.net; keydata= xsFNBE6H1WcBEACu6jIcw5kZ5dGeJ7E7B2uweQR/4FGxH10/H1O1+ApmcQ9i87XdZQiB9cpN RYHA7RCEK2dh6dDccykQk3bC90xXMPg+O3R+C/SkwcnUak1UZaeK/SwQbq/t0tkMzYDRxfJ7 nyFiKxUehbNF3r9qlJgPqONwX5vJy4/GvDHdddSCxV41P/ejsZ8PykxyJs98UWhF54tGRWFl 7i1xvaDB9lN5WTLRKSO7wICuLiSz5WZHXMkyF4d+/O5ll7yz/o/JxK5vO/sduYDIlFTvBZDh gzaEtNf5tQjsjG4io8E0Yq0ViobLkS2RTNZT8ICq/Jmvl0SpbHRvYwa2DhNsK0YjHFQBB0FX IdhdUEzNefcNcYvqigJpdICoP2e4yJSyflHFO4dr0OrdnGLe1Zi/8Xo/2+M1dSSEt196rXaC kwu2KgIgmkRBb3cp2vIBBIIowU8W3qC1+w+RdMUrZxKGWJ3juwcgveJlzMpMZNyM1jobSXZ0 VHGMNJ3MwXlrEFPXaYJgibcg6brM6wGfX/LBvc/haWw4yO24lT5eitm4UBdIy9pKkKmHHh7s jfZJkB5fWKVdoCv/omy6UyH6ykLOPFugl+hVL2Prf8xrXuZe1CMS7ID9Lc8FaL1ROIN/W8Vk BIsJMaWOhks//7d92Uf3EArDlDShwR2+D+AMon8NULuLB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KEsFKFOkynOs3pVbcbq1pxbhk3TRWCGRU5JolI4ohy/7JV1TVbjiDI HP/aVnm6NC8of26P40Pg8EdAhajZnHHjA7FrJXsy3cyIGqvg9os4rNkUWmrCfLLsZDHD8FnU mDW4+i+XlNFUPUYMrIKi9joBhu18ssf5i5Q= Message-ID: <0fb8c97e-e071-0fd2-c235-8b9609604a9e@roeck-us.net> Date: Tue, 12 Jan 2021 06:09:28 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20210112115913.GB2020859@kuha.fi.intel.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/12/21 3:59 AM, Heikki Krogerus wrote: > 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? > Not yet. I have been been buried lately :-( Guenter