Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp217470pxy; Fri, 7 May 2021 01:25:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyNJu7MbhAX+ymtV7BcwERDV5rhB0IvecKKOWQEyYNajFbNWDoz/CyMDRKowx1hk1zYWCwE X-Received: by 2002:a17:906:af73:: with SMTP id os19mr8681437ejb.218.1620375955079; Fri, 07 May 2021 01:25:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620375955; cv=none; d=google.com; s=arc-20160816; b=tUAxIHh25u3qnk/VKkI+Ue78WNTpJCnSaDiYpD6ErEMPsS62lfow8fdGqTU3xcf5GU IaHjhG0adu295Jkc/+6vX+dt2APhC1iINLy/MG+NzXM8i7X97UAKBIKdwCoWSen0fukH GqMVICK5qdmw4r4fKgOzvM/qvTOGHDrXwOHchZ1sfOSo3u0lBc+6cVMZ5iomAeoopWUv qg7TXWKgole3Wca6eYnl6Yaf+3nqaxW6IfUqHeqpaSwJBpTXBZjVIMHu9cfYwhcpAPrH oz3I0CMxORQySPN+8OV8TqTSFcoZf4jDKZDDtN7694v0RQo0fNEEyzlsTEz4RhRt8/hj oMAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:mime-version:message-id:date :dkim-signature; bh=Rdh0vRzSHWi0umCQDgHyPw54MZmqXW1urreOABEWOo0=; b=LAmwOg7bXgTJepWq9fPv8taSIMYeZKIN2OBUK+G1SYJmv6Kod9OV63sWnxEKqS91lP U9qQd/JhJ5ImjtXDk3Q8mgTb1btkyo+vqWWBg+jGxPw/U3nC7meTdWW4FTIBhynVBATg 3C97aJcLsrTOsEhuGXB8PrD5X5JnBgb53WRsBcmOXLGEFABGBcM2ywOD7ZUqsYJGoTZR Pn1X45s938r7DAXptIwmEXfLblWV/VO5bV8m+C0SMgPgcSeGIrmQwfTMApYS/aiG/zTU otRLX7IuyRZxSBeJ2sj065XR4HBwS/Y2yP8CnndUFzzWh+WVRnsHPzZAuVGtKi5gOd6Y vEZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=s7OXqMys; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dc15si4399781ejb.162.2021.05.07.01.25.29; Fri, 07 May 2021 01:25:55 -0700 (PDT) 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=@google.com header.s=20161025 header.b=s7OXqMys; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230197AbhEGGYO (ORCPT + 99 others); Fri, 7 May 2021 02:24:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60762 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233599AbhEGGYL (ORCPT ); Fri, 7 May 2021 02:24:11 -0400 Received: from mail-pl1-x649.google.com (mail-pl1-x649.google.com [IPv6:2607:f8b0:4864:20::649]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E5594C061761 for ; Thu, 6 May 2021 23:23:06 -0700 (PDT) Received: by mail-pl1-x649.google.com with SMTP id t3-20020a170902e843b02900eec200979aso3579667plg.9 for ; Thu, 06 May 2021 23:23:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:message-id:mime-version:subject:from:to:cc; bh=Rdh0vRzSHWi0umCQDgHyPw54MZmqXW1urreOABEWOo0=; b=s7OXqMysxV0wyGqiHPyAopSoFuw1ZvUiirjHDE8W3YBKQmrdXCngfhxd+vOgSpdzAH tuk8Ag7Of06D4jXZLzchte5WrLVCOgYd5sEbL3RM/CoJEFgLlWs7FOzQzvtODxVraBwx 2OZ63utQ5CNxVVtj9nEDt+g5j4m2nAjEVuJNIw6U4SDlivu/bKj6iH6yA9LG7Pofz2q+ /UHPS4UTpO2asuJbw7wLpnG2N8e9wrW/j6tDRg+OCYmjIZEhTm1/7byjz6JftmlFGAd0 lkvWw/oA5w6OeiX6j7G6MSRiJRlr2SVfDMjDrgTi5UVLIZE3Oo9alR1JdPBuDfZ3Fpvf To7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:message-id:mime-version:subject:from:to:cc; bh=Rdh0vRzSHWi0umCQDgHyPw54MZmqXW1urreOABEWOo0=; b=rtRM5lhp+tiihb6TOpd1Cq+DgslnUFnMGZkt6QLJfDl2UGyYVtxbTFBnoYU4UHo2jj awnSO2RLMumXEUWg//dcQdR7254le8Fz4ibXGQIcD+Ww/LYo3fpUL3omwDZHtPrQE+ho XmxkBCEKBwPoNkVPrFIKq5D+UjGlCCVe/Wa0YJRZtBCQM7tXYmY0VRMl818ZY+TwKh7b Sql7CYB5Mpy9B4EVTzGYtAet/5dbfi8fOqyZRwIOjYi7p8LRZ0Tee6UuQLM/VI9/VHhZ +oW8lqsUPGE/LCx5y7HuT7SPBckrLFxY8+yp6I8AHmHUfTE7ejo002X+pnxzo4OcDHog Jqyw== X-Gm-Message-State: AOAM530U5MraYL8thUNLjApUbCR+PHBoPIpJgJnAlU0KVBgGu2biSHgs JjCBpSiHIKsLTunmjKMCqZydaYgCSKqf X-Received: from kyletso.ntc.corp.google.com ([2401:fa00:fc:202:9a5c:8de0:4c79:ba52]) (user=kyletso job=sendgmr) by 2002:a62:4e87:0:b029:29e:ea03:6343 with SMTP id c129-20020a624e870000b029029eea036343mr6065411pfb.2.1620368586270; Thu, 06 May 2021 23:23:06 -0700 (PDT) Date: Fri, 7 May 2021 14:22:58 +0800 Message-Id: <20210507062300.1945009-1-kyletso@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.31.1.607.g51e8a6a459-goog Subject: [PATCH v3 0/2] VDM management improvement and some bug fixes From: Kyle Tso To: linux@roeck-us.net, heikki.krogerus@linux.intel.com, gregkh@linuxfoundation.org Cc: badhri@google.com, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Kyle Tso Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org No changes since v2 except for "Reviewed-by:" and "Acked-by:" -- v2 cover letter: usb: typec: tcpm: Send DISCOVER_IDENTITY from dedicated work - nothing changed since v1 - Hi, Greg, do I need to add "Reviewed-by:" and "Acked-by:" ? usb: typec: tcpm: Fix wrong handling for Not_Supported in VDM AMS - I stacked these two patches because they are somewhat relevant. - This patch solved 3 bugs 1. Not_Supported should be acceptable in VDM AMS. Previous design will send Soft_Reset after receiving Not_Supported 2. vdm_sm_running flag should be cleared in some VDM states 3. If port partner responds Busy, the VDM AMS should finish. Kyle Tso (2): usb: typec: tcpm: Send DISCOVER_IDENTITY from dedicated work usb: typec: tcpm: Fix wrong handling for Not_Supported in VDM AMS drivers/usb/typec/tcpm/tcpm.c | 99 ++++++++++++++++++++++++++++++----- 1 file changed, 87 insertions(+), 12 deletions(-) -- 2.31.1.527.g47e6f16901-goog