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=unavailable 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 44BF5C433E0 for ; Mon, 22 Feb 2021 14:13:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0063D64E20 for ; Mon, 22 Feb 2021 14:13:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232408AbhBVONH (ORCPT ); Mon, 22 Feb 2021 09:13:07 -0500 Received: from mx2.suse.de ([195.135.220.15]:58480 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231665AbhBVNgA (ORCPT ); Mon, 22 Feb 2021 08:36:00 -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=1614000909; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type; bh=V1WRyjqV79KiGzT1YBIWTW4kj+NRdp/qN01PN1USCBw=; b=KSSw7dTH9Fzxvmuhb+kyifSCFss5RNNoUkwVthMMSKj4ryHFlDbjYx2rHSptck3hwAQU8v e6rUdwCgoJLTUY7z2pgmQcQfax7aYcZaXhSRavAFu4oQnT3/OQOIYI9x8vBXzD8qbWMQPK 4psPc+8sgRUZpke1lYjlQ5Nnvig97dM= Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 402BAAD2B; Mon, 22 Feb 2021 13:35:09 +0000 (UTC) Date: Mon, 22 Feb 2021 14:35:08 +0100 From: Petr Mladek To: Linus Torvalds Cc: Sergey Senozhatsky , Steven Rostedt , John Ogness , Andy Shevchenko , Rasmus Villemoes , Peter Zijlstra , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] printk for 5.12 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.12 ============================== - New "no_hash_pointers" kernel parameter causes that %p shows raw pointer values instead of hashed ones. It is intended only for debugging purposes. Misuse is prevented by a fat warning message that is inspired by trace_printk(). - Prevent a possible deadlock when flushing printk_safe buffers during panic(). - Fix performance regression caused by the lockless printk ringbuffer. It was visible with huge log buffer and long messages. - Documentation fix-up. ---------------------------------------------------------------- John Ogness (1): printk: avoid prb_first_valid_seq() where possible Lukas Bulwahn (1): printk: rectify kernel-doc for prb_rec_init_wr() Muchun Song (1): printk: fix deadlock when kernel panic Petr Mladek (2): Merge branch 'for-5.12-no_hash_pointers' into for-linus Merge branch 'printk-rework' into for-linus Timur Tabi (3): lib: use KSTM_MODULE_GLOBALS macro in kselftest drivers kselftest: add support for skipped tests lib/vsprintf: no_hash_pointers prints all addresses as unhashed Documentation/admin-guide/kernel-parameters.txt | 15 +++++++++++ kernel/printk/printk.c | 28 ++++++++++++------- kernel/printk/printk_ringbuffer.h | 2 +- kernel/printk/printk_safe.c | 16 ++++++++--- lib/test_bitmap.c | 3 +-- lib/test_printf.c | 12 +++++++-- lib/vsprintf.c | 36 +++++++++++++++++++++++-- tools/testing/selftests/kselftest_module.h | 18 ++++++++----- 8 files changed, 103 insertions(+), 27 deletions(-)