From patchwork Mon Nov 2 22:38:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 314855 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 01083C00A89 for ; Mon, 2 Nov 2020 22:38:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 921462225B for ; Mon, 2 Nov 2020 22:38:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604356712; bh=KVk3UfB7fHvlt+4j/Zyd5nzE1y9+9mnY2YhO3zMimQo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=mKC2v4Y6gixNBROxEduM3sK9vH9JxP+CAp+M7ufmkWpS2xkuAOZAJKP3szYLTcHev 8PxGLDkkThNSlKvobtBFT+Tkp7LpTBtSDEpXcrqoGELZNZ6gb8n6vNjRH8xDOymhUV BS/l/s/FIYf/Dj1ftRewDIbuxJcDsq+DGAjiYID0= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725993AbgKBWic (ORCPT ); Mon, 2 Nov 2020 17:38:32 -0500 Received: from mail.kernel.org ([198.145.29.99]:55350 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726388AbgKBWic (ORCPT ); Mon, 2 Nov 2020 17:38:32 -0500 Received: from e123331-lin.nice.arm.com (lfbn-nic-1-188-42.w2-15.abo.wanadoo.fr [2.15.37.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id CDC5820870; Mon, 2 Nov 2020 22:38:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604356711; bh=KVk3UfB7fHvlt+4j/Zyd5nzE1y9+9mnY2YhO3zMimQo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hxtt0ti6RiEIR1iAyKE9/phzwtWG0D4yC7rCIMiFhrH+cry1E+GMVlqgFBgfPKsjd V4BGj3Qefv7UQ5bu3aD17aNDhYa0I4WZB6gYvjT5sH5P/3JJVPYXqGQ3Wx6CbxikOo VdNz9W2QyYOdN92DZlDcDMqTVDJVMYJs71XZfy1c= From: Ard Biesheuvel To: linux-efi@vger.kernel.org Cc: Ard Biesheuvel , zohar@linux.ibm.com, jmorris@namei.org, serge@hallyn.com, dmitry.kasatkin@gmail.com, catalin.marinas@arm.com, will@kernel.org, clin@suse.com, x86@kernel.org, jlee@suse.com, linux-integrity@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v4 3/3] arm64/ima: add ima_arch support Date: Mon, 2 Nov 2020 23:38:00 +0100 Message-Id: <20201102223800.12181-4-ardb@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201102223800.12181-1-ardb@kernel.org> References: <20201102223800.12181-1-ardb@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-efi@vger.kernel.org From: Chester Lin Add arm64 IMA arch support. The code and arch policy is mainly inherited from x86. Co-developed-by: Chester Lin Signed-off-by: Chester Lin Signed-off-by: Ard Biesheuvel Acked-by: Catalin Marinas --- arch/arm64/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index f858c352f72a..ea1b608a0fad 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -200,6 +200,7 @@ config ARM64 select SWIOTLB select SYSCTL_EXCEPTION_TRACE select THREAD_INFO_IN_TASK + imply IMA_SECURE_AND_OR_TRUSTED_BOOT if EFI help ARM 64-bit (AArch64) Linux support.