Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp260679pxb; Thu, 17 Feb 2022 03:38:02 -0800 (PST) X-Google-Smtp-Source: ABdhPJz4rfRJALen7NO/X6WSHus21MI/Ju1WXGIa8fNophC3ONOTbBYP9OaXdSQAaIrtPYU57BtC X-Received: by 2002:a50:f699:0:b0:40f:c125:8c04 with SMTP id d25-20020a50f699000000b0040fc1258c04mr2137570edn.254.1645097882589; Thu, 17 Feb 2022 03:38:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645097882; cv=none; d=google.com; s=arc-20160816; b=dxg3BVyyfobIi2ghHD4U8OxSW9H6ASWHEwDNVNBrDgoK+x0a/EtyxwjGIrjbVDMP1c YFAOQSsShSc+sfDk07JdbIdGwP4u0Ixr1eHqrZh0aVasl4x7gClSEiCeZ6cdg2XOhvIB cTgzx4ASdPEPn0GI4VEMKR+Zv+RzyCPFa5IUYNiniTJCzt4QHchIJyJxn5hL2i2ScyS4 Rm6yVd3brrvGttpoORSAUAjc+dQEJjMHhDPFTbG6BGu/LOglrzsebXAPOSBwJFwGSXnK HUDwFWdG67q/7rGKZY7A46XyDk0vJPhzT0fp5VSukGQIHPoHByog8e50SYcSbfXGGjpz HE9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=QKExgNQWp3Zssh/nqG6fZnwPbmQE7iVXyRjvlEzqCoM=; b=rcyj11kIetBbNLYidQK3e2Gud8pdN9QmciwAkMUJ1+L97cezObNA4M18kytCxNILAU 2dJuqLzCuKEWGFfZImm5vOzxcHvDEFO/ZnMKTiUcUupMA2c5IQN3lyqvaq+cSeAXaF6C n9GKGmZzyhWGjCZYQgJphG1fgcCH6ybVtSDmFh/O8Drm/dXUwIQthvxBU4ybiRjVkwdL vs7/f3hut1KkK1gtfXsGPK9qcCWCygVrCeOJABUFjqWPqhzIf0f5JcyLGQ1i8m6pM9gT vz3MY5DczqSIKMKxpac5eLfkJURNf4VeMRHtuHzKt7SIXmjIL/4gt6ubuje9mUnt8sIr E7aA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=F55Xyk13; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ka1si658409ejc.375.2022.02.17.03.37.39; Thu, 17 Feb 2022 03:38:02 -0800 (PST) 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; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=F55Xyk13; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232936AbiBQDpI (ORCPT + 99 others); Wed, 16 Feb 2022 22:45:08 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:34872 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232910AbiBQDpI (ORCPT ); Wed, 16 Feb 2022 22:45:08 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D116829C137; Wed, 16 Feb 2022 19:44:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender :Reply-To:Content-ID:Content-Description; bh=QKExgNQWp3Zssh/nqG6fZnwPbmQE7iVXyRjvlEzqCoM=; b=F55Xyk13rPLqv1D0CWn92CH/go LF2wtY8At3qADfgJr/QBA9S0q/xNksDEWXHlT149de660uf8Bu628/FJjVgRF5DvHycjQ/Jj6NuaZ 8AkXiOLnrNiXlrJNtSR02rB6CVWOGtUYmGxqG7Z+z58s9qkvEh5Bh6Q4zkmbuhZhPPSa6B+S74ZqY mlUwQ2AQgz1h4fCmVVOgAJ+rJ5g2IfhewPR2fzipz9jQHzI7jmJ9AAzZHYbqMMc1tSz7SmhXVssAa YBtn8SWkOS/MtBbLXid3p3mr0/9oCT9T4JTt4XEgRPlrLUG0sTZmzFv5l214mrNUsuTr8vFvxjJIl PFXqMU1Q==; Received: from [2601:1c0:6280:3f0::aa0b] by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1nKXij-00FHCo-1j; Thu, 17 Feb 2022 03:44:41 +0000 Message-ID: <3f657ffc-e137-de8f-c89e-90676bc42448@infradead.org> Date: Wed, 16 Feb 2022 19:44:35 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.6.0 Subject: Re: earlyprintk=xdbc seems broken Content-Language: en-US To: Dave Hansen , Sven Schnelle , Peter Zijlstra Cc: Mathias Nyman , Greg KH , Lu Baolu , x86@kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, Chunfeng Yun References: <88f466ff-a065-1e9a-4226-0abe2e71b686@linux.intel.com> <972a0e28-ad63-9766-88da-02743f80181b@intel.com> From: Randy Dunlap In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham 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 1/25/22 08:24, Dave Hansen wrote: > On 1/25/22 05:09, Sven Schnelle wrote: >>> 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. >> Stupid beginners question: Would every USB3 A-A cable work, or are the >> debug cables special? I've read the RX/TX pairs have to be swapped, but >> to me it looks like that's always the case? > > My understanding is that the 5v line is disconnected.  Here's one cable I have: > >> https://designintools.intel.com/SVT_DCI_DbC2_3_A_to_A_Debug_Cable_1_Meter_p/itpdciamam1m.htm > > I think they snip that line to prevent any chance of current flowing between devices.  The cable isn't expensive, but I do remember being astounded at how much Intel charged itself for shipping it. ;) This one works OK: https://www.datapro.net/products/usb-3-0-super-speed-a-a-debugging-cable.html > That said, I've also used the same cable Peter has: just a cheap A-to-A cable I had lying around.  It surely has VBUS connected, so I usually plumb it through a USB hub with a power switch.  This surely isn't the "right" way to do it, but it does seem to work in some situations. -- ~Randy