Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1523815rwi; Thu, 27 Oct 2022 17:26:04 -0700 (PDT) X-Google-Smtp-Source: AMsMyM66pRNIrLLbY8kgB3244W3QfvPyKnJXhSllFi77uaZGmloaQHPGHBzQaFvu6aSEpIlugxEH X-Received: by 2002:a17:907:2c72:b0:7a5:47da:5893 with SMTP id ib18-20020a1709072c7200b007a547da5893mr23646559ejc.612.1666916763857; Thu, 27 Oct 2022 17:26:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666916763; cv=none; d=google.com; s=arc-20160816; b=fl8bzJjMIbNPUbEShPISrePUBfHEOY/I3JGtEiqPAHvRkYhJKa6gn+07QHTQMayBJG 2z/sXLwlz9V9G+GQqz/YIj+s+l80RJ8L6sLYzQ66uJNicAaRLYTEtW0+17Nwuo59AmwU vNu0L4qtMoL7V5cKjcPSdeg/QjiwFkHJIry6Gu/J4EpV2ibBYdKRKl9L8Hp+eEPx2zMN iH2mCitr0iLELtOUNzRqO3/j3l9k098yDBdLGV0zmAgNALLlP99sdekMufRmgVljd49p 26hj9GMBI4al+VgkYg2S2/W4XcxtH2uArEL97ZmydbmgDTdvB7ziYNZEPx2E9nbs/zpr irGg== 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=tGKV5Nf2Jk21aZWVInuk/RjQUQoK1agLdBbsQYHrFSs=; b=qUX5N7Oqj3ZvVoTX0asIk/y+zrSrYaOFoC3KMoay1DRL2heXdln2E/atwuwSPazF9G wUD6ClEW1uVNztUbM13WjbcUJtkyLsTdA2s0mX++OPT1toN355G52FADNB/lxatJDJR/ F8FS95st7o5fzNS6w7IZJHz5iHnijjO35ctQyS0ZWfVqSNVwe0Hd+SWIbgSQ/23CHdyf NMorf38OhcRsJcbFHU4x2ci7vupmaIRi8Dk3nol9yfDj6x4L2sUQfvRT9SlRiB/QndlR Ds3yBms9yk0hbKfAQaY+Q/J4fF7aAnimybg35pGbfCmhorS9LnZGIjtfTAsiVrkxb6ba S2AA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=TtOfdFq6; 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 f11-20020a17090631cb00b0078e071ddcb0si2458598ejf.478.2022.10.27.17.25.32; Thu, 27 Oct 2022 17:26:03 -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=TtOfdFq6; 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 S235347AbiJ0X5K (ORCPT + 99 others); Thu, 27 Oct 2022 19:57:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35078 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233598AbiJ0X5I (ORCPT ); Thu, 27 Oct 2022 19:57:08 -0400 Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com [IPv6:2607:f8b0:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0761E6D9F3 for ; Thu, 27 Oct 2022 16:57:08 -0700 (PDT) Received: by mail-pl1-x62c.google.com with SMTP id io19so3342445plb.8 for ; Thu, 27 Oct 2022 16:57:08 -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=tGKV5Nf2Jk21aZWVInuk/RjQUQoK1agLdBbsQYHrFSs=; b=TtOfdFq6WSn2lVr0vT05rhzYptg2X0aGPNyp4uNbF94m23GOhBllZAUd+rvHT8hGH8 UMwMDmzD1OjSBtDesYg+Z7wUr1R28QjARLcCkcPf5WmND44BcHGt3CchBD8pEvkUIA8r aC8JE3YlPdI2hbWbtLnUI8xIPS7Ti2PAt+h58= 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=tGKV5Nf2Jk21aZWVInuk/RjQUQoK1agLdBbsQYHrFSs=; b=Mdp6w2Teun9MFJOH90zxQDNCM2U3VmCQVYVkeBpi1lf+hl5BpTySvgxM8Hr2DwcwIC yUHE58Fi7FwSPiGaCi+gBN+Y4gLpMWfZ8cigyaT27KwBdTKbrF3VL2YsxR1N8Y+Rb/eN Aa3mxTW5tWmKy4RchpV7Wp6ZIqv0DEpHxGDbc1VksSz7eM2Gra9trjs29kjPXHQdmuBQ zta9ObN7ksIHDozeTZ4gBVFFOzNBbuxFBeF20uOptCgUy7r7P+46MMLvXQBhx3tkFjip m+nC0uwegAPWzzDbT6sKK+xQka16H0wf7I2lb8M9a6xxVsxUSK9FIKEB1EVvvyfh97z1 yZNQ== X-Gm-Message-State: ACrzQf0/8LWSrw7NNVzSd8z+cpO9YgO8Ph/LEqwgXxfOYZKsH3HYtW0f hZZxsEw8q57BVzkTT7aQ9MHyuzxsoF3Kttus+HpEoA== X-Received: by 2002:a17:902:c40f:b0:186:b221:f378 with SMTP id k15-20020a170902c40f00b00186b221f378mr21282556plk.69.1666915027545; Thu, 27 Oct 2022 16:57:07 -0700 (PDT) MIME-Version: 1.0 References: <20221027053407.421783-1-rekanorman@chromium.org> In-Reply-To: From: Reka Norman Date: Fri, 28 Oct 2022 10:56:56 +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=-2.6 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=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 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? > > 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. > > thanks, > > greg k-h