Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp776768yba; Fri, 26 Apr 2019 08:34:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqxxgtVduL9BzRWK5F9m4nre4ibieOzLtWM2GpVhNI9JTk8MmA2gg9EP0E5Qp2z673/xXsYm X-Received: by 2002:a63:f444:: with SMTP id p4mr44352993pgk.32.1556292868560; Fri, 26 Apr 2019 08:34:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556292868; cv=none; d=google.com; s=arc-20160816; b=AsK0pkeuyOHlVz378U2WLExhprVQBEAxwwOOnJg/eG9G5Gl3y3ERx0u628F8l7xy5i vrrbA8IEMGi/Zl9XPuW6zyQE0zGD6qiT6kL+CH7No0UuPzRaLO8bifLTp0zdNBc/kLwH /tS3Tl/XJRgO1WkQXq1IS/BRmLO1iQ0Hp/hh7VcsmC7hryWqOeee9mC5Bjo4tm9wYuJX XwkEo/Wb3kFDwW+q7YgbYC5HD7E0RrtowATuoWvOrKab8FHSzaNufhLnkBSVLZbseHvC PbGvjVw78iYJRT3KZW4J7O0SxB9cEXQ3IpRy3qe20o20I8mytaJ7nxohzVHD32otBCib FhQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=YQZo9l6ViyTZNmh9VAv63MarTgsVGWDeuZ7svah48L4=; b=oEbc89kf0VKPPx47lh65ktFT4tj5URB1WLKsnr30U3y4opmn2adx+4HxUBXREqRGiw RK+WiUokQTf1/NCzQEykrYVSTND70/EhhfjQUs5UlTb+wKreJGO72y9buF0VcsEyiVdY VsOcojdH15aPEA0p+H1tsY34zLcV3EUXmy/nKyLdslAAQ5TpjMvlwgymbFTWV20TGF+4 Y+kfz6+KDM6b7Cg6tBJGmIRJQhUHI/5t7g/RESMxAJkbNUfLQXGIR2PYIPjmunZ+elvp 10T6k8H5L2WhxL0NHzGXboRX7NYDy3G0Et5EnlLDaGLA3UBP7n9hCwtmsH1rS9mS3s0j GPMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=n5VYlOR5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id bj6si10079833plb.379.2019.04.26.08.34.12; Fri, 26 Apr 2019 08:34:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=n5VYlOR5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1726830AbfDZPcz (ORCPT + 99 others); Fri, 26 Apr 2019 11:32:55 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:33724 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726814AbfDZPcw (ORCPT ); Fri, 26 Apr 2019 11:32:52 -0400 Received: by mail-pg1-f196.google.com with SMTP id k19so1816091pgh.0; Fri, 26 Apr 2019 08:32:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=YQZo9l6ViyTZNmh9VAv63MarTgsVGWDeuZ7svah48L4=; b=n5VYlOR5fU0DPFR7WDX3Wi4KexjXrRHjTDJxU6y5gVQhSLKogNwvUqlm8QxVfKDlCS GfCOQouXa3HsmHfTJCigXn7gy+td24iAYLqMHpNsVzY3ShJ5DnGfrq7RpRijGjZUNMot tYD0Is8sLWKK/NASdBp83Dj9AzH/8J7RxVpGoUsP6v25HleLHDcU/q1gESejrbo+JXUL L2g7cRKJBvoq/pAbBUcG3dYQnmRDuUfVAMCsmW4RoTwyEB4TRxIP9mL3gDu1jLrmJbqB v5Xv/o14WYiwAy/rVrk98zZeAtZjVA6zprU8zUv3NNe7oJW93IdyCDDlc0vNMhUpVM9h H1Wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=YQZo9l6ViyTZNmh9VAv63MarTgsVGWDeuZ7svah48L4=; b=UlFGvlf21HZp/tsTwTpuqlPTiFcMjiO1CPEDrQZ4PbRuEqZjDX7e4mrpGlTPu8R4Te sHvYachcoBIlblacYcq9kDbWpsxk1IdajSyc8Zjf4/cV9h/nIOERQbji0t3/GZ40Spst PIBZxPMjOn4XasaPQqn/5wVEscEfFjqVpGGDWZa/VnvZRscLsDKKESeuzgB7PcBdCRL7 /Nt2rp3SirFBSKxBkT+WM3rIVHVsqs44ikivPX0tGwQf95L9rB7zHD7TB+lZPsLz714D nwTufv+0MM3+8PGmg3gkGDbf+C1VXDa2ytzu8pEeZPLKRD6QMQGXNuEUa+eaVYTyq1CN 2WMQ== X-Gm-Message-State: APjAAAWivaHRT0OKJyRsxg8lKq2mN1g44R04tNOo8+rkfCXYER9WPGE3 rxjC2eh2bzU5z/XcBu8/GkD0QBLR X-Received: by 2002:aa7:8252:: with SMTP id e18mr3041092pfn.105.1556292771113; Fri, 26 Apr 2019 08:32:51 -0700 (PDT) Received: from localhost.localdomain ([104.238.181.70]) by smtp.gmail.com with ESMTPSA id b1sm29024833pgq.15.2019.04.26.08.32.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Apr 2019 08:32:50 -0700 (PDT) From: Changbin Du To: Jonathan Corbet Cc: tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, x86@kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, mchehab+samsung@kernel.org, Changbin Du Subject: [PATCH 07/27] Documentation: x86: convert earlyprintk.txt to reST Date: Fri, 26 Apr 2019 23:31:30 +0800 Message-Id: <20190426153150.21228-8-changbin.du@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190426153150.21228-1-changbin.du@gmail.com> References: <20190426153150.21228-1-changbin.du@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du --- .../x86/{earlyprintk.txt => earlyprintk.rst} | 103 ++++++++++-------- Documentation/x86/index.rst | 1 + 2 files changed, 57 insertions(+), 47 deletions(-) rename Documentation/x86/{earlyprintk.txt => earlyprintk.rst} (59%) diff --git a/Documentation/x86/earlyprintk.txt b/Documentation/x86/earlyprintk.rst similarity index 59% rename from Documentation/x86/earlyprintk.txt rename to Documentation/x86/earlyprintk.rst index 46933e06c972..7714e32501ec 100644 --- a/Documentation/x86/earlyprintk.txt +++ b/Documentation/x86/earlyprintk.rst @@ -1,52 +1,58 @@ +.. SPDX-License-Identifier: GPL-2.0 + +============ +Early Printk +============ Mini-HOWTO for using the earlyprintk=dbgp boot option with a USB2 Debug port key and a debug cable, on x86 systems. You need two computers, the 'USB debug key' special gadget and -and two USB cables, connected like this: +and two USB cables, connected like this:: [host/target] <-------> [USB debug key] <-------> [client/console] -1. There are a number of specific hardware requirements: - - a.) Host/target system needs to have USB debug port capability. - - You can check this capability by looking at a 'Debug port' bit in - the lspci -vvv output: - - # lspci -vvv - ... - 00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03) (prog-if 20 [EHCI]) - Subsystem: Lenovo ThinkPad T61 - Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx- - Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- /proc/sysrq-trigger - On the host/target system you should see this help line in "dmesg" output: +On the host/target system you should see this help line in "dmesg" output:: SysRq : HELP : loglevel(0-9) reBoot Crashdump terminate-all-tasks(E) memory-full-oom-kill(F) kill-all-tasks(I) saK show-backtrace-all-active-cpus(L) show-memory-usage(M) nice-all-RT-tasks(N) powerOff show-registers(P) show-all-timers(Q) unRaw Sync show-task-states(T) Unmount show-blocked-tasks(W) dump-ftrace-buffer(Z) - On the client/console system do: +On the client/console system do:: cat /dev/ttyUSB0 - And you should see the help line above displayed shortly after you've - provoked it on the host system. +And you should see the help line above displayed shortly after you've +provoked it on the host system. If it does not work then please ask about it on the linux-kernel@vger.kernel.org mailing list or contact the x86 maintainers. diff --git a/Documentation/x86/index.rst b/Documentation/x86/index.rst index 8a666c5abc85..7b8388ebd43d 100644 --- a/Documentation/x86/index.rst +++ b/Documentation/x86/index.rst @@ -13,3 +13,4 @@ Linux x86 Support exception-tables kernel-stacks entry_64 + earlyprintk -- 2.20.1