Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3534492pxb; Mon, 24 Jan 2022 11:37:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJwBFePEMDSs2Yl4gQVkskSIGTzDM1Ha58bFdqxIbNmsCpe9u3vqh7QvwHBw/fjjYiUEq3vg X-Received: by 2002:a65:46cd:: with SMTP id n13mr8837749pgr.269.1643053037868; Mon, 24 Jan 2022 11:37:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643053037; cv=none; d=google.com; s=arc-20160816; b=AmbF/ryah7Y4ghPJEN5QYMpDF+U6mqX9sE78PtnsIXCTY4qFCpJh9S2TQAV68ficlJ +7tUWcZmEF8kpWgV6SOHC2LDndf7nsbCoqRSEAQaHCsRYqwEgFfQI9h+AjWhtDz6RZeK Lw8jQG7Hr1B4wf3qhp3tE3HC6cf+aRABTzXjHKwlzJHa8a+jIZ1bO/QPJaH7b+6BbsCA jyodQImAcTOVZbNT2jJG38NaBdhcwjV2H0P1GefmEcj9gswgKMqqzB8j50EKTl8woaRB 6q9ZM1yHD4EjpyE4OhtOOeq63DWXA95RvI3EG5jdeItgoXAUK+VcelAQWOXjJRk4Mfp9 Q6/A== 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=9/+MlDi6lcUZjAUf3HbuHS32+cmOPkRXu63Gbss8eqg=; b=pp5VwOzNEOX3x+g3ne/XbhLn9RmiPV3jfiFAokhEK9PAq6XSO16+yFdjLCvPYMdavp v8l4gRZ+5ZZ+UTM4Y95v/QF1orqtQ2MWO7btzMxszbe/EjCa2k1UaVvX7eWyyqE/AgsY XJsU5DVdmnn2PRQrYYuYY7f9qwDcdj16SVaO7NNGRcaFG9uNH04lF6N99zv+Wsfb8cO9 O1Sc0/TcJMe90xAQvnaRV0qMWbzgtSD1FqWUJd953WCSAnRgNH1ku6tivl7wQVbJprRr kdPkbVc5m17KFJHpGMSGzx+OnoB+7/OMcx6iFaheorEn/WdpkuI/NjOSAF+eDq2mTztN OLFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=uVNfx9zQ; 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 r21si12291152pla.3.2022.01.24.11.37.04; Mon, 24 Jan 2022 11:37:17 -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=casper.20170209 header.b=uVNfx9zQ; 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 S243668AbiAXQjT (ORCPT + 99 others); Mon, 24 Jan 2022 11:39:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39332 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236102AbiAXQjS (ORCPT ); Mon, 24 Jan 2022 11:39:18 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CCF2AC06173B; Mon, 24 Jan 2022 08:39:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; 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=9/+MlDi6lcUZjAUf3HbuHS32+cmOPkRXu63Gbss8eqg=; b=uVNfx9zQyzLorHQWoAKUtd2zIG LqUlQojo8mjLziqYVwE90LDkxqiTc5GLZp8qNZ0AElYG0tys3KaURgLIte3Y8aHvBhY61+eRRxXdy p4aKuRWNAiKNzrUjTPh0VQiK1FZmxfJDVBz2P6z7rsEHmTg2TWZlNv6yUXf3Y3t2ulqOi1BJEfqTa Qtb/Y8uSYfl2ixeGy3tZBdB+5JkHhUpVZDLIIbnhEqd3sNDq+wFuJz8nI0o3Wn5nTJitmTSJbNqFP cpMR/wE3pdwSIufHArmB+pSQYUzuA4lD0FG7+iQ8tTsrmemzmzFZQuCVKru0lpOTGq1sD9LHOn57Q pg/Nfpjw==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1nC2N2-000vCa-VY; Mon, 24 Jan 2022 16:39:09 +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)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id A9580300222; Mon, 24 Jan 2022 17:39:08 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 8BDD52B54C621; Mon, 24 Jan 2022 17:39:08 +0100 (CET) Date: Mon, 24 Jan 2022 17:39:08 +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 > > does using "earlyprintk=xdbc1" work? Very quick testing says it don't work.. but I'll try again later, need to go cook dinner now.