Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp1600576lql; Wed, 13 Mar 2024 02:51:47 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX2dgD/mjlgRLESECDKBVJct6DBBTKK2EkyLJ8lh2fzsgOyAe7ZhAqWD9rxJs03Emff39/thIEC+YT7gnAVQuBsur2Tgqm//YSiBiWZ+w== X-Google-Smtp-Source: AGHT+IGsE1L5e9GE195Xn4P0gpFbV95/NyOYgze7zTckyxlZri+mkTMAlZzHNJN1+xQOdOr9ipz7 X-Received: by 2002:a05:6a20:6718:b0:1a1:880f:7e65 with SMTP id q24-20020a056a20671800b001a1880f7e65mr4889475pzh.17.1710323507165; Wed, 13 Mar 2024 02:51:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710323507; cv=pass; d=google.com; s=arc-20160816; b=ZIYwd8FAP8FT7OH7vLcb1CvmTI4zjPKyeLLnxS7cxa2saEUHFK44bk4btWppf9Aw/d jkhsiXF6vUCG7qpWQJ9ME/9Cb22Xi07T2dGd8xr/9laTA+MasQSlji0QzE+ZAFxmqCW5 fSNX7ShQ79ecmvPIkCU5oliyx+Na5xDm26gbsW1oqJXu1ECgjXZ8Q6BtOSbwCjUtBSoe uHGi0Ct5WpaZPAcQlMapPvlqcXQ3q4cdGoyfxdQdCcFJ9X9HXSvvfNE8g6Go7JK6VNmY Bvan6epb0YNvudoTYiA4eYZhlZY3D9rB64CoxSWjL+KN42zgQL/+auKjrC2r6O8z54Ga nDKw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:date:references:in-reply-to:subject:cc:to:dkim-signature :dkim-signature:from; bh=/VOvO1ICOgorvWfeUJ/OeEtLerixex0X5TqRBe0HFYM=; fh=wsBwTvScT9YYprGwA8lExmnwUUr3JQ8tZDM1XpCEjlc=; b=hp602doBJn5XAqevAt+2HnlPDBJaH1apmpMIA9RGFRUaV5DE3/9PN0I9NllN52Cl4A 1sMtZTDlUIV2m4zkgkMBx8A4tJKwAb78pPtilo6o7siJgFViH6UTwB/6/6MKTSOsyzSo XVf5+9xGm+4N2UUAuw0W8zsh8wGINJdaNy8wYWspmYlSgT1aSLXWUexQi8OvW37ktcd4 MmdDu2ik56pwECmdBKNyvsCcfRfh8vJXADXvKZAcc020NEkScRelUGgaY2dw21oiTaa0 XaX0oWlrzwuFTJjyH3HzV4OryZVifRfErdYzipq5l3hIYBcj7eg/ZUVYHGTb1saK19JH rJqw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b="N/GnoVRe"; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-101301-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-101301-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id e8-20020a170902784800b001dd56860832si8435253pln.518.2024.03.13.02.51.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Mar 2024 02:51:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-101301-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b="N/GnoVRe"; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-101301-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-101301-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id CC1B028133B for ; Wed, 13 Mar 2024 09:51:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 88F9024B31; Wed, 13 Mar 2024 09:50:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="N/GnoVRe"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="PzwpJQge" Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4F8FC2261A; Wed, 13 Mar 2024 09:50:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710323434; cv=none; b=dUWxJ1JAyxU7ZFd0rd32nD5xs/IhJtZCjPWDQuJ6v8St5PwUstErmyfkQK1DabcB8xMBM0lhMZcAMFByTjuaBQW1oVh0W+qjz0vV6xKTSNcP/+SK1n90MKl761pmHWaflhyZkvZXNk7lMPhHZnb7QwJJlnZGKNek4kORvyGtSCs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710323434; c=relaxed/simple; bh=/VOvO1ICOgorvWfeUJ/OeEtLerixex0X5TqRBe0HFYM=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=d3eSJawflgd8rkW2aHq0uc/xs0ZNNnSfCTFYXjS84akowW3POEt8snwVez5kg4gtjFJ30r8iwmmDHe//hc/57VMRuYNdLUuyk4VvCfgvML0vfnQ0M5zPFZCN4ec/LM+qdQEDIKwvKZQU1HBaL0CwoRWsZ5FcpkjrkG8weU9Q2AU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=N/GnoVRe; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=PzwpJQge; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de From: John Ogness DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1710323431; 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=/VOvO1ICOgorvWfeUJ/OeEtLerixex0X5TqRBe0HFYM=; b=N/GnoVRemB0lnPrN0ZZ/cffTMben7HeYgNGpj6tZwVvZNGJ7ytDvwvAZmd/b/fPEWpl+VF m4y4wW6N8r2Dn7N7MENLLd9cLHrHt2582jcRuGZ/OX7Ti5VpDSs6QkJgQUhiOyDUL6Jq7D d7+teHLala/Nk2yTVCyZmyR+tP/SojcHfKrYMx1wIyZJxDJY0yCV+NWTueuM46HqIOh2Jd KYYsVBtzIGBhg4SkS/0oOs4c8QhD0busx5BiWRPRx9VYau1egn440tLquyUlLsMKJyJZ/I 2O/aqU6RkxTMphWgHk5XU27eDSy84iB3qIV4Te9HyPArEObhZVqMgn1jpt5hBg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1710323431; 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=/VOvO1ICOgorvWfeUJ/OeEtLerixex0X5TqRBe0HFYM=; b=PzwpJQgeL8JVSshwRkScr4aIdkl4e6hpxxmme7LIIVs/jrPQZQYkCDTDdB5x9VrJczjwfh 9LAg9uJfoTGHo/Bw== To: Petr Mladek Cc: Sergey Senozhatsky , Steven Rostedt , Thomas Gleixner , linux-kernel@vger.kernel.org, Greg Kroah-Hartman , Jiri Slaby , Ilpo =?utf-8?Q?J=C3=A4rvinen?= , Andy Shevchenko , Tony Lindgren , Geert Uytterhoeven , Justin Chen , Jiaqing Zhao , linux-serial@vger.kernel.org, Peter Collingbourne Subject: Re: [PATCH printk v2 08/26] printk: nbcon: Implement processing in port->lock wrapper In-Reply-To: <87le6oy9vg.fsf@jogness.linutronix.de> References: <87le6oy9vg.fsf@jogness.linutronix.de> Date: Wed, 13 Mar 2024 10:55:47 +0106 Message-ID: <87plvy31hg.fsf@jogness.linutronix.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain On 2024-03-11, John Ogness wrote: > And I think you identified a bug relating to the setup() callback. Actually this bug was recently fixed by Peter Collingbourne: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/kernel/printk/printk.c?h=next-20240313&id=801410b26a0e8b8a16f7915b2b55c9528b69ca87 One nice thing that has risen from this is we are starting to see exactly what the console lock is needed for. At this point I would say its main function is synchronizing boot consoles with real drivers. Which means we will not be able to remove the console lock until we find a real solution to match boot consoles (which circumvent the Linux driver model) with the real drivers. John