Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1464313rwb; Fri, 23 Sep 2022 13:05:37 -0700 (PDT) X-Google-Smtp-Source: AMsMyM45GN+zjCS8xuj8SshLbIceHMNrdLCu+F9wkR5LybrlzyIDbOtJlB6ei4yxkg98GGke3mTz X-Received: by 2002:a17:906:a219:b0:6e4:86a3:44ea with SMTP id r25-20020a170906a21900b006e486a344eamr8751146ejy.385.1663963537365; Fri, 23 Sep 2022 13:05:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663963537; cv=none; d=google.com; s=arc-20160816; b=OIP/3vaHzKy9YbHub25J7HN7xDsc9ltEMBawEWPleP8i/tLljh/+pHow9MrnO/NOk7 5QxxeIq89M6/HMpDLRp1g990d0OrS1sBiLf6ia97dWR9dsnXTIrXoKUIxCLHDMPoDRng VKUOasVl8qUK3bR06j1fe8lXHsEz8ZFxB+5QMwaMr/I3EBrtEy1lZw2onFS0C4mjpO9E 7caVXbcukHYvbwG7QiBvyHj4wtPA169JiRSKbH2ZjNZPgWmZIE66YwRUXGRblhYo6upE RhfdXqiPM3YBJ2zldX2DrmGsvGh99icz+jckE8vF60M/jS8zOjX7B/Xohae4YxN8t2h0 LoGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=hj3ranSeS0Sgp6igO3gJgFBD5rvm3Ancr/OqZhSpzzI=; b=c582ayape//Qb5fHlEUxPreJaS/m6ClUrlcwRXMlLeE3aP84+MAZyQkou9Yrf/eBjD xWriTVt9LmaD9hstoaiFTAIBchkWZYIT+u/YPPM/ESD50FShEd3a+Mdy/lqX222EVqe4 VcJhYkphgoJfzHHoOnzKp3T9h6w8ZLylgl2Zru7kSXOr/OElHbznEzRjP6Qd+FiaOz7N mMtfEnc6AuFisU50nCKzdPjhpweVGRyKVEob3clSl9Di5p2B5Yy96JQRTEWBnIUHMo5T 9t5dIx+bWP28DredidDqVit1GSG6kZID4q0OSgWmZcUFRKggm1zk9JulHDcTQBPGJA36 R7Ug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=HHbiYgQO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hw19-20020a170907a0d300b00780805b99ccsi6522159ejc.648.2022.09.23.13.05.09; Fri, 23 Sep 2022 13:05:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=HHbiYgQO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231903AbiIWS6T (ORCPT + 99 others); Fri, 23 Sep 2022 14:58:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37962 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229733AbiIWS6R (ORCPT ); Fri, 23 Sep 2022 14:58:17 -0400 Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9CF19122A5C; Fri, 23 Sep 2022 11:58:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1663959496; x=1695495496; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=bLhdRM6jcdMlWBQ+zRFY/u6ww5on8N54bdu+PLsPS4I=; b=HHbiYgQOiTA6QSjQ8P1JS+MbD7BgnNnYb3jLMB4IEonHDvo6vNzECSTX t0lhSk876mMqP8v66WJ7HtTHUEYXJXOSlnJ+13Jt9TY0RTfBjVzsqh9Gc zYspUySzmXvC0dPzF+lgaF6+KKriqMpyEd3YnNReDvUvdxlRytpWe/FJp MQIWy8Q4N1VZRYz6GM1LmEB2PGPAjkFj4MkGG3gKBHUp+YZSoeMymXbaG 4lqRmjsb8kuNvZGlnE1NBhIKg+QhIEj3cSTxKumiE4dAKgLGjJKlJdCAH fNSnX4dIkpta2Jtvyhqmq4/ozewyfmutRJjuC4eo2CIJL8xXasjTaPz9K Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10479"; a="362484146" X-IronPort-AV: E=Sophos;i="5.93,339,1654585200"; d="scan'208";a="362484146" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Sep 2022 11:58:16 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,339,1654585200"; d="scan'208";a="615716976" Received: from smile.fi.intel.com ([10.237.72.54]) by orsmga007.jf.intel.com with ESMTP; 23 Sep 2022 11:58:13 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1obnsJ-006ch1-2h; Fri, 23 Sep 2022 21:58:11 +0300 Date: Fri, 23 Sep 2022 21:58:11 +0300 From: Andy Shevchenko To: Sven Peter , Stephen Rothwell Cc: Andrey Smirnov , Ferry Toth , Greg Kroah-Hartman , Felipe Balbi , Thinh Nguyen , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Thinh Nguyen Subject: Re: [PATCH v4] usb: dwc3: Don't switch OTG -> peripheral if extcon is present Message-ID: References: <20220403164907.662860-1-andrew.smirnov@gmail.com> <691c3073-5105-9a2b-e6f2-ea0a4b8aaea8@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org +Stephen to help to realize what the mess we have now... On Fri, Sep 23, 2022 at 08:35:13PM +0200, Sven Peter wrote: > On Fri, Sep 23, 2022, at 20:23, Andrey Smirnov wrote: > > On Fri, Sep 23, 2022 at 9:42 AM Andy Shevchenko > > wrote: > >> > >> On Thu, Sep 22, 2022 at 04:32:55PM -0700, Andrey Smirnov wrote: > >> > On Thu, Sep 22, 2022 at 3:23 AM Ferry Toth wrote: > >> > > On 22-09-2022 12:08, Andy Shevchenko wrote: > >> > > On Sun, Apr 03, 2022 at 09:49:07AM -0700, Andrey Smirnov wrote: > >> > >> FYI: For now I sent a revert, but if we got a solution quicker we always > >> can choose the course of actions. > >> > > > > I think we have another problem. This patch happened in parallel to mine > > > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v6.0-rc6&id=ab7aa2866d295438dc60522f85c5421c6b4f1507 > > > > so my changes didn't have that fix in mind and I think your revert > > will not preserve that fix. Can you update your revert to take care of > > that too, please? > > > > I'm really confused how the above commit could be followed up by: > > > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/usb/dwc3/drd.c?h=v6.0-rc6&id=0f01017191384e3962fa31520a9fd9846c3d352f > > > > the diffs in dwc3_drd_init seem contradictory > > I noticed this a while ago when I finally rebased the M1 USB3 PHY WIP branch > and have been meaning to send a fix. Then life unfortunately got in the way and > I completely forgot about it again. > > Both patches were sent at approximately the same time and I think got merged into > two separate branches. The conflict resolution [1] then went bad but I didn't notice > until weeks later :( Folks, I have no idea what you are talking about. Can you check that revert series [2] gets your change still in? Because I have no clue how it's involved at all into discussion. > [1] https://lore.kernel.org/lkml/20220426150842.473be40e@canb.auug.org.au/ [2]: https://lore.kernel.org/linux-usb/20220923163051.36288-1-andriy.shevchenko@linux.intel.com/ -- With Best Regards, Andy Shevchenko