Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp3259262rwi; Fri, 28 Oct 2022 18:49:25 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7b0TVycMOh8Xzg8z4Q3UUy42Bkd5PC7TEvAlBokD52mw33VfPyS+xWaIB72GSRkJP837yC X-Received: by 2002:a17:906:ee86:b0:741:89bc:27a1 with SMTP id wt6-20020a170906ee8600b0074189bc27a1mr1943142ejb.725.1667008164776; Fri, 28 Oct 2022 18:49:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667008164; cv=none; d=google.com; s=arc-20160816; b=aqpB7IaW4wBKzG2WPcTmGyirKDMfUYbm3IHCaLVZb8Z6T9b8Vc/+C7D7YWIbycK0Hg SaYozk2JtqqWRU0zILnsUe0xPJssVyVDY8ohK+ixBgT9fN60OMZOe559JXZhtmy4TrcX Bb70x2frc3WjA0BbQgUFo2/k3REY+outUB+bWxUFbIFwQ72I4jIO1YnoXhF1f2xTTj0r o8QjI3PpGswmODs5Tr024MpL5gj/9f90AMxjXBVJVUNDjNpOxdI/L5Ofx1PSxLYfkuWW uvrhxVC3JmV1togYmCNglfSuT6UH+0yUUbdY76NJttIfxLjMbVPFv0L6lpw072L46PDA B4XQ== 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=TOilMmjpabMBP6lbtmoPdAvGW0C2EX+ahZ9p24ZQQlI=; b=bo3wGpO5/QIJZVn80cbhyFkBPKkWfgE35QNiCP+3MnZz5DwOilYYCQnpnFcob3MlqH BcKNoIDwzAR87JZDHkkBHzf2/8DF9+FfYye/hKm9jPOXRqCA1afNlQ1O6sUfB8ScfYat IQypwCR1J/s0PxFH+kizbICV872GLADvY7N8PFaxM1rIVWAXH+CR8rnJXkG05jTJ8gXy gyU7+1EYzE4tpocA8i3Z0BrxmGZ9Ihw+UfISkUAaF24Ti3n21DQxdhcpueVQq6y5VFVt ZKEzb8Almut9Y814B3GfHf//5a7+bdmeSWvRRdKidX54/X/oJbwtqBx7Y2x4MlAJsl+a oeJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=lmLpsUA1; 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 dt5-20020a170907728500b0078da3218b54si386666ejc.171.2022.10.28.18.49.00; Fri, 28 Oct 2022 18:49:24 -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=lmLpsUA1; 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 S229460AbiJ2Boj (ORCPT + 99 others); Fri, 28 Oct 2022 21:44:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59478 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229450AbiJ2Boh (ORCPT ); Fri, 28 Oct 2022 21:44:37 -0400 Received: from mail-pf1-x42d.google.com (mail-pf1-x42d.google.com [IPv6:2607:f8b0:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 08B822189 for ; Fri, 28 Oct 2022 18:44:30 -0700 (PDT) Received: by mail-pf1-x42d.google.com with SMTP id 130so6199276pfu.8 for ; Fri, 28 Oct 2022 18:44:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=TOilMmjpabMBP6lbtmoPdAvGW0C2EX+ahZ9p24ZQQlI=; b=lmLpsUA1Cvy+01SKRuVljHn8ljwtr5HWbkQY5Dsldo2NPanmhoJEOUYixPgpxspCkH smsV2XBCrNqBdjs9No4ZFj58GewppuFM7R6Or9WofJUS/bMSrZK2vPQ6myjTljbIcUGM FtbAb0BLnwe1LWbqwfySZyUfLDGdmh39E5MoM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=TOilMmjpabMBP6lbtmoPdAvGW0C2EX+ahZ9p24ZQQlI=; b=H26X+9efnnSIfYmf/TIQ7FZE5taHzyeEcoL0FrZylut9IMfNQDaWevxSRQUx/KU7Pu xqETlKSKe1Xg0M64ONbg1CC8t3vTM0ENNTLAq/zL7UAbf0ITEfMwty6LiUQ6/14i6NNl WvCy3zXJ3FYJui2w7C+ohH3Mpqc2HibNggzzgyGJ3mH0wIhCRFRRTRIrPyMh37b7Dp50 Oi3TY9LZrulgFo0jkW/ZM/dP7ubhrPdJBOj3dzZe41FqbEql05H8zt7kSNwrGdJrKppz 7bF0Xy0bEWK31eDi38t0ezPs1rVlUA4kG4KblU3249RFn2IoeHAr+6FH/Oifa1dbyXL1 TydA== X-Gm-Message-State: ACrzQf0UvxvJ729IfCwx//zrXU6qQVD1ko5Dzn5Vy8pSsOJ2oJn4qYyZ W8btrKQWeHGWccRPtJ2uS/RIrw== X-Received: by 2002:a63:581e:0:b0:43c:29a0:6390 with SMTP id m30-20020a63581e000000b0043c29a06390mr2156483pgb.552.1667007869602; Fri, 28 Oct 2022 18:44:29 -0700 (PDT) Received: from google.com ([2620:15c:9d:2:65f9:c180:249c:190f]) by smtp.gmail.com with ESMTPSA id z190-20020a6365c7000000b0043014f9a4c9sm85791pgb.93.2022.10.28.18.44.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Oct 2022 18:44:29 -0700 (PDT) Date: Fri, 28 Oct 2022 18:44:26 -0700 From: Brian Norris To: Alan Stern Cc: Greg Kroah-Hartman , Mathias Nyman , linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org Subject: Re: [PATCH 1/2] usb: ehci-pci: Set PROBE_PREFER_ASYNCHRONOUS Message-ID: References: <20221028141821.1.I9a5353f81d1509f85f3a04f0cdc9099f6fe60811@changeid> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 Fri, Oct 28, 2022 at 09:13:14PM -0400, Alan Stern wrote: > However, I'm curious to know why this patch makes ehci-pci use > PROBE_PREFER_ASYNCHRONOUS even when CONFIG_PM isn't set, whereas the 2/2 > patch makes xhci-pci use PROBE_PREFER_ASYNCHRONOUS only when CONFIG_PM > is set. That's definitely a bug in patch 2. This has nothing (or, little; probe order can technically affect the PM suspend/resume order) to do with CONFIG_PM, except that the .pm hooks tend to sit nearby, and repeated driver patching makes the author's eyes glaze over sometimes... Thanks. v2 coming. Brian