Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp94661lqo; Thu, 9 May 2024 13:46:33 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVKG1FqOMCBZAqeaKxbp+kD3xi3IIvMae7K4DdcFmbNzI+Vv70BmLtCeJQiem7sCFXhJDEsNTv4UsCSCOHLcBD//abPwYZaEwRsrCTQ8w== X-Google-Smtp-Source: AGHT+IGz69H69y7Me6vO0nZyxvADpu9BaZvoOkbEo+cXU0X0xrwTC+p3W9o+DD9EFrhoC1+vFsKZ X-Received: by 2002:aa7:88c8:0:b0:6ed:1c7:8c4d with SMTP id d2e1a72fcca58-6f4e02ad725mr497927b3a.12.1715287593292; Thu, 09 May 2024 13:46:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715287593; cv=pass; d=google.com; s=arc-20160816; b=TYABe6ZM76by9etzNOltbaD0BAuTOwHvw3zjS5DEGFVlVcnys3S+Uiz9jbbyikC6AV Ai/W7UtCcfngb6FtXda3DedgQPMYaCc9h0aUN9/cSdHvBeXwxlP3VyIS3BI5h4KfGkYk ai5zVBk2e1PG70B0dz6bbSIVYHrihESPCUUohw2KQRGry2PD0G3xUKN2FLknRgboCHrX LlZrun6i7PzttL7CY/JC0xXzwIqErgzZHnhDQd09QTUoZvbzW+6LSVh8EUO1yzdeVJjo ZK+fjVqAZIoqbd9te8svpolvgXj4uun+8pJHQ4/6gQI5AlvR+OWkBkeQiNVgka3Mvt2L sylA== 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=tTAzH7C2Z75oVRi1f3k2i83OravKBp/Tefrgs246Fkg=; fh=sSWMxOZz+jOfCdICJfDM8nvIt5v/NuLijeny2jgjbUE=; b=f/UhZ2QPj5H6TE8oc8T8HE34J9/ecg9sZV8rMXzwucqDeACuPpyJ1EcAS03LCOpwhk k4mnMw8WmjZrEWg00/51Fe2zykzyK6tr6YW0Yn9e5K3Br+l9Suq/Xo+JtPv/98lfKxWH oz4fCPF52totnD0+6jFzU5xQ2162FwSnWmpxNLcj37CUUuGhilp0ncGJCwE7bwQVrc3W opnNbG9KGmSephbETyJ6Fgw3jQ/nhoXxBDgEsgu7COF0ZUDzMbbixXOsCW9IkTzD4Ze+ urgSznSLmXuT+/kVcIss3jRenZWO1/CmJR119OIlBqkxb3MNZJaKVnMV8fk2iWvW+umf g+hg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EAU+yNGu; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-174924-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174924-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id d2e1a72fcca58-6f4d2a728f4si2178666b3a.49.2024.05.09.13.46.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 13:46:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-174924-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=@kernel.org header.s=k20201202 header.b=EAU+yNGu; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-174924-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174924-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 5C3D0B258F3 for ; Thu, 9 May 2024 20:29:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DF83012C520; Thu, 9 May 2024 20:26:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="EAU+yNGu" 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 F009D129E7F; Thu, 9 May 2024 20:25:59 +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=1715286360; cv=none; b=bfZdb70vfCqNyVZjrRYdDjV8Owl6eqrg/GIwLz1GNP4Vrvr2KTVcdVB0Rm1r6+vv8pP897O5DIHfJDZhcnYvEXGzhlaVyfw0K2Kg/qeczRoBuBiV5qvlo42+EmXy2us4oY3tTaA2FGenGbRz9BaDGMJVOMpf3ftX1anD9Sseqjs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715286360; c=relaxed/simple; bh=hWSyULYaOsDE5daF7aXr2kaFDHZCM6PG5rvsb8AziAs=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ahe0hLKgsdip8OYMYGYEkzPR/agMwvXJvN8ORW3dKjm7SEr8VHjJzpmBRG6anPzQRJsbPKM7ZVae7ThD4dkr6OUr9av7bpdO44Z3OH8b/hyHN3eit7Vuyqqub7nYwhWiDBhtldtnHDjKPend7oHKnD5lkFuAA60u0ITOivElWTA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=EAU+yNGu; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2B443C116B1; Thu, 9 May 2024 20:25:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715286359; bh=hWSyULYaOsDE5daF7aXr2kaFDHZCM6PG5rvsb8AziAs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=EAU+yNGu3oWaap3Iwie57YsH+TQekgKrvNRBDSKtf2+pPoaag2og5tdmfS/60jcSB Yrt3PHyBBnPHaOXRYAhM6MtNn9VT3q7dlbATGg5UgpFkX6cXFvyTPKKBFLdSGiZ3Xa Kr3/umv3oMuz78Jo9joI2e5RV0MwQw5ufqpWZvQ/kYPgcZyPg3kaTpHsE6UPujRITK uqNfg3vXJVxZjJvFVpwuUcsA51tPMoIzlzvqfuYI5PwE5yRwSDO+Qx32olzViY195b RuIKPHT692WlGrPxJD/lR6yQwju3e08mNeeuF6imrk6qBaO5T4xNgXu0ccHRcaTGuu pxz2tq7ZvQXWw== Date: Thu, 9 May 2024 23:24:20 +0300 From: Mike Rapoport To: Steven Rostedt Cc: "Guilherme G. Piccoli" , "Luck, Tony" , Kees Cook , Joel Fernandes , "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 , "linux-hardening@vger.kernel.org" , Guenter Roeck , Ross Zwisler , "wklin@google.com" , Vineeth Remanan Pillai , 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: References: <3391c693-cf54-526b-79a8-d565e7140947@igalia.com> <20240411154007.5bdf8d95@gandalf.local.home> <20240412132243.053ad096@gandalf.local.home> <20240501105455.42b78a0b@gandalf.local.home> <20240509000023.096d4032@rorschach.local.home> <20240509133122.474130be@rorschach.local.home> 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: <20240509133122.474130be@rorschach.local.home> On Thu, May 09, 2024 at 01:31:22PM -0400, Steven Rostedt wrote: > On Thu, 9 May 2024 00:00:23 -0400 > Steven Rostedt wrote: > > > I tried this approach and it unfortunately picks a different physical > > location every time :-( > > > > So it is either adding to e820 tables or we create a new way to > > allocate memory at early boot up. > > > > Hmm, now I'm testing it more and it always seems to end up in the same > location. I'm not sure why it failed the first three times I tried it :-/ If the kernel and the command line were the same, they shouldn't have. e820 translates to memblock the same way every boot and the early allocations also do not change from boot to boot. Could it be that three runs that failed had some differences in the kernel parameters? > -- Steve -- Sincerely yours, Mike.