Received: by 2002:ab2:687:0:b0:1f4:6588:b3a7 with SMTP id s7csp55225lqe; Tue, 9 Apr 2024 14:21:34 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVGvJkdcqLFnJOTn9aXIT4naiXsCMAY1auRF8AEHQUB7vTG1O8E0PAE3ppb9iIsgVsb39u+r1gmemxnilr0OR9rAmHSZi5g5vJWHmatRg== X-Google-Smtp-Source: AGHT+IH+TWzACvuz+CopyRssxUH0CWcS2nuXtcf3GLiSV+Hkj69yF9D6sUdw1BQRfX9VSo4ib1iw X-Received: by 2002:a2e:7808:0:b0:2d8:60a4:d0d with SMTP id t8-20020a2e7808000000b002d860a40d0dmr538277ljc.53.1712697694221; Tue, 09 Apr 2024 14:21:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712697694; cv=pass; d=google.com; s=arc-20160816; b=WmBCSOOxqC1XQCYgZV3Uc8XvJtIAaypJhlnJ3a1CySLgroDufLUpN2PRoS6D+U1vgq SP9rJarUERnRTXL2il/SX7aM+FaVX/BYm9MKHeY6A6DuwhX69kQ2GFmQIafmXXu9v/rG IZ38uJtE+crR+b+0HS6BaAeK+9l/iLeITLXJua7tPc6X2zO5EbyVVg9jahX5uvz/UcQV 9CBIxDc56t4L4GhRclrpVldx07UntICDsvYZS0y6Xysk70M/kqUrZzuExRM/OKrWUDZ/ J5airXUOPPm2xxkDWWUL+VrBWnQwpAXgytSAWjX2fzSz8/4CsXZF8KDykMYTPLJ/jS6n V/9w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date; bh=7q6dEvMz5+gV+brur5s/cGBNb+tdLULuS45DIFZGvkc=; fh=6IcUNdfhJQlDYnigfCUYv7tnucWksWPmW4YOa0+VFLM=; b=t8KOepdFaIT+CaFAi20AitGnlmhL+RAxLUqLgfeDgLsNzUbD/iNVNIJ+YDDWM25fVi /QXcfzXqZx0HWtfAhaTQ7Ssy1swphDGJeLxG2qQMAZZaWq/Q3YiND5oFNXmc5h1fp4ph gIFNlkW5Hs8XE/xTuszypo9dB22zoLE1DNRILecbC8y4lZK3rMO+6qLMpEkXakHwPMQy clBLvkU2ovZBhOnlo74ADc70+63uryUIadsPYz9O8f7Vqxvn+dkhF7PO0NViQk6kihjz lKpgcSlphfjWBspUNP2KLfgHcnHiFMFtX3jQy9qoaAZVNMS+qfEu0DfIctpCD5D7EzdE 3V5A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-137636-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137636-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a5-20020a05640213c500b0056e1397b50fsi5280227edx.156.2024.04.09.14.21.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Apr 2024 14:21:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-137636-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; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-137636-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137636-linux.lists.archive=gmail.com@vger.kernel.org" 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 E93A11F230A2 for ; Tue, 9 Apr 2024 21:21:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9D31E158A08; Tue, 9 Apr 2024 21:21:27 +0000 (UTC) Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 1B9D938DC9; Tue, 9 Apr 2024 21:21:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712697687; cv=none; b=W97BRZZUDq1iRATssq1sLryU7ITN28Udp9K5WlmWnAfyUg8gRFqewc4FkYXEEldjAVxROvrQf8NJNQV18bX6vw2dTt0FwjYMqAQH/JlCqmOuqdBKSmdZ2vtsAR1j5IdmK6nsRvCSw5cNHMAFztOHQcJ20tSfDMWxHt+hFcQDfR8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712697687; c=relaxed/simple; bh=eqOTlSxbGZgE/xs+yZM0Bgc6tICu1cceOLKGt81zjRg=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=rV2A9tRCQ8f+sGg4laFVspAogO1jNf1CX61PZ59QrfxIN/wVJK7H1yD0IOirFCMad/dMqP5CyW3Mp2blaOoFHew09UQjr1hnPArrq8dOtRBbvhccpO9yqJF9zGkycWqwcvpX2H6APhSD/Vn3aKWS2JvcXAzA9j294EQjhOgQ+nk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id D4725C433C7; Tue, 9 Apr 2024 21:21:23 +0000 (UTC) Date: Tue, 9 Apr 2024 17:23:58 -0400 From: Steven Rostedt To: linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org Cc: Masami Hiramatsu , Mark Rutland , Mathieu Desnoyers , Andrew Morton , "Liam R. Howlett" , Vlastimil Babka , Lorenzo Stoakes , linux-mm@kvack.org, Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , Peter Zijlstra , Kees Cook , Tony Luck , "Guilherme G. Piccoli" , linux-hardening@vger.kernel.org, Guenter Roeck , Ross Zwisler , wklin@google.com, Vineeth Remanan Pillai , Joel Fernandes , Suleiman Souhlal , Linus Torvalds , Catalin Marinas , Will Deacon Subject: Re: [POC][RFC][PATCH 0/2] pstore/mm/x86: Add wildcard memmap to map pstore consistently Message-ID: <20240409172358.34ea19f0@gandalf.local.home> In-Reply-To: <20240409210254.660888920@goodmis.org> References: <20240409210254.660888920@goodmis.org> X-Mailer: Claws Mail 3.19.1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) 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-Transfer-Encoding: 7bit On Tue, 09 Apr 2024 17:02:54 -0400 Steven Rostedt wrote: > memmap=12M*4096:oops ramoops.mem_name=oops I forgot to mention that this makes it trivial for any machine that doesn't clear memory on soft-reboot, to enable console ramoops (to have access to the last boot dmesg without needing serial). I tested this on a couple of my test boxes and on QEMU, and it works rather well. -- Steve