Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1862903rwi; Thu, 27 Oct 2022 23:17:43 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7LuUB8BJVMTsoU4l3GJmc06WwvLl6sQhB8KoLXeUV550FUyElyPmlcuXpLNsJPzVMd4kGW X-Received: by 2002:a17:902:ef51:b0:180:7922:ce40 with SMTP id e17-20020a170902ef5100b001807922ce40mr51574810plx.8.1666937852322; Thu, 27 Oct 2022 23:17:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666937852; cv=none; d=google.com; s=arc-20160816; b=mxi5gy3bD2/ljf5aV5CZHxzQ03YrRq0tjHPCVeGA1SY4VmqfL4SKm8WSwW7OI+K+aZ BzfUPvah4ELdAxfZv1S2MQgkbV/1T5m+D2K04sVUUcDl6fdGTxOb3li/wJMBMMDheigl qmu2M7Pb/8DyEVPeN1e168Ct2G7OQ9MvfRPqJuPWwMoPbDsMB26XEIniiGkATPdtv2+T jH2t41zEzcjI8MkcosnOHXP4G6pFU5cGhcXArMrsdCwDcythuAkkOoOVacJXYLh2ux9Q OaTQ6sbXs5lm9C7Yv3aEH2j47o6z4lCZJwl+TexzXqqGf22HA1dDedVq7Ze9kNldKc0A AU4A== 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=ZtatWiIO3UJtNJ+CHt6o0itgjDYpg2ZEPgUOjIdjueE=; b=MFud1SJrunMeEcZB4V5IP7DtvuX9uCuXToTj3Qm1AumnbZYr0SiVYJ3/RcwwHEXuCa KjjqBpeXiGVEj5F5GMC+ilOYc4veElyUZgHhBvL8XCehn+aM1Il1F1vVW3kac45/ykDs 070+9WmffVCJIfmzDYXuRnYM9VPKtI6hX7CWsYfwY0h0y0WtwlpfEKn0I/txtsL6BTDU +YcaObdXc62ymCt/TIb2bv2kjtmnE6Cd7ncQp8GBlRyjcWzx3/FnRTowIMQ2I2SeHcVF BtcOg5G34KF+unAMt/1f5PrQqWaGGL1bqxpV4sBws0sisqzfDiTDRWjbZoCpDrJpwRkp nFFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=kv5ZCao9; 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 s15-20020a17090a5d0f00b0020d4dffd6e6si4000410pji.99.2022.10.27.23.17.20; Thu, 27 Oct 2022 23:17:32 -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=kv5ZCao9; 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 S229574AbiJ1GKp (ORCPT + 99 others); Fri, 28 Oct 2022 02:10:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51642 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229457AbiJ1GKn (ORCPT ); Fri, 28 Oct 2022 02:10:43 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1EFE67D1C8; Thu, 27 Oct 2022 23:10:42 -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 ams.source.kernel.org (Postfix) with ESMTPS id C63E3B827D5; Fri, 28 Oct 2022 06:10:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0EE93C433C1; Fri, 28 Oct 2022 06:10:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1666937439; bh=bCo8sXVXchrf2o28bo48O/daDV+GIQFafX21yGzPoKM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=kv5ZCao93o4KVTw1pIIWXlsFUCdz4D9OVZBEO5Ms5ib3lGy+a2OhbcyPZl+R3bUBn YPzCG1PPzlQdXfWrxgs9KkkygJOcI+R2FKFttC1T7I4d4VE1/IOlnPIg6Y1JNKR2O6 EpuS/yWVvkOeK1lb9Ym3itLRK+147A0RpGSDNCRk= Date: Fri, 28 Oct 2022 08:11:33 +0200 From: Greg Kroah-Hartman To: Reka Norman Cc: Mathias Nyman , linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org Subject: Re: [PATCH] xhci: Apply XHCI_RESET_TO_DEFAULT quirk to ADL-N Message-ID: References: <20221027053407.421783-1-rekanorman@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-7.6 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 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, Oct 28, 2022 at 10:56:56AM +1100, Reka Norman wrote: > On Thu, Oct 27, 2022 at 5:11 PM Greg Kroah-Hartman > wrote: > > > > On Thu, Oct 27, 2022 at 04:34:07PM +1100, Reka Norman wrote: > > > ADL-N systems have the same issue as ADL-P, where a large boot firmware > > > delay is seen if USB ports are left in U3 at shutdown. So apply the > > > XHCI_RESET_TO_DEFAULT quirk to ADL-N as well. > > > > > > This patch depends on "xhci: Add quirk to reset host back to default > > > state at shutdown". > > > > What is the git commit id of that change? > > It hasn't been merged in mainline yet, only in the xhci tree: > https://git.kernel.org/pub/scm/linux/kernel/git/mnyman/xhci.git/commit/?id=feb0b04b09c82589af65c84398b7d3fefaa7b7ac&head=for-usb-linus > Should I add the commit id from there? Or add the lore link? This is in linux-next already as 34cd2db408d5 ("xhci: Add quirk to reset host back to default state at shutdown") right? Please use that. > > And is this needed in stable kernels? If so, how far back? > > Sorry, I'm not sure how to answer that properly. > It looks like most ADL-N support was added starting from 5.16. > The issue it fixes is a ~20s boot delay in the specific case of booting from S5. > It probably makes sense for it to go wherever the ADL-P patch goes. Then properly mark it with that information. thanks, greg k-h