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 lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (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 25450C4345F for ; Mon, 6 May 2024 08:58:28 +0000 (UTC) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=ellerman.id.au header.i=@ellerman.id.au header.a=rsa-sha256 header.s=201909 header.b=gS2TAt28; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4VXwLB5SMmz3c3D for ; Mon, 6 May 2024 18:58:26 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=ellerman.id.au header.i=@ellerman.id.au header.a=rsa-sha256 header.s=201909 header.b=gS2TAt28; dkim-atps=neutral Received: from mail.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4VXwKL6Qt8z30TJ for ; Mon, 6 May 2024 18:57:42 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ellerman.id.au; s=201909; t=1714985861; bh=cckhLARkyb3oh/wDwudJRWGBL6LODBWmZxbKJGkql3o=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=gS2TAt28hdJp0GVGuxc0GqF0HBwJIIE6g865JbTcDlQ4Bq15z5L2lKpDYOEn9r1ww hsX15AwxZD1CjOwo4xRbYzBcwoiSq0TNZUiTXUub8V24eZGadzhzkvFJHFFu9oZt3H QAcIpzLF9IzLL8/RJlkwnpXW7MyeKY0uF2NehUEzm9/Bim0CzqfU9w9cwum+5pGQwF xSI1GAbrHs1469EaFCgMZwVhfD2AiSCW6nWax66+g5qkjilBF79mQZpSQL5OrQSGXu e5172dSMmCRQxc4I8MOmnYs1NF2QAnG5NjOlhgW4zHUvQ/3D8+TxMr/9S1YopiTt4Z JS27CStBxNFLw== Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4VXwKC2cR3z4x12; Mon, 6 May 2024 18:57:35 +1000 (AEST) From: Michael Ellerman To: Joey Gouly , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v4 01/29] powerpc/mm: add ARCH_PKEY_BITS to Kconfig In-Reply-To: <20240503130147.1154804-2-joey.gouly@arm.com> References: <20240503130147.1154804-1-joey.gouly@arm.com> <20240503130147.1154804-2-joey.gouly@arm.com> Date: Mon, 06 May 2024 18:57:32 +1000 Message-ID: <8734qvnwqr.fsf@mail.lhotse> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: szabolcs.nagy@arm.com, catalin.marinas@arm.com, dave.hansen@linux.intel.com, joey.gouly@arm.com, linux-mm@kvack.org, hpa@zytor.com, shuah@kernel.org, maz@kernel.org, x86@kernel.org, aneesh.kumar@kernel.org, mingo@redhat.com, naveen.n.rao@linux.ibm.com, will@kernel.org, npiggin@gmail.com, broonie@kernel.org, bp@alien8.de, kvmarm@lists.linux.dev, tglx@linutronix.de, oliver.upton@linux.dev, aneesh.kumar@linux.ibm.com, linux-fsdevel@vger.kernel.org, akpm@linux-foundation.org, linuxppc-dev@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" Joey Gouly writes: > The new config option specifies how many bits are in each PKEY. > > Signed-off-by: Joey Gouly > Cc: Michael Ellerman > Cc: Nicholas Piggin > Cc: Christophe Leroy > Cc: "Aneesh Kumar K.V" > Cc: "Naveen N. Rao" > Cc: linuxppc-dev@lists.ozlabs.org > --- > arch/powerpc/Kconfig | 4 ++++ > 1 file changed, 4 insertions(+) Acked-by: Michael Ellerman (powerpc) cheers > diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig > index 1c4be3373686..6e33e4726856 100644 > --- a/arch/powerpc/Kconfig > +++ b/arch/powerpc/Kconfig > @@ -1020,6 +1020,10 @@ config PPC_MEM_KEYS > > If unsure, say y. > > +config ARCH_PKEY_BITS > + int > + default 5 > + > config PPC_SECURE_BOOT > prompt "Enable secure boot support" > bool > -- > 2.25.1