From mboxrd@z Thu Jan 1 00:00:00 1970 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-trace-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