Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3758169pxb; Sat, 13 Feb 2021 08:15:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJxOb+5OCMQTR6OsuSrzhiX/fVi23MBVad54IK9q77OUkUMZB3SJmGsQocU5fSrxbhV0lSIN X-Received: by 2002:a17:906:17d5:: with SMTP id u21mr8072185eje.109.1613232904133; Sat, 13 Feb 2021 08:15:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613232904; cv=none; d=google.com; s=arc-20160816; b=oEorSSi3uKXnbsRody96GcvSrRPdQjL/FbhWvz7K/+LV55M/rtCfnS8tYcg9FIukOJ GksEf1EwozJWLFvHjSvnpUXFQv7aVIwIsDIcM6DTzteIJzI3xHM2+jnMOi+KgVo0peuG 5hZmyWifrFc14F2LZ1lGVInxS3FF7wUoXtfJGtksLMsrsw+f/lVSdEdNIKw9ZpDx3UmF aGjE7NOfEWN2a/N+SJ1Y3NHQxe1EPJ3VGt3F4K4qmNj13ad6dqa8SvNt4YqLYOlzgfWA XeWWu9GDKMtipuD9nokpg59SSI8o/8kVmgRlMe1pW8VnCMLeO1w5oVpbWDxfFRfyY1lk y3Gw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter; bh=Q5qP/oeHF3QsP6y24A/ceFIZlcYedcKYuPJE/HPeXkM=; b=VXluTLdxg9icc82GpsWsgXzhr9waYAskVHxZw/6/JaOJ5drOlPpBfhuGEhiKzreQ9b kXFPfpnViADlgyzqc/OcMox4OVZgrs878Em/Nrp4Td7i6aMAauD7zhK9f9kYDPQ/q9s5 4EXxT3acI3I/decBW+iYfDM+DrBFwyyxYDgs3pA7daHwSUf/h0rZzjDFatyIX4RSyOTJ sDhyPkEepInbaymfU1jocgOuCy8K5x/VJ1FPHaU65Xp33Q8/WVmc+Zkg6zEv/U67e2H4 RwkYWL1axR5Cfa5j+kEAuOAByGgrbvaPwjgB3plOnYV3KMGbe/aBEskAe8wpg20kS+lR YlPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=aByCp+7x; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y1si9196263edp.72.2021.02.13.08.14.41; Sat, 13 Feb 2021 08:15:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=aByCp+7x; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229875AbhBMQMl (ORCPT + 99 others); Sat, 13 Feb 2021 11:12:41 -0500 Received: from linux.microsoft.com ([13.77.154.182]:35980 "EHLO linux.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229829AbhBMQMS (ORCPT ); Sat, 13 Feb 2021 11:12:18 -0500 Received: from localhost.localdomain (c-73-42-176-67.hsd1.wa.comcast.net [73.42.176.67]) by linux.microsoft.com (Postfix) with ESMTPSA id 0B50B20B57A9; Sat, 13 Feb 2021 08:11:02 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 0B50B20B57A9 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1613232662; bh=Q5qP/oeHF3QsP6y24A/ceFIZlcYedcKYuPJE/HPeXkM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aByCp+7x7S0YEyDj2ZH7lhS1HjbqHNIx4kABNUpWngvKeq0k1G3ZPnG6ydpQxGiku Yj+Xn1xfrJIRPl+iAyi00VBDsHmOeGLuD9R5Ayb61GL03YCcUViShvX+TdAKjth/zN Ji/0zc5C2Bo6CAdLuTsFPRU8pv3Qnuq30O/lxs8c= From: Lakshmi Ramasubramanian To: zohar@linux.ibm.com, bauerman@linux.ibm.com, robh@kernel.org, takahiro.akashi@linaro.org, gregkh@linuxfoundation.org, will@kernel.org, joe@perches.com, catalin.marinas@arm.com, mpe@ellerman.id.au Cc: james.morse@arm.com, sashal@kernel.org, benh@kernel.crashing.org, paulus@samba.org, frowand.list@gmail.com, vincenzo.frascino@arm.com, mark.rutland@arm.com, dmitry.kasatkin@gmail.com, jmorris@namei.org, serge@hallyn.com, pasha.tatashin@soleen.com, allison@lohutok.net, masahiroy@kernel.org, mbrugger@suse.com, hsinyi@chromium.org, tao.li@vivo.com, christophe.leroy@c-s.fr, prsriva@linux.microsoft.com, balajib@linux.microsoft.com, linux-integrity@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Subject: [PATCH v18 11/11] arm64: Enable passing IMA log to next kernel on kexec Date: Sat, 13 Feb 2021 08:10:49 -0800 Message-Id: <20210213161049.6190-12-nramas@linux.microsoft.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210213161049.6190-1-nramas@linux.microsoft.com> References: <20210213161049.6190-1-nramas@linux.microsoft.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Update CONFIG_KEXEC_FILE to select CONFIG_HAVE_IMA_KEXEC, if CONFIG_IMA is enabled, to indicate that the IMA measurement log information is present in the device tree for ARM64. Co-developed-by: Prakhar Srivastava Signed-off-by: Prakhar Srivastava Signed-off-by: Lakshmi Ramasubramanian Suggested-by: Thiago Jung Bauermann Reviewed-by: Thiago Jung Bauermann --- arch/arm64/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 05e17351e4f3..8a93573cebb6 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -1093,6 +1093,7 @@ config KEXEC config KEXEC_FILE bool "kexec file based system call" select KEXEC_CORE + select HAVE_IMA_KEXEC if IMA help This is new version of kexec system call. This system call is file based and takes file descriptors as system call argument -- 2.30.0