Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1436055rwb; Fri, 23 Sep 2022 12:37:21 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6mdamH0amVYuSZF+tFqbbpmeFxZmoq+UDcVdlPQMWo+JeCg3nEtKlnxitg04ieHQ2qaEuq X-Received: by 2002:a17:90b:1a87:b0:202:6b60:be62 with SMTP id ng7-20020a17090b1a8700b002026b60be62mr22661052pjb.69.1663961840794; Fri, 23 Sep 2022 12:37:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663961840; cv=none; d=google.com; s=arc-20160816; b=sjSblLw7t1T8W078XfOj24v0zAakz96KLHTWmX6rF/E7bYp4Th4GjfNpt+/hf+Yxwe qyv28Hs5qr5x0pI4C5Gi87aVlBwHVHDFX83LG2PXiIVth3euEBvyQSTx7sa06fIqoGGd 77zx/NjADMGM369gHspma9brecfBpVl1A7lBmuCdPcvVrfqjQNqUNnKeKVkzs7vC12bD Q2KmoAv7IgZDrazHdP+hMuwQVsmC+I7tTqU5jGQCyFTmYqI3DLeI+JdRdsgoJ2iksbtW 40Sm565styYwbY7UGuKAxrK34bhlXMAneTQEZead95BWPjz4MxawSqJd68cYcvD25elQ cauA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:date:references:in-reply-to :message-id:mime-version:user-agent:feedback-id:dkim-signature :dkim-signature; bh=9Is0/LPmUsxjzbYzD5++5gX45pj0dKc4Qo4/sqE0ui4=; b=whtHIMNHnwqw5GL3IN4RhM9PFlbS8ZwX2lgdjPGs57//GAkTmtoo/a4Eqtb8gAU4JY xtdjLni2CvDNthKos+xUwu5xK+lmBSl1EGsUNif2CDgPKbjwgXp5ckafguOqISokZxkq s/MxhzVJWVyMiS6KBkRFfhV2+YLqt3XQgGJPJsCodCWelwKChKoVHc0Q67lGntQ4f3Qs 5II71LrpAXtAUAnP2lHIpwrq2JtMKhkEG6nHHHfNwbcIM7dgfySI+PL0aDyNNJEOyTnP WwL5H9dXd7yrS9jTh/NoSwSkvDFRonkhe4HZ1ogDfwJOVOYQW4eZuyvuzwlwnCCQX3DU Nxaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@svenpeter.dev header.s=fm2 header.b=MuhqQswv; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=X32MIt+n; 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=svenpeter.dev Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e1-20020a63db01000000b0042b0b133dc2si1185541pgg.487.2022.09.23.12.36.55; Fri, 23 Sep 2022 12:37:20 -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=@svenpeter.dev header.s=fm2 header.b=MuhqQswv; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=X32MIt+n; 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=svenpeter.dev Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231883AbiIWSfr (ORCPT + 99 others); Fri, 23 Sep 2022 14:35:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60316 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229600AbiIWSfo (ORCPT ); Fri, 23 Sep 2022 14:35:44 -0400 Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4275C115F48; Fri, 23 Sep 2022 11:35:39 -0700 (PDT) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id DE6833200931; Fri, 23 Sep 2022 14:35:35 -0400 (EDT) Received: from imap47 ([10.202.2.97]) by compute2.internal (MEProxy); Fri, 23 Sep 2022 14:35:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=svenpeter.dev; h=cc:cc:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm2; t=1663958135; x=1664044535; bh=9I s0/LPmUsxjzbYzD5++5gX45pj0dKc4Qo4/sqE0ui4=; b=MuhqQswvFpv6biR9IA bYxqzx2loe8Zt+4hzJ/a7xs6o0rNlVlh4/62Ge5nsGfj5tYaBq1hx9+puoTxwvc6 zoX5rPsJsS0r55Y5aiIHEIjwmzLKY8Gw69x0pZqAqcbJIZ9o+ohoBPPnvDQSv4Tf ls/rAMFfnTaqPCYZtWy3Iqzwvw8WqMNwRav97O/MJ2pfj/IG8XcJeYRq1iqO8QoQ Fn46VcnNjvZJPGRXtbmWWDXsO7wS2DfsNdFSsMFQRQj9olF4DVDpK0zzZOD9zpgR tymO19YnphfuttoeZhzcWQn9Gv/7AGrBk3LMG2nSdYr9OWEy6vFyDcc204mWrfZf Z1yA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1663958135; x=1664044535; bh=9Is0/LPmUsxjzbYzD5++5gX45pj0 dKc4Qo4/sqE0ui4=; b=X32MIt+nVzx1ed2OhKdNdo22jK4YifmwnCPXFDqPb2eN I/9/pdQG/lkSCO8SFEdJbDxV7dEOo3E+s0SpPgWfZUakerBUtNM1fomuuqYyPRc1 kFoduAf+YZ+xzvRBtHA/p9bJXr+Ws0DsRc6iqGfJeHI3HG9seSDQ8JnELhvLG/0l ScjAWZCxc8umm6grYMcQgGSJLa9V7UiUdEGDIq9vX9JSAReuNGlEEvYuouyUuMWT X3mYvSUHcIX0pSoUnAJWPPFctHD9/ybh3FxxC/fQjtDNUXTCJ6GM7/z6hN1gRV3Z 5huxKMg517nsrj5Rv3aO+1T5uR+QbWXLI5jt+l9ZsA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfeefiedgudeftdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefofgggkfgjfhffhffvvefutgesthdtredtreertdenucfhrhhomhepfdfu vhgvnhcurfgvthgvrhdfuceoshhvvghnsehsvhgvnhhpvghtvghrrdguvghvqeenucggtf frrghtthgvrhhnpeekleekudelvddvhfefhfelgffffefgvdehjeegjefhheejjefgffef ieejtdetjeenucffohhmrghinhepkhgvrhhnvghlrdhorhhgnecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepshhvvghnsehsvhgvnhhpvghtvghr rdguvghv X-ME-Proxy: Feedback-ID: i51094778:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id E09B7A6007C; Fri, 23 Sep 2022 14:35:34 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-935-ge4ccd4c47b-fm-20220914.001-ge4ccd4c4 Mime-Version: 1.0 Message-Id: In-Reply-To: References: <20220403164907.662860-1-andrew.smirnov@gmail.com> <691c3073-5105-9a2b-e6f2-ea0a4b8aaea8@gmail.com> Date: Fri, 23 Sep 2022 20:35:13 +0200 From: "Sven Peter" To: "Andrey Smirnov" , "Andy Shevchenko" Cc: "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 Content-Type: text/plain X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, SPF_PASS 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 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 :( Best, Sven [1] https://lore.kernel.org/lkml/20220426150842.473be40e@canb.auug.org.au/