Received: by 2002:a05:7412:2a8a:b0:fc:a2b0:25d7 with SMTP id u10csp281141rdh; Wed, 7 Feb 2024 04:51:40 -0800 (PST) X-Google-Smtp-Source: AGHT+IEQIPSh8gyufTpou6ep7tpDUQozM5H+2WG+SLJTvxVUA8RiXWREuNj1mameJbeSGG4AURym X-Received: by 2002:a17:907:7717:b0:a38:814:ff52 with SMTP id kw23-20020a170907771700b00a380814ff52mr3464400ejc.27.1707310300595; Wed, 07 Feb 2024 04:51:40 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707310300; cv=pass; d=google.com; s=arc-20160816; b=J85rFZ8pSHWGwTFG2Hoo+oMFGui8dyhtEiR3ixZhvwZSlIxELuICtAVW2+fKp6Nq3m 60jS5zBdgLWYtuqEOSJMgsymtVBDz2J8YjQd1rXEpvLAjQknYagdQxKMdYyyOLMpONLK PMRT4QbxEN+uYaPvunbc9V+9rcpmf0gXMPS73NPWu0PCJy65tzEh1DwKuR69u+pKgigT wVgUi1rkA7CtD0Q0sVDX7B4u6X0BqAOCHQxoS26qrsEmsgXcx1A8TfoHpNJU71ozCI/a MdRdk9q5vnBm5LafzFKBGvSHwTRfH8YNT4rlDQk8G8YSqpGPZWckuHePPk2Uczhdn1H7 EG/Q== 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=mGfm1xndWnQeszFHqTdhl74zkXV/pi66GxLhja0pVm4=; fh=AS5Vd2tystD9nSQ1I0AuBtT5tSATolDq7uOIvnqj0OI=; b=YJaCQcdn0cbb+Blh12TX1y1w6Z/kGwo7/a8UXVqTLpTWc0HUl6HgLn3Oc0Ge87tnlT uxnHNUllmuLGiphLe1Oc3e3EOBkjPCTnZb680lNElLCd7dKrgayXs/pyoe4bVcKfgMGb rB0gzmZR85Jm+TQiIEqO78ys1dWvjMAj1fGrvybZzeXzcaLzdZhuJeAuM5VRDRA81+uN 3EtwSmSSy0bJVnwhedO8S3QDMhMc5fVcUsD3vDn8M94ZNeKwfqdei3NHu0Y551pfwpY1 ib7F0yt8enAMseMYzLffB8boMZZakDIMDy26sGGlpXjJZWUvWhKoFWZDuiR479qToEqs ydrg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=il5d45Sw; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-56499-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56499-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org X-Forwarded-Encrypted: i=2; AJvYcCXkioGLdFzfR/+dwXZIjor0xWuUrgGRXOO0pM3x044jzTOwRbRodH2+1oQTJeXnFCHDUpSqL8FlZXfKwpLsst5CAj7qCNXar3/xFStJTA== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id k18-20020a1709061c1200b00a382ff2a7ecsi866884ejg.828.2024.02.07.04.51.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 04:51:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-56499-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=il5d45Sw; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-56499-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56499-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.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 am.mirrors.kernel.org (Postfix) with ESMTPS id A338A1F24E69 for ; Wed, 7 Feb 2024 12:51:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2C5987605A; Wed, 7 Feb 2024 12:51:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="il5d45Sw" Received: from mail-pg1-f169.google.com (mail-pg1-f169.google.com [209.85.215.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6271E168DE for ; Wed, 7 Feb 2024 12:51:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.169 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707310275; cv=none; b=f33cMb3jjZedhZNnXTzJEpJASUF4rCZqL4s/+8WgUC6giLOR9ZmIcyqOA/iIox2rT+kzBJEUrsTukUjDFNAnynvZQlT1buKqUBwZ3H3aBACJ3Xlpnnh2Qac7uyptq3m8g+o7XEdfLpW3o/dX3ovJTkNcWHZQNDe+OiRJK4/96G4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707310275; c=relaxed/simple; bh=sYcieujEmpCxgF5vEXlSj2YXE88YgC2yaNOOs13MyUw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=M9m6ghkAvnS/CndykEeTjGBRYsrz8bv1oVX40ZFjSg41AIDx1hisTTIjiBrv2Ax/OFGtiB/hEedJZLdFAsyuWK9MGlWRJliEFwD4B4JmNpnI9u0xZ0ENBqQwspi13YjxZuKRghpavOhTKBK0Fqpnwc3Vfe+4QoJvKgsaNXjgN90= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=il5d45Sw; arc=none smtp.client-ip=209.85.215.169 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-pg1-f169.google.com with SMTP id 41be03b00d2f7-5d4a1e66750so349456a12.0 for ; Wed, 07 Feb 2024 04:51:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1707310273; x=1707915073; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=mGfm1xndWnQeszFHqTdhl74zkXV/pi66GxLhja0pVm4=; b=il5d45SwMp/Q/1QGLW53fO4mQxBTg10wDXCLU0h/zMSK9xRCabIJ1iHcGPGO49wKvn P4s/G+bcVk0b2KTxYXGcE4hBzSXGQDT41N7M3MfxuQrFXsIsY0oYXV/If4fjx5j3iEPq rxVZ5BjguJmwfsrX7b6Wpa7fyUMXZ4UObYExk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707310273; x=1707915073; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=mGfm1xndWnQeszFHqTdhl74zkXV/pi66GxLhja0pVm4=; b=BDiCYtZEfyvYIXNkeTJ+CD+FcIx5JZ7+b1cQsbk5c+sCcvAyRU9B/a9qu19C1QGQ5N NFkQKN1Tow3VImCGdRA+T/qBKckE+s/gBlPcDNYe1emDty8vBG0NqsRTAMkSs7PPQHF+ r8de6umxbaKQJP1nMZs2NtwR9NjbAKWQfYLRv62EXPK/e40bro/8hLUTVon6eZnuXhUY 6q/xx2GwrX3hNXARbgrQ2m3A34W3R609iFNV/BaXgNF96kyVrXLaJppGdNnreDV++CBc QnAYXm4cw42r8ASMzOrHKs436k4GQrhdpUozuRv1R7x2CGy7HbXfS62kCV6HdUerNRth fMzw== X-Gm-Message-State: AOJu0Yy5m6AtrHLot3DuK4do52har6Mm8Iz7Ol5eFEMwJFNpdApD/TsA EbstOvRlmeY1aVub/iusUyBZPILhGpJmvtliaNiEU3lNWzd1NKgXezvsOZ+YlQ== X-Received: by 2002:a05:6a21:3944:b0:19e:a271:ea8d with SMTP id ac4-20020a056a21394400b0019ea271ea8dmr2427775pzc.26.1707310272711; Wed, 07 Feb 2024 04:51:12 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCUjD0ku5e7Ty8OVFD5O38jvQ3+ALpPMfFBkjeDGHvXQk2FfuMIPKPES3cNIMYKjDLbKMucPf6ZwdKCTzuI+ueRmSqDG83mCuteoQshD+KnLD0iEsvRR78v6YIJxfEVFWRl8uHDb48LStWS//I9UeinArKefbdI+SRJJQZ1A9obzP4JzwuW2peOCdeSkjFfttoEix9ZqLphcqQNW/izeDGPAk8GMxSC6WuGjAGaM7031qbbkScQsX+HeVG8Rst4KXTWJ3T1kn/unw52rXNGqjRkYG3Cb1Y0c1J/ooJbkcPNftX1TaSNf/ybMap8bTy36wbT2d0fDdzQVeNdy Received: from www.outflux.net ([198.0.35.241]) by smtp.gmail.com with ESMTPSA id si9-20020a17090b528900b00296a7abe2aasm1550265pjb.8.2024.02.07.04.51.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 04:51:12 -0800 (PST) Date: Wed, 7 Feb 2024 04:51:11 -0800 From: Kees Cook To: Yuanhe Shu Cc: tony.luck@intel.com, gpiccoli@igalia.com, shuah@kernel.org, corbet@lwn.net, xlpang@linux.alibaba.com, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-hardening@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH 2/3] Documentation: adjust pstore backend related document Message-ID: <202402070449.3EFCB80700@keescook> References: <20240207021921.206425-1-xiangzao@linux.alibaba.com> <20240207021921.206425-3-xiangzao@linux.alibaba.com> 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: <20240207021921.206425-3-xiangzao@linux.alibaba.com> On Wed, Feb 07, 2024 at 10:19:20AM +0800, Yuanhe Shu wrote: > Pstore now supports multiple backends, adjust related document. > > Signed-off-by: Yuanhe Shu > --- > Documentation/ABI/testing/pstore | 8 ++++---- > Documentation/admin-guide/kernel-parameters.txt | 4 +++- > 2 files changed, 7 insertions(+), 5 deletions(-) > > diff --git a/Documentation/ABI/testing/pstore b/Documentation/ABI/testing/pstore > index d3cff4a7ee10..2cd67b502f11 100644 > --- a/Documentation/ABI/testing/pstore > +++ b/Documentation/ABI/testing/pstore > @@ -41,7 +41,7 @@ Description: Generic interface to platform dependent persistent storage. > persistent storage until at least this amount is reached. > Default is 10 Kbytes. > > - Pstore only supports one backend at a time. If multiple > - backends are available, the preferred backend may be > - set by passing the pstore.backend= argument to the kernel at > - boot time. > + Pstore now supports multiple backends at a time. If multiple I'd drop "now" > + backends are available, the registrable backends may be > + set by passing the pstore.backend= argument1, argument2... > + or pstore.backend= all to the kernel at boot time. I think dropping the cases of " " after the "=" and "," above would make this more readable (and syntactically correct). > diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt > index 31b3a25680d0..a8a109b822a9 100644 > --- a/Documentation/admin-guide/kernel-parameters.txt > +++ b/Documentation/admin-guide/kernel-parameters.txt > @@ -4748,7 +4748,9 @@ > [HW,MOUSE] Controls Logitech smartscroll autorepeat. > 0 = disabled, 1 = enabled (default). > > - pstore.backend= Specify the name of the pstore backend to use > + pstore.backend=backend1,...,backendN > + Specify the names of the pstore backends to use > + or =all for all available backends > > pti= [X86-64] Control Page Table Isolation of user and > kernel address spaces. Disabling this feature > -- > 2.39.3 > Otherwise looks good. -- Kees Cook