Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp87116iog; Sun, 12 Jun 2022 19:54:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy4dL4sxpmKl4WHwT65JHgnhZ4EuXVepvZY4KThXEAZq8AYsNcA+aFtkhVhDjuVl/lLdrXL X-Received: by 2002:a17:907:60d3:b0:711:cef0:f880 with SMTP id hv19-20020a17090760d300b00711cef0f880mr34968626ejc.499.1655088842698; Sun, 12 Jun 2022 19:54:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655088842; cv=none; d=google.com; s=arc-20160816; b=rh6CTWLHz5bWGAjFYeBnJ2IOLeUl+mdBmsQo4Zmrpd/L6cMY2zs46XqNfwTKdOPzNs A2s+N+SJ+DZUjqsrierDOmPXnNrOxvsBwjlIr/uNfHbImnz1/We4GuafSSa8aHxGTmG3 GBS3nNaAe4Cb5Lv1XoxnOP29dgrtM9XgVbtwLHHSPWD4bmMaBDEIfI2Gi4odfe3UOOKQ UjPq8uIzIHVQytOrb8oTHlNvyLmV1udBltqGA/vTf8noW5vIVUOryBUhlqEBvMxL+6BK GOPDRwKRPXcedcIVNfGC0MVPUGEikyrw0uX5Q4GlU3eqjBfE9Umqw655+LgTWIrxpJDe JTZg== 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=GjKZ+LQkKXZaIY72unLROm2RmMm/98TrNKDzBYh55HY=; b=fZmS8LhkCIaLUqlFnudBw8QKy+uARl5n7GfhaJFx0GbdUOww/zf2CfC8KO9i2QS1l+ EiPwOVg+0HMTdzUwnAXI59zf87FyZk0cA/2DyHTPTGsjT0Qk7MJqSMQgooRvnrIW2xim TNdJ/nFv0ch2/5EzYley2y2KZe64TRKajUq0psLE2Ksr3uT4KeM629zjUx4ncEAMQ4IS KjI8cgQnN4GwKmqioZOsRRA85nY/i3uJDA7GDs8vyS9MSk//ORGVT5+UCM6+HjydcNVJ NiIoFFZk/ERQtP75g1yu/70k5xZm1LnPHaVHoCDC58W8VvnnqPI27R3dsJ74k2q2nR8+ 0REg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=QFBhyi09; 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 he43-20020a1709073dab00b0071576ce44b8si6224926ejc.222.2022.06.12.19.53.37; Sun, 12 Jun 2022 19:54:02 -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=QFBhyi09; 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 S237591AbiFLXC3 (ORCPT + 99 others); Sun, 12 Jun 2022 19:02:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46536 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232947AbiFLXC2 (ORCPT ); Sun, 12 Jun 2022 19:02:28 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D0FDF26108 for ; Sun, 12 Jun 2022 16:02:26 -0700 (PDT) From: John Ogness DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1655074944; 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=GjKZ+LQkKXZaIY72unLROm2RmMm/98TrNKDzBYh55HY=; b=QFBhyi09gvtgmNpodSmZHpLhVm19IQDsrPWaS29a9x7F56NeE+OzmHo9x/A9S4H1XdIUg5 ZbmK+Wy0jpr4Dgk0Yex+NdfqzrCNaIWi1SSGPMLygIzNoVKR/ULiECPhxYgSFirtHouvXD VBopQ1NfYfoXznJbcZmiKVU60qUvmGDZhxtyPFoiPY2Sb6QvRJ6VKPHuGozdimcp21UwsR 8Cc3uS95cQcz9r26hz2ucvyc41BAWu+c93jpl2JCGy18eO5JxUJ/thDaerf11Qi3x7wNyY lA7vH2OaBe8shvd4ALPPC9bNeTrGiyrABNdPccjPMTchvVLXPhWt9VEBrx05EA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1655074944; 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=GjKZ+LQkKXZaIY72unLROm2RmMm/98TrNKDzBYh55HY=; b=xaJ8o0jiQdqz1Cf3Sdk3m4i448g+KNCZL7Kr7OIv0X2C/6pYAqtyVR5xRwMeVqYNPqh8KX Nttn1qWMX30IbrDQ== To: Sergey Senozhatsky , Petr Mladek Cc: Peter Geis , 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:08:23 +0206 Message-ID: <8735g9mqo0.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-12, Sergey Senozhatsky wrote: > Should a situation when we have only one online CPU be enough of a > reason to do direct printing? Otherwise we might not have CPUs to > wakeup khtread on, e.g. when CPU that printk is in atomic section for > too long. IMHO, no. Especially in that situation, we do not want printk causing that atomic section to become even longer. If the machine has entered normal operation, we want printk out of the way. John Ogness