From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8A24DC47082 for ; Tue, 8 Jun 2021 06:42:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 63DF961246 for ; Tue, 8 Jun 2021 06:42:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230145AbhFHGoC (ORCPT ); Tue, 8 Jun 2021 02:44:02 -0400 Received: from mga02.intel.com ([134.134.136.20]:36366 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229507AbhFHGoC (ORCPT ); Tue, 8 Jun 2021 02:44:02 -0400 IronPort-SDR: W8dS0Ln6XV/Ynt9FeaWAhn/RPZ9MVhqZXpIb2fHvRPeKqzHpQa1nRU4RwFNFtD1HVFhRO3w2ow mv2grgclt6dg== X-IronPort-AV: E=McAfee;i="6200,9189,10008"; a="191892538" X-IronPort-AV: E=Sophos;i="5.83,257,1616482800"; d="scan'208";a="191892538" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Jun 2021 23:42:09 -0700 IronPort-SDR: 1hAV4Dfqi3XVg+bwqS2zqLsYdUQ+Iz3t0Ij89q9/kbwwPqNNbjTHOb+CED7vd8WsX/3vkgoXv/ lMVvkpwZwRkQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.83,257,1616482800"; d="scan'208";a="552159435" Received: from kuha.fi.intel.com ([10.237.72.162]) by fmsmga001.fm.intel.com with SMTP; 07 Jun 2021 23:42:07 -0700 Received: by kuha.fi.intel.com (sSMTP sendmail emulation); Tue, 08 Jun 2021 09:42:06 +0300 Date: Tue, 8 Jun 2021 09:42:06 +0300 From: Heikki Krogerus To: Benjamin Berg Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH 0/7] usb: typec: ucsi: Polling the alt modes and PDOs Message-ID: References: <20210607131442.20121-1-heikki.krogerus@linux.intel.com> <4a76d2152f016b58298bec16aa2003a6ec55f8a8.camel@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4a76d2152f016b58298bec16aa2003a6ec55f8a8.camel@redhat.com> Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org On Mon, Jun 07, 2021 at 10:09:58PM +0200, Benjamin Berg wrote: > Hi Heikki, > > On Mon, 2021-06-07 at 16:14 +0300, Heikki Krogerus wrote: > > This is the RFC series I promised [1]. > > Cool. > > > I'm sorry it took this long to prepare these. I had to concentrate on > > other task for a while. > > > > Let me know if you still see any problems. > > Hmm, I am not sure this got better. I applied the patchset on top of of > the 5.12.9 Fedora 34 kernel. On the machine in question (X1 Carbon 8), > I see the online state getting stuck at 1 occasionally. This can happen > for example when quickly plugging and unplugging a USB-C charger. Please check does the partner device get removed. What do you have under /sys/class/typec after that happens? thanks, -- heikki