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 X-Spam-Level: X-Spam-Status: No, score=-17.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 82C20C4361B for ; Mon, 14 Dec 2020 15:19:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 54A8F22A99 for ; Mon, 14 Dec 2020 15:19:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2408096AbgLNPTV (ORCPT ); Mon, 14 Dec 2020 10:19:21 -0500 Received: from mx2.suse.de ([195.135.220.15]:42790 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726438AbgLNPTU (ORCPT ); Mon, 14 Dec 2020 10:19:20 -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=1607959113; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type; bh=A84go2ehAkcLQ3j0JDrXFrCRfpIcDzwXHG8JiDK3vds=; b=lzDfyHk+F9g9VL8RyvFo9NQJq8C0+SKmVRG6GT9Vak6mFTkFFOe3LZMAGAtBRyK7JEtSpN /E/qMOs6/eREJUO+ujvpgPZbp+fb7PBNUirfhixqxsyJtE/NgyxTcpnaSmpD9s7MszUtDj hD4gT9LbzUw1OHb3eb6+JwNgN/RoShc= Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id B062BAE47; Mon, 14 Dec 2020 15:18:33 +0000 (UTC) Date: Mon, 14 Dec 2020 16:18:32 +0100 From: Petr Mladek To: Linus Torvalds Cc: Sergey Senozhatsky , Steven Rostedt , John Ogness , Andy Shevchenko , Rasmus Villemoes , Peter Zijlstra , linux-kernel@vger.kernel.org, Daniel Thompson Subject: [GIT PULL] printk for 5.11 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: NeoMutt/20170912 (1.9.0) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Linus, please pull the latest printk changes from git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux.git tags/printk-for-5.11 ============================== - Finally allow parallel writes and reads into/from the lockless ringbuffer. But it is not a complete solution. Readers are still serialized against each other. And nested writes are still prevented by printk_safe per-CPU buffers. - Use ttynull as the ultimate fallback for /dev/console. - Officially allow to disable console output by using console="" or console=null - Few code cleanups. ============================== We believe that the risk of logbuf_lock removal is small. It is another important step in the printk rework. We are moving slowly and carefully. ---------------------------------------------------------------- John Ogness (2): printk: inline log_output(),log_store() in vprintk_store() printk: remove logbuf_lock writer-protection of ringbuffer Lukas Bulwahn (1): printk: remove obsolete dead assignment Nikolay Borisov (1): printk: ringbuffer: Reference text_data_ring directly in callees. Petr Mladek (4): 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 Merge branch 'for-5.11-null-console' into for-linus Merge branch 'for-5.11' into for-linus drivers/tty/Kconfig | 14 --- drivers/tty/Makefile | 3 +- drivers/tty/ttynull.c | 18 +++ include/linux/console.h | 3 + init/main.c | 10 +- kernel/printk/printk.c | 257 +++++++++++++++++++++++--------------- kernel/printk/printk_ringbuffer.c | 32 +++-- 7 files changed, 200 insertions(+), 137 deletions(-)