From: Anand K Mistry <amistry@google.com>
To: x86@kernel.org
Cc: Anand K Mistry <amistry@google.com>,
Borislav Petkov <bp@alien8.de>, "H. Peter Anvin" <hpa@zytor.com>,
Ingo Molnar <mingo@redhat.com>,
Thomas Gleixner <tglx@linutronix.de>,
linux-kernel@vger.kernel.org
Subject: [PATCH] x86: Add a prompt for HPET_EMULATE_RTC
Date: Thu, 4 Feb 2021 13:21:09 +1100 [thread overview]
Message-ID: <20210204132043.1.I2392cf11fb353d10459958100b69d93346fa167c@changeid> (raw)
This does two things:
1. Makes the option visible in menuconfig, allowing the user to easily
disable this option
2. Allows olddefconfig to respoct the option if it is set in the old
.config file
It's not clear exactly why the second consequence is true, but it
appears to be because when the conf tool reads the config file, it only
respects the existing setting if the option is "visible" (see
scripts/kconfig/symbol.c:381).
Signed-off-by: Anand K Mistry <amistry@google.com>
---
arch/x86/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 21f851179ff0..28f814493c7b 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -890,6 +890,7 @@ config HPET_TIMER
config HPET_EMULATE_RTC
def_bool y
+ prompt "HPET RTC emulation"
depends on HPET_TIMER && (RTC=y || RTC=m || RTC_DRV_CMOS=m || RTC_DRV_CMOS=y)
config APB_TIMER
--
2.30.0.365.g02bc693789-goog
next reply other threads:[~2021-02-04 2:22 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-04 2:21 Anand K Mistry [this message]
2021-02-04 3:47 ` [PATCH] x86: Add a prompt for HPET_EMULATE_RTC Randy Dunlap
2021-02-04 6:13 ` Anand K. Mistry
2021-02-04 6:29 ` Randy Dunlap
2021-02-04 6:55 ` Anand K. Mistry
2021-02-04 17:37 ` Randy Dunlap
2021-02-04 17:59 ` Randy Dunlap
2021-02-04 20:53 ` Anand K. Mistry
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210204132043.1.I2392cf11fb353d10459958100b69d93346fa167c@changeid \
--to=amistry@google.com \
--cc=bp@alien8.de \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=tglx@linutronix.de \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).