linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH] intel_txt: Add more explicit dependencies for CONFIG_INTEL_TXT
  2011-01-26 18:37 [PATCH] intel_txt: Add more explicit dependencies for CONFIG_INTEL_TXT Shane Wang
@ 2011-01-25  5:39 ` Américo Wang
  0 siblings, 0 replies; 2+ messages in thread
From: Américo Wang @ 2011-01-25  5:39 UTC (permalink / raw)
  To: Shane Wang; +Cc: linux-kernel, tboot-devel, jonmccune, joseph.cihula

On Thu, Jan 27, 2011 at 02:37:22AM +0800, Shane Wang wrote:
>This patch is to follow the recommended way in kconfig-language.txt to use HAVE_INTEL_TXT, so to add more explicit dependencies for CONFIG_INTEL_TXT.
>
>Signed-off-by: Jonathan McCune <jonmccune@cmu.edu>
>Signed-off-by: Shane Wang <shane.wang@intel.com>
>

Yes, this looks better.

Reviewed-by: WANG Cong <xiyou.wangcong@gmail.com>

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH] intel_txt: Add more explicit dependencies for CONFIG_INTEL_TXT
@ 2011-01-26 18:37 Shane Wang
  2011-01-25  5:39 ` Américo Wang
  0 siblings, 1 reply; 2+ messages in thread
From: Shane Wang @ 2011-01-26 18:37 UTC (permalink / raw)
  To: linux-kernel, tboot-devel; +Cc: jonmccune, joseph.cihula, shane.wang

This patch is to follow the recommended way in kconfig-language.txt to use HAVE_INTEL_TXT, so to add more explicit dependencies for CONFIG_INTEL_TXT.

Signed-off-by: Jonathan McCune <jonmccune@cmu.edu>
Signed-off-by: Shane Wang <shane.wang@intel.com>

---
 arch/x86/Kconfig |    5 +----
 security/Kconfig |    5 ++++-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff -r 2ec3d14a1901 arch/x86/Kconfig
--- a/arch/x86/Kconfig	Thu Jan 27 00:23:42 2011 +0800
+++ b/arch/x86/Kconfig	Thu Jan 27 00:44:49 2011 +0800
@@ -65,6 +65,7 @@
 	select HAVE_SPARSE_IRQ
 	select GENERIC_IRQ_PROBE
 	select GENERIC_PENDING_IRQ if SMP
+	select HAVE_INTEL_TXT
 
 config INSTRUCTION_DECODER
 	def_bool (KPROBES || PERF_EVENTS)
@@ -199,10 +200,6 @@
 config ARCH_SUPPORTS_DEBUG_PAGEALLOC
 	def_bool y
 
-config HAVE_INTEL_TXT
-	def_bool y
-	depends on EXPERIMENTAL && DMAR && ACPI
-
 config USE_GENERIC_SMP_HELPERS
 	def_bool y
 	depends on SMP
diff -r 2ec3d14a1901 security/Kconfig
--- a/security/Kconfig	Thu Jan 27 00:23:42 2011 +0800
+++ b/security/Kconfig	Thu Jan 27 00:44:49 2011 +0800
@@ -103,9 +103,12 @@
 	  implement pathname based access controls.
 	  If you are unsure how to answer this question, answer N.
 
+config HAVE_INTEL_TXT
+	bool
+
 config INTEL_TXT
 	bool "Enable Intel(R) Trusted Execution Technology (Intel(R) TXT)"
-	depends on HAVE_INTEL_TXT
+	depends on HAVE_INTEL_TXT && EXPERIMENTAL && DMAR && ACPI
 	help
 	  This option enables support for booting the kernel with the
 	  Trusted Boot (tboot) module. This will utilize

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-01-25  5:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-26 18:37 [PATCH] intel_txt: Add more explicit dependencies for CONFIG_INTEL_TXT Shane Wang
2011-01-25  5:39 ` Américo Wang

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).