From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7C4D9C6FD1F for ; Fri, 10 Mar 2023 01:54:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229580AbjCJBy6 (ORCPT ); Thu, 9 Mar 2023 20:54:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47594 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229977AbjCJBy4 (ORCPT ); Thu, 9 Mar 2023 20:54:56 -0500 Received: from mail-pl1-x634.google.com (mail-pl1-x634.google.com [IPv6:2607:f8b0:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB7C0FD2B2 for ; Thu, 9 Mar 2023 17:54:54 -0800 (PST) Received: by mail-pl1-x634.google.com with SMTP id a2so4076899plm.4 for ; Thu, 09 Mar 2023 17:54:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1678413294; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=sH+VuLuZz3cI1+L2r8Kcc68lHGtUOiwVb06rM6k7FFs=; b=baNgmA7jd12BnU2ALV5TnTTDWM+e33idxILuxcMN419SzcPM0UpbSjsnGKklcsPqsj Hg/nah++U9fAoZeHVxxq3vHqdUr5GYoGGqLLXZcBu2HOJtVNIGwge84J+7aYyYXWfmMv nkuJWW5gTySZOwPNuzKU9xdeAW1dr3uqG5l/g= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678413294; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=sH+VuLuZz3cI1+L2r8Kcc68lHGtUOiwVb06rM6k7FFs=; b=bYsVL1mBkNZMd1r/2aFK84eys2nSR2RdJt3IB5ltZpKhgz/zPEqxporpTpcV3JV02Z yS7sUeRaoqilZz4TsZTJmlK4l9V+9QBSU1vXzspG3aAMAkxIEy7hfQNtvNR9314BWLSC W1A/jzO2pxQkMIaEbMQQmkPG0mFTxc3f7l0Ro9OvyhnM05ajuqrNeoY3tKLBH0I1ttM7 nIt6kByvCWCBS7paGDE7MJUtOk7eacby1YVMT7ieoWMQbglCUlda2c7xu8Y76DvkSsxq 6Omu3B4m+w/IB6w16bCwo4CjWCFKPzxh/J25JYgzMFrTQQiZcYbEPKh8Hu1qC+tCDPJc p8kQ== X-Gm-Message-State: AO0yUKUSrXpiIFLBdTFCTr/okklEE+3MZO/xPFO4KKD4Q9eQrJAqG2dz goDPZ3oq29kwDn4/dnXM38uW+Q== X-Google-Smtp-Source: AK7set9c3LjzF8O9fI1I1dsjNXmBi8mFvknYT0jXLOigp+MrV2PclybwLRmykMeVxsT//3BIc/L+Zg== X-Received: by 2002:a05:6a20:7f8c:b0:d0:360c:eaa9 with SMTP id d12-20020a056a207f8c00b000d0360ceaa9mr15238062pzj.62.1678413294348; Thu, 09 Mar 2023 17:54:54 -0800 (PST) Received: from google.com (KD124209188001.ppp-bb.dion.ne.jp. [124.209.188.1]) by smtp.gmail.com with ESMTPSA id c20-20020aa78c14000000b0058d9058fe8asm217330pfd.103.2023.03.09.17.54.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Mar 2023 17:54:53 -0800 (PST) Date: Fri, 10 Mar 2023 10:54:48 +0900 From: Sergey Senozhatsky To: Petr Mladek Cc: Greg Kroah-Hartman , Sergey Senozhatsky , Steven Rostedt , John Ogness , Jiri Slaby , Rajnesh Kanwal , linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] Documentation/serial-console: Document the behavior when the last console= parameter is not used Message-ID: <20230310015448.GD1045797@google.com> References: <20230308112433.24292-1-pmladek@suse.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230308112433.24292-1-pmladek@suse.com> Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org On (23/03/08 12:24), Petr Mladek wrote: > > The console= kernel command-line parameter defines where the kernel > messages appear. It can be used multiple times to make the kernel log > visible on more devices. > > The ordering of the console= parameters is important. In particular, > the last one defines which device can be accessed also via /dev/console. > > The behavior is more complicated when the last console= parameter is > ignored by kernel. It might be surprising because it was not intentional. > The kernel just works this way historically. > > There were few attempts to change the behavior. Unfortunately, it can't > be done because it would break existing users. Document the historical > behavior at least. > > Link: https://lore.kernel.org/r/20170606143149.GB7604@pathway.suse.cz > Link: https://lore.kernel.org/r/20230213113912.1237943-1-rkanwal@rivosinc.com > Signed-off-by: Petr Mladek Looks good! Reviewed-by: Sergey Senozhatsky