Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp170456lqs; Thu, 13 Jun 2024 07:07:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX74kn8ykr6Gd0suiwoYQMJHaf01eV0GVVJqFWI+v32IVGCViNge1S24CfQjM0nQg/Xx3XWbd6w15PVRPP4tUr2j0lK6aDPxaM5/JFLWQ== X-Google-Smtp-Source: AGHT+IGrBklbrtIteWJ2v47TWtgAwVNwe9bb7DJ3274YM5nal/AtGpuFh76zvLh3EMNPZKKfSGJ2 X-Received: by 2002:a05:6a00:1792:b0:704:24fb:11c6 with SMTP id d2e1a72fcca58-705bce19d6amr5526726b3a.12.1718287665821; Thu, 13 Jun 2024 07:07:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718287665; cv=pass; d=google.com; s=arc-20160816; b=MKCX0p3p6vC4Rr5b+0MrtAjVUd+GCuegVhZmtnNg2aF1Q7Mn0hPYlgfd+nQdlCUITK CPYy6/AbIHMeytoIdWEoAzdVHufNy2BNPhxg08er/oI+/shNhiC4MgUHkDR+/JbxHxQW hZ3d3jh0MFvR81XwyVQ3pWsf3FB26PkcZ0v0XiqrBti9rxbkyMrChMIVfk5DRJP7lzem kQTYR9C9IyTg7L/rdTyLokOQsVCTXUenaX7E+2TTbAblPk7jqAXAX8O6DZOwzwiK9FDu LO/88Y3ZMxR66k3aK3cgqX18B5x/ObDhAqfjgvBU+mMoAAeFYKLkoObT4ZaQaEJ1wJMz 4Mcw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=aZq6PN49zE6/crz+f03BWODsiATPJSnT/GYXKHLLVW8=; fh=+SXghmLysWxDefyR5m0GJ91y4Rztv3R7AyvXMNoCIUQ=; b=ELigeEa8icV1n94hBOZxG/eXbSlWM+wJiDD/eq1A0GSng7q4coTWcKlXTpSnoHlX8W HpMS9Cl73qUmsyfqnkhz/k4JtMoESnIGh7EAPwdfaRUD65y25+JGex4W/mPbPHDEwxco THt7x4hXdx5nUJsdDWPwU9/PN9z0ZY+Vyx9IBqd7Mfr6uPgVIp/FSXPULoOVC28SVwqw mB7DvFu/oF/7Y2eRuJub7Anc7YblumlVcf8xTDU3HFyuOEn0RePzD9bVSWFvMHYCJ5hT KEL3I+bEKtK6DPpAHxKJyqIoGdOkmUg9XKPGB6M5hSKiDhKnd3nbFlIAnh6q2VlEDBX/ q/JA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mgUp09eo; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-213397-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213397-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 41be03b00d2f7-6fee310d0d1si1406314a12.250.2024.06.13.07.07.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jun 2024 07:07:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-213397-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mgUp09eo; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-213397-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213397-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 7FEF3281E52 for ; Thu, 13 Jun 2024 14:07:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 111AE144D28; Thu, 13 Jun 2024 14:07:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="mgUp09eo" 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 2FC499476; Thu, 13 Jun 2024 14:07:00 +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=1718287621; cv=none; b=WtpfHOGibS9jz0Vcrj8Kmdl9pgV+1Gd8ZabC+CPOtKfZsDAB69p3e+G8FnTohrv3u7GmqBLX3oDiIyMpjXgA9YLcmJIZwYY1kjCf+AL9Orfmoe0jwntbX1dO3i4J9n3Oz+4raPQDd87jlpiwzRu9aLxS+p9RE4TKaDmEyv3EgCU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718287621; c=relaxed/simple; bh=aZq6PN49zE6/crz+f03BWODsiATPJSnT/GYXKHLLVW8=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=ZG/d0x4jx5rkC9xAmj6jWQz0o6GrUPb3LEf/PYAnL3+a6BYi0TCO04CjaLmexQkwqCg8aLzxyD1PgFm8TqQYAWLe/5XD9/ONOv8ukXVc1FGlGV1bwEqW9fPuyC7pjQ++CpD5ko7tvgj+RQJ8B8fXyLl0360tE7DgPqwyR4dz/54= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=mgUp09eo; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8FBDDC4AF55; Thu, 13 Jun 2024 14:07:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1718287620; bh=aZq6PN49zE6/crz+f03BWODsiATPJSnT/GYXKHLLVW8=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=mgUp09eoHFNiC+e40Sdlx+wV86u6mq28RsjWv5yqW22xAYuD2V4ef6X2PqBlt5Pjx TAzzT6h4NAeWiW/TE4Gkt11NQs6odaT0AY0/uvykvzEV31/hGUMlnXaoknHbYWvVle zgBAtmbLLg6iuO+MBqgMmcg9akpbcF2BjvAWNq9y/RbUYe0PsoabxSlI1/xzP7sdpM D6AQ6C37jNSgmrBzdLlgGcsv8HpLmo2VC5zNv30Sh4hojY8tRvzdDehAFWbIJUNB1m muhNxpK/NW3yGnVd2dz7sV4/7fLicjxg01bzfKeyuV4LgnQTKFys5rgLjUDGNokCaM UmKr9iYpm+zIw== Received: by mail-lf1-f46.google.com with SMTP id 2adb3069b0e04-52c8342af5eso1217145e87.3; Thu, 13 Jun 2024 07:07:00 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCVZDSxBs8cpr9vIV/+LxVwCgZdYNMH+ouZKaMY0oANjs/RRbQD/Ss/rt7FbkasCq85gx0CTj8lNKX06ZopWVIMK/gM4Yjr1xOr1Vhb9rTiHHJc3fJB8uuRqaT8Fa/7+hlh5IqOt+pJk9inFJh3o+CZbeAc7RZ/klNsst+qUhspb/z7vyT+Kg/mqO5x7GyJ8XCI/ X-Gm-Message-State: AOJu0YxPlHytryftSagwZnxuazqW9sst3omR87cTtu1U2DqsdCOqYVxe HV4zNvIVi/ino2PFwsx65XePNcL4EdqHtnPE6+N78Cy8YhXTE3Bb24k+AcOmnzvygXIPcti3x77 ok47daMhAOZK9ikv2fwReBV95Np4= X-Received: by 2002:a05:6512:3f10:b0:529:b632:ae4e with SMTP id 2adb3069b0e04-52c9a3b7b34mr3721460e87.2.1718287618656; Thu, 13 Jun 2024 07:06:58 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240611144911.327227285@goodmis.org> <20240611144949.703297941@goodmis.org> <202406121145.8860502D7@keescook> <20240612145228.5bf426e0@rorschach.local.home> <20240613092642.385461d5@rorschach.local.home> In-Reply-To: <20240613092642.385461d5@rorschach.local.home> From: Ard Biesheuvel Date: Thu, 13 Jun 2024 16:06:47 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 2/2] pstore/ramoops: Add ramoops.mem_name= command line option To: Steven Rostedt Cc: Mike Rapoport , 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 , 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 Content-Type: text/plain; charset="UTF-8" On Thu, 13 Jun 2024 at 15:26, Steven Rostedt wrote: > > On Thu, 13 Jun 2024 08:11:48 +0200 > Ard Biesheuvel wrote: > > > > > > I've added one more comment to v5, with that fixed I can take this. > > > > > > > So how is this supposed to work wrt to the rigid 'no user visible > > regressions' rule, given that this whole thing is a best effort thing > > This has nothing to do with user space. The kernel command line has > broken in the past. If you update the kernel, you can update the > command line. There's no "no user visible regressions" rule. It's > "Don't break user space". This has nothing to do with user space. > > > to begin with. This needs at least a huge disclaimer that this rule > > does not apply, and if this works today, there is no guarantee that it > > will keep working on newer kernels. Otherwise, you will be making the > > job of the people who work on the boot code significantly more > > difficult. And even then, I wonder whether Linus and #regzcop are > > going to honour such a disclaimer. > > Again, this has nothing to do with user space. The rule Linus talks > about is breaking user space. This is about kernel debugging. Something > *completely different*! > > > > > So this belongs downstream, unless some guarantees can be provided > > that this functionality is exempt from the usual regression policies. > > I disagree. kexec/kdump also has the same issues. > Fair enough. As long as it is documented that there is no guarantee that this will keep working over a kernel upgrade, then I have no objections.