Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp4342041rwb; Tue, 6 Sep 2022 06:17:41 -0700 (PDT) X-Google-Smtp-Source: AA6agR4CkP5TuzrNwrdd8+Bd0dXMnyBOPjg9ql2l6mRymZrQdrnOdCDLfi/QaXiduJMmsfzrEqKk X-Received: by 2002:aa7:cdd2:0:b0:44e:be4d:3231 with SMTP id h18-20020aa7cdd2000000b0044ebe4d3231mr4263593edw.296.1662470260852; Tue, 06 Sep 2022 06:17:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662470260; cv=none; d=google.com; s=arc-20160816; b=h1juEPX8Y8QE8wvpXGo9cZWFO6Vd2h0/IUAfz96MtiMLAcR2T6SKRCiCuivEbtkPnX 59SG+ted+EUAyKrpsjQP4TVYl1BAURGFhVwiKX1bJwvarlW92WoVixbUUf9UWqO/kKy8 knp+PJQ0KW/aIMQi0AtqoL7tO7yYEuqVBVg7VAIe2IhlzVGdDwPa8AWGSYr7+jaoUkkX qi44kkoB2tHsuFldoc6zDpvEz9VNecNMFybLxGT1JYNnYGrFAm2VTvRWCdtstzaVC/DH wXmMmu508au4a6NhmhqvlTLDYd4c/+fSW4TMCa5Hn39o91IGyXfZjVPrAkc5ddd3PLvX cqHA== 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=WgtaGZd/Zf/nIQfvpGr7YZ7BmAaaXk2+PwfUqBhjPaQ=; b=dT2zbNBUtHHxMiX1ZTQ73jj/GNA+OUwBqEKNmFeNlyCegR838cCDWaJYNNlsiVCu8D /XKyOKimyfmrbK6E3N8riMgviezY9H0Eb/d8BwIpeI38gI++Uf+DzFO2l6BhUP/9sQjN dleBt5qr2XqgPILrSb9nGnHzLzXFfcALOgonUqAkoUozqrDU5v4hsD6G/SqvKcD3vAKc mbCjPJQI2cpKjht4h0sw0z9Vv9W4wFC84H137nokYvK+vZROYMflAJb+FmQFyp5F78jF zUoD+GuqSyx8of2NnmmqjdM/yyfj0W3F+5z9/InpXmtCF+Rxmd3oEfpVGNFcf+Y8dXQG FJLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=CSggKgk1; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ne25-20020a1709077b9900b00730aa841c5bsi683158ejc.964.2022.09.06.06.16.51; Tue, 06 Sep 2022 06:17:40 -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=@linuxfoundation.org header.s=korg header.b=CSggKgk1; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239995AbiIFMWM (ORCPT + 99 others); Tue, 6 Sep 2022 08:22:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35280 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239962AbiIFMVa (ORCPT ); Tue, 6 Sep 2022 08:21:30 -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 769747C524; Tue, 6 Sep 2022 05:18:12 -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 5FF1F614F0; Tue, 6 Sep 2022 12:18:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6D80BC433C1; Tue, 6 Sep 2022 12:18:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1662466690; bh=1gMZkYY0yDzHXlPGzNHurF/vidUlbmKz4+0OJev6OOA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=CSggKgk1lcxhSWGD2WRJrmHwlZ4kyuhdYX6Fe1itri3TPI7D037aKm48NfnUi50SF oVjZdeMMH4MSUHy1RRTZnPggpm4AN/75JAFBbdD0N8c6lWz0CP26zTUEHKDKfwsmQg nBL2SkFxIp4ipUTlBi7/sccBYU8zYY7FUmct7vRo= Date: Tue, 6 Sep 2022 14:18:08 +0200 From: Greg Kroah-Hartman To: Johan Hovold 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: <20220906120702.19219-4-johan@kernel.org> 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: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 :(