Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp1443975lqp; Mon, 15 Apr 2024 06:53:16 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUUR/gliTQCLdpR9hbR+WQqCHHbOiwARFxX1HJ8nZcwf2CanA8fwXTPGiH7opb8lMrKrNe657R7llu3/eCAGSx0GbJI+UXnexa9r5cr9g== X-Google-Smtp-Source: AGHT+IGE2QmRszqfzPGARdtrNKRnu/jUeQLuAFmXeDhspnNJqdFQVpoSArHuArypba/ZgWoJNSYG X-Received: by 2002:a05:6359:5f03:b0:186:1f52:540d with SMTP id lf3-20020a0563595f0300b001861f52540dmr7359857rwc.28.1713189196412; Mon, 15 Apr 2024 06:53:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713189196; cv=pass; d=google.com; s=arc-20160816; b=qUbUAPGuW4Zir2+yB9uhgJEDH8VU1pGktb35OW9e1PX2JmPFLZ9wFB/amM3d5TI9Bh 5IvybTUpcy9Lo4LK2jAVl4KKuHKgRtuLQrWj6aSjgR/UrMabMlD5OzQc5aXzkIcT+GQG 7EXyNyl0z+S97RY9i2i+wqHEtAnjYlS7cCq72/0IP7U0v62CyXVdHbJEW1++J0bk5kQL riy91Ez1Q/2B8qQRjpeZq+fhFMc2qUUbUpNR+6bNOs52AyRi/YHLf50rE+4FlI2pv/kM 30bAneVWdtVkNI/IEzeKr0wMULH3CsyERQEd/VDqn5wm5GLhzP8Y78rD7z+mOaWaDocs gogQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=qxmfrKsb6A/bEXzrV4nCTqSszBxTGkGAoaWGV5tnXz8=; fh=wj2qzm8OdEkMnXzuWpUvvhwmEqeP6+MuIaVUe6PG4Yg=; b=tvclQSsFtUjJeuvz/n5HCvaomKNE/7vpHraNuxnwb7mdIWoigVcZ4sNr7ONsh+CWq2 bnZNxfX2CqGDN6ZPOafXIGbxmgOJCci27uA45oowrU3GHKa3F7CypCxnpsdZiDH20M2y PAsw7AMq6pz5szGqGZsB1A31lDpBqI2nW4BMt7DoZsF7Tl08p+qvRq2XKdwGrOXKOOxQ gCOY/bn9hlDOBA0DeTtf8uxAeEkiAh40cmg8XsX9CXdngphy++ZHGaE86pqogGJatT01 BwfjFIzs+t4VIzwU4H92Uv/N8qh+kpS4IzTfKMxL9utWiKrQVbEcsoemoIUc9kdZUJfT F1UQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@suse.com header.s=google header.b=MwMoSGj1; arc=pass (i=1 spf=pass spfdomain=suse.com dkim=pass dkdomain=suse.com dmarc=pass fromdomain=suse.com); spf=pass (google.com: domain of linux-kernel+bounces-145259-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-145259-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id g32-20020a635220000000b005f751c16a59si3805773pgb.657.2024.04.15.06.53.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 06:53:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-145259-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=google header.b=MwMoSGj1; arc=pass (i=1 spf=pass spfdomain=suse.com dkim=pass dkdomain=suse.com dmarc=pass fromdomain=suse.com); spf=pass (google.com: domain of linux-kernel+bounces-145259-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-145259-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id D8278B21829 for ; Mon, 15 Apr 2024 13:36:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B2AF1131182; Mon, 15 Apr 2024 13:22:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b="MwMoSGj1" Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) (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 B6348130E44 for ; Mon, 15 Apr 2024 13:22:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713187362; cv=none; b=jolLHWRVxCOpBrgYLluUs5PlhUcKnn0gXwFO4yyQGstz3YKfX2rAzddMA+508y5204AfhbT/v4nxpran9IOhJw+ZLsK6VKikwUskaGQRUK7raomF9KFXLAf/eSa6FpJftC7D1Hexbx6/t5Ib9MjEZpqJ2FslrxvSAg57mH6JrN8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713187362; c=relaxed/simple; bh=SiAD+lNn5qt1AfifpMOTrh9BBWpeB1mhfNZqSx4YEm0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=sa6wFnRkRoOnUiAJeqoQbyeUuDy/0/61Ko9l6VHCbX9xeEg1tgL2lvEY+6acmJunI7vsWexitI3GDKdkg6Zz4wH0qqkx4khZ6bExk9C+lFWvd+rXxzxi6Jd0hJlhWglRxFOGHI7oRHkqiEKd4n8mM5QqfbSL9wyoti9kwkC2UKU= 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=MwMoSGj1; arc=none smtp.client-ip=209.85.221.45 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 Received: by mail-wr1-f45.google.com with SMTP id ffacd0b85a97d-3454fbdd88aso2909145f8f.3 for ; Mon, 15 Apr 2024 06:22:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1713187359; x=1713792159; 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=qxmfrKsb6A/bEXzrV4nCTqSszBxTGkGAoaWGV5tnXz8=; b=MwMoSGj1puMpfzh8G9npyXz8N7xtZqDcOQz172LOVfunfkU+fbeQ5F+l2axf2xS0ik suiek8RieBUAbaS7ElzazfYTUVBxXKjjBjFyl589cl1y8pK1765nrKN4Q7B3yyK8+ooP qns/25vVhuMjAhNzdu7hd2usUnozMgCkYOizvg0E1Mv9Zws8LmnLvv7s0zReMFKN3n5j BJHRo1lyAF8rlT4r40ARIwc1CzzEio2dDmpEo2FN0+iKmyi3RlrOdo+mY+rVH/h0Cnqj ejMjBLakqkoMIdwk+tdffjtVUxRQ7v4oCDs9cCrlxe0Tdqmd/61AomfqJvNo9h9Danrg qwNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713187359; x=1713792159; 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=qxmfrKsb6A/bEXzrV4nCTqSszBxTGkGAoaWGV5tnXz8=; b=LICAGZk5K3pNik/DIHXCwPgKJRDN9v7ZrWRponx7OeRaB4RT9LQcDICzfx2E4MauFD EwiIoS/jKvQnFLWP9L4zsubpACkReo9AfkUDul9ZQj3Ron21AtOlu5vUtA8uUB8149tp AsCDCZKArts85QHVvzgjAptDGKJBZy+NJngyJEjJqJq6VIQOiVpR5BufTOjHMpXTCXnb 4p0/E3yHvBGpVG1LTZFz3xIzV1LD9yEe4wWhbyeYgC/JbRvMJUJqV4Npv+pzvGeTMIC5 7wG55mErHYZVLYMTsx7dq4+vX9ZelcrR4pPSjR8KOhJoR3iw/1gx9/UaBcaBVmzxouqa p4nA== X-Forwarded-Encrypted: i=1; AJvYcCX562ijwnWXMrLX/7Gn822HFRSxonumSJ4PCzgQSyHBMJc/iUeOnfydAAoYtFjfuR4ePJhdcmC9XOahuWMA+3vPM7o/CaGv5mQPKZZY X-Gm-Message-State: AOJu0YzOHFKkOnHgC46knGIb24lbFezt+eaOkJif0dpzuLf0aED6QKni 110FiwF6N/iA1SjnuenWan5iXfvy7GpNuES8n85VKi3qyiwjRVAmjuV+vvtNPa8= X-Received: by 2002:a05:6000:1849:b0:341:c58e:7b47 with SMTP id c9-20020a056000184900b00341c58e7b47mr9381877wri.63.1713187358967; Mon, 15 Apr 2024 06:22:38 -0700 (PDT) Received: from localhost.localdomain ([176.114.240.50]) by smtp.gmail.com with ESMTPSA id q3-20020adfab03000000b00346c231231asm11838357wrc.86.2024.04.15.06.22.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 06:22:38 -0700 (PDT) Date: Mon, 15 Apr 2024 15:22:37 +0200 From: Petr Mladek To: John Ogness Cc: Sergey Senozhatsky , Steven Rostedt , Thomas Gleixner , linux-kernel@vger.kernel.org, Andrew Morton , "Peter Zijlstra (Intel)" , Josh Poimboeuf , Uros Bizjak , Kefeng Wang , Arnd Bergmann Subject: Re: [PATCH printk v4 25/27] panic: Mark emergency section in oops Message-ID: References: <20240402221129.2613843-1-john.ogness@linutronix.de> <20240402221129.2613843-26-john.ogness@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; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240402221129.2613843-26-john.ogness@linutronix.de> On Wed 2024-04-03 00:17:27, John Ogness wrote: > Mark an emergency section beginning with oops_enter() until the > end of oops_exit(). In this section, the CPU will not perform > console output for the printk() calls. Instead, a flushing of the > console output is triggered when exiting the emergency section. > > The very end of oops_exit() performs a kmsg_dump(). This is not > included in the emergency section because it is another > flushing mechanism that should occur after the consoles have > been triggered to flush. > > Signed-off-by: John Ogness Let's try it: Reviewed-by: Petr Mladek Best Regards, Petr