Received: by 2002:a05:7412:bb8d:b0:d7:7d3a:4fe2 with SMTP id js13csp2679998rdb; Fri, 18 Aug 2023 07:36:16 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGILulDATVCsk6UuI+hI9SKYFXDa5ekLlT2osMow0POyRAKG+j+0CsJ9sCZL73phHqxx0dz X-Received: by 2002:a17:907:b11:b0:992:7e1f:8419 with SMTP id h17-20020a1709070b1100b009927e1f8419mr2128607ejl.2.1692369376283; Fri, 18 Aug 2023 07:36:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692369376; cv=none; d=google.com; s=arc-20160816; b=wF3BC1Cs0yiKuwBqR+BbrpiJUxbdOvqGtW9Pj2jr9zlOue0CcNxpQjVeN+NSKwJ89C c3rNnblI/W8cio47h+NShDTCpP+BUrKtv7z4C0ImelJynj5RV1eJ3TBFIIa7BUJT+7ZZ ifl9jJRPIcDH6IuAECtN4dqOHD2pKs1ZwpjlhwgyYa2/MxiW+2fXZvLBdyY6B5xww0GG btgkFxgp9DOBcGGNV+kHxLQZCk/oNsP4bTpC6rL5h+pwt3Vq5U0x0SmVmha0nkVSpVwU KQ8n9gFkcSJ8WQp//7lGi+0wJpC3ks+CYCnABTpMQl8JktHw2SugA1PHBVGtzWI401t6 reCQ== 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; bh=C0hk7uHmmE30a9aWK1AvAHVYuFxNBPPjw5bQpgobW+o=; fh=reEYjyP1Mm+PIwHKg06jJJPkJcyvRW+EUfFQCyJnnJw=; b=BwEW2aJ0dWMPmwFD049IZB6wQj4U5X0+eh0w9uZx8owks+FsTYcyFmmS1gXJQ2TXC0 gOJvtvqlJE3mrJgEF+T1JBfNxnKeGYvZx+nDDQHrD2/FhgCMGZxmUoU/vq0k+wLfdnch KcnfLas96rmztXLqis78UxiZPubzji6h2O8RwGGrmip47qM+KjQAMCJRLdFJEwalrbsA 46ve3m79itcHR0NrrP2AmvSJplsqYEOZQpIKPguDFXrHVowodr/287nUoQIJcPl2sEud wARWioIkVQEWDIWYw9QiGBbTC1Hrt9SzzHVT4kHPkvMaqaHkyt5lsjLKaqt0P2RIqPTs mOvw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=harvard.edu Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w7-20020a17090633c700b0099bd43dca99si1366694eja.612.2023.08.18.07.35.41; Fri, 18 Aug 2023 07:36:16 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=harvard.edu Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351828AbjHQOWc (ORCPT + 99 others); Thu, 17 Aug 2023 10:22:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55758 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351831AbjHQOWI (ORCPT ); Thu, 17 Aug 2023 10:22:08 -0400 Received: from netrider.rowland.org (netrider.rowland.org [192.131.102.5]) by lindbergh.monkeyblade.net (Postfix) with SMTP id 9F65130D1 for ; Thu, 17 Aug 2023 07:22:07 -0700 (PDT) Received: (qmail 475804 invoked by uid 1000); 17 Aug 2023 10:22:06 -0400 Date: Thu, 17 Aug 2023 10:22:06 -0400 From: Alan Stern To: Kai-Heng Feng Cc: mathias.nyman@intel.com, Greg Kroah-Hartman , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] xhci: Disable connect, disconnect and over-current wakeup on system suspend Message-ID: <59898e32-f2ea-4df7-947b-3d74835ff9b7@rowland.harvard.edu> References: <20230817093305.212821-1-kai.heng.feng@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_PASS, SPF_PASS autolearn=no 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, Aug 17, 2023 at 10:07:37AM -0400, Alan Stern wrote: > On Thu, Aug 17, 2023 at 05:33:05PM +0800, Kai-Heng Feng wrote: > > HP ProOne 440 G10 AIO sometimes cannot suspend as xHCI wakes up the > > system: > > [ 445.814574] hub 2-0:1.0: hub_suspend > > [ 445.814652] usb usb2: bus suspend, wakeup 0 > > [ 445.824629] xhci_hcd 0000:00:14.0: Port change event, 1-11, id 11, portsc: 0x202a0 > > What is the meaning of the 0x202a0 bits? What caused this wakeup? And more to the point, given that the previous line says "wakeup 0", why should any port change event cause a wakeup? Alan Stern