From patchwork Wed Jun 17 14:36:30 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 11609979 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1CB1614B7 for ; Wed, 17 Jun 2020 14:37:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0F44C2088E for ; Wed, 17 Jun 2020 14:37:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726906AbgFQOgv (ORCPT ); Wed, 17 Jun 2020 10:36:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60332 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726329AbgFQOgu (ORCPT ); Wed, 17 Jun 2020 10:36:50 -0400 Received: from michel.telenet-ops.be (michel.telenet-ops.be [IPv6:2a02:1800:110:4::f00:18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 48F91C0613ED for ; Wed, 17 Jun 2020 07:36:50 -0700 (PDT) Received: from ramsan ([IPv6:2a02:1810:ac12:ed20:b57b:2191:a081:571d]) by michel.telenet-ops.be with bizsmtp id sEcm2200P1Jlgh206Ecml0; Wed, 17 Jun 2020 16:36:47 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan with esmtp (Exim 4.90_1) (envelope-from ) id 1jlZBG-0007ph-L8; Wed, 17 Jun 2020 16:36:46 +0200 Received: from geert by rox.of.borg with local (Exim 4.90_1) (envelope-from ) id 1jlZBG-0004mJ-I1; Wed, 17 Jun 2020 16:36:46 +0200 From: Geert Uytterhoeven To: Yoshinori Sato , Rich Felker Cc: Andrew Morton , Mike Rapoport , Dmitry Safonov <0x7f454c46@gmail.com>, Guenter Roeck , linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH v2 0/9] sh: Modernize printing of kernel messages Date: Wed, 17 Jun 2020 16:36:30 +0200 Message-Id: <20200617143639.18315-1-geert+renesas@glider.be> X-Mailer: git-send-email 2.17.1 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org Hi all, This patch series fixes the broken lines in kernel output, which I presume have been happening since commit 4bcc595ccd80decb ("printk: reinstate KERN_CONT for printing continuat ion lines"). Most annoying are the ones in call traces and disassembly dumps, as they cause lots of small bits of information to fly by your serial console. Changes compared to v1[1]: - Add Tested-by, - Drop "sh: fault: Modernize printing of kernel messages", which was picked up by Mike and Andrew, but subject to an unintended mutation, - Add a fix for the mutation, - Rebase on top of "[PATCHv3 00/50] Add log level to show_stack()": - Drop conversion of remaining printk() calls to pr_*(), as they have all received a loglvl parameter, - Remove loglvl parameters from continuations. - Add two reverts for commits in the above series, due to people being mislead by the lack of pr_cont() use, - Add note about printk(KERN_DEBUG ...). Thanks! [1] https://lore.kernel.org/r/20191203162645.19950-1-geert+renesas@glider.be Geert Uytterhoeven (9): sh: fault: Fix duplicate printing of "PC:" Revert "sh: add loglvl to printk_address()" Revert "sh: remove needless printk()" sh: kernel: disassemble: Fix broken lines in disassembly dumps sh: dump_stack: Fix broken lines and ptrval in calltrace dumps sh: process: Fix broken lines in register dumps sh: sh2007: Modernize printing of kernel messages sh: pci: Modernize printing of kernel messages sh: machvec: Modernize printing of kernel messages arch/sh/boards/board-sh2007.c | 4 +- arch/sh/drivers/pci/common.c | 6 +- arch/sh/drivers/pci/pci-sh7780.c | 23 ++++--- arch/sh/drivers/pci/pci.c | 11 ++-- arch/sh/include/asm/kdebug.h | 3 +- arch/sh/kernel/disassemble.c | 103 ++++++++++++++++--------------- arch/sh/kernel/dumpstack.c | 23 +++---- arch/sh/kernel/machvec.c | 8 +-- arch/sh/kernel/process_32.c | 38 +++++------- arch/sh/mm/fault.c | 3 +- 10 files changed, 108 insertions(+), 114 deletions(-)