Received: by 2002:ab2:69cc:0:b0:1fd:c486:4f03 with SMTP id n12csp367779lqp; Tue, 11 Jun 2024 07:02:08 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX9IAuNAz2eKAC1WQaqQSWebwYVwP+Y57cgFbvQaf4KacM6vljvAyG3rRXHpuKPU1j7JndElkHByBb/xin8gvL5B0WHeQ1zGCZ4g8zWZw== X-Google-Smtp-Source: AGHT+IHAG7wbET83yFZ79Vf6w2Ly7Drmdj7aJs++1PzmCKivNLhyS58UOOymK1IvSHMSkArgRqti X-Received: by 2002:a50:d697:0:b0:57c:7dcd:bce2 with SMTP id 4fb4d7f45d1cf-57c7dcdbeb9mr4064568a12.41.1718114528037; Tue, 11 Jun 2024 07:02:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718114528; cv=pass; d=google.com; s=arc-20160816; b=v2XObl7lv1+MzFM0180YSko3mTmNRB8GFC/DXgLzOOg4NnSySGfUFBx44r2Ve6lHMG D5DERWy5iqOMC9a+Dra0PnQP9BZfLYDLY2ydMBiFO/TvxpuB8k6qLCNsO9axaYlCHwFM 8GYb5Pc2/rVIzplhF0I6UKZZSdM2YHeUxZ0XEyqKUWn5wY/sgFunfSASdhJwtyxEvBRx BK3JneAdHiyRI+FO0uZ66VHEUMMYRuWXTjMK0EH9rQCbj9bAs9TdJFiu7TRyX95Grtd2 uLLL6wDOM1KVQvWuVo2afk9l02Q98OBpVdjbWu2KhOM/MRMzX0rlOMKViAMG7rks5SDo VdBQ== 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=Aao5OTzk9AwnjTSvuNf6QEaOkbS7NV41BALj6CEVpiQ=; fh=LXgtC85P+SzurpkFeLAUrSLzLonStd4Dkb8mRkyNiuY=; b=OCihT4LrtQi1yqAnMwipdX9NRd4iJBM9J5JwvC2f7DTdaEJl/n3gVtkV1konIF0d2/ XEqtz+881JzxEHMsFmXreNJtmtKsoJw4+gsYbxen1oD+n/kpBcGtT6Yk0CESOKlyvHqo ooix95NzNSCbMZAV4byAGN9Jxw3RifizG9wn7H3rQCD0n9CNkbh5MPAQbOqAxc6Xi15/ 07T7uzK/u2N0HJlnJ1kyk9s2ubzkzPMckCF3kUNZFr/JT6f4FsB/B96iyVU0mXRE4Ze3 2qWUjH72WUt5rIbyG7mbfme8x9iGo4td4f1qNSJKIbN4JzEoCECUAHtwo/m5he0vW+JV APew==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=F9TKxwLt; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-210029-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210029-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57c84e8bcd6si1947239a12.135.2024.06.11.07.02.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 07:02:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-210029-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=@intel.com header.s=Intel header.b=F9TKxwLt; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-210029-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210029-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.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 BBE221F25E26 for ; Tue, 11 Jun 2024 14:02:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EB90F17D8BE; Tue, 11 Jun 2024 14:01:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="F9TKxwLt" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.11]) (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 781881E4AF; Tue, 11 Jun 2024 14:01:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718114510; cv=none; b=GkG+gWodqvobWW+BRypLMfADNXZZK4i4Q3x15c4z6Cl8LK3FtbLZP2ppdt3hUyGim5dwJDYu7Vkn4T5zv5OnP7Qvx7TrMsK3PbqJP26CKXzSuuqMa2dHGTikg1LIeYcoIl5/HrEBrZSZlHUyuDIFx80yZp5Gj0HnD+8eFZZ6bOo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718114510; c=relaxed/simple; bh=/eF3+dH82g2GsNZ69rvGK6Tn+zGBo8LFU2rgwfQ7mrw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=NU9z2MmN2CMMhmxL1w8fRa/AkJpVXK4/JeAnm9k+M27PETnHYz2c30l+VZ1sadwIWjCO1YtPNprCTv8t2SIiRR7sROVdiDpVKwda3JF/nv6eyWHpp+3UZMqQtq9DmNwbS9RLWsM8Ri+rMIpfA/c+kqw5qKNxl7/HdipRjG7hPiY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=F9TKxwLt; arc=none smtp.client-ip=192.198.163.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1718114508; x=1749650508; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=/eF3+dH82g2GsNZ69rvGK6Tn+zGBo8LFU2rgwfQ7mrw=; b=F9TKxwLtyWL5t9WTobKHi9gENHN4nA0DlpbUXjOKgeyotMvGfw0XDCwU h9SJKrooSbBkifbXYuGUdy6sPs9Wbl8wlktd+rX+0XNGSBk03XuszIDvu 6+9ebPz4rN9myVlunSYDA1SLn1wjksEVHFHBfcEijnbfTazWCNFD38QEU eUuHl+LGIE7Oq+1d6XY2Hf7ctSIUueAZMMfttbz1c2K1mQih/iAGkyUU8 VI0hovu++K1b2J2cO2CsZBFJmJoqRunS0Bfc2QpCGzxpVivnQ5s+GpcHD vLEcXld3D2+tY21pJCqEMVSA8XZdo6I5NBwcr27K95F0LnuubA3YYxNGG w==; X-CSE-ConnectionGUID: ZIjt1dg5Qr6xT+wu8ZH4Nw== X-CSE-MsgGUID: UL0ssncyT6SeAcB++5VK9w== X-IronPort-AV: E=McAfee;i="6600,9927,11099"; a="25450374" X-IronPort-AV: E=Sophos;i="6.08,230,1712646000"; d="scan'208";a="25450374" Received: from orviesa003.jf.intel.com ([10.64.159.143]) by fmvoesa105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Jun 2024 07:01:47 -0700 X-CSE-ConnectionGUID: 1Yt1XmWOTa2EL5X4tuahZw== X-CSE-MsgGUID: 3SllhWrMTDKcAHtIii7CYA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,230,1712646000"; d="scan'208";a="44348659" Received: from unknown (HELO tlindgre-MOBL1) ([10.245.247.195]) by ORVIESA003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Jun 2024 07:01:41 -0700 Date: Tue, 11 Jun 2024 17:01:05 +0300 From: Tony Lindgren To: Andy Shevchenko Cc: Petr Mladek , Greg Kroah-Hartman , Steven Rostedt , John Ogness , Sergey Senozhatsky , Tony Lindgren , Ilpo =?iso-8859-1?Q?J=E4rvinen?= , linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] printk: Track command line console positions to fix console order Message-ID: References: <20240606114149.118633-1-tony.lindgren@linux.intel.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: On Tue, Jun 11, 2024 at 04:10:45PM +0300, Andy Shevchenko wrote: > On Tue, Jun 11, 2024 at 12:56:54PM +0300, Tony Lindgren wrote: > > On Tue, Jun 11, 2024 at 10:17:11AM +0200, Petr Mladek wrote: > > > I would expect: > > > > > > serial8250:0.0 -> ttyS0 > > > serial8250:0.1 -> ttyS1 > > > serial8250:0.2 -> ttyS2 > > > [...] > > > > I believe this would be the situation if you make CONFIG_ACPI is not set > > in the .config. > > This is interesting. So, we still have the DEVNAME differences depending on > the kernel configuration? OTOH, I can't imagine either how we can get the > device names more stable as long as some drivers instantiate the platform > device instead of using 8250 core parts (port, base, core) directly. Seems we can add translation as needed though. For example, we could add console=serial8250:0.0 translation to the PNP port. Or console=0x3f8,115200. Regards, Tony