summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2015-08-04 12:00:56 +0200
committerJosh Boyer <jwboyer@fedoraproject.org>2015-08-04 07:49:09 -0400
commit2899d29b6e33b8a5901ca2969ebbe72f39a2f1af (patch)
tree2323d1fcce57140264bb0ccbe09289a18c7ccf71
parent2e5f2061f5d6e8fbe9633540805074585878f62c (diff)
downloadkernel-2899d29b6e33b8a5901ca2969ebbe72f39a2f1af.tar.gz
kernel-2899d29b6e33b8a5901ca2969ebbe72f39a2f1af.tar.xz
kernel-2899d29b6e33b8a5901ca2969ebbe72f39a2f1af.zip
Always enable mmiotrace when building x86 kernels
mmiotrace uses the ftrace framework for dynamic patching, so enabling it does not cause any performance impact. Having mmiotrace enabled is very useful for debugging nvidia / nouveau driver problems, as we often use mmiotraces for nouveau development / debugging. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
-rw-r--r--config-x86-generic1
-rw-r--r--kernel.spec3
2 files changed, 4 insertions, 0 deletions
diff --git a/config-x86-generic b/config-x86-generic
index 9ba3354cd..eb786908e 100644
--- a/config-x86-generic
+++ b/config-x86-generic
@@ -66,6 +66,7 @@ CONFIG_CAPI_EICON=y
#
CONFIG_X86_MPPARSE=y
# CONFIG_X86_VERBOSE_BOOTUP is not set
+CONFIG_MMIOTRACE=y
# CONFIG_MMIOTRACE_TEST is not set
# CONFIG_DEBUG_PER_CPU_MAPS is not set
CONFIG_DEBUG_RODATA=y
diff --git a/kernel.spec b/kernel.spec
index 4ccceecde..cdb59d4cc 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -2025,6 +2025,9 @@ fi
#
%changelog
* Tue Aug 04 2015 Hans de Goede <hdegoede@redhat.com>
+- Always enable mmiotrace when building x86 kernels
+
+* Tue Aug 04 2015 Hans de Goede <hdegoede@redhat.com>
- Move joydev.ko from kernel-modules-extra to kernel-modules
* Mon Aug 03 2015 Josh Boyer <jwboyer@fedoraproject.org>