Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1116806pxb; Tue, 9 Feb 2021 23:54:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJwXakyuZpiKlwwmV6eVZ8rnx84x/EkQJSnuTjyYJxwXVUSCpDlGKGtcaGB7uaXvi/XFrFrh X-Received: by 2002:a17:907:2d92:: with SMTP id gt18mr1784219ejc.330.1612943645284; Tue, 09 Feb 2021 23:54:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612943645; cv=none; d=google.com; s=arc-20160816; b=hJWuE+jUutQHJN7foOC7ZzyBA5iqG10odFNHTqeLVis7s/Yo529F7mrXcuUNohDOUv PAAhVAv+f2geMDIlWCrajhhs8DjyYlti2OX6/L+LZIQ3+ZvypVaR57in68uPp75Zqzud 2k5mXfdBMG3tG7I8/1mLWsiGBto4BYXdQ2EGQsRWHG6wxFUoNTX+oEuOkJyYoo0bCZpl l897viom1mQoCfj/k71483FwnJgJoqRYoUCSFcpR5+v6NdHWV+No7zncFSGYpVBoYWBG XlmelHonkJTHD91rTZlmFquTPjasnkUALb19DiiJtC5BrvfXUftSCSrDtVL9yiQDe4vg Tx8w== 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=1PgnddQ2denP3u/evhN8RhEqOoajx0h1kP3zVTQ82Cc=; b=cjtt1siq8sV34KlA7PZyUHiM4EMdu0ClZHBhkqVCd15zSMdWNcXj0wJPN6VU7Z/zzu JZgutu+4xfs5A1Qa5c7p+yOFXHWFah3hHjhLATyi+wf45yXq4EXUd7vM0cN9/bbbjv7V p7WUcJzc2uMfVi6p0Yk5/BmaLLNmuMI7ap6taBOMlmNm911ntMWwYS0V/GE+RvJB2aZw aHNW3s/mf1QQTntghq49SSbzLsF/Iwng0YTZJrJyZhoDaZIOKn0L1ZCx3eOiQg2aQipN 9lqZ4k/w2JttmM5mw3LrbLTC704M9cCpUWNSNQPYqowKVSOaQrExDthvTcLTeKSYmohV a2wg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=bETR22sz; 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 a7si845699ejj.40.2021.02.09.23.53.42; Tue, 09 Feb 2021 23:54:05 -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=bETR22sz; 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 S233631AbhBIU2l (ORCPT + 99 others); Tue, 9 Feb 2021 15:28:41 -0500 Received: from linux.microsoft.com ([13.77.154.182]:58432 "EHLO linux.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233423AbhBIS1k (ORCPT ); Tue, 9 Feb 2021 13:27:40 -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 DB69A20B57A3; Tue, 9 Feb 2021 10:22:32 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com DB69A20B57A3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1612894953; bh=1PgnddQ2denP3u/evhN8RhEqOoajx0h1kP3zVTQ82Cc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bETR22szZ7gLkHN4LDX6j2oS/oTN1X+lb+XpWZoafspG+dBZdBOHn7ZcYmclzixFK mY1bMKUq0iFdlsu6ARhIhAXyN/vRn3PCUlJOp2bZwMJCi6IPfaHf5HAQOa8s9O9sUx QcB5JAdhIsOczhYDurCTQf60nG65yTuyhlxuZJ+Q= 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 v17 06/10] powerpc: Enable passing IMA log to next kernel on kexec Date: Tue, 9 Feb 2021 10:21:56 -0800 Message-Id: <20210209182200.30606-7-nramas@linux.microsoft.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210209182200.30606-1-nramas@linux.microsoft.com> References: <20210209182200.30606-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 CONFIG_HAVE_IMA_KEXEC is enabled to indicate that the IMA measurement log information is present in the device tree. This should be selected only if CONFIG_IMA is enabled. 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 powerpc. Signed-off-by: Lakshmi Ramasubramanian Suggested-by: Thiago Jung Bauermann --- arch/powerpc/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 107bb4319e0e..d6e593ad270e 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig @@ -554,7 +554,7 @@ config KEXEC config KEXEC_FILE bool "kexec file based system call" select KEXEC_CORE - select HAVE_IMA_KEXEC + select HAVE_IMA_KEXEC if IMA select BUILD_BIN2C select KEXEC_ELF depends on PPC64 -- 2.30.0