Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp194693lqs; Thu, 13 Jun 2024 07:42:55 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUzPn/q45JNfmaiL8QqhvoSE+eHQA3UYVtp+Ylv0GTOxsvI4jwmmJ08oKREZ6kne7ggfbFuAtI7Kpp4kpTjQqVKIU/0r3A/z226v/KnIA== X-Google-Smtp-Source: AGHT+IEavaOVmqF+/5TC4jWAU5LsFNz0sJTGFN3jCkpKaZ6zqMZIvomayoMLyclkRKvBFbVyxxXO X-Received: by 2002:a05:6359:5fa4:b0:19f:424f:d06b with SMTP id e5c5f4694b2df-19f69dcb97emr633490555d.28.1718289775536; Thu, 13 Jun 2024 07:42:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718289775; cv=pass; d=google.com; s=arc-20160816; b=1GNHl3IWSWrK4DTjXqnb8ZLjJm4irhBmZLzlzSGsA3ZviymWGCmNVJUp6Dp6b2VyI0 +Vv1B74sgJocOr+UXQ0PCqda26sIy8LTcO/PD0NtbFgd1aglSxKxmXp5Ks5K6JQdoeUm uEy4uxBsaizKCg4GvQt6I2EBUxtnkVsrgqeZgGiL63km3rLfVC1/zzcOAlY7xfxA43kF ZTVuwRs7O3ouASLw/PB0uzz8L/seMPwyi9+PlBwAeFBqUR8lp8GWPzkcar6bvCoI0dYw VabkMyLVjSEMQyFcgJ3kV8XlGj7mqZfEX4QRX5kY5YT8+pRr4MCADAQ+cc8ZL2rCyQC7 s7OQ== 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:message-id:references:in-reply-to :user-agent:subject:cc:to:from:date:dkim-signature; bh=ACFVvNaX3G/ox9xG1Uy/w4Xl9pAIQHV/YBQ2KPd9Jns=; fh=ihI6BVI8ahCsJfwf6v9Eydy/DicCb8MaJdlBnkup21o=; b=ck/wACiGvPq2u41R3SlB7gNZNXu48+jtNGp/mmoqZgsYmuQ2twsHrQkxRncunsCEIv oGHWtDHP+/iNL9iIL5759gomOrVfGF0BqZt7gXJLmw2qv/aJwHLyxX7bCfDhX5t0DaYX CymUZpbQuXRKaTuYnXA5xCGG2PeGJBv28/Zu9zd1st1If+CzzQsGnlSxG6yQNPHitGVx 4E5HPWmQjOQhJwB4fvyHau2gXaSFxvB/bFTKNJGPK2c4P+T9GrQucNlFG7y1S1otQKmo 2K9TQbvWvsgGNff8YV7PrH95to7K/mvAP0NdXTZ9NvbFsJluQxW3nQuANXxbg/YXGlik QExA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=l0X+9SQa; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-213448-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213448-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-6fee67b9605si1453981a12.891.2024.06.13.07.42.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jun 2024 07:42:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-213448-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=l0X+9SQa; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-213448-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213448-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 0E8B828547A for ; Thu, 13 Jun 2024 14:42:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 174CD146A98; Thu, 13 Jun 2024 14:42:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="l0X+9SQa" 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 32762145B26; Thu, 13 Jun 2024 14:42: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=1718289721; cv=none; b=WPItQTcsefozsmppPXm1+A51YnmR+3upOfNzDXonAc2ZeGZTKF1qBsOeLR87dJY34HtTQK1lOHuUH97XazF74KFEai+LYaahMgxPtfEZ+K2CBGPYNBf1qBaFP8c7A8pvzoTnwXaojhzHlACy7rqHMfeD/Q3atAsVeMbRtCS1nb4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718289721; c=relaxed/simple; bh=ACFVvNaX3G/ox9xG1Uy/w4Xl9pAIQHV/YBQ2KPd9Jns=; h=Date:From:To:CC:Subject:In-Reply-To:References:Message-ID: MIME-Version:Content-Type; b=KuehQkfDZA8PNICrLqurR6xlDgkz3Y1d08iFE61AN9Yc8+1+rpxGe3FhvlvLVUunTzlEFC3sUxg54//S1+4/LxiQ4BMzUdnrzscI8Ar/+HQUyB+gkxwNTiSfIBPfiWsQerS1VYBfrpMEBNqGKvmgmFwKpfvUx4eTxuxD+0K/jeA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=l0X+9SQa; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9F4A3C32786; Thu, 13 Jun 2024 14:42:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1718289720; bh=ACFVvNaX3G/ox9xG1Uy/w4Xl9pAIQHV/YBQ2KPd9Jns=; h=Date:From:To:CC:Subject:In-Reply-To:References:From; b=l0X+9SQaNpGCWmkkBAZ7shYcXdgSpZu+aUMz3+S/S19z58NSYHB5fqogcVlIrXPet WlubJrnF8ClOA7jaWL3zQ9OAxLH8++4VoUIZ3ouolUs5m1E/L+TzoJT8QMSFN5EmQ9 eaI0eMJadaFrHZqdg+SLaTtWMfIp5AJWQw/5B4ZIqJjrEymXnCQiP5bUM9i0DF5m/B cY/evic6wzEPCMo2sdfL2a+3ivOq0E0j9yukC4zcmOt3XEkuEIGBIlt+8Nqt/lR772 pw7T3tQKFL99jOjFFPPFcylBn2TJuWCEv3ROa9MuLsOEtsgeAcFwZBjkJ+ZMMAUR0n bUsVZjtsXkLVA== Date: Thu, 13 Jun 2024 07:42:01 -0700 From: Kees Cook To: Ard Biesheuvel , Steven Rostedt CC: Mike Rapoport , 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 Subject: =?US-ASCII?Q?Re=3A_=5BPATCH_v3_2/2=5D_pstore/ramoops=3A_Add?= =?US-ASCII?Q?_ramoops=2Emem=5Fname=3D_command_line_option?= User-Agent: K-9 Mail for Android In-Reply-To: References: <20240611144911.327227285@goodmis.org> <20240611144949.703297941@goodmis.org> <202406121145.8860502D7@keescook> <20240612145228.5bf426e0@rorschach.local.home> <20240613092642.385461d5@rorschach.local.home> Message-ID: 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=utf-8 Content-Transfer-Encoding: quoted-printable On June 13, 2024 7:06:47 AM PDT, Ard Biesheuvel wrote: >On Thu, 13 Jun 2024 at 15:26, Steven Rostedt wrot= e: >> >> 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= =2E >> > > >> > >> > 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=2E The kernel command line has >> broken in the past=2E If you update the kernel, you can update the >> command line=2E There's no "no user visible regressions" rule=2E It's >> "Don't break user space"=2E This has nothing to do with user space=2E >> >> > to begin with=2E This needs at least a huge disclaimer that this rule >> > does not apply, and if this works today, there is no guarantee that i= t >> > will keep working on newer kernels=2E Otherwise, you will be making t= he >> > job of the people who work on the boot code significantly more >> > difficult=2E And even then, I wonder whether Linus and #regzcop are >> > going to honour such a disclaimer=2E >> >> Again, this has nothing to do with user space=2E The rule Linus talks >> about is breaking user space=2E This is about kernel debugging=2E Somet= hing >> *completely different*! >> >> > >> > So this belongs downstream, unless some guarantees can be provided >> > that this functionality is exempt from the usual regression policies= =2E >> >> I disagree=2E kexec/kdump also has the same issues=2E >> > >Fair enough=2E 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=2E Yeah, I should better document this for pstore as a whole, but I've alread= y made the call that cross-kernel-versison operation is best effort=2E -Kees --=20 Kees Cook