Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1303049pxb; Fri, 20 Nov 2020 06:26:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJyf/ezPYlkOR6qcWbqZwOahxLED+sCoDm8HHN3Ax/CqwP7cc4h8rMbSEsj336sQkfKMi3/M X-Received: by 2002:a17:906:c298:: with SMTP id r24mr15239165ejz.381.1605882404350; Fri, 20 Nov 2020 06:26:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605882404; cv=none; d=google.com; s=arc-20160816; b=PD34tUBZabr9JcrJxJEW3+CxneyBQBzxsPy45ch3AkkXjtxon69BLQH6IJct83aSIs EwzPN2m8bgNoSRL0Ke6P9rAXeV8P/S/6U2P2OD6lSOUrgxnJ5zRl2b+fHMBeJ+XJ8Bjp qiZKnqD+GdkrTmM+N54fe1DVlptbPTxikTTOjllovrpsqjJuS4MWkuvJzO86PqYxdiQg N+pV0yvTgqq6txkyhqXLKRAXeyJejpdN+ZbYSSGMpAH+Aef7kiF/gY7HgkjR9wYRcutz GKo5HVRx772RfltkTWcRyNdqIduFJZb1jYT8MtH2Ayf8enAZ2LMPs7zTZumvE1R+HLQs sEeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=sBNRtXPgIFrwBxBRZV+yOpZA9Rsx/wRrIx/DAGNkojI=; b=CI5ZboETmI6aKMqdCh8OuWCP8hRp/HtRY9QIEZzLnt4s542JGdCtV8+Du9shimedER vzJPr0l9g4q6uauezASikk44id0QLzDGUcmCVL9Hg+0gaBZMWK7ULNWz1dmJpEPd5LOZ 7T/j9Mus2MkeepAfyxcU+QnxDDw0vYP7GOJUD8uq9ed1KTPPZiA9mTCZhyrbINfOLOBj klVurtoDFwJHNzwpv7/Mt05Ei8cVnlREjdwQKGP0adn03J/5SBv7wPib8lGBkF21rF+c Gf2IVszPd34Axf/+3ldQJrtTYcQHAsKUzsx54bRtjGjSAhfcGAeFPtJKXBRqb05B6Lpu CJuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b="jKRUwi/p"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=suse.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i22si1756091ejv.693.2020.11.20.06.26.20; Fri, 20 Nov 2020 06:26:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b="jKRUwi/p"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727706AbgKTOYk (ORCPT + 99 others); Fri, 20 Nov 2020 09:24:40 -0500 Received: from mx2.suse.de ([195.135.220.15]:40492 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727241AbgKTOYj (ORCPT ); Fri, 20 Nov 2020 09:24:39 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1605882278; h=from:from:reply-to: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=sBNRtXPgIFrwBxBRZV+yOpZA9Rsx/wRrIx/DAGNkojI=; b=jKRUwi/pVrbuG0IzqKtCNs15kXkRGA3ebX5i3HZ8hH7rg45Brn1BjpgisDbA9mSHON0kWL MJpBS4Ghj74nrz9jSXXJU+NXJg9QJoQ13PXpn+juVJHHEzlZDqRA0xwOird+M25rDkKn5V DcwNIyiRWcIHd+yDI9jaem/TLNAp4zo= Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 732B5AE93; Fri, 20 Nov 2020 14:24:38 +0000 (UTC) Date: Fri, 20 Nov 2020 15:24:37 +0100 From: Petr Mladek To: Sergey Senozhatsky , Steven Rostedt , John Ogness Cc: Linus Torvalds , Guenter Roeck , Shreyas Joshi , shreyasjoshi15@gmail.com, Greg Kroah-Hartman , Sergey Senozhatsky , linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/2] printk/console: Use ttynull when no console is available or wanted Message-ID: References: <20201111135450.11214-1-pmladek@suse.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201111135450.11214-1-pmladek@suse.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed 2020-11-11 14:54:48, Petr Mladek wrote: > This is another attempt to solve regression caused by the commit > 48021f98130880dd74 ("printk: handle blank console arguments passed in."). > > It prevented a crash caused by empty console= parameter. But it caused > performance problems on Chromebooks because they use it to disable > all consoles, see > see https://lore.kernel.org/r/20201006025935.GA597@jagdpanzerIV.localdomain > > Solve both problems by using ttynull console driver that was crated > exactly for this purpose. > > The 1st patch should prevent the crash for any invalid console name. > > The 2nd patch allows to used the ttynull driver also with the widely > used console= and console=null parameters. > > Best Regards, > Petr > > Petr Mladek (2): > init/console: Use ttynull as a fallback when there is no console > printk/console: Allow to disable console output by using console="" or > console=null The patchset has been committed into printk/linux.git, branch for-5.11-null-console. Best Regards, Petr