Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp4926464pxb; Wed, 26 Jan 2022 00:25:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJzWv82wJ6k7KsFHgQnfN79Ev5pucb753wPvInqrLb+MVmeA+qQLn9UBSeQK/8TyPcUZ2TNp X-Received: by 2002:a63:120b:: with SMTP id h11mr17775890pgl.611.1643185510822; Wed, 26 Jan 2022 00:25:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643185510; cv=none; d=google.com; s=arc-20160816; b=QpZM5da58t+tF1ZazBABTDw3WjH4YfsED8ZddQ1uQx1EI2o905bG/+TF6/5o7UF589 V4mG5iK01LmXlhwuecvr/W5727Q5wMSgwdDoxkcPl0Hun2Sm7j2W5bJNm3qBTEp6HfnL 7y23+GQPDgRK/OgGnoVBsZOPumQvOP2z1/EwW5YGIfkdcfdMeZJIOW9BA/hcLIEXhTuS BaGajy70qxezsUsjafzXTafcQ1cK62oR78LkXji+/qRoSpRTsJaekWNig319Z6MoyUbj 1uK/RaDV/o8XzNTEleL7hR5zDh2C73pXNvCF00IzORudRZKrwe4pplJSdlOUUv1HC3Ix 59yw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=Tduuesxq4hZpsXCln7SUx3iQzE99K3TTjs0yDxRG/Yw=; b=MQGGmiRjFgYBDfJYcqQ+JNxsi3EvGQjFSI0/cjTOmDCN5BZjyEOGjT4U6Ddg5M95rN Rb18SZHQCfoBfF+HODOxc8wdW5XDGsep3WTcTvIj1Fd9ErkgiNA0NxJTbum5YCH47BXA LrdnvXEEJgRruyDzkSbuZEHuVllpZlSNJEaUWX6ndmRmyLSZopTpKIP6krO73U8HcGm1 L5Z1kblPyY0Iam/G0oBZZsEZro56Ft8+DQy0Y/gQw9zbKF34ifd53d29HMfevKwBYZTJ Svn0l/qry6+Z+91/RKBBbO0wSDDX4+DhWPDcYW2pBrCYapnVQsMNbcUdRBsoZJ5SjHiY v76A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=YaZ1s4EO; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 204si18984817pgb.68.2022.01.26.00.24.48; Wed, 26 Jan 2022 00:25:10 -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=@gmail.com header.s=20210112 header.b=YaZ1s4EO; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230265AbiAYTkI (ORCPT + 99 others); Tue, 25 Jan 2022 14:40:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53162 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230222AbiAYTkH (ORCPT ); Tue, 25 Jan 2022 14:40:07 -0500 Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B1FC6C061744; Tue, 25 Jan 2022 11:40:03 -0800 (PST) Received: by mail-lf1-x12b.google.com with SMTP id n8so18399019lfq.4; Tue, 25 Jan 2022 11:40:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Tduuesxq4hZpsXCln7SUx3iQzE99K3TTjs0yDxRG/Yw=; b=YaZ1s4EOfT/xURCNUJ7ljTeO1+Sr8ERLBWB+TaU8n79uLP5u7yXPf8XBygAD4VQsNH J4jM8g1svCtsX0kW47011E2cKo8RUb68yYpRoqxTysQMoI9YspjrV3XO0B7J4E8vY6OW enFoqoe7lU1TKO1sFS+KpPLDlsaR7aRd4iTR7BkJ44c11APqRS03TRLMQkPZuT3CMrkI q5Hu8Sd1XAqi8gGruEIz35uHhEk/i+/yKnoP5qjwaEqS5VL5hyiw8lwSfCEF/7SqL62l 7y3z8h1MuuuvbVXWvYZrLFxgKLC5O9Plt5ybxYZ2arFtsmTf54f+TbLzl0kakgeZzi2N cL7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Tduuesxq4hZpsXCln7SUx3iQzE99K3TTjs0yDxRG/Yw=; b=j++Zxw7Y/lPpiPOglDI5aZM+ok4W3YWBof0Fz2qcGaUuBmSzYpdKS2+2MfueaMBEGs ZnmHxfSyrX8CxhCQGTHVebSghDCiiCyUpocuqVQIT85Y4i/ZLJyRLHJhEN/86HZzmdZx ACCYwgyRy/EwfC6h4AbeX4THGcAn1HeUPMCs229Fss6AHqbNosSXSlTf1DXVteqRZygC trfG3hjsywqq7fB/fXmYNsy9w4Ark+SZe3NnEsjEtcoOrOX2Yk3kpQgNmKa7E2dZ+3aC tNXISGGg8j+VlZDC7dqx2gzPcuIwa0NjHl3LgdNhwzMAcSLNH7VZpoZNgtbMNRNEaWlV UU1g== X-Gm-Message-State: AOAM531YV/IRaM7cunMJkpMm1Sbm43zmwQutw3HkYduBXrZ79qp1ZSxp gnFCSwdx7SMExpPu5uudrSK3AwkZ0eUi/78cPTQ= X-Received: by 2002:a19:4945:: with SMTP id l5mr17220627lfj.595.1643139601812; Tue, 25 Jan 2022 11:40:01 -0800 (PST) MIME-Version: 1.0 References: <88f466ff-a065-1e9a-4226-0abe2e71b686@linux.intel.com> <972a0e28-ad63-9766-88da-02743f80181b@intel.com> In-Reply-To: From: Rajaram R Date: Wed, 26 Jan 2022 01:09:49 +0530 Message-ID: Subject: Re: earlyprintk=xdbc seems broken To: Peter Zijlstra Cc: Mathias Nyman , Greg KH , Dave Hansen , Lu Baolu , x86@kernel.org, LKML , linux-usb@vger.kernel.org, Chunfeng Yun Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 26, 2022 at 12:11 AM Peter Zijlstra wrote: > > 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' ? I have used DbC with USB-C to A and it works