Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp4397138pxb; Tue, 25 Jan 2022 09:26:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJwKR2qQXS4bul2ipQIdhngKWgpuAzm3Ju2GzBI3MZy/rTWptiKHjtCOTZ+0Yng9XkcstcEk X-Received: by 2002:aa7:c99a:: with SMTP id c26mr21277198edt.324.1643131589135; Tue, 25 Jan 2022 09:26:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643131589; cv=none; d=google.com; s=arc-20160816; b=fv7pcnlMLNdnS5hWYiXqKh6fMZtgdtiojuCbwCoE3loJ4+/6CdD+UBDUd0S+uAhjIE FAKLAJnmgUx7mD62jDw1JY2lQjeRZE6ITECCeK9gd/GTBU4dRoAl2FwAoIOVAuBgqwkM RqgDoyrOdwQUCzmZTs75DrctYNYjrsHfrJ3hwGpvpGYgkYCYYeOemEWlyc2Zi7G4DYq0 t38cQr5X3Gh7Vfza+GJbFRoP6YmAJrxfyYajlFijJFuTJiXPzViFxa8Q/h6c6xEZ4oGx 6qO2RpzZl5F06YK21I465gcim6E/vWCwFizVXTVKoWtnnzIVTbzNPaCsiedLAsZfhD3s VOTA== 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=/pi/hUUlS91esbzGCPX8RrA4mReY8qXH6MTNTD3QQsY=; b=kW5WffF3fcu0ldl2hqzA01p68TfdpUVnOWS4QHXJKBG7QU7nvsTtf2fHRzltn8+6zv aB2HLjpNbLaIziwfNs4T0Gez068v1OSf5zq48SXzVh/AZSIFz49j68bF09OvtzijDbvv Ak2xJ3gDUYfTgMDSaUj6UOv/t/wHfL1txpEaBh2NKCoO69weAEH9C6cFwQ+Wpm1SCtEx ehysKqjfSvPH1kyt4KaupX5626DN6GASy0BSSE2/2GQ5TmIQP5sYjKL6NDDYxY0wRihY KCka7K5V65AOBrs+8VMbskIa+0kXNF+Hj/GQM4Z0vhlPcLm57wqry9w+9DzEOfYTG/Bd rwRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=nh0jtatP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id sb17si6796927ejc.958.2022.01.25.09.26.03; Tue, 25 Jan 2022 09:26:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=nh0jtatP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1384904AbiAYMut (ORCPT + 99 others); Tue, 25 Jan 2022 07:50:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42066 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1455460AbiAYMqG (ORCPT ); Tue, 25 Jan 2022 07:46:06 -0500 Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7E537C061760; Tue, 25 Jan 2022 04:46:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=/pi/hUUlS91esbzGCPX8RrA4mReY8qXH6MTNTD3QQsY=; b=nh0jtatPM+dv1vDo8NvVTs+zdo rKJGgiqzkMhmmKjHUcPHaQQLuW4v6utD/NacbzRNqPD5RKhrn8xvR1tMw+uSFvvdk1vjImrnIkzII CIcEXFn/nRwDCSv4C8gOabceTHfUzsN2D394Azj8YLUQKsJIFn6PHIkFvBGK9haUJuH+Cqj1p4oFL dm+KzDIN7t0RCPMud1uV4IsPmwD+PAwNc4tqw68B5d+kOFzvQjqgOsHWvsFd8S/+Naxy65RnZXSL1 Qjb3qipXGUh1TsHVXsf/Sm//hUy8Zlr8DBb+rOUj1mRH05gHgXrPJQl8V5fTcFuaO1PhOYifdxS3M DIN/E3sQ==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1nCLCq-003TIy-Tp; Tue, 25 Jan 2022 12:45:53 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 49CE63002FC; Tue, 25 Jan 2022 13:45:51 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id F24E12B37266D; Tue, 25 Jan 2022 13:45:50 +0100 (CET) Date: Tue, 25 Jan 2022 13:45:50 +0100 From: Peter Zijlstra To: Mathias Nyman Cc: Greg KH , Dave Hansen , Lu Baolu , x86@kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, Chunfeng Yun Subject: Re: earlyprintk=xdbc seems broken Message-ID: References: <88f466ff-a065-1e9a-4226-0abe2e71b686@linux.intel.com> <972a0e28-ad63-9766-88da-02743f80181b@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 24, 2022 at 04:55:22PM +0200, Mathias Nyman wrote: > > > [ 0.000000] xhci_dbc:early_xdbc_parse_parameter: dbgp_num: 0 > > [ 4.984106] xhci_dbc:xdbc_start: waiting for connection timed out, DCPORTSC:0xa0 > > [ 9.946159] xhci_dbc:xdbc_start: waiting for connection timed out, DCPORTSC:0xa0 > > [ 9.946163] xhci_dbc:early_xdbc_setup_hardware: failed to setup the connection to host > > > > [ 12.818364] xhci_hcd 0000:00:0d.0: xHCI Host Controller > > [ 12.818373] xhci_hcd 0000:00:0d.0: new USB bus registered, assigned bus number 1 > > [ 12.820360] xhci_hcd 0000:00:0d.0: xHCI Host Controller > > [ 12.820363] xhci_hcd 0000:00:0d.0: new USB bus registered, assigned bus number 2 > > [ 12.821036] xhci_hcd 0000:00:14.0: xHCI Host Controller > > [ 12.821040] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 3 > > [ 12.823451] xhci_hcd 0000:00:14.0: xHCI Host Controller > > [ 12.823453] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 4 > > [ 17.115089] usb usb4-port4: Cannot enable. Maybe the USB cable is bad? > > [ 17.115163] usb usb4-port4: config error > > Ok, I see it now. > Your setup has two xhci controllers, earlypringk=dbc enables dbc on the first xhci > it finds, which would be at 0000:00:0d.0. > Your cable is connected to the second xhci host at 0000:00:14.0 I suspect the first xhci controller is for the usb-c ports on the machine, while the second one has the usb-a ports covered. Now the documentation states we need this super speed A<->A cable, but could you also update the documentation for usb-c ? There's a fair number of usb-c only devices out there now. C<->A and C<->C cables are fairly easy to come by, would they 'just work' ?