Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp43624iog; Sun, 12 Jun 2022 18:16:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwuSZl1lIBnFGLubxWxeuPuKmLQdHEufwxidvDqK9Ffx1sE0GGxKd8TSmBRly3IPOf2DYCb X-Received: by 2002:a17:906:225b:b0:711:fe56:a8c1 with SMTP id 27-20020a170906225b00b00711fe56a8c1mr21527037ejr.15.1655082994349; Sun, 12 Jun 2022 18:16:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655082994; cv=none; d=google.com; s=arc-20160816; b=HgZXWfc0tT7CUoXfzsnZjGk+e4tfWrcWgNk+AZYr6vT1J1u9lQ8jT70KanY5+1XcZN 8Vtkj0ts7h9d5Nn8m7YTSSLFTJvs2u9aAYTeWhi59yY3Fy1invMr/u0LJYGPksjFJNJ+ //aYv71bOy34nwuF1SmI2IwrY67wyDbtqycF09mETmOcepo8/PKotDOARZlLv/MRqnAh HfgKrhzjiHMqdnxA951uFoqdTMoKkpB5NlYGMIEnaAyMF6xNc01xkowRFs0jSRu1IqFm nsePbh2S323b0hlpXlvWqXHX8e7IuVjBfWeXGnzfj8CHV+UeWKqD8RnqDFeJA/T/iGyq PL2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:dkim-signature:from; bh=gh5KW0h/PquKzD84oAIRkbBhQi66jp8WkKcHulSua/k=; b=vbT+u+lzcc6dDEAEAbrhODxy8Zakw1MZ1mCsM89RT7agsbiFzJBWB9Hj50zqsaJEvN 5+y/g0za2hJJ7f7FijVXgR3/uT2DnLPo3lRwiShM3lw1BXwMgE4HX6dHW6jcneNbK72t mc9yXCg7VNr3b+/PwFCXzNtyKCOgcDNe7NOrZ4uFi27Up086YscQSGgSHpjmK8gBmUj8 uqUU7vd8h+2In6A+pQ/vJkf96WH+6rwF4JYl5aiorHa+QXPVvF6JWm2qmsWz0H/IjLGM GKvrYc0DNzapCi+g1RTni2WEc74cS9wM7KYkVm8hs6mdVfzxU+VsbLCqdfFM9nSzQhu9 f9kw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=LXRJF3x3; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i40-20020a0564020f2800b0042e03edff0fsi6526457eda.270.2022.06.12.18.16.09; Sun, 12 Jun 2022 18:16:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=LXRJF3x3; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237631AbiFLXIz (ORCPT + 99 others); Sun, 12 Jun 2022 19:08:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41822 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231327AbiFLXIy (ORCPT ); Sun, 12 Jun 2022 19:08:54 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B032B3B002 for ; Sun, 12 Jun 2022 16:08:53 -0700 (PDT) From: John Ogness DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1655075330; h=from:from:reply-to:subject:subject: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=gh5KW0h/PquKzD84oAIRkbBhQi66jp8WkKcHulSua/k=; b=LXRJF3x32FhyA3KD2v/tpwHJZ61XnyDuon/HeOW2u5ZMLOTqik6VSrL5eMhJhdZdrTR8mf khCYaXg/hy6GQb2fEKIak2SibfZLEd3U+iQerihw/ft1rxI7NMtX/7vx9DdjWpIDmGf6F9 PPApFVl2NPDi59PiV8oJforvOe/wPzZCtVN5cD/GDhutTYj9eOnwob/VHcNimthL4WBh6f HFViIeucTXfQtMk4xa0y9qfnoOfO3u4YGYjKJqkBM97pcRU8bGjYi52bEd9olLBPgcFEPw uGQQI/Vq0yBac6gtYkQwc9K2NeuEUypt8T4DJCvWoCyspxO3DBoEoHC54e7myQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1655075330; h=from:from:reply-to:subject:subject: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=gh5KW0h/PquKzD84oAIRkbBhQi66jp8WkKcHulSua/k=; b=Ro1qFTeELgknkRgH+JuRQwicT7B0kuI9sG4e58oqvTVmKYYWYtwCa550ecBRWeX9964ai2 rshj6ISbP3Fj7xCg== To: Peter Geis Cc: Petr Mladek , Sergey Senozhatsky , Linux Kernel Mailing List , "open list:ARM/Rockchip SoC..." Subject: Re: [BUG] Threaded printk breaks early debugging In-Reply-To: References: <87y1y48spg.fsf@jogness.linutronix.de> Date: Mon, 13 Jun 2022 01:14:50 +0206 Message-ID: <87zgihlbst.fsf@jogness.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,INVALID_DATE_TZ_ABSURD, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2022-06-10, Peter Geis wrote: > This might be a side effect of the fact that this is on a low powered > arm64 board. I noticed with threading enabled during large bursts the > console drops an excessive amount of messages. It's especially > apparent during the handover from earlycon to the normal console. I guess you have a very small kernel buffer and are generating unusually high amounts of messages? Is there a reason you cannot use a larger buffer? Or maybe you are generating a constant amount of messages that a serial port could never keep up with unless it was interfering with the system in such a way as to slow everything down? This is exactly what printk should _not_ be used for. John Ogness