From patchwork Wed Oct 23 17:31:57 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 177337 Delivered-To: patch@linaro.org Received: by 2002:a92:409a:0:0:0:0:0 with SMTP id d26csp1040278ill; Wed, 23 Oct 2019 10:32:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqxILg8PwuxC6WLbZCMsg5CZDAhk5bkRs2HeHYIa5dIb4j3HMPKCm/BMNndjz1546+kgdxK2 X-Received: by 2002:a50:ed05:: with SMTP id j5mr38571163eds.251.1571851928347; Wed, 23 Oct 2019 10:32:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571851928; cv=none; d=google.com; s=arc-20160816; b=sibGLONU4C4nkNQLZ/xQ/0Vz9Q+Gyz26meLEja5/bqHxQf+2nhCxK1NvCohmpsxZcR P8lwKNN/+xq9ZS5m9NskyuVVoGRcPON4a2gQD38j1QS78Bt/Z2GELjPHJ6EQKsbSTDnw TAO7t21qXRBBiSFqsx1Be2hlWv7sBiZr/ZmI+8tI0PvbzQX+hNU3uRLeoT1Cz6I5bnn6 caKbBdeJQC+dQw7bRGDQtS6zM7rdLu+R3y7ptJoe9rIUaDSioum0o5T9lVJMRMirTzH3 Cg4xxocKhbUfSFuKjIVX5052a52uHLOjvaBIXw40jvGCDUTQzH1YspI62b/Msrd0vRm+ /PHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=LMJXqmk6RQTbWYCNHCam9h3+n8eYtkpYb5J9t6ynQv4=; b=lTMrMMWw+trzPUWZ8952FQRwLsoRer9PG54Gv5K4MJRHfszysSI31ps74nP2SuSbHu cyKaBxINCkIdR9EbqcP6T1RigCQEkChqlEv+r6qq5RapAdCjUE/WwYky1/A/zt82y8Z0 1/qNkVHuxLOnV9LFLQfjHC+01wU6yA1yNDMcNno2GgFj++Iqg5mW1rG0tLPfPwcPVFXI NvzrDbdVmuVo3sd7bSyxfvxZOMRT17nqd6P0O8W9MqdgnwGX/gjCZyG2pUELJvvU3bUQ 9DIT450vwz6jnXek11v6rRuZWaT6BqE6w+D2gdepkJaMb4nrHBX+Bqk1jw88d5vVqhZ7 JOJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TOaj2vgs; spf=pass (google.com: best guess record for domain of linux-efi-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-efi-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z44si6691527edb.418.2019.10.23.10.32.08; Wed, 23 Oct 2019 10:32:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-efi-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TOaj2vgs; spf=pass (google.com: best guess record for domain of linux-efi-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-efi-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729249AbfJWRcG (ORCPT + 3 others); Wed, 23 Oct 2019 13:32:06 -0400 Received: from mail-wm1-f67.google.com ([209.85.128.67]:38176 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728832AbfJWRcF (ORCPT ); Wed, 23 Oct 2019 13:32:05 -0400 Received: by mail-wm1-f67.google.com with SMTP id 3so20476776wmi.3 for ; Wed, 23 Oct 2019 10:32:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=LMJXqmk6RQTbWYCNHCam9h3+n8eYtkpYb5J9t6ynQv4=; b=TOaj2vgsemOLgcAdk2Q++vNiURX2IRRaQjRpl/iS81HHZqob6R8ZiNwdCgG9qjhfwu j9tRZ7I+4bl0v8HbusUmSBNsjAQdSgt5zfPP70oozlSFSRF5P9i6t6eDf3lz9K1DPg+t aBXCFmJv3Rps0Dt8ox3QLKZKvow0rlWkdSkbMoRJ9TUg4NdJeGl37q32xBWeCqwdygjc qcAHztoWvtBV7GLuy9/jWjT5RVNCsmeByDVkI7POAI0vNNqp1uYFRtSXbIjfGEoMa7Wk oEipeSJ3DyTKYe7fuz67V+lybmXC4owCtfAAdIH+vNqMeK/7dCyTFyoIUvVimHN8uSoN ubOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=LMJXqmk6RQTbWYCNHCam9h3+n8eYtkpYb5J9t6ynQv4=; b=OYBQfygnGN32c9F9pNdED3r/WRp4CKoz19qwZoqOU62cOE/AlXu2Ba6HliGXcdEeX5 eYm9/2C8MeMdStib5jUVUMKShGge3++xuh/nmSQdNndg47oL0SvalWUNpOVhMYt9ovqy MqAjCo6Z4rJnvWdbpjKbnhBjYI7tvtO3m/cF6cdM3SLaIWaWOrfO7RQjirUlHxtTHG6R YHoR9ARpA02XaW1xyf+rR9w/AuFbJYPVi8BJktbJGFaFy6IdNBvT8b2YoKF/SQqym2Ax r2DpdmJAKumhRYzwefkxwcK0p9AnAlh0SOT+G6OFzXR9jlao4qrugilkVmr64F13mGTB s0iw== X-Gm-Message-State: APjAAAX/pBC2Hv2A62GxSvHQC0SCVKd0hiG/J/SwR9i079nQ8o23NBW4 rjpuWmjhnL9GE41sp0ulyg8Yxk1SQz2xbibl X-Received: by 2002:a05:600c:21c8:: with SMTP id x8mr861248wmj.123.1571851922155; Wed, 23 Oct 2019 10:32:02 -0700 (PDT) Received: from e123331-lin.home (lfbn-mar-1-643-104.w90-118.abo.wanadoo.fr. [90.118.215.104]) by smtp.gmail.com with ESMTPSA id f7sm14900374wre.68.2019.10.23.10.32.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Oct 2019 10:32:01 -0700 (PDT) From: Ard Biesheuvel To: linux-efi@vger.kernel.org, Ingo Molnar , Thomas Gleixner Cc: Narendra K , Ard Biesheuvel , linux-kernel@vger.kernel.org Subject: [PATCH 1/5] efi: Make CONFIG_EFI_RCI2_TABLE selectable on x86 only Date: Wed, 23 Oct 2019 19:31:57 +0200 Message-Id: <20191023173201.6607-2-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191023173201.6607-1-ard.biesheuvel@linaro.org> References: <20191023173201.6607-1-ard.biesheuvel@linaro.org> X-ARM-No-Footer: FoSSMail Sender: linux-efi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-efi@vger.kernel.org From: Narendra K For the EFI_RCI2_TABLE kconfig option, 'make oldconfig' asks the user for input on platforms where the option may not be applicable. This patch modifies the kconfig option to ask the user for input only when CONFIG_X86 or CONFIG_COMPILE_TEST is set to y. Reported-by: Geert Uytterhoeven Suggested-by: Geert Uytterhoeven Tested-by: Geert Uytterhoeven Signed-off-by: Narendra K Signed-off-by: Ard Biesheuvel --- drivers/firmware/efi/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.17.1 diff --git a/drivers/firmware/efi/Kconfig b/drivers/firmware/efi/Kconfig index 178ee8106828..b248870a9806 100644 --- a/drivers/firmware/efi/Kconfig +++ b/drivers/firmware/efi/Kconfig @@ -182,6 +182,7 @@ config RESET_ATTACK_MITIGATION config EFI_RCI2_TABLE bool "EFI Runtime Configuration Interface Table Version 2 Support" + depends on X86 || COMPILE_TEST help Displays the content of the Runtime Configuration Interface Table version 2 on Dell EMC PowerEdge systems as a binary