From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 842C4C47DD9 for ; Wed, 27 Mar 2024 15:32:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:References:To:From:Subject: Cc:Message-Id:Date:Mime-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=YuWHCI+3l0WCXUv+OAcGWS5MR6/BNnk0sytvqCEHZFk=; b=VYYloUMScXUQl2 F38DAmILxsv+a82jI7bs1wCqgOEBXXpA5h/uhhxje7q/cGROZLCYFzC1jo7nwAqZBws6XdNpwdiUe uIiw+8Anvq2Z6pPI/coYaMToscKhwizK/ssICwSDrzPy8jzu4wH1SvZBPw1QBUfPKWHdC0xPdfbU9 kTQWtH995uBejnlqXefepIUTGnN1uhov0pcCc7ZgAztvsXIGYMU9NP8ZHoS+UYsnMBw5H4D8/nyfk Ehk/krSFT6wt7sHVAezzCAeU3gKTLeHQ6JlOUb9wcMMYNKw8RUaI89l72JXtZq0MBKPZmG/SJgfKN 1wNESmLQF/dHuuTMVFew==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rpVGH-00000009pTL-4B5A; Wed, 27 Mar 2024 15:32:22 +0000 Received: from sin.source.kernel.org ([2604:1380:40e1:4800::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rpVGE-00000009pQf-1lPX for linux-arm-kernel@lists.infradead.org; Wed, 27 Mar 2024 15:32:20 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 27D52CE26F2; Wed, 27 Mar 2024 15:32:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DEE57C433F1; Wed, 27 Mar 2024 15:32:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711553534; bh=fEZXobeh9Qm14atTzQRk5gNLt2hyN44gGXIHb89n/fM=; h=Date:Cc:Subject:From:To:References:In-Reply-To:From; b=nPlsBFY2n75dYGZ/PvNEhdIEQboMUhNLh40mqEb8TvuGyF35dXMgWppBhFyu+DaZU ylw13U+FHygPCroJKf5ogRik2RJXXAo6BzC4xMkd+eL3TtykJGJcpSxIYOrd5JfZ4Y 8Y8qHCxPgrh0+z9Y0+fExYRjsYz/5+6qM/onpALTNfCcda32LPapgP982blQpcPUJ0 PESC9mSpaIt5UG2W2WsmRS5QvWWmQTovnQStsAcTe1rNhr773paC376WrEOpH6fUEs tCWOo6vvAF042rg+UD6uUfR/JDE+OECQGmYLPoM8ewWd3eaNvPhrUprFH/PwIELqFV toaX7mq5W0yjA== Mime-Version: 1.0 Date: Wed, 27 Mar 2024 17:32:06 +0200 Message-Id: Cc: "Shawn Guo" , "Jonathan Corbet" , "Sascha Hauer" , "Pengutronix Kernel Team" , "Fabio Estevam" , "NXP Linux Team" , "Ahmad Fatoum" , "sigma star Kernel Team" , "David Howells" , "Li Yang" , "Paul Moore" , "James Morris" , "Serge E. Hallyn" , "Paul E. McKenney" , "Randy Dunlap" , "Catalin Marinas" , "Rafael J. Wysocki" , "Tejun Heo" , "Steven Rostedt (Google)" , , , , , , , , , "Richard Weinberger" , "David Oberhollenzer" Subject: Re: [PATCH v7 5/6] docs: document DCP-backed trusted keys kernel params From: "Jarkko Sakkinen" To: "David Gstir" , "Mimi Zohar" , "James Bottomley" , "Herbert Xu" , "David S. Miller" X-Mailer: aerc 0.17.0 References: <20240327082454.13729-1-david@sigma-star.at> <20240327082454.13729-6-david@sigma-star.at> In-Reply-To: <20240327082454.13729-6-david@sigma-star.at> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240327_083218_891881_D9542760 X-CRM114-Status: GOOD ( 18.71 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed Mar 27, 2024 at 10:24 AM EET, David Gstir wrote: > Document the kernel parameters trusted.dcp_use_otp_key > and trusted.dcp_skip_zk_test for DCP-backed trusted keys. > > Co-developed-by: Richard Weinberger > Signed-off-by: Richard Weinberger > Co-developed-by: David Oberhollenzer > Signed-off-by: David Oberhollenzer > Signed-off-by: David Gstir > --- > Documentation/admin-guide/kernel-parameters.txt | 13 +++++++++++++ > 1 file changed, 13 insertions(+) > > diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt > index 24c02c704049..b6944e57768a 100644 > --- a/Documentation/admin-guide/kernel-parameters.txt > +++ b/Documentation/admin-guide/kernel-parameters.txt > @@ -6698,6 +6698,7 @@ > - "tpm" > - "tee" > - "caam" > + - "dcp" > If not specified then it defaults to iterating through > the trust source list starting with TPM and assigns the > first trust source as a backend which is initialized > @@ -6713,6 +6714,18 @@ > If not specified, "default" is used. In this case, > the RNG's choice is left to each individual trust source. > > + trusted.dcp_use_otp_key > + This is intended to be used in combination with > + trusted.source=dcp and will select the DCP OTP key > + instead of the DCP UNIQUE key blob encryption. > + > + trusted.dcp_skip_zk_test > + This is intended to be used in combination with > + trusted.source=dcp and will disable the check if all > + the blob key is zero'ed. This is helpful for situations where > + having this key zero'ed is acceptable. E.g. in testing > + scenarios. > + > tsc= Disable clocksource stability checks for TSC. > Format: > [x86] reliable: mark tsc clocksource as reliable, this Nicely documented, i.e. even I can understand what is said here :-) Reviewed-by: Jarkko Sakkinen BR, Jarkko _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel