Received: by 2002:a5d:925a:0:0:0:0:0 with SMTP id e26csp826900iol; Sat, 11 Jun 2022 21:04:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyLP0Ao+Ww0h6cc4gEXMVPo9R4alCDaSuqrfiMKMD3f6eY7hcp5zbtXsl1lrS7MKqmysCbx X-Received: by 2002:a17:906:3f1a:b0:715:6fb5:c6d8 with SMTP id c26-20020a1709063f1a00b007156fb5c6d8mr4039277ejj.467.1655006673386; Sat, 11 Jun 2022 21:04:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655006673; cv=none; d=google.com; s=arc-20160816; b=bTkQGKBkWTUuvDDvllCKRcKbH6zCNhdTuBjTvi9822o/9tR5APXYG/05eb9x/iJ2vO 8uEmh+PyNq6V/pPqy95aB+JlD6izo3pw8Yod+auafOhA/GDv+CByZXXKaMRMWQlEblS5 bqCfQnHYg96jxvD9BsFiNxvXuZQ2p8jUB3Nz7yxd5KqGKvDW56eDUf+wFafHf/XZU9zp LKWR5wvs/MCDtttpCQbbeeIvGAFIBiiDdMUjmDVhvO7fo1kJy2biocZkmCJO08cdxFr+ ldQzrpJQLyqp1+u+hRHO8+7/uTTdso8OxWQVUHMBytMC4SG6WIjLFYJhEeW1l3+9Vy9J 4zqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=sSf3C14fXRZieFCud/MSZcx3AAgYhpORc+Rvri3QSPk=; b=gNAmNdmLKGllSKcqol8cekQ53PErv2z1bDPzNQZD5gwmvZlHRLdAU1iKn985DNAH1T lJ6ayQrzGl1EWCXTiSBe+w1pKjwNUlQ2TSsrzCOdN5wVaLUJDWybhmayu6Vl+wAUt2ZE 0WjuKLWamcxmSEJogkHm+uW+ja6p3n5bbEwcqlgU+lMp7Jg1nWQnZMzhSgr8bOn5dq/O LDJTQkUJy9lNtNG6zp7Mv1WHX81kTaor97y5IhdGq34Mu4n/hmlcgv9Mgpa6FIB24xHx 9yEP1SRlzV9nikZsCokBV1E5oQ5v6GT77eQa2RKeiXCus+38SBMpeBo7PEZ9NckmWfG+ dVwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=nBKvbXxf; 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=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dn21-20020a17090794d500b006efb71530d8si4245165ejc.859.2022.06.11.21.04.08; Sat, 11 Jun 2022 21:04:33 -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=@chromium.org header.s=google header.b=nBKvbXxf; 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=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233608AbiFLC6B (ORCPT + 99 others); Sat, 11 Jun 2022 22:58:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56126 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233088AbiFLC56 (ORCPT ); Sat, 11 Jun 2022 22:57:58 -0400 Received: from mail-pg1-x52c.google.com (mail-pg1-x52c.google.com [IPv6:2607:f8b0:4864:20::52c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1CF9AE7E for ; Sat, 11 Jun 2022 19:57:56 -0700 (PDT) Received: by mail-pg1-x52c.google.com with SMTP id r71so2722534pgr.0 for ; Sat, 11 Jun 2022 19:57:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=sSf3C14fXRZieFCud/MSZcx3AAgYhpORc+Rvri3QSPk=; b=nBKvbXxfbQvosIyHd/QjddnnXa8XgLGzhw53c1wgST+zceCv7jRDvgJVoWMDNDX9Jp 5mQzb1SVwWgMvM07ZbHMiic05mK0k+ozA3j01Y4UvT6y9d+iti5yLPmWfbVVN1+gDGOp pFO9UHcD/HqqvpKTZYNtk+PU6i6oNxSxGtLKU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=sSf3C14fXRZieFCud/MSZcx3AAgYhpORc+Rvri3QSPk=; b=R8e56qK4I7KEbsA0+0Tj+MJ5ai1XP43MutSQl/mqHeV+olfEB/MSNJj5ZeH3MQLJ82 MDPmuvJfLJk6fwnX5uTVJl48RwuhNmrUE+nhabUZOkHR1W2GC5dhTUoPZncWJBJid3rG HcYfWIsDPR4F1aJMkVn7xblDc5pwaADrZdcnCsxe4Tf/7v2sMP5Wu9K58RTOihgcWcwm dLozmB+yTqCQGNsc4LVrTbLHjSVUOfyGmbEzHNvUAj6KeHRMP/IQypV9FDzCsNRVXij7 PMv0Z2xKiCuFOJrpeZglp7wD3CgoKshvAfW32Ix0nCDP0KYD8/RYXHPGLH+OEtRrAXI+ t4zQ== X-Gm-Message-State: AOAM530TzoC+7atqfjL6z3VPnqDNFZL1WEvjpKs2rMuFJSj3j90MhTsK M+voJhlFX3vqBmWk3X+L/KU96A== X-Received: by 2002:a63:474f:0:b0:3fd:6796:835f with SMTP id w15-20020a63474f000000b003fd6796835fmr35913016pgk.3.1655002676055; Sat, 11 Jun 2022 19:57:56 -0700 (PDT) Received: from google.com ([240f:75:7537:3187:a53:f177:9f19:3ef9]) by smtp.gmail.com with ESMTPSA id g17-20020a056a000b9100b0051b4e53c487sm2324811pfj.45.2022.06.11.19.57.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 Jun 2022 19:57:55 -0700 (PDT) Date: Sun, 12 Jun 2022 11:57:51 +0900 From: Sergey Senozhatsky To: Peter Geis Cc: John Ogness , Petr Mladek , Sergey Senozhatsky , Linux Kernel Mailing List , "open list:ARM/Rockchip SoC..." Subject: Re: [BUG] Threaded printk breaks early debugging Message-ID: References: <87y1y48spg.fsf@jogness.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, 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 (22/06/10 11:34), Peter Geis wrote: > > On 2022-06-10, Peter Geis wrote: > > > However I've run into an issue debugging early boot issues. Anything > > > that causes the kernel threading system to die (for example here, a > > > NPE) causes the boot console to halt before it outputs the error. > > > > A null pointer exception should trigger a panic, which will cause printk > > to enter direct mode for the oops. It should be just as effective as > > before introducing the printing kthreads. > > 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. How many CPUs does it have?