Received: by 2002:ab2:687:0:b0:1f4:6588:b3a7 with SMTP id s7csp98838lqe; Tue, 9 Apr 2024 16:13:50 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXekmjtXXWFxer7ZCNsm9ubyDz0mKD79/cDr6mcpWjzdomfALgiGQDTNuLdWKJlgdIsxIycIGU02sWApAkaB1u73OLtPdikSjMzjTNPTw== X-Google-Smtp-Source: AGHT+IFAg7xDr36V2om2JQnUbPMYjOyXMb1mzLbt33Zvm9lsJPAzrNsoInGbJKVCjo0RfUDodVAl X-Received: by 2002:a05:6808:482:b0:3c5:f51a:5070 with SMTP id z2-20020a056808048200b003c5f51a5070mr1010773oid.21.1712704430473; Tue, 09 Apr 2024 16:13:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712704430; cv=pass; d=google.com; s=arc-20160816; b=zce6yGjLCyKzbAMjemt4BMY94mGtELve665M94EaZkkBfOebXcWRR9o2plG9677U0e SzaA00GYmGwtSxRh/BZ0DGxym5Q/YrGhjjb/ZkIjhorPM9EoY4V23Ki2nAKkEGqoNu4g RX4EyfS5cqXaTBumaAmRv9kdmCX3gtAhyChybxJK06v144UPb03FCJKIPxqn9Hx7CyPY sxtVt++f77NZim1uiIabyY5gmqSWDm5eBNz12iLwsLwFCtWX/PD+VjWOM8s7tCh85cAL sC2EblhYFqtfhpp0vaAuyOZJEJnoBe9SwMw/lTLtMOfkI114HSsiDUwSrZzOJsTm9Gcb 2uFw== 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=hppqcuq+Yoyt7cTNcDqneqcnfe2eVbc+wyM/bm2KjRw=; fh=7E5KZ/cZgUTzk1Q4TI/1bzsur1mye23r6vDpnpTWb1c=; b=LvXBm218zpcBHarhyNZ5oM8IPQfhh/CLqNMTcWGEen3d+gF+X9ejyN/yZGbVJO16GW t5F4n4/C/ucbh3XjrDqwhu6Kw0gAask0C0leAUw3uOLQYpBzYv8UzMv2t/bK36Ybr4OI uC/h8/XTbHkbgrnyKtb+86a08xHfFjlQeHddRpcTZAu524vs7mENCWegk4acMw/gVRg9 tWfXDyWO8vy/yJBXxvIaWS1MWUqr0ZQy0Nlko6oZFYYji7sJySPPV3AzPo+9TfQx01vy at6QumWciBujVEf8KFtoq8Rr8mQvcTqOI416IfUo77zXm8FsixVKV38QxGQg+1rBS1Xs Fmng==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-137689-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137689-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id g9-20020ac85d49000000b00434ee6de4basi1658145qtx.4.2024.04.09.16.13.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Apr 2024 16:13:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-137689-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-137689-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137689-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 332F91C21D4F for ; Tue, 9 Apr 2024 23:13:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 334BF158DB6; Tue, 9 Apr 2024 23:13:44 +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 A683E157476; Tue, 9 Apr 2024 23:13:43 +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=1712704423; cv=none; b=lUHHnKQkzXLq1Q30NQBDlXqiKIfUF6CX2RdFG50GAxayfsJ+kx0pPkMugrAvy4/9311zwXCfct2S+sdUrRGx6Ye2jMCVkagKl2olmd+U9RRmimo5W9rSE7moxbtNEQTEU95kQoYiJYidacNZAF0CQF+olSsQkCLhLDMQiAKXF9I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712704423; c=relaxed/simple; bh=CJ+lHDADtVkRMon20/HuemR6BEfZyIXRXbufKIRrBxk=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=DFAfPM0bclLL2qH7DdMJoGBwUr+yogJPhJEwZHzHhMmq6tJurCSizbYdz/Y1GOBthI3K/sb0s/0VmSp3hw1mi0ztE63tE1rhPIadkoVpkVOudrGBKB1jJazuh4Xawl/EcVzSEH6P30/4+el1Gb6qS4FB8f/Xz5+IOaFIpoTCDY8= 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 1C44BC433C7; Tue, 9 Apr 2024 23:13:40 +0000 (UTC) Date: Tue, 9 Apr 2024 19:16:15 -0400 From: Steven Rostedt To: "Luck, Tony" Cc: Kees Cook , "linux-kernel@vger.kernel.org" , "linux-trace-kernel@vger.kernel.org" , 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 , "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: <20240409191615.3e3b01d3@gandalf.local.home> In-Reply-To: References: <20240409210254.660888920@goodmis.org> <20240409172358.34ea19f0@gandalf.local.home> <202404091519.B7B2221@keescook> 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, 9 Apr 2024 22:25:33 +0000 "Luck, Tony" wrote: > >> 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. > > > > I've long wanted a "stable for this machine and kernel" memory region > > like this for pstore. It would make testing much easier. > > Which systems does this work on? I'd assume that servers (and anything > else with ECC memory) would nuke contents while resetting ECC to clean > state. > Well I tested it on a couple of chromebooks, a test box and a laptop (as well as QEMU). I know that ramoops has an ecc option. I'm guessing that would help here (but I'd have to defer to others to answer that). -- Steve