Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1978442pxb; Sat, 23 Jan 2021 12:03:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJwszCotgUreFX15TKr5WSpaQnklkrrowOTA9CfYCkQ1h09L8pC4M5qjWtFmxIcrSRGOQ4rK X-Received: by 2002:a17:906:660b:: with SMTP id b11mr103441ejp.458.1611432228248; Sat, 23 Jan 2021 12:03:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611432228; cv=none; d=google.com; s=arc-20160816; b=l19PHp6UzFlLRg96hb29VZqwElBvCpCrQvVp/x2bgNVdrFjoY4IRJ1axy3HE0+H4jQ 5rgKFQzdfBJSBfxQw187uEBYsVmoLx+Z76wuRSg0/ha2Dt2qqSutRSfTe5POw8pMmuB7 +Ce1mO44Q+fOIEi9UYCfQzVAtd+qg1H3sjHHghrIdKWk5ZBtQ2Y17R5hGl3iKTPfQtHT A6tSbdlw/PPJnHoYFWnKvRHIcjpacHsTuNGuZMjyvJrl9jrL7QmGSEMRNAAxojUCtfsi DAwbF882UCj5J8W2NcMewq8wRpMl+YdX2lEl9kcqtwwu1q23P6hq4LoiVcWgsV3Um2tG +I/w== 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=RKGzAur+y3+nJ5jXzUKb7w9ee7p9f06Xime5DftgMSs=; b=mRj+SL6UrO6Zk7eSCg/oPBkTHW9G9ZLu4KKbzTsRr+QkVHhV20PNLzJ8wX1tuzIFkl yX/hhl2EUgkVdA8zQ9YHcaIf6jwYgiaudlWLn1HKQYG1/rrzXZYkUJ2jsbeIIQSMgE7B xuc5hmaiwudlW7HXilwLiVoLRu+gH1m10mY7DKIumK5kEPcIckZ7C3VVmdWOjVdUD2ks F4yOd0tn/nz0bX1pZbmOGag6siXmQrBcBmPPMuWwB1+QUJm0lbdE+vttSL7U+fn581dY YdirPXWJ8GPsxvytxFAqOApRnVpiZmd/9ZtdDpKm2lzQ8UJ+PuYx2kQghwbr52X8ZMWU Mwjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="j/wCcZLT"; 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 qw12si4519788ejb.550.2021.01.23.12.03.08; Sat, 23 Jan 2021 12:03:48 -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="j/wCcZLT"; 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 S1726404AbhAWUAi (ORCPT + 99 others); Sat, 23 Jan 2021 15:00:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36744 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726333AbhAWUAF (ORCPT ); Sat, 23 Jan 2021 15:00:05 -0500 Received: from mail-ot1-x32c.google.com (mail-ot1-x32c.google.com [IPv6:2607:f8b0:4864:20::32c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C6582C06174A; Sat, 23 Jan 2021 11:59:24 -0800 (PST) Received: by mail-ot1-x32c.google.com with SMTP id e70so8699684ote.11; Sat, 23 Jan 2021 11:59:24 -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=RKGzAur+y3+nJ5jXzUKb7w9ee7p9f06Xime5DftgMSs=; b=j/wCcZLTM8+WMp2+pNbuJhXeZGrpi8mq3kNzRq9VUMN1EBPyT/DKktj0ZaoJ9h1haC 6daMMfhlcmZn4dBqSnG62vdaX4FSVPwneH63O/HnwPUKSswQ1vlJT9atlkQdCFEFFnFe pGndqU6VUIZuiVBmkP42AR4OADWmKGtPKpjkfMgVAJ0dENZHAPVUxO/Rn6krjK9fXNDs 2xs3V5xkZt+B4hiK8WMhP5Jis9n+zllEQl0Xzv0bpD/+KuHLqy/TIvDvQZWk8Dlexxm/ 5/LuUeW7FLcB8EWwzBeyodyZzwKQ7TtfqyDSdZ88p7MrLosC8DgAej0k1i6rx5w5QOWC 1F0A== 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=RKGzAur+y3+nJ5jXzUKb7w9ee7p9f06Xime5DftgMSs=; b=tn3nPKZXOtxSviazV8SABUb50BeMLd6FqKdLcBII85qa9C4ca4Jr3C07YHAHuI6jR9 7sxLgZbz+9Z5CGv64s+Lp8TTbpCMMamlG0mBtILVny98PbmLSvalpptyvpzqQ7/jlwuh FLSbqwe+/IEOiqRbHyuC47ICz1XFYIa/UOxYTWzhQ0LUqNklZNyG9+ciEC8uNMEQ65SI 6shNXa2P6jWaz2wtp7fesl8qABY4leWuoY6C2b1DFnOVmZDpedcwxz/b5IsE/8OtORsv 1nxEr3Nji27yeq3vrkR5tJWrZ5nkUiiLXekEFgoWYpxQxej08FGdK9o0IxRJm41tWZno Ve9w== X-Gm-Message-State: AOAM530FvOHKt12fg6oSzvIXhibGoT/hryiBYtafOtXcLEKNgWLw7ARp HMw0QyFsA7ZkJlx53oCaptD38RAktJXI6A== X-Received: by 2002:a9d:3bb7:: with SMTP id k52mr7733113otc.251.1611431963846; Sat, 23 Jan 2021 11:59:23 -0800 (PST) Received: from server.roeck-us.net ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id p11sm2435002oif.55.2021.01.23.11.59.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 23 Jan 2021 11:59:22 -0800 (PST) Sender: Guenter Roeck Subject: Re: [PATCH v6 0/3] AMS, Collision Avoidance, and Protocol Error To: Kyle Tso , heikki.krogerus@linux.intel.com, gregkh@linuxfoundation.org, hdegoede@redhat.com Cc: badhri@google.com, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org References: <20210114145053.1952756-1-kyletso@google.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+hVL2Prf8xrXuZe1CMS7ID9Lc8FaL1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3HjSLdertmw7eyAYOo4RuWJguYMg5DRnBk WkRwrSuCn7UG+qVWZeKEsFKFOkynOs3pVbcbq1pxbhk3TRWCGRU5JolI4ohy/7JV1TVbjiDI HP/aVnm6NC8of26P40Pg8EdAhajZnHHjA7FrJXsy3cyIGqvg9os4rNkUWmrCfLLsZDHD8FnU mDW4+i+XlNFUPUYMrIKi9joBhu18ssf5i5Q= Message-ID: <7b9188ca-4608-c50f-e678-2d175433dfa2@roeck-us.net> Date: Sat, 23 Jan 2021 11:59:21 -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: <20210114145053.1952756-1-kyletso@google.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/14/21 6:50 AM, Kyle Tso wrote: > v5 https://lore.kernel.org/r/20210105163927.1376770-1-kyletso@google.com > > "usb: typec: tcpm: AMS and Collision Avoidance" > - removed the signed-off > - modified the coding style suggested from Heikki > - added FR_SWAP AMS handling > > "usb: typec: tcpm: Protocol Error handling" > - removed the signed-off > - modified the coding style suggested from Heikki > - modified more coding style problems (line wrapping limit) > > "usb: typec: tcpm: Respond Wait if VDM state machine is running" > - no change > > ------------------------------------------------------------------- > > 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 | 1001 +++++++++++++++++++++++++++------ > include/linux/usb/pd.h | 2 + > include/linux/usb/tcpm.h | 4 + > 3 files changed, 829 insertions(+), 178 deletions(-) > For the series: Reviewed-by: Guenter Roeck Guenter