Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp1336645ybn; Wed, 2 Oct 2019 14:36:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqyP0YaVyAqAOAbiDFvQpN2sW4CHizG5cuPv+7Vha12fdlb7dpIhb0kzyyA/qfTapPixhy5K X-Received: by 2002:a17:907:214e:: with SMTP id rk14mr5050774ejb.60.1570052197028; Wed, 02 Oct 2019 14:36:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570052197; cv=none; d=google.com; s=arc-20160816; b=QsQfUbkFmvkAIPm68q+2DJad2InjQ8ztN+4L/vIxhBpG5LBQs6MxIrBrPSxip6w48Q LgB4h4cyYw4o+rKaV/BDYy2YWK0iKIPqtO4zrowrVpf4wi6SP+bje2LGNk33IczndwVU SjVApwG+Dpj2xl0HqrCJcR2BItApHL36c/8gW5dyJRt4tojaPmCoAVjy8SuE062iy+7I ZoahFf13SykLeNLICWPahLFIQgbzY6L4pdw4iMrp/+5I8LO6S4L237vEtjY2oFeOIFtN zvbIgOPx9zpCwnKSVE8nP9S2ilfkOMhx/pOGsFBBXO4Sed9vBv9kL/7Ajp5JZkELfekn 7V9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:user-agent:content-language:accept-language:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=XSeNTl5I855C3uT83to227D7zveqjCiQR4dEW0mojwU=; b=GAUsQfTh+hA767zFzTuPHpmtgfD1+6OqqX8u+kxmAq3v0PiJP5AOxcTE/b7Yt9w0mM HJcPNxwZN/vI/Lqy6P33HyTODVDUJvjOAUUybEKgXMBKnY6uRslTK5pST1aXEuErbwrt pCfGj+8bBJqsTx0462KetrKFPozSIBpLhEy3On1L7mWGtnE95vVf23KCHR2ZSnHfDscB j7ZzB5CC1R1KMu+MJ00z9Svz/GKJUwdm7bCW+UWy1ahioqx0Dfc3j4nut8kMUvo23j3y OLf3TlJXXbZL+JdYiXJyNRU2yOL4NupoxJ4feTjYhLtXYEMyiYim4PPJtzz+7oIHnqYm qrSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dell.com header.s=smtpout1 header.b=mAA0DqTf; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=dell.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v22si213459ejk.297.2019.10.02.14.36.13; Wed, 02 Oct 2019 14:36:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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=@dell.com header.s=smtpout1 header.b=mAA0DqTf; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=dell.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727382AbfJBToN (ORCPT + 99 others); Wed, 2 Oct 2019 15:44:13 -0400 Received: from mx0a-00154904.pphosted.com ([148.163.133.20]:9150 "EHLO mx0a-00154904.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727257AbfJBToN (ORCPT ); Wed, 2 Oct 2019 15:44:13 -0400 Received: from pps.filterd (m0170393.ppops.net [127.0.0.1]) by mx0a-00154904.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id x92JemoQ029831; Wed, 2 Oct 2019 15:44:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dell.com; h=from : to : cc : subject : date : message-id : content-type : content-id : content-transfer-encoding : mime-version; s=smtpout1; bh=XSeNTl5I855C3uT83to227D7zveqjCiQR4dEW0mojwU=; b=mAA0DqTfmnbi2N7jy1TpGlhS6QTuPqyrRPRBjPuijgRCAh6oaMhwmzKgZWOshHlOREEZ lAv1DCkrqIb1+zWLXOGfKkr+Akxxotuwci6BYTbQokHwCdNMF/1veRPxOlueKXB+HjCL LE9CAomPyuh9yk+xUTKlkphXB+0dQFVhTG8muMP5cWQ7MEcZrCGHF3r242AZ+1wFaaz3 wLeMz9zc2fjoqGz0Mg0l6YO65NByMHXgeqCnQcS4RDfj6NYA6Sl66nQymi1w01I7i9Sy VYehOhx0EvITenA9Zi0XUKiJq3jdkHL1JJQUBumGnPWrYfTG/BQaMXASQ4p8TaEhCYZT rw== Received: from mx0b-00154901.pphosted.com (mx0b-00154901.pphosted.com [67.231.157.37]) by mx0a-00154904.pphosted.com with ESMTP id 2va2uk4p8j-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 02 Oct 2019 15:44:11 -0400 Received: from pps.filterd (m0134318.ppops.net [127.0.0.1]) by mx0a-00154901.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id x92JhBMc084375; Wed, 2 Oct 2019 15:44:10 -0400 Received: from ausxipps306.us.dell.com (AUSXIPPS306.us.dell.com [143.166.148.156]) by mx0a-00154901.pphosted.com with ESMTP id 2va25gew0y-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 02 Oct 2019 15:44:10 -0400 X-LoopCount0: from 10.166.132.129 X-PREM-Routing: D-Outbound X-IronPort-AV: E=Sophos;i="5.60,349,1549951200"; d="scan'208";a="382563207" From: To: CC: , , , , , , , Subject: [PATCH] Ask user input only when CONFIG_X86 or CONFIG_COMPILE_TEST is set to y Thread-Topic: [PATCH] Ask user input only when CONFIG_X86 or CONFIG_COMPILE_TEST is set to y Thread-Index: AQHVeVm8hd3/NfhPNEW1ErxPMn2a1Q== Date: Wed, 2 Oct 2019 19:44:00 +0000 Message-ID: <20191002194346.GA3792@localhost.localdomain> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Mutt/1.10.1 (2018-07-13) x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.143.242.75] Content-Type: text/plain; charset="us-ascii" Content-ID: <73613574CD0BB740BB500DF328D5F721@dell.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95,1.0.8 definitions=2019-10-02_08:2019-10-01,2019-10-02 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 priorityscore=1501 malwarescore=0 spamscore=0 clxscore=1015 mlxscore=0 impostorscore=0 adultscore=0 lowpriorityscore=0 suspectscore=0 mlxlogscore=999 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-1908290000 definitions=main-1910020154 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 impostorscore=0 bulkscore=0 clxscore=1015 mlxlogscore=999 priorityscore=1501 lowpriorityscore=0 spamscore=0 malwarescore=0 phishscore=0 adultscore=0 suspectscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-1908290000 definitions=main-1910020153 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Narendra K For the EFI_RCI2_TABLE kconfig option, 'make oldconfig' asks the user for input as it is a new kconfig option in kernel version 5.4. This patch modifies the kconfig option to ask the user for input only when CONFIG_X86 or CONFIG_COMPILE_TEST is set to y. The patch also makes EFI_RCI2_TABLE kconfig option depend on CONFIG_EFI. Signed-off-by: Narendra K --- The patch is created on kernel version 5.4-rc1. Hi Ard, I have made following changes - - changed the prompt string from "EFI Runtime Configuration Interface Table Version 2 Support" to "EFI RCI Table Version 2 Support" as the string crossed 80 char limit.=20 - added "depends on EFI" so that code builds only when CONFIG_EFI is set to y. - added 'default n' for ease of understanding though default is set to n. drivers/firmware/efi/Kconfig | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/firmware/efi/Kconfig b/drivers/firmware/efi/Kconfig index 178ee8106828..6e4c46e8a954 100644 --- a/drivers/firmware/efi/Kconfig +++ b/drivers/firmware/efi/Kconfig @@ -181,7 +181,10 @@ config RESET_ATTACK_MITIGATION reboots. =20 config EFI_RCI2_TABLE - bool "EFI Runtime Configuration Interface Table Version 2 Support" + bool + prompt "EFI RCI Table Version 2 Support" if X86 || COMPILE_TEST + depends on EFI + default n help Displays the content of the Runtime Configuration Interface Table version 2 on Dell EMC PowerEdge systems as a binary --=20 2.18.1 --=20 With regards, Narendra K=