Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp4464765rwb; Tue, 6 Sep 2022 07:56:33 -0700 (PDT) X-Google-Smtp-Source: AA6agR6sXWvRLyBcG1M4HsfzSmMzZwCzz6ESxh/RnF835VBBhdt8wdoF5hnkorIw/ctMj1PmUIPW X-Received: by 2002:a17:907:2c77:b0:741:5f0b:aff2 with SMTP id ib23-20020a1709072c7700b007415f0baff2mr31127398ejc.698.1662476193017; Tue, 06 Sep 2022 07:56:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662476193; cv=none; d=google.com; s=arc-20160816; b=vffM0x7OaATT33SnhUMzJ3RCBfsnLHhPCf733yKyEm0YIg8gYifmwqm9v3EzaPu5nW RtRvRxzLBAG9a8xKj1SwXxsYhpHv67PPTca+dREr4JWQAN9q3AGN4yz0R1tIy3cQiUtH fImDgMpxmFckRoe82pWLs+NwlbPng3262n3R3Q8qFlLHNstaae+kS3UQA3jTgR7fbMJs dErIhA5fQDKfERAeXMmCDadNDvxbAk6JvrhmsjLwuJQgI8ZmzzcsF1D2dIwq74suQmK2 ZFcQtlaHu4B409ZH8YqsErs1lD958CeJfqVqMTtvheGf4t5IRkTRGS+dsgsOwMhtFeyx 7ATQ== 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=5h00QRESA57kUGDTxCTNdbQJYSn7R0sly+AuBkZQG3I=; b=f8Yrrnjq5Kmog0xj4bcFerORczJuAsm5IGDY8LNCmtI/yy2jKTD9vVFc7ZTpoQnqUF QU2OJaAILrNRmN9t05ZMVRo8Jvtxn2jUcxRTI+/YwQ82Dgkv2mx8Vug9abfnH9ANyvGJ z8pX0LwaAT7h//fVaXIa4RsDvQ/HAHqC3ZLmlro/zs0e1icD6klwXuHHTltlw/RV83+q frdsl5p3N2cW5ThR/rY0Euxs/d3gzBB2eSiLXxQ/UcVB4+ciIWByA6J6NzWwnBpoJqYu k5/AulXylR/YNwxJs+bR2zxGk/3g93j1owkgW5bnSF477EV34jcKXgt2Wmzo5ZSk0Dqs vRcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XKvaXJko; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id fi25-20020a056402551900b0044ea569baa2si3165397edb.557.2022.09.06.07.56.08; Tue, 06 Sep 2022 07:56:33 -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=@kernel.org header.s=k20201202 header.b=XKvaXJko; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239883AbiIFMad (ORCPT + 99 others); Tue, 6 Sep 2022 08:30:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60146 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239058AbiIFMaL (ORCPT ); Tue, 6 Sep 2022 08:30:11 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F09187F132; Tue, 6 Sep 2022 05:26:59 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id E1ACA6147A; Tue, 6 Sep 2022 12:26:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4FAAEC433C1; Tue, 6 Sep 2022 12:26:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1662467217; bh=Q9COnJ6Jp4KdTCX0e8YUnK8/L3323njkYDJxjZWnOKc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=XKvaXJkoQ00l8a3ccNjeBFEMhagSkWsnGGPH6hAl3ZMwZBdMRhFNhGxgKVWM5mhVp zW+Ez7oPs0FDp3Zr6siZDDCAf4p6m5wMuEVST1DnF0dlEsq11PyG06atxipIVImhvU tx4ZJStQ6wT+lMkdC8XV5V7SUu9tik16FqjrXe2o78BVahB6As8WxH90jaJrgTKdb2 oJuLIAjtuza17D5wg2WMWqiPVFZZhGfL8piw2SMD52vEqv1ll5aacx6GxFnpXyUz9W yuNNP0DRaLQogt/Kn7Pzu4EIXJHyVUvQTLcgbgQor00+qPyeLoOETPZOeN90olsLvZ A6w39j+McAAPQ== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1oVXfR-0008Bx-91; Tue, 06 Sep 2022 14:27:01 +0200 Date: Tue, 6 Sep 2022 14:27:01 +0200 From: Johan Hovold To: Greg Kroah-Hartman Cc: stable@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold , Matthias Kaehlcke , stable Subject: Re: usb: dwc3: disable USB core PHY management Message-ID: References: <20220906120702.19219-4-johan@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Tue, Sep 06, 2022 at 02:18:08PM +0200, Greg Kroah-Hartman wrote: > On Tue, Sep 06, 2022 at 02:07:02PM +0200, Johan Hovold wrote: > > From: Johan Hovold > > > > commit 6000b8d900cd5f52fbcd0776d0cc396e88c8c2ea upstream. > > > > The dwc3 driver manages its PHYs itself so the USB core PHY management > > needs to be disabled. > > > > Use the struct xhci_plat_priv hack added by commits 46034a999c07 ("usb: > > host: xhci-plat: add platform data support") and f768e718911e ("usb: > > host: xhci-plat: add priv quirk for skip PHY initialization") to > > propagate the setting for now. > > > > Fixes: 4e88d4c08301 ("usb: add a flag to skip PHY initialization to struct usb_hcd") > > Fixes: 178a0bce05cb ("usb: core: hcd: integrate the PHY wrapper into the HCD core") > > Tested-by: Matthias Kaehlcke > > Cc: stable > > Reviewed-by: Matthias Kaehlcke > > Signed-off-by: Johan Hovold > > Link: https://lore.kernel.org/r/20220825131836.19769-1-johan+linaro@kernel.org > > Signed-off-by: Greg Kroah-Hartman > > [ johan: adjust context to 5.15 ] > > Signed-off-by: Johan Hovold > > Signed-off-by: Greg Kroah-Hartman > > --- > > drivers/usb/dwc3/host.c | 10 ++++++++++ > > 1 file changed, 10 insertions(+) > > Breaks the build on 4.19.y :( It's OK to not to backport this one. Johan