From 2899d29b6e33b8a5901ca2969ebbe72f39a2f1af Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Tue, 4 Aug 2015 12:00:56 +0200 Subject: [PATCH] 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 --- config-x86-generic | 1 + kernel.spec | 3 +++ 2 files changed, 4 insertions(+) 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 @@ -2024,6 +2024,9 @@ fi # # %changelog +* Tue Aug 04 2015 Hans de Goede +- Always enable mmiotrace when building x86 kernels + * Tue Aug 04 2015 Hans de Goede - Move joydev.ko from kernel-modules-extra to kernel-modules