Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp228048lqh; Wed, 27 Mar 2024 23:06:07 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWr67MzUaydy2VNUqcGLY8WTUGD9Rtvz5y/KzgZpqjJuWO6uNNQN/zGnAUouuXigPSf6/xqIo/GL3ZZ4y1KKHYu33yt2qMZcC4DPZLuRg== X-Google-Smtp-Source: AGHT+IEuO8ZoMaLn/kLqJnT1/sU/Jxvy+NJRoCuHP2B+UYJQnUAooMNRMaImx9pnod4SY8m5SOHX X-Received: by 2002:a17:906:a18:b0:a46:36ee:cfac with SMTP id w24-20020a1709060a1800b00a4636eecfacmr947219ejf.77.1711605967269; Wed, 27 Mar 2024 23:06:07 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711605967; cv=pass; d=google.com; s=arc-20160816; b=AxppQRyZBzR4BsvIFlNUNsG0v/U2/DKg2QkqgUEBH51zQYXp8FGRMtD7jYxqFptH/b sP11ZNVK+fAFGCL82xfxgVj5ONiaZ1AYXLSZv+8jYX+Bo3Yf9o76TOIGU7d8LMIlcju0 nsafbJwyiSUBzxauSADkoHjJeGxM16MYPV9VfcJBpF8WhcXwDvwhNF1kTevwk+meXH3B TkZdMR8zWyfWTLLNUKLrkrFSN17B18sVfwslTcvnx7OLyeQ7wNHOeTZRxVojMgbzqCiR vFbtvPBcP+aDukq/lGGffuq0ukScSx89gEAHmiY2mQKcISPqZ9+x4QIuni0bnSOGq/xg hiRw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=pwH+ggQvvyFr5UgfIb0P+cau43yIc2EcVeYd5t4MYxU=; fh=Bs19PXmIZwaT+nBb5wwrbzxlq3VZp8qZSS9Gl7TK18o=; b=NaUde3X6aP4LCkcDPEW752oOexyq0PN3w5YLBgIUh0t4gGlJGTyxGg6XhZdNbnZqpY Xgnlx7ge076aWlecL43/FziQnsSmR7Bdwobn50hmwfv1PtLLp2QKwyOSQt3tVcSV63jY OGXpS5wopaPnKsjdwgAhVwqB5+RvfBloJEDMUBSlaHP5PbcXJlRjN4/JVKP3ZEjL243t WCSjPyR3T8XCrro5CJKCVtAmAs3BjJsYHlT4cdkLK19d38yZQ4fnN11lAqjyUH729uRn ZbyUaoD/3tbnwxtOoOYkG6uZkA8CDKiBZ4w4QtWtx7QZIdevKPT5GzohWL6f6MrWtj+t s4NQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=swEcdWQK; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-122447-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-122447-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id i1-20020a1709064ec100b00a4e0ee2b12bsi371943ejv.190.2024.03.27.23.06.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Mar 2024 23:06:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-122447-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=swEcdWQK; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-122447-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-122447-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com 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 am.mirrors.kernel.org (Postfix) with ESMTPS id DB19D1F26A3B for ; Thu, 28 Mar 2024 06:06:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9CF9F4F5EC; Thu, 28 Mar 2024 06:05:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="swEcdWQK" Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) (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 70A0F1CAAC; Thu, 28 Mar 2024 06:05:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.23.249 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711605949; cv=none; b=teb/Q8nwSVTBBVRbtiuyLKzdyDlfCYBLdW0szumO/CJxumoBVBwEElIfQR3ThuzudMMJbnihMk3ijMUAx5MPKU26xeIb2+WUA3jcJQuxzidpGkJqAse+DA1P2VVJWM73uwa0RaunbNtJvwQAVKUO+rSJYjwnL/iJNcPv0UNnzKI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711605949; c=relaxed/simple; bh=ABYblnci5DuY9zuX72BJyFDfbDWX7R9abq6IDLqDHuE=; h=Date:From:To:CC:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=dmBPpQu7qjLoKJDz+3fexMbF0/sFJ8uFaoGIpFpZUqCWd9xzay8Nc1m+NI2xatyx0aHbKKzn+aI1kSO6ZwT6Vhrauzt1bcKyBQfdov1aa9CejlcfzIsPmqpGRkliAuuHGSjOj1QWX9grBGTUgSypfbnN+bxr0zf713KTmPYe7zo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=swEcdWQK; arc=none smtp.client-ip=198.47.23.249 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 42S658mR032721; Thu, 28 Mar 2024 01:05:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1711605908; bh=pwH+ggQvvyFr5UgfIb0P+cau43yIc2EcVeYd5t4MYxU=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=swEcdWQKpeNYpHRlp72e0BYtv8a3XxVn5euvFUILe2DD/g+cQP0gV0RAuJszO2KNg eDTUYtsvHc4JcepDuqHjDBNki8SF/69btNdyMC4eR/FB8vkazre0S2R5tS2MSZ5kdC Eth5KXoXl4h2y6k9yAAkhD7abMMJH+cArqgykLy4= Received: from DFLE109.ent.ti.com (dfle109.ent.ti.com [10.64.6.30]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 42S658BH090463 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 28 Mar 2024 01:05:08 -0500 Received: from DFLE106.ent.ti.com (10.64.6.27) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 28 Mar 2024 01:05:08 -0500 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DFLE106.ent.ti.com (10.64.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Thu, 28 Mar 2024 01:05:08 -0500 Received: from localhost (dhruva.dhcp.ti.com [172.24.227.68]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 42S657tu025790; Thu, 28 Mar 2024 01:05:07 -0500 Date: Thu, 28 Mar 2024 11:35:06 +0530 From: Dhruva Gole To: Tony Lindgren CC: Greg Kroah-Hartman , Jiri Slaby , Jonathan Corbet , Petr Mladek , Steven Rostedt , John Ogness , Sergey Senozhatsky , "David S . Miller" , Andy Shevchenko , Ilpo =?utf-8?B?SsOkcnZpbmVu?= , Johan Hovold , Sebastian Andrzej Siewior , Vignesh Raghavendra , , , Sebastian Reichel , Subject: Re: [PATCH v7 7/7] Documentation: kernel-parameters: Add DEVNAME:0.0 format for serial ports Message-ID: <20240328060506.zhd7xctahudscoao@dhruva> References: <20240327110021.59793-1-tony@atomide.com> <20240327110021.59793-8-tony@atomide.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20240327110021.59793-8-tony@atomide.com> X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Hi Tony, On Mar 27, 2024 at 12:59:41 +0200, Tony Lindgren wrote: > Document the console option for DEVNAME:0.0 style addressing for serial > ports. Thanks, this will really add in more context for people unaware. > > 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. Reviewed-by: Dhruva Gole -- Best regards, Dhruva