Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp4479254pxb; Tue, 5 Oct 2021 04:06:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxATR1Xf1jyUoFwbt97m8QH1SBFJ5MWGH+c6m7/jdEzUZ59Fzv7alcmPJVs+3Dug1hfzafS X-Received: by 2002:a17:906:2b90:: with SMTP id m16mr24346432ejg.344.1633431977486; Tue, 05 Oct 2021 04:06:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633431977; cv=none; d=google.com; s=arc-20160816; b=WjmYVjAx7n/hab5fsqkMg3HW5cuJZjBBL970qgTbK8SLKJ4cdxAyC6oJWW8KuHX5wd qufa2Zq41WiCLmdiopJkcAwRcopKbgDTfV0Kmu7++psu5l+vRVhlDwxZxL+7vtf4Uk70 C7mAnSUIAJ0ZPuFWA4oFcOfD0ajKhogiVMWjjnd6MispNSzVK2DkiDbAuBL6W9PHwIuO c5WWnDj6gG1LC+QgDKas2jNSDxLwHwl+aXe2b5ipHt2E52Iyd0nt2u0pMFwBp8I0gwUm lmjDD9S6rc8gIjHdh4VNzqbXrlTai2y1Cjrh1D+e9bH2mke9QJ4BMV4GlcOHJTUwgI6K W55A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=/h/Wt52L8NbZ0tJa3qyjWrf5doxWoDNjdwRW7wgLn8A=; b=z14hdVx4pxlWRvQJ/mGepEtkBky/ssD5NDsXTahynGWUjZk0bStx60L/Dcyl55wDbe dBrZ15MGr7/f27z+IdVmR+Ekq8q2Z7mWxmlz2ebSH9YZCiihaJ9MfDByPJ6gRWK1zK0S y4AMbFp+qaWxVBM3btaMy2WS35kkaqnB1Lyu1k9xi/GMV7b1kVRb3viNcrrQz7yCUvpw 7YQsY0QwPh56Fb5P5nnVx+CkvswuamIPsHFF4OOqRH4j74L7B+lKQMSdGEtaBYG8xz7R ZEk2bpX+S1atfZRF/BqDGVg6k0cACkco8A5E36etiTillZd6MAFsN1WCXONLZ5mSaZBk tv6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=wXBrKoaf; 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=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hp2si7874996ejc.176.2021.10.05.04.05.53; Tue, 05 Oct 2021 04:06:17 -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=@linuxfoundation.org header.s=korg header.b=wXBrKoaf; 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=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234020AbhJELGS (ORCPT + 99 others); Tue, 5 Oct 2021 07:06:18 -0400 Received: from mail.kernel.org ([198.145.29.99]:45468 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233449AbhJELGR (ORCPT ); Tue, 5 Oct 2021 07:06:17 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 98AC5611F0; Tue, 5 Oct 2021 11:04:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1633431867; bh=zeGBNsog1olkIZ1fVKAxVZmcBFpEUAytVPA7H52jY7c=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=wXBrKoaf/qaTtR5tbgysF5rd4ayDtHJateJtB7ljp3Pr9R0WCwFYRxJbh2qxi1g0K ubPd12/AKqvKP6kt5/fzigwPr3TqpHsvtgcWEeXVIFmgaGWQgTlf888JORG0hRGPlA W8BpObNbBL678AbKFC/lPIxyvw/Av5cExiYHsaZ8= Date: Tue, 5 Oct 2021 13:04:25 +0200 From: Greg Kroah-Hartman To: Michael Grzeschik Cc: Ferry Toth , Andy Shevchenko , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Felipe Balbi Subject: Re: [PATCH v1 1/1] usb: dwc3: gadget: Revert "set gadgets parent to the right controller" Message-ID: References: <20211004141839.49079-1-andriy.shevchenko@linux.intel.com> <7019ca3e-f076-e65b-f207-c23a379ade29@gmail.com> <20211005085100.GB17524@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211005085100.GB17524@pengutronix.de> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 05, 2021 at 10:51:00AM +0200, Michael Grzeschik wrote: > On Mon, Oct 04, 2021 at 10:35:57PM +0200, Ferry Toth wrote: > > Hi, > > > > Op 04-10-2021 om 16:18 schreef Andy Shevchenko: > > > The commit c6e23b89a95d ("usb: dwc3: gadget: set gadgets parent to the right > > > controller") changed the device for the UDC and broke the user space scripts > > > that instantiate the USB gadget(s) via ConfigFS. > > > > I confirm this regression on Intel Edison since at least 5.15-rc2 while > > in 5.14.0 it was working fine. > > > > This patch resolves the issue as tested on 5.15-rc4. > > > > Tested-by: Ferry Toth > > NACK! Why should we resolv an issue by reverting it to solve not working > userspace. We already have this patch as a solution for solving a deeper > Problem, regarding the allocator addressing the right device. > > > > Revert it for now until the better solution will be proposed. > > So, I think fixing the userspace would be the right fix, not changing > the kernel. Otherwise we should find a proper solution. We only really have one rule in Linux kernel development: If a kernel change breaks userspace, the kernel change needs to be reverted. Go fix up the userspace tools first, ensure everyone has updated, and then we can consider taking the change back into the kernel tree. thanks, greg k-h