diff options
author | Markus Metzger <markus.t.metzger@intel.com> | 2009-03-13 12:45:07 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-03-13 13:57:20 +0300 |
commit | 8a327f6d1b05f5ce16572b4413a5df1d0e872283 (patch) | |
tree | 7903a0b4725bea86dba942003d5f6048077271d0 /arch/x86/Kconfig.debug | |
parent | bc44fb5f7d3e764ed7698c835a1a0f35aba2eb3d (diff) | |
download | linux-8a327f6d1b05f5ce16572b4413a5df1d0e872283.tar.xz |
x86, bts: add selftest for BTS
Perform a selftest of branch trace store when a cpu is initialized.
WARN and disable branch trace store support if the selftest fails.
Signed-off-by: Markus Metzger <markus.t.metzger@intel.com>
LKML-Reference: <20090313104507.A30125@sedona.ch.intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/Kconfig.debug')
-rw-r--r-- | arch/x86/Kconfig.debug | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/x86/Kconfig.debug b/arch/x86/Kconfig.debug index fdb45df608b6..dfd74abc03f8 100644 --- a/arch/x86/Kconfig.debug +++ b/arch/x86/Kconfig.debug @@ -175,6 +175,15 @@ config IOMMU_LEAK Add a simple leak tracer to the IOMMU code. This is useful when you are debugging a buggy device driver that leaks IOMMU mappings. +config X86_DS_SELFTEST + bool "DS selftest" + default y + depends on DEBUG_KERNEL + depends on X86_DS + ---help--- + Perform Debug Store selftests at boot time. + If in doubt, say "N". + config HAVE_MMIOTRACE_SUPPORT def_bool y |