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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8EFE5C433EF for ; Sun, 12 Jun 2022 02:58:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=+AQHeIf2e4hcY/pytZptnNC/dSUuEVgweI5JjNhxscY=; b=hZhVoEaa8mq5hJ LvH9yzV6rByhCHgdWFd9rk1oIOq+GjEv/sc4FwlmR88dNzPJBYj5LFeRXLtYDV7tqJLNozC5AMISX XzYKCQspTaVLL8VJEe4h83CWoIgqt5leRjhdjBU8hc9aAerfDzKS0qiWsmpdpKSD+zE5xg4gkTMGe BvC889EFVect+xJa3qd2gGUrB5812+Ab8GeCgEPR0hm7KsMYk6ouWHo5GJGk/CKxra+GDZOQXm/wJ tIvEz1DBxf/0Mp13AxOfAQPywuzJRCCFUfdssbn9/Mofi1TEELncpcN3e7gJXqubD+4ESMHYlsP0V BdH1cS6IxXZmNP3NQL2w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o0Dnc-00FIvX-Gk; Sun, 12 Jun 2022 02:58:00 +0000 Received: from mail-pg1-x534.google.com ([2607:f8b0:4864:20::534]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o0Dna-00FIv3-3g for linux-rockchip@lists.infradead.org; Sun, 12 Jun 2022 02:57:59 +0000 Received: by mail-pg1-x534.google.com with SMTP id 123so2676929pgb.5 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=AwIrZ/I+sK7T5Lan82Yec+4W8amZHIlhJF477oHneAVPXw5i8vgUEVxND2uG/PmFNh GpmNXoItT+Ncwli0fi7TAN9lqbUPL43N5/BD4dPadKvjfKNoTW9BshbVsnMbGvZiscre qBUqggHk1icAzhQo/OMGHPgk+ZpdJasSJMeclqa1tEKTrehsJ5sqVpInThsHpJ0FPzig hG5+XFpjCrMeKK9wL2b8tqO/fHdegQ35XVxktEwoTA16B6pUyA45LqeazeX8ASbMehxm otks5A6f3LPxJLZ5j23O0A1CAA7mwmxg2hjdJQdm+UOdn4y0/ZW1v1RpPfo7N0A4CMWT VcBA== X-Gm-Message-State: AOAM532xsUKHF2g27QJuBlBcEaEn1XKK3K90AEKhRW16kkjVrvTaJvXO SgazN6r+tzQSevn8TbcJEhYIkOBL5/G2mQ== X-Google-Smtp-Source: ABdhPJwUOJz2aQFaeksW5WGesCTxVAu+KUnNGIRMpasqGWgun8qtmY1t7mkUWzBeN0JuYdPPEluplQ== 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-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220611_195758_216646_7FD1258C X-CRM114-Status: GOOD ( 11.97 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.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? _______________________________________________ Linux-rockchip mailing list Linux-rockchip@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-rockchip 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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9A03EC433EF for ; Sun, 12 Jun 2022 03:14:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233650AbiFLC6B (ORCPT ); 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-Google-Smtp-Source: ABdhPJwUOJz2aQFaeksW5WGesCTxVAu+KUnNGIRMpasqGWgun8qtmY1t7mkUWzBeN0JuYdPPEluplQ== 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: 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?