Received: from mail-ej1-f44.google.com (mail-ej1-f44.google.com [209.85.218.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A50D31E862A for ; Wed, 21 Aug 2024 09:21:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724232108; cv=none; b=XHYTXPI6ElbpHXpmSQY91lnVW5Th/Rx4Gc8bvWLUXgzxdtYE3wbTsVY8ENN1vGuaI0nFBnMwNl6AMOj3hnD6rTtPYJtyLpwlG0G1SNVQfVkBcQFzcCe3CIIQHpJ8r/PX5ErlV8U6kFpzsNTXkSQPZ0obK0uZQ6EMv+pZZ62WKJc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724232108; c=relaxed/simple; bh=zTrmrwvcnsUQONnVX7bXvpZTK4JkDDsBtO5iwajA6aE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=r8Co19B43f+fcIL6ZlOUEmM+uuJH2UXVoj4//QD1xETPK9hjL1QfIQmiGvgWPjlgfAza+1e3Q193skxI/pMju4oizxocDr0uCvcHBMcYGi+uAr00LHV4ywFYIEZ4ly9xziglR2P7tUv1V9DdIu1Y0hEQYBaWXY4TezAU0MBVe3I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com; spf=pass smtp.mailfrom=suse.com; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b=gydyfXgW; arc=none smtp.client-ip=209.85.218.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b="gydyfXgW" Received: by mail-ej1-f44.google.com with SMTP id a640c23a62f3a-a8647056026so210416166b.0 for ; Wed, 21 Aug 2024 02:21:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1724232105; x=1724836905; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=mEERTRPjJTEkA5X/eKpaMzz4m2QDKwkJiDLjgwX79HU=; b=gydyfXgWCjgdhmXEJ4TLl1S96HDbpmtjq0t8wKUZevFdXl37E7zw8AnxLg4sGZxHDH AMBUloEgvdF349cbtZ7EiCweev08Y3cHJBpp8dSV14rBBokqf8O1G+Cawb//jLFxfWEW MTjVtg2zl1o+7Y9yqXq1STMBdBH5lBHka5DUo8NLEXy0wP/OKl4z5b1jepWAQG7KF1HV gB0PFI5D7RaQELYsPOgmSt12YyL9k4MfpYQvpMFtsZcR1NDe179fz7sx0tZgJ04mKorB qwjyFl2ZoxlMM6jK02ucNbXAT+JPgJzjJlUGcknYulfvvIv7+INmntW7Q1Ezhq1lEmWD XNSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724232105; x=1724836905; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=mEERTRPjJTEkA5X/eKpaMzz4m2QDKwkJiDLjgwX79HU=; b=Rvmf/uas3MPBS0YFt6+3w3T1Yc/vtG0bFNk3/Rsp2K7a2nV13AMxfziDyppKr+FRQb hShcD4ihFS63cuIrC24WrDIdfu6GXcQYY5JdMYHnT9U3WHVVDgJwn/JxqSJv7s8oLMWy kR1jsp5jm7CKYLwVUJfb1BIwfAmN3O8o7OAviSnXQ9wSd+ceUpzVf6EaiazPbt2lQdLH jRXoGJSb1kdW2BjU3CPnLyS2whgvCtiYBx9XPi2qya5FOSQvatLYCgrd0YEnAbi6wiC1 bKzNGUFxciAMPvBseA4v19fvlhZeU+DpZv2Vvh0XwI+jxZBgiuhixIikmhfZb3E/jjRy R7xg== X-Forwarded-Encrypted: i=1; AJvYcCWJEBedhhGHr6palUpbag0K3TzOw4Gc+Om4MOSnO81N0zHfqWJB+vt1Hv0ACY+67zc1PNTY8rCjWfrJbA8=@vger.kernel.org X-Gm-Message-State: AOJu0YyR9aNFHXw2SKl9WXGnNdNa1nXhL9nEx1c0szKNNnZ+6ZiVT6oi t6ekK+Z5m/l5x83e975T9oQMYai6uEExTSVjLFbvkXiEsK/KDW6AJhFyrdtiZxQ= X-Google-Smtp-Source: AGHT+IHTKefgAMslcV1Cs0upS9eDIaDmi87CvvZ8H7V6d6k0M6zSoNhCt8tI49NL7kOCx/S0LuujdA== X-Received: by 2002:a17:906:bc27:b0:a7a:ab1a:2d65 with SMTP id a640c23a62f3a-a866f9c83f1mr128643166b.67.1724232104806; Wed, 21 Aug 2024 02:21:44 -0700 (PDT) Received: from pathway.suse.cz ([176.114.240.50]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a8383946898sm881723966b.174.2024.08.21.02.21.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Aug 2024 02:21:44 -0700 (PDT) Date: Wed, 21 Aug 2024 11:21:41 +0200 From: Petr Mladek To: John Ogness Cc: Sergey Senozhatsky , Steven Rostedt , Thomas Gleixner , linux-kernel@vger.kernel.org, Miguel Ojeda , "Paul E. McKenney" , Greg Kroah-Hartman , Jiri Slaby , linux-serial@vger.kernel.org, Russell King , Tony Lindgren , Andy Shevchenko , Geert Uytterhoeven , Arnd Bergmann , Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , =?iso-8859-1?Q?Th=E9o?= Lebrun , Linus Walleij , Lino Sanfilippo , Ilpo =?iso-8859-1?Q?J=E4rvinen?= , Konrad Dybcio , Sebastian Andrzej Siewior , Andrew Morton , Jani Nikula , Ryo Takakura , Uros Bizjak , Joel Granados , Lukas Wunner , Feng Tang , Baoquan He , Frederic Weisbecker , Neeraj Upadhyay , Joel Fernandes , Josh Triplett , Boqun Feng , Uladzislau Rezki , Mathieu Desnoyers , Lai Jiangshan , Zqiang , rcu@vger.kernel.org, Peter Zijlstra , Ingo Molnar , Will Deacon , Waiman Long Subject: Re: [PATCH printk v8 00/35] wire up write_atomic() printing Message-ID: References: <20240820063001.36405-1-john.ogness@linutronix.de> Precedence: bulk X-Mailing-List: linux-serial@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240820063001.36405-1-john.ogness@linutronix.de> On Tue 2024-08-20 08:35:26, John Ogness wrote: > Hi, > > This is v8 of a series to wire up the nbcon consoles so that > they actually perform printing using their write_atomic() > callback. v7 is here [0]. For information about the motivation > of the atomic consoles, please read the cover letter of v1 [1]. > > The main focus of this series: > > - For nbcon consoles, always call write_atomic() directly from > printk() caller context for the panic CPU. > > - For nbcon consoles, call write_atomic() when unlocking the > console lock. > > - Only perform the console lock/unlock dance if legacy or boot > consoles are registered. > > - For legacy consoles, if nbcon consoles are registered, do not > attempt to print from printk() caller context for the panic > CPU until nbcon consoles have had a chance to print the most > significant messages. > > - Mark emergency sections. In these sections, every printk() > call will attempt to directly flush to the consoles using the > EMERGENCY priority. > > This series does _not_ include threaded printing or nbcon > drivers. Those features will be added in separate follow-up > series. The series seems to be ready for linux-next from my POV. I am going to push it there once I get approval from John about the proposed update of the commit message for the 30th patch, see https://lore.kernel.org/r/ZsWvRETyuh1Yq80j@pathway.suse.cz Best Regards, Petr