Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp101212rwi; Sun, 30 Oct 2022 21:17:33 -0700 (PDT) X-Google-Smtp-Source: AMsMyM56nmKOTVrA0DEvUNz6o3B7DBnO35pEBcSAcqMTyZPxDHlKN+YUktBBgOPohLWkb6e9dfrd X-Received: by 2002:a05:6402:b0e:b0:461:f7a8:3e3a with SMTP id bm14-20020a0564020b0e00b00461f7a83e3amr11662815edb.372.1667189853080; Sun, 30 Oct 2022 21:17:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667189853; cv=none; d=google.com; s=arc-20160816; b=lewf4KaH/CVs1dZpRJFG6Dfa/X5lh88A/DMCQTH8f+JcFwHvM3Y+WChm23BAjVIBoh LRyfBsjBVdWxSL8ID9YpPVVFQLZsOhaOpthmWbMCBWpzge5p4yDw3zrQaTan4jGf3UQV RzFGqZ+tdoqwi8vpgyLGSfu04WH5EEWXjNMP98cGbvvgpKiNE5BUpDbRaxwUc01psoZx 0fNX+zt+0NqOF+JXmJW3NEM89Nzs5Kjw6uos3kIazVQ+Xtmo7EHDNJVIkBY/lKhzKHCV E8tq1VqFyBNJIwUH0dfK/rptPJ1EikEtToLPisiRooPAwcKi1nay16+5NvziejWUh7VW uOnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=WCvTJj9Vnocwle91BOR1TEJWVvho/MKXA8PnUmNt0yU=; b=Ew8OBnw1R9bs/OMzSt4EYGvtvYYCTC8GmVuz6QbObUEX5T/WBCc9iFUlbZBre+kpAP fLYnKUobb0Dow25FO0eplQ9BFylGLJHJpCCK4P53WPS6ofhzLJRkVk0Err00BMwHbFAW BxhKvLKV8sNb2zsgc3P13+We8VCi9JkBy6SNU8Wu1yQNW+TLFFYMru3WSlrequTN0ytB 6wg9K7fAxSXzPRkUwGn5ypwLEMDtQU4cGu75BbMhoqr0zNMLOdBEgAM8mNkSTtqsL4dU GGCDeoM93rKvwYplO7KAhv64yLtpQkWGRR0PatIKMLTnUc03SDmPwp161ByqOZQBbAH5 jlpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=F2vRMTtp; 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=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dp18-20020a170906c15200b007824b741e7asi8187080ejc.236.2022.10.30.21.17.03; Sun, 30 Oct 2022 21:17: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=@chromium.org header.s=google header.b=F2vRMTtp; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229542AbiJaDzN (ORCPT + 99 others); Sun, 30 Oct 2022 23:55:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52156 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229528AbiJaDzM (ORCPT ); Sun, 30 Oct 2022 23:55:12 -0400 Received: from mail-pl1-x634.google.com (mail-pl1-x634.google.com [IPv6:2607:f8b0:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE0985FC1 for ; Sun, 30 Oct 2022 20:55:10 -0700 (PDT) Received: by mail-pl1-x634.google.com with SMTP id u6so9662726plq.12 for ; Sun, 30 Oct 2022 20:55:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=WCvTJj9Vnocwle91BOR1TEJWVvho/MKXA8PnUmNt0yU=; b=F2vRMTtp6tbaza00E4e7nmV6VVCEnXX+lOpyp+/CcdvWXZS+h4B0Y+GkRgJoNw8h/B 0vEAQCo0+AdpZDZCa/mOa9eTvQsxAGtD06hE9rZcAYgMt16zZKqc/rRPtWlHTxKwwo0m p8aITnz/nm/o35k62CjzSEX7pySTSxBlIvTw0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=WCvTJj9Vnocwle91BOR1TEJWVvho/MKXA8PnUmNt0yU=; b=yldON8iN61p3PXVtvPyHJ0f50KaMpS/Uozd64fkdDvyd/GAYfwOiy6rtbh1FvA3cLJ fHlZf0KxOfQ3H4pZuF8uiHdKopno74dJv8p9hkebFXukTivdD0F5xJDeyLGSUyaPCiNN y6jC7+HMSMTbZDnSiJY900XiPlgmykCUR1/vzDHyWQSbYsQ5fHcTJ5Krby35UXR3kc4h vwWOBjTPUCuWfkCFgspX2QEZSDkSDML5udAwfTFNdFrBRoepXjyW2FyyuzgV8wXEqQfg 9voLAIr+wvfdTBbR1rRe4rtyh2DYwEC7ceta41G9B3thL27VZiry+zLU2Cnv/HwMuAJg PRZg== X-Gm-Message-State: ACrzQf24jG1s7mQbwzvtNZQlVZfYuhDu4KWF1+4VdDtlQZWfmho6+nJG PdwEBaQQ8BImIVm310XuWuylilqkWZDLMaBo9i+CeQ== X-Received: by 2002:a17:90a:7061:b0:213:da75:f149 with SMTP id f88-20020a17090a706100b00213da75f149mr4538921pjk.85.1667188510339; Sun, 30 Oct 2022 20:55:10 -0700 (PDT) MIME-Version: 1.0 References: <20221027053407.421783-1-rekanorman@chromium.org> In-Reply-To: From: Reka Norman Date: Mon, 31 Oct 2022 14:54:59 +1100 Message-ID: Subject: Re: [PATCH] xhci: Apply XHCI_RESET_TO_DEFAULT quirk to ADL-N To: Greg Kroah-Hartman Cc: Mathias Nyman , linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 5:10 PM Greg Kroah-Hartman wrote: > > 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? Yes it is, my bad. Added in v2. > > 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. Done in v2. Thanks. > > thanks, > > greg k-h