Received: by 2002:a05:7412:2a8a:b0:fc:a2b0:25d7 with SMTP id u10csp331478rdh; Wed, 7 Feb 2024 06:12:26 -0800 (PST) X-Google-Smtp-Source: AGHT+IFT8YwOXvKvbM0C4MtmQXNFYi9pRy3zAQnQpCBSXC28iUHcgEuXZo3DwZZkAHCNDJpXbuRD X-Received: by 2002:ac2:5e8c:0:b0:511:68bd:e23e with SMTP id b12-20020ac25e8c000000b0051168bde23emr713112lfq.41.1707315146100; Wed, 07 Feb 2024 06:12:26 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707315146; cv=pass; d=google.com; s=arc-20160816; b=pODX0OtbHFrbgPlCY+hnCU6PW0ZoTJO5hpiCDEmfnBFshdxu3yb5VDLHwbYMZqvIwe IdF1VGPeoeFoxkeF0VqfvSFDmZkpMxedyAjMvqNzXkPvqrpIkMovHTSca3REX12CJ7GE 87N1CM02RvCjSESI7Y7m2dzY9od8/A1jTy6MH3Abucjkgcya4XExlxj0ctKEM8o5QnJa A/TgqexeHyTcse7QQZvBv4nI4q3Txc2Hz7FssTq/mp8M5FziZwdFEYKrIlDo/gde/UD7 3feNQIZpX99HKnd1+DweTV6lfArfKCtPOni3pRKnGOc9Nn24i/9tZlEI+h0CGWvPCZt1 MAIw== 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=/sFTZ98VT12qZIsZV6SV4ds83O1z/KNolmGkjNhAwJs=; fh=a6WG8vME/UUMVUDhmRUVcZvrz7RAantYBLgMUlV6p+E=; b=szpS1LdAQtqCE5a6uXbvYolij2kTEyBegfDOM59YlGySZc+iH5VKUrTMtSICHM1GrP SlK4+WvbKCFMZfTwbXEb9ohWGJ2+bpt1IgTCi5Vj+aDNywqUwr0whUOXp+zFiL0Xla23 RUXosQlbSkGrZSQ2iFeJqqP5CsON+mZEZCjVpU0cauXc4B3S6F901g2mVz1T9ZXd0xNM CpAr4s/fTze5W54HwoxdfpybEa5oOKbawN/E4MHfaG3Y4XmX3J+sfAMv0oFUECii76Bl 7Kd8EThZhbb0pWt956tZuvkM20+MVmH5O5dsY3jeAr2OzFvFTqsG7oKc4/JzVRmh+1bB zkCw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@suse.com header.s=google header.b=eg3tc4cS; 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-56600-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56600-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com X-Forwarded-Encrypted: i=2; AJvYcCVrfTupxfL6IUbzGVLCFPRofsYJV9ZuzZ6QW5/Z3h13RGBc4D7zNyUfi6x1KXTqfN4gTj0PgXJATWwIcaODZp3XSDpUFBHQqm9I7FEBnQ== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id qt28-20020a170906ecfc00b00a37de46d73dsi961372ejb.195.2024.02.07.06.12.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 06:12:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-56600-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=google header.b=eg3tc4cS; 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-56600-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56600-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 am.mirrors.kernel.org (Postfix) with ESMTPS id CFA931F232A5 for ; Wed, 7 Feb 2024 14:12:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B06AD7C098; Wed, 7 Feb 2024 14:12:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b="eg3tc4cS" Received: from mail-lj1-f169.google.com (mail-lj1-f169.google.com [209.85.208.169]) (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 5F0C07C095 for ; Wed, 7 Feb 2024 14:12:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.169 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707315136; cv=none; b=tgu/G01Bo6YMHkf5Ho4q+rgNv/0zzeNStL+8Nl3FFqPx6AkNExHMclzzAOCwFPs2F+iUohglDnIsMEIniCo0Y57Gu4QGz78YR4gQhOGbj9O0g5McboNc8Oh4x4MJBtor6HZEGor7FXO3BPIwt+QffgWeexYkhTImxEDagAOA6uo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707315136; c=relaxed/simple; bh=A59wshl7eo0HhYdJ5zAWlTa8zrJuvmVtrKRNgl8gKVw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ZATMKcf/sERHP+XX6xb4DC6lBiRYrXtWpjBko+QfZqGxn77YE8qvNys7TmDRMTZl2V1LaFoxDOq2B4PmW410Tu5jmKnnTpQFucj0/llS7Nsb9ptPCBt0Ki7TdeKIeUPxMIK9BxhR2sCbz6Uxkm0a0VAPu0jssWIS8fqVnBJUh6o= 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=eg3tc4cS; arc=none smtp.client-ip=209.85.208.169 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-lj1-f169.google.com with SMTP id 38308e7fff4ca-2d09d90fa11so7467471fa.3 for ; Wed, 07 Feb 2024 06:12:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1707315132; x=1707919932; 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=/sFTZ98VT12qZIsZV6SV4ds83O1z/KNolmGkjNhAwJs=; b=eg3tc4cSybinY95doS9el+azgWLNix612LBSSnyOcBUH+RHaZeqXDfV0XiW0WSxuC6 HkSzYQYMh8FwhnbvkUuq+hXa+Udc9Zj9frVxWmn1Z4kRRFQfsmsZSxZJ7jFC8kUj834t Dk2pay9Fx+XKjm7D1N/4IaiPA6FLg+y4MwC1aQvcqg2LA3ghWjJ0yFcr94JLHRSYrF0K 90CJbVFbuqy92Yc4cWP7op8fpmaTzaCOyx+Ck1BOu96djCG+4LIQtKIddyQ6fxrdnhjZ URr8IXlY6llaEuFxl2fXM/QvfGycCkGJorRFEuTHh0QJEbnEp9h2oJSsii6Wc1cckiYs C3Ng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707315132; x=1707919932; 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=/sFTZ98VT12qZIsZV6SV4ds83O1z/KNolmGkjNhAwJs=; b=Igg8z9oujyJHKROVN/fNutG2LXcKScWf5CmFTYRLc6q2ka14Y0OO7E7Wkr7ZoHfizm dG0Zs9L5fUd0LdlgvDqlVd2nnhE3j9Wagsg7SwpBXjMX1VkYKU9US3nD8+CIudVq89aw xQcInd9a/Rhiwm+31FXIJ7vbbFA6OshPTSXyhxIzoK7Qqu/PK04dXLTMaIAgYxWsmKxY Rq0Sa8UB3fow+l0ejnnIAuPeI4wmIqZ5vjS93LluM42pJhG9KQRo+IUcAaSTL1857WBn R33gpgqTNsvJF0Hufa9RSC25VFhg+F3gi6nh6d4aLh0BybwDqvhktkmufEq4gKeqoVc1 5Iaw== X-Gm-Message-State: AOJu0YwKHcLZvDhZazIehYLwRUdDJylIFnb+qNIsAx8YniqOFjdES77L mIevLh54yulYsC3ww294Ou3fhXoIIV47Co7GaoeigfYYmTLDRR7ExG6G5oAbpXk= X-Received: by 2002:a05:651c:3cf:b0:2d0:b1ea:9a78 with SMTP id f15-20020a05651c03cf00b002d0b1ea9a78mr3747559ljp.31.1707315132366; Wed, 07 Feb 2024 06:12:12 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCUa53u/wbGwA/AA6SisHFZL8+YT/w/Xh3HdmPn38b3ygOJoGn8QQLuPKveBMDGXxt2xNk+NuqnXgXbwc7Q5NjeJigtPGtgUawvCOlQtFjkVWUbHNLkudj5cvFUqgteTtPZGpItrmFM7Q5wAuTCoe0U6TnBSPz/aet754ersCDiE7oO6/z2N58IBsG8mCEM6z8FrLdKkOz+cnxnF4vXIUAM5E8x+Xvh0JK98IL0oHSbN0jLCunM89GEgSoAOqB7pMtw+YAK4u21jV1ZD8j6a9JSB4Vne1UOkRWTH3VGcDeWFTr/6KYGIpLHsFk6nx5NzEPOb4pRyysY/GBLUpQJWegiNnkE+wFx99AFR2zq1+bc4FD45/q0Ymd3AJYngSmVOJBBBIu/qPnZLYcT8kQsPicQuCfy1xLEQf9hx1opWdSVQV9h6cbQLqgOR7JNAozMrL9nz/EsdxUH+HSZlCCR9t4WMiMwHn3tkkWwE Received: from alley ([176.114.240.50]) by smtp.gmail.com with ESMTPSA id f1-20020aa7d841000000b00560cd4f3098sm697735eds.95.2024.02.07.06.12.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 06:12:11 -0800 (PST) Date: Wed, 7 Feb 2024 15:12:09 +0100 From: Petr Mladek To: Sreenath Vijayan Cc: john.ogness@linutronix.de, corbet@lwn.net, gregkh@linuxfoundation.org, jirislaby@kernel.org, rdunlap@infradead.org, rostedt@goodmis.org, senozhatsky@chromium.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, taichi.shimoyashiki@sony.com, daniel.palmer@sony.com, anandakumar.balasubramaniam@sony.com Subject: Re: [PATCH v4 0/2] Add support to dump printk buffer to console via sysrq Message-ID: References: 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: Hi, first, I am sorry for joining the game so late. I was sick and have had a lot of pending tasks after Christmas's holidays and the sickness. On Thu 2024-02-01 13:12:39, Sreenath Vijayan wrote: > Hi, > > This patch series enables one to dump the messages in printk ring > buffer unless all CPUs are locked up. This is useful to view the > kernel messages when terminal is unresponsive to enter commands > like dmesg and syslog services are also disabled, especially on > embedded targets. What is the exact scenario for this feature, please? IMHO, rewinding the entire log on an unresponsive terminal has a questionable value. Most messages would scroll down quickly and only the last messages would stay visible. Also this code would rewind all consoles, including (slow) serial ones. I wonder if rewind on these consoles would be useful as well. That said, I am not completely against this feature. I just want to be sure that it does what you expect. Best Regards, Petr