Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp940031img; Fri, 22 Mar 2019 11:53:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqygOqfABpVtvdU6MUc+s40RIpcmAJl0gOJOCEsqfeCzuQ/0UJQVdmuDy2zB5fv/vfdu6k5G X-Received: by 2002:a17:902:1002:: with SMTP id b2mr10750576pla.248.1553280832683; Fri, 22 Mar 2019 11:53:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553280832; cv=none; d=google.com; s=arc-20160816; b=Hnh6tpQAEYAb2f8etZ66zcVTU4jhmbK82lZb2bvItuECYLxL1BuDOXGhCt0TCaCgA+ efzsmjfjZ5NTPUtGGpmm5fjTrQhiyKWx2jE4X9eC/kopqJYo2Xa7anrg5UF2ZIY3RvVs JF4ZbM9DSBXh5J+vMwyXe7RX8alPOEJWhjn+TIZJ6fKi2wcNRmPAZ6PBQKry6jyKUTZg WEJ8SvGOPkhrV/uOAnVH0Fj/kBNCbqtJADx3nE1baT/xjedLnmgGYXJc1+Q3B1CNTZt2 7U//MP7lEZEvM2CGz/8LNojqzzx6f7saOHw3dhrOPSvVNin1+VgIAloN0J25OKyFQR3T YuZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=sxO+vULoodcEoUw0i5HSAP0GRZY8RS9ryixc2aFoToo=; b=UCfKMo+zph0uf830NynUxg9DcSfad+ZCDJG8er5TKr6Jk6MIwUji82wLhsuYoosre4 UY720OtlXQflVhDS5OxxbN9u0uO/hK5x4+Rq1E4Omd5ZeE/tQd6qSdW6n8olOBshhozF eMBFlFleWdW5EG1hqCmxkGW08TPxyCrKgkOROhG47eYmn1EhdI4jvpMPg6hm0qfsB8R0 HYGsSXhwhWXFiJvWaIJC+9AZKq5WoBKzRJSx6oe3PWQXVTXQlbuOuVRsdLAfGju6c6j1 XPbO6GMJPdXXPTCbmOBxYRUizgGNdqszUdMmN3tFRFi1gO7p2aUreDhpu6U4r3LRGpKt hS8w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 34si7780607plf.43.2019.03.22.11.53.34; Fri, 22 Mar 2019 11:53:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727703AbfCVSww (ORCPT + 99 others); Fri, 22 Mar 2019 14:52:52 -0400 Received: from foss.arm.com ([217.140.101.70]:50800 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725999AbfCVSww (ORCPT ); Fri, 22 Mar 2019 14:52:52 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 7516015AB; Fri, 22 Mar 2019 11:52:51 -0700 (PDT) Received: from [10.1.196.50] (e108454-lin.cambridge.arm.com [10.1.196.50]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 3E1DC3F71A; Fri, 22 Mar 2019 11:52:50 -0700 (PDT) Subject: Re: [ANNOUNCE] v5.0.3-rt1 To: Sebastian Andrzej Siewior , Thomas Gleixner Cc: LKML , linux-rt-users , Steven Rostedt , john.ogness@linutronix.de, Dave P Martin References: <20190320171511.icjhdlulgal2yeho@linutronix.de> From: Julien Grall Message-ID: <791056c4-3575-0bd8-031e-44d0e3b21e54@arm.com> Date: Fri, 22 Mar 2019 18:52:48 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 MIME-Version: 1.0 In-Reply-To: <20190320171511.icjhdlulgal2yeho@linutronix.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Apologies for a possible stupid question. On 20/03/2019 17:15, Sebastian Andrzej Siewior wrote: > - Applied John Ogness' prinkt rework. One visible change is the > output during boot. Under the hood and for RT: By default, output > that is created at KERN_WARN[0] or higher is printed immediately if the > console supports "atomic" print (currently the 8250 driver does). > This output is printed immediately (and visible) even from IRQ-off > or preempt-disabled regions which wasn't the case earlier. This will > raise the latency at run-time *but* there should be no WARNING, > ERROR or PANIC messages at run-time on a fully working system. > Messages with lower severity are printed "later" by a kthread. Using 5.0.3-rt1, I get some warning message completely mangled with the rest of the output (e.g systemd message) but also between them. Some excerpt of a 500 lines lockdep warning (AFAICT the printk is not related to the printk code): [ 52.294547] 005: ... which became HARDIRQ-irq-unsafe at: [ 52.294553] 005: ... [ 52.294554] 005: lock_acquire+0xf8/0x318 [ OK ] Reached target t_spin_lock+0x48/0x70 lock_acquire+0xf8/0x318 [0;1;39mRemote File Systems.[ 52.294570] 005: iommu_dma_map_msi_msg+0x5c/0x1 [ 52.296824] 005: CPU: 5 PID: 2108 Comm: ip Not tainted 5.0.3-rt1-00007-g42ede 9a0fed6 #4312] 005: __sys_sendmsg+0x68/0xb8 I understand the new series add support for "atomic" print. So I am wondering whether this issue is related to it? Is there any advice to prevent the mangling? Cheers, -- Julien Grall