Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp4104066rwb; Fri, 30 Sep 2022 12:56:44 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6zaSvAKHVWGmzaZKIyOnxwzoSR41t5Qzy4p8JOKieJCw5qgbVzOKCe7LTqGLCvsKj1j0Yh X-Received: by 2002:a63:4a21:0:b0:434:7838:ae46 with SMTP id x33-20020a634a21000000b004347838ae46mr9061918pga.559.1664567803784; Fri, 30 Sep 2022 12:56:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664567803; cv=none; d=google.com; s=arc-20160816; b=oFYMqU8RIgSIqEuSxb7TjvL57uOyZsXk75MZTOkVL581yT551rKmbO+rSHbE0pALBq 2Ad+6qFkWWfLWiE0ZwjQLXONtS4vu9qdjAP1BpucX/Q2PEzr/Aw3G7JttW2lGlkr2cOI cwZKKDkTQl03ZMgmlVqlHfWHW7SP29v2yjgALwMW+tLBqsK7AqTx64n2oK1izuOR/1Wk 7+sH9SXV3y+L0QOuURebuZ+H4gWq7lBfxASrf4FoEQtq+kPF3shpWlJZ9LNsU9EpXscA 6DB2f+oXP4oTnu8kYXW8toV2kUktBIQqUk90PFjgbxBbbzpHla7qSCtwhiM+Me9CfnwC hnwQ== 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=nbW8DKX7zU09gxwJfrfX3jl8AILIcXKQL/EnvH/yi0w=; b=p4J2qYNFSE82zO0D+/+sCtXx9EZePtX0M+OtCAzUdP01pWoY7K5MYKaR3R6mYRwfk0 Sw2vHbFKIcAl7ChxPKJfI4dBtAw2fm8dk6ZTIHVMxtIBHLABzi28dvhTlVMPEYCE/qj0 EaJQQKD2bkYcTO+IF8l34ysH2+b2OxXa6nv5qlIGpKkqcfEmlS90zVVKZ8HMecgIyxPV CGJd362yqa0MV79uiPENp20805x2WlXmbbQZ8/CyeQcw3RkUb7xut9ofkrUMAY1PUpVI fJZtPHzzTlhyRQYyVlacZSc71kuQFmKBEFsDINZAE06p6y4AQ9jn2zeBpaJUHjfz1plL gSAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b="sznnd/ZB"; dkim=neutral (no key) header.i=@linutronix.de; 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 h70-20020a638349000000b0043863d84ad2si3595490pge.53.2022.09.30.12.56.07; Fri, 30 Sep 2022 12:56:43 -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="sznnd/ZB"; dkim=neutral (no key) header.i=@linutronix.de; 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 S231284AbiI3Tql (ORCPT + 99 others); Fri, 30 Sep 2022 15:46:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41690 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229522AbiI3Tqj (ORCPT ); Fri, 30 Sep 2022 15:46:39 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 27FA8F3702; Fri, 30 Sep 2022 12:46:37 -0700 (PDT) From: John Ogness DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1664567196; 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=nbW8DKX7zU09gxwJfrfX3jl8AILIcXKQL/EnvH/yi0w=; b=sznnd/ZBaWHzMHzT/EXwzgFvSRC3aw22KrO8TO7BrsfwZp+muqDUibOXqm3ZakE3wgpYTw e2fwRSZLBTsVjknFX217Ll4L+6iRv9Z7KSR0KCL06os9PQckjHxww4YcnwjO9aQl9lqYwb hWivWHgJVm79IsH/c0GqOXqOfuJ1A7YukiLm1On/5YEiNe+emfzOQDkRZ+oDZlGb10y6Iy 1TYJeyfEfAaGGQWLFLSpdiZ/uXAzCBrLvfSzZEOE7cFHBVg/A2Iotpjdz5WqJu2k8+jVBe sFx+o1pWAR7zAAnjEglqQdUadU9B5GAvYZJC/YI7O+nTNI78FGJuwt9hX6QFFA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1664567196; 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=nbW8DKX7zU09gxwJfrfX3jl8AILIcXKQL/EnvH/yi0w=; b=OBddV2cRP/x93aIFmWGJBp3bj20v/z+nxE/hxzVoW9P/G6exVpURQd4A/fI8/IXYJupuU7 CZWGawnM3Iw9MhAg== To: Helge Deller , Petr Mladek Cc: Sergey Senozhatsky , Steven Rostedt , Thomas Gleixner , linux-kernel@vger.kernel.org, "James E.J. Bottomley" , Greg Kroah-Hartman , linux-parisc@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH printk 11/18] printk: Convert console_drivers list to hlist In-Reply-To: References: <20220924000454.3319186-1-john.ogness@linutronix.de> <20220924000454.3319186-12-john.ogness@linutronix.de> Date: Fri, 30 Sep 2022 21:52:35 +0206 Message-ID: <8735c88x2c.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 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-09-30, Helge Deller wrote: >> I know that it is all hope for good. But there is also a race between >> the hlist_empty() and hlist_entry(). > > I wonder if pdc_console() is still needed as it is today. When this > was written, early_console and such didn't worked for parisc as it > should. That's proably why we have this register/unregister in here. > > Would it make sense, and would we gain something for this > printk-series, if I'd try to convert pdc_console to a standard > earlycon or earlyprintk device? Having an earlycon or earlyprintk device will not really help you here since those drivers will have already unregistered. However, once we get the new atomic/kthread interface available, it certainly would be useful to implement the pdc_console as an atomic console. John Ogness