Received: by 2002:ab2:6991:0:b0:1f2:fff1:ace7 with SMTP id v17csp118595lqo; Wed, 27 Mar 2024 08:24:13 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWJj4WLw3e5QJC3Rxdyk/46U6MMSN/QvjIZ3vXXIDY4wpO5nD0csdpuH21GPpEGOFvLIFd5uCF66I/5Mb9c3t6KA7KU1vnxMiz2E1HQ5Q== X-Google-Smtp-Source: AGHT+IEMBFwPDAg0M72fCJExfpWmkMVG9vu2Yg2hjFrTSgoA+0ohk21AloGqC27mgEVKQjKppm0Q X-Received: by 2002:a17:90a:c485:b0:29e:5e:33bd with SMTP id j5-20020a17090ac48500b0029e005e33bdmr312405pjt.21.1711553053574; Wed, 27 Mar 2024 08:24:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711553053; cv=pass; d=google.com; s=arc-20160816; b=mfxrVxW8pdtzGs04VNatrfTDAzCvseQFg0TWpXMUzXZUmPf9Ra3bf0FMST32nYVP1t kCHlIcnqxk6415/ygmUvQtQpP1mA9Kabh+4NrKrj/ZehmNCREqBusyzpfhJFrlQ8iD64 iSKCYWo0h4fgfQKfgiZchIqjkDecDvgZbF/4xqgJcotzWrtQp7DBT9olQ0fu7JH8Ugqs gzK+u3KCg/fuZl02/ulxwhUS/LZlAr2Tz9hN8A+UyokFUcMWa58izD9pE6Ynx4PDsNqv A/DXyuQWqd0iVg7ODmaZNLEQIBBssSP7xhNiWJkzckPJ8XNZ2j4psZ6+CVraykvlwvUc 1GVA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=/SzjaHnkUjQTV6xhw65Vq5iXD27xhftz++ozEg2PpdQ=; fh=qZjR4FRzCammr0y4Ol3QkScLI4wemh+oQYE39x5b6TU=; b=AjBI5Pzz3wyEzU2KcflXlqIAMJfr3nPWbH5c2AY0H2/aqX8VDvqACAansMIBw294sL Uig7FQPIDKuQVuQ7GXej0fWU+mSijqIlO+hG5F+jdH0OU3UNd9n9AuTrJMJ+6h6IQFwz GyyN3CtnLDeU4AKFZtsPG8wReT9PyUJi8r4ZPYFl0U9QHA0bSH/apqO1LGTI7NPXVusJ 9vZwUV6o8hnX8xjKqlPG2h6FrjoQXIbcJuFIuVy/wzpoNixO/yZTHPDaOkDeHfbS6UqM 5Bb4+eq5ip/5dQpibf6wW1taIsdAdlkcyhiDJKQgXH5PrmJrVYTm6aJuh9seNL9967al k21w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@atomide.com header.s=25mailst header.b="r7A/g2cc"; arc=pass (i=1 dkim=pass dkdomain=atomide.com); spf=pass (google.com: domain of linux-kernel+bounces-120723-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-120723-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id s23-20020a17090a075700b002a091bf8af4si1655090pje.139.2024.03.27.08.24.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Mar 2024 08:24:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-120723-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@atomide.com header.s=25mailst header.b="r7A/g2cc"; arc=pass (i=1 dkim=pass dkdomain=atomide.com); spf=pass (google.com: domain of linux-kernel+bounces-120723-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-120723-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 8815829E70F for ; Wed, 27 Mar 2024 11:06:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 389A452F94; Wed, 27 Mar 2024 11:06:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=atomide.com header.i=@atomide.com header.b="r7A/g2cc" Received: from mail5.25mail.st (mail5.25mail.st [74.50.62.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4B2CB1CA87; Wed, 27 Mar 2024 11:06:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.50.62.9 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711537580; cv=none; b=Ie/0EdTwjTlr+ZrKNiuEaLWHd0DHmtjC4DAzlCOccT1LHHnKSyggRHjAFBarO9/W2+Q8HLA2cFBTgCXEirtgkCeGpQtBAT+OeI2U4l4I7S3s8XVwhiDMqMOjckpa134XNBuoNt9I4n8xnTSoOhV5005mE7bUTl/3acXwJdnmvcg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711537580; c=relaxed/simple; bh=hZErjMhbMur3G6+yLs7/2PSHAumNUkNnSGgGasOMYD8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=n11SqeeqS1YKfXBJ+CCVb6kEEUxC/+n9z/csT82VZXttD0sG09kRDvcGF/eMX9tL6hRiMb+WwthHS5wE3UXsX602OnxJDJ5RH1YLNsna88KACGTCsMfAqvAlazdfpHSe4cZUodcR0jD9pzsPmCe8z0qWns8sRS+hEZFlACW6cDw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=atomide.com; spf=fail smtp.mailfrom=atomide.com; dkim=pass (2048-bit key) header.d=atomide.com header.i=@atomide.com header.b=r7A/g2cc; arc=none smtp.client-ip=74.50.62.9 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=atomide.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=atomide.com Received: from localhost (91-158-86-216.elisa-laajakaista.fi [91.158.86.216]) by mail5.25mail.st (Postfix) with ESMTPSA id 5C986604C8; Wed, 27 Mar 2024 11:05:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=atomide.com; s=25mailst; t=1711537577; bh=hZErjMhbMur3G6+yLs7/2PSHAumNUkNnSGgGasOMYD8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=r7A/g2ccUWCSqiKzLQs+I7VY2TayELWt2El9JI+6jUY943RhaHZdMz02xhMAjihkJ ZVtTvGaTcJejjJfM+anyF4yeBOFC1OltUMv+bgbYpa0v2ynvX1kbk1gNIx4LEEWUWd QI4ceyB2ytp+AZBjdv4h+FlBV58ZbuLxPj6Z4e7W//nZHqeN1siNTGNO8fipPZO4D5 AkAgruKQWGmN0zQMhQJ0p2+eMd1J/30u2kOt00rLkoFqlKh8X6ZpciLbO20HuggUST wjrpshtGzhzCCEC6+5jAAOiSlKm+6L8mbJuqwbpfVq4EebtJBWTF+QW9KSnQhWEz0y GJe8AIIOQQDvA== From: Tony Lindgren To: Greg Kroah-Hartman , Jiri Slaby , Jonathan Corbet , Petr Mladek , Steven Rostedt , John Ogness , Sergey Senozhatsky Cc: "David S . Miller" , Andy Shevchenko , Dhruva Gole , =?UTF-8?q?Ilpo=20J=C3=A4rvinen?= , Johan Hovold , Sebastian Andrzej Siewior , Vignesh Raghavendra , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, Sebastian Reichel , linux-doc@vger.kernel.org Subject: [PATCH v7 7/7] Documentation: kernel-parameters: Add DEVNAME:0.0 format for serial ports Date: Wed, 27 Mar 2024 12:59:41 +0200 Message-ID: <20240327110021.59793-8-tony@atomide.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240327110021.59793-1-tony@atomide.com> References: <20240327110021.59793-1-tony@atomide.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Document the console option for DEVNAME:0.0 style addressing for serial ports. Suggested-by: Sebastian Reichel Signed-off-by: Tony Lindgren --- .../admin-guide/kernel-parameters.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt --- a/Documentation/admin-guide/kernel-parameters.txt +++ b/Documentation/admin-guide/kernel-parameters.txt @@ -785,6 +785,25 @@ Documentation/networking/netconsole.rst for an alternative. + :.[,options] + Use the specified serial port on the serial core bus. + The addressing uses DEVNAME of the physical serial port + device, followed by the serial core controller instance, + and the serial port instance. The options are the same + as documented for the ttyS addressing above. + + The mapping of the serial ports to the tty instances + can be viewed with: + + $ ls -d /sys/bus/serial-base/devices/*:*.*/tty/* + /sys/bus/serial-base/devices/00:04:0.0/tty/ttyS0 + + In the above example, the console can be addressed with + console=00:04:0.0. Note that a console addressed this + way will only get added when the related device driver + is ready. The use of an earlycon parameter in addition to + the console may be desired for console output early on. + uart[8250],io,[,options] uart[8250],mmio,[,options] uart[8250],mmio16,[,options] -- 2.44.0