Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp1024695rdb; Wed, 24 Jan 2024 02:29:27 -0800 (PST) X-Google-Smtp-Source: AGHT+IGckW2LQgY2+QPLwCyhwDVtepb0hUxPSsJPJBDM7zRGj/5AzDaFKUP0eqN1V1Xyuh34BssB X-Received: by 2002:a17:90a:2f61:b0:28d:29ea:25f8 with SMTP id s88-20020a17090a2f6100b0028d29ea25f8mr3512963pjd.72.1706092167545; Wed, 24 Jan 2024 02:29:27 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706092167; cv=pass; d=google.com; s=arc-20160816; b=iWDijKoERQVC+orjWT48hSB+GMrv7rH+/Fo7P8IkHIN7ZhHbwDm0i3uONYtX0kVQ7i pzCyW76enKMOJWKiQfoGyGRyzyu6fpKkEYwcwnbn/REIA2LVCFZEOFvpboskpzU7yx8P F5Ag2DQs6yixdGaPxEV1fXQbFOlgM+zpuVfm0jBPWQuMveNPjS+HH4qFfzVt3e0PV9AK Aq1t9wFq61AN0Dp6mElQ+gj1HoIv2tqxBMVAom1b70ZfBY9Kg9lFavIfJukcWlD17SGs MgsAFxje+8uLjzr0GIAt2C5qVrSgBvKENGvpPp/POHBqkwmhvFLxF/HNcY1DpERYHl0d p2XA== 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:dkim-signature:dkim-signature:date; bh=WTilLq0oXbltZtjofTkiTqw+ozvdtSJ/BvaTTO3IVgc=; fh=yWQbhJovJgfw0NaIEXaKalEBwswIopzX/B6n1ztOt/s=; b=0ykBC6Y//JspABXhJzQwPB+H/isutQJ6CZ3uXYjEqmTfyctVhCwI5mgQdkkkmKlQB5 LBVzBx9nZdjPU5UjJOkztq04OJBQloHZUOdAlEqYGhv9qsqBTaAjcuTIapCkYKBaY1We kSS6SsRGeDoSjwIjb31w4W+GuV4VSQOewS48MAobmP8W11+ahR2ev1sHytO4xYPS19+4 bxshGYHpC7S7KJ6WSH90xoK1wSx44qhVvoXAchLQ3uK7HatjK/2N0tPYLBfjdwEUdCku PA1xkM8jSWt0shFeY5B8Hc981Gg/OehPGQpOskGh4kVKcwi4Vd+kCPG81fjZaWoZJHsR mpLg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=wImRTpti; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=IOK4QaPO; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-36773-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-36773-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id pj2-20020a17090b4f4200b0028b74d2291asi11734537pjb.149.2024.01.24.02.29.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jan 2024 02:29:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-36773-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=wImRTpti; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=IOK4QaPO; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-36773-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-36773-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id EE304B28457 for ; Wed, 24 Jan 2024 10:05:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EFBB718633; Wed, 24 Jan 2024 10:05:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="wImRTpti"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="IOK4QaPO" Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 C6CBE18E00; Wed, 24 Jan 2024 10:05:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706090729; cv=none; b=YHDG1giyTXvjUv1msRhLitCg+f0eDbde2dn8U/eVD9W5e5stOJTgHv/dczCOZsF1l+qzqRt41RYYiPzeOXh/Yzuopw2lYRPQaBEmhiRLUiAho0WF9+8jGG8RR7VTsatnFFyDXjtiC9eUtA/4exhKuIgJKe4ZNHtAPifEg++BNII= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706090729; c=relaxed/simple; bh=0KezyqRF9YchXDd4bxWas5poKmjepqlImiHTbBdZrM4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Y2VMxnU5dZwUR+78gkikHdNQ1szSNO4VEyQ9osL9imq8O8D0yyFt54zwOyn5I1MQXmHHNmDcu5r91O0iBEVr6v2xQd6jm75lH45oScL7FrEBFM/YLLPI2iOWWIZgwTHj4ZkmVpj7y2B5uy4KSoRIGAKCqQ+AqYh/kbfxlV1eP24= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=wImRTpti; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=IOK4QaPO; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Date: Wed, 24 Jan 2024 11:05:24 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1706090725; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=WTilLq0oXbltZtjofTkiTqw+ozvdtSJ/BvaTTO3IVgc=; b=wImRTptiZtvuvgCwAOgsYIqGgIgGgIj1h39yTiFvQ1u9BJIEQ9mi2kYrccIIt5KU2tdmVC 37GOZHA5sQWl+wxHI+O3Vn/L2zPFvHvgUdvcLnnLiGf3y00rfdatmPWGixARhL0r+uh7K0 87YYY6SmYx7p6Lz7/2QqXPrwD8nop2NxmyACQu5T94fcF2QVLQ3NcXpjazHAIKxW3uiXT9 MQvo8PiUXIkvz/JPQcWxfgY1606Hsq0K93FzzyhfyBY+nbSfLyiIwdld9qhD8I33xalQ/u yPIwziWijKaSNH3Ip4f20ZSU3JMS6LgziAUf8j3iOJj+G+v0LmQrhzgVSX4INg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1706090725; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=WTilLq0oXbltZtjofTkiTqw+ozvdtSJ/BvaTTO3IVgc=; b=IOK4QaPOSTWxQ4nzStRhEHT3ekqrsmzv6CPZSINo4mXJVOYxtsR/fH3IL5M6i2pHTL6yJd Dv909blqai0IOUCw== From: Sebastian Andrzej Siewior To: John Ogness Cc: Junxiao Chang , tglx@linutronix.de, rostedt@goodmis.org, linux-kernel@vger.kernel.org, hao3.li@intel.com, lili.li@intel.com, jianfeng.gao@intel.com, linux-rt-users@vger.kernel.org Subject: Re: [PATCH 1/2] printk: nbcon: move locked_port flag to struct uart_port Message-ID: <20240124100524.ZyAPfPU5@linutronix.de> References: <20240123054033.183114-1-junxiao.chang@intel.com> <20240123054033.183114-2-junxiao.chang@intel.com> <87le8f9i75.fsf@jogness.linutronix.de> 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=utf-8 Content-Disposition: inline In-Reply-To: <87le8f9i75.fsf@jogness.linutronix.de> On 2024-01-24 10:53:10 [+0106], John Ogness wrote: > On 2024-01-23, Junxiao Chang wrote: > > Console pointer in uart_port might be shared among multiple uart > > ports. > > I still want to investigate why the pointer is shared. This sounds > sloppy or dangerous. I have x86 a server box and PNP enumerates two UARTs (8250). Only one is wired up but both can be specified as console=. What do I need to do to reproduce this here? Using console= twice does not do the trick. Sebastian