Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 056E752F75 for ; Wed, 14 Feb 2024 12:59:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.9 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707915556; cv=none; b=pWyUjdbnNKPq/DcPg5+EwfQVY+6lrqb3U5iV8zGs0HdygtI7v5+cgqsXE6h0oAFy1fHQ4bLKF1QqBnFs4b0WSN/dn/50QVrWqvlJt/YeaQaXwVoS5z8tnU7/M/+1Gf1ShtnRbVyTtbOL9q8aDj++qOqShOcLmLIrLL5MTjOGlZg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707915556; c=relaxed/simple; bh=+LYjPWkgI3zhv1ezIol+WM3G3Bc+KfRTqr4vQFLDMds=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=m/AnkaGcSJ3TMmKCpfB5anvEC2LGACvrxMqJmvX/vIJrlQ6zEQqyeJNXwEcpbaH4DAPRcV8iDU6KV7mOID3v059lnALbQvmsymh7EiFbApdwbjys5scCvP6Tbqj+QesWJ27+57mfFyJ55LZkByUYDfG+DFiEyfaQbbA5F6r5RZ8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=Fud2dn0X; arc=none smtp.client-ip=198.175.65.9 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="Fud2dn0X" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1707915555; x=1739451555; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=+LYjPWkgI3zhv1ezIol+WM3G3Bc+KfRTqr4vQFLDMds=; b=Fud2dn0XWClYvdkhi7HNHDyddcUI8L5NrXjZZlfaQpfwUALm8dnhwrrE Zb4twqP8ASep0IQT10+Wwz+WVbiN8vku76E9Sm97O3bNeT1smb3fEGbCu MEGQEmju77QBFq+jrYe/eIEj4htIgtpDR9CcDt3vdzW7ADVMbG8oF0/T+ +iltZqnufvEKSao4a7dCDLyuFZlmH2v5xMI2NHdIZ069MGm+pfF7290Tl iWUWuF6LzhG1fGzyzIeWLpD+J1kDYOh7+Mp7eBXCUMf0E1rLWCrr0sSXI Og/SBue1/SzTxvV089AbQ89HUDxMnqPiJGCwdzjtfOeAcpbCDqMlgSoPZ w==; X-IronPort-AV: E=McAfee;i="6600,9927,10982"; a="24428728" X-IronPort-AV: E=Sophos;i="6.06,159,1705392000"; d="scan'208";a="24428728" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Feb 2024 04:59:13 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10982"; a="935616412" X-IronPort-AV: E=Sophos;i="6.06,159,1705392000"; d="scan'208";a="935616412" Received: from mattu-haswell.fi.intel.com (HELO [10.237.72.199]) ([10.237.72.199]) by fmsmga001.fm.intel.com with ESMTP; 14 Feb 2024 04:59:11 -0800 Message-ID: <0cd07b3e-148f-9d0b-7ef4-917b0ed23cbd@linux.intel.com> Date: Wed, 14 Feb 2024 15:00:48 +0200 Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0 Thunderbird/102.13.0 Subject: Re: Linux warns `usb: port power management may be unreliable` on several systems Content-Language: en-US To: Paul Menzel , Greg KH Cc: linux-usb@vger.kernel.org, Mathias Nyman , "Artem S. Tashkinov" References: <5406d361-f5b7-4309-b0e6-8c94408f7d75@molgen.mpg.de> <7efc3c5b-3237-30c9-1ff2-88747897ed57@linux.intel.com> From: Mathias Nyman In-Reply-To: <7efc3c5b-3237-30c9-1ff2-88747897ed57@linux.intel.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 14.2.2024 14.58, Mathias Nyman wrote: > On 14.2.2024 11.31, Paul Menzel wrote: >> Dear Linux folks, >> >> >> As a follow-up to *Linux warning `usb: port power management may be unreliable` on Dell XPS 13 9360* [1][2], Linux warns about this on Dell laptops, desktops, and servers, and also on devices from other manufacturers [3]. >> >> I created issue with corresponding Linux messages and output of acpidump attached for more devices I have access to: >> >> 1.  Linux warning `usb: port power management may be unreliable` on Dell OptiPlex 3620 >>      https://bugzilla.kernel.org/show_bug.cgi?id=218486 >> >> 2.  Linux warning `usb: port power management may be unreliable` on Dell OptiPlex 5055 >>      https://bugzilla.kernel.org/show_bug.cgi?id=218487 >> >> 3.  Linux warning `usb: port power management may be unreliable` on OptiPlex Small Form Factor Plus 7010 >>      https://bugzilla.kernel.org/show_bug.cgi?id=218488 >> >> 4.  Linux warning `usb: port power management may be unreliable` on Dell PowerEdge T440 >>      https://bugzilla.kernel.org/show_bug.cgi?id=218490 >> >> (Artem (Cc:) marked them all as duplicates, and I asked him privately to undo this until the maintainers ask me to.) >> >> Mathias was so kind to analyze the ACPI tables [2]. >> >> Is this a firmware issue or a Linux one? As a user I am unsure what to do, and ignoring warnings sounds wrong to me. >> > > At a fist glance it looks like a firmware issue. > > USB2 and USB3 ports are in this case matched and peered based on the ports > ACPI _PLD (Physical Device Location) entries. > Usually there is only one USB2 and one USB3 port with exactly the same _PLD values, > but here it appears more ports return similar _PLD values. > > But need to look a bit deeper at this. Linux does not compare at all _PLD fields, does not compare _all_ _PLD fields > and xhci specification Appendix D mentions mapping ports to connectors using > both port _UPC and _PLD ACPI entries. > > Thanks > Mathias >