usb: Fix Kconfig unmet dependencies for Microblaze EHCI
Subsystems (3)
Michal Simek
maintainerPATCH 1/1 usb: Fix Kconfig unmet dependencies for Microblaze EHCI
Disable USB_ARCH_HAS_EHCI in arch Kconfig and enable it in usb Kconfig
Warning log:
warning: (LOCKDEP && FAULT_INJECTION_STACKTRACE_FILTER && LATENCYTOP && FUNCTION_TRACER && KMEMCHECK) selects FRAME_POINTER which has unmet direct dependencies (DEBUG_KERNEL && (CRIS || M68K || FRV || UML || AVR32 || SUPERH || BLACKFIN || MN10300) || ARCH_WANT_FRAME_POINTERS)
--- arch/microblaze/Kconfig | 1 - drivers/usb/Kconfig | 1 + 2 files changed, 1 insertions(+), 1 deletions(-)
arch/microblaze/Kconfig +0 -1
@@ -6,7 +6,6 @@ config MICROBLAZE select HAVE_FUNCTION_GRAPH_TRACER select HAVE_DYNAMIC_FTRACE select HAVE_FTRACE_MCOUNT_RECORD - select USB_ARCH_HAS_EHCI select ARCH_WANT_OPTIONAL_GPIOLIB select HAVE_OPROFILE select HAVE_ARCH_KGDB
drivers/usb/Kconfig +1 -0
@@ -66,6 +66,7 @@ config USB_ARCH_HAS_EHCI default y if ARCH_VT8500 default y if PLAT_SPEAR default y if ARCH_MSM + default y if MICROBLAZE default PCI # ARM SA1111 chips have a non-PCI based "OHCI-compatible" USB host interface.
Signature · 1 line
1.5.5.6
Michal Simek
maintainerPATCH 1/1 ftrace: Build without frame pointers on Microblaze
Microblaze doesn't need/support FRAME_POINTERS in order to have a working function tracer.
The patch remove Kconfig warning.
Warning log:
warning: (LOCKDEP && FAULT_INJECTION_STACKTRACE_FILTER && LATENCYTOP && FUNCTION_TRACER && KMEMCHECK) selects FRAME_POINTER which has unmet direct dependencies (DEBUG_KERNEL && (CRIS || M68K || FRV || UML || AVR32 || SUPERH || BLACKFIN || MN10300) || ARCH_WANT_FRAME_POINTERS)
--- kernel/trace/Kconfig | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
kernel/trace/Kconfig +1 -1
@@ -141,7 +141,7 @@ if FTRACE config FUNCTION_TRACER bool "Kernel Function Tracer" depends on HAVE_FUNCTION_TRACER - select FRAME_POINTER if !ARM_UNWIND && !S390 + select FRAME_POINTER if !ARM_UNWIND && !S390 && !MICROBLAZE select KALLSYMS select GENERIC_TRACER select CONTEXT_SWITCH_TRACER
Signature · 1 line
1.5.5.6
Michal Simek
maintainerRe: [PATCH] ftrace: Build without frame pointers on Microblaze
Hi Ingo, [cc: Steven and Frederic]
can you please add this patch to your tree?
Thanks,
Michal
Quoted 32 lines · Michal Simek
Microblaze doesn't need/support
FRAME_POINTERSin order to have a working function tracer.The patch remove
Kconfigwarning.Warning log:
warning: (LOCKDEP &&FAULT_INJECTION_STACKTRACE_FILTER&& LATENCYTOP &&FUNCTION_TRACER&& KMEMCHECK) selectsFRAME_POINTERwhich has unmet direct dependencies (DEBUG_KERNEL&& (CRIS || M68K || FRV || UML || AVR32 || SUPERH || BLACKFIN || MN10300) ||ARCH_WANT_FRAME_POINTERS)Signed-off-by Michal Simek <[email protected]>CC Steven Rostedt <[email protected]>CC Frederic Weisbecker <[email protected]>CC Ingo Molnar <[email protected]>--- kernel/trace/Kconfig | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)kernel/trace/Kconfig +1
-1@@ -141,7 +141,7 @@ if FTRACE config FUNCTION_TRACER bool "Kernel Function Tracer" depends on HAVE_FUNCTION_TRACER - select FRAME_POINTER if !ARM_UNWIND && !S390 + select FRAME_POINTER if !ARM_UNWIND && !S390 && !MICROBLAZE select KALLSYMS select GENERIC_TRACER select CONTEXT_SWITCH_TRACER
Signature · 4 lines
Michal Simek, Ing. (M.Eng) w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/ Microblaze U-BOOT custodian
Steven Rostedt
maintainerRe: [PATCH] ftrace: Build without frame pointers on Microblaze
Quoted 4 lines · Michal Simek
Hi Ingo, [cc: Steven and Frederic]
can you please add this patch to your tree?
Sorry, I've been traveling and I'm behind on email. I'll queue this up. Is this needed for 2.6.39 or can it wait to 2.6.40?
-- Steve
Michal Simek
maintainerRe: [PATCH] ftrace: Build without frame pointers on Microblaze
Quoted 8 lines · Steven Rostedt
Quoted 4 lines · Michal Simek
Hi Ingo, [cc: Steven and Frederic]
can you please add this patch to your tree?
Sorry, I've been traveling and I'm behind on email. I'll queue this up. Is this needed for 2.6.39 or can it wait to 2.6.40?
No problem. It is fix and it could go to 2.6.39. But it is up to you.
Thanks,
Michal
Signature · 4 lines
Michal Simek, Ing. (M.Eng) w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/ Microblaze U-BOOT custodian
tip-bot for Michal Simek
maintainer[tip:perf/urgent] ftrace: Build without frame pointers on Microblaze
In reply to Michal SimekCommit-ID: d20ac252821ab9780ddf00b95629547d3cebc857 Gitweb: http://git.kernel.org/tip/d20ac252821ab9780ddf00b95629547d3cebc857 Author: Michal Simek <[email protected]> AuthorDate: Mon, 4 Apr 2011 11:20:12 +0200 Committer: Steven Rostedt <[email protected]> CommitDate: Thu, 21 Apr 2011 09:06:24 -0400
ftrace: Build without frame pointers on Microblaze
Microblaze doesn't need/support FRAME_POINTERS in order to have a working function tracer.
The patch remove Kconfig warning.
Warning log:
warning: (LOCKDEP && FAULT_INJECTION_STACKTRACE_FILTER && LATENCYTOP && FUNCTION_TRACER && KMEMCHECK) selects FRAME_POINTER which has unmet direct dependencies (DEBUG_KERNEL && (CRIS || M68K || FRV || UML || AVR32 || SUPERH || BLACKFIN || MN10300) || ARCH_WANT_FRAME_POINTERS)
--- kernel/trace/Kconfig | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
kernel/trace/Kconfig +1 -1
@@ -141,7 +141,7 @@ if FTRACE config FUNCTION_TRACER bool "Kernel Function Tracer" depends on HAVE_FUNCTION_TRACER - select FRAME_POINTER if !ARM_UNWIND && !S390 + select FRAME_POINTER if !ARM_UNWIND && !S390 && !MICROBLAZE select KALLSYMS select GENERIC_TRACER select CONTEXT_SWITCH_TRACER
Hello.
Quoted 7 lines · Michal Simek
Disable
USB_ARCH_HAS_EHCIin archKconfigand enable it in usbKconfigWarning log:
warning: (LOCKDEP&& FAULT_INJECTION_STACKTRACE_FILTER&& LATENCYTOP&& FUNCTION_TRACER&& KMEMCHECK) selectsFRAME_POINTERwhich has unmet direct dependencies (DEBUG_KERNEL&& (CRIS || M68K || FRV || UML || AVR32 || SUPERH || BLACKFIN || MN10300) ||ARCH_WANT_FRAME_POINTERS)
Hm, what this has to do with USB_ARCH_HAS_EHCI?
Quoted 3 lines
Signed-off-by Michal Simek <[email protected]>CC Greg Kroah-Hartman <[email protected]>
WBR, Sergei
Michal Simek
maintainerQuoted 6 lines · Sergei Shtylyov
Hello.
Quoted 1 line · Michal Simek
Disable
USB_ARCH_HAS_EHCIin archKconfigand enable it in usbKconfig
Quoted 7 lines
Quoted 5 lines
Warning log:
warning: (LOCKDEP&& FAULT_INJECTION_STACKTRACE_FILTER&& LATENCYTOP&& FUNCTION_TRACER&& KMEMCHECK) selectsFRAME_POINTERwhich has unmet direct dependencies (DEBUG_KERNEL&& (CRIS || M68K || FRV || UML || AVR32 || SUPERH || BLACKFIN || MN10300) ||ARCH_WANT_FRAME_POINTERS)Hm, what this has to do with
USB_ARCH_HAS_EHCI?
aaah. c&p error. I was doing two patches and copy the same warning to both.
There should be:
warning: (MICROBLAZE) selects USB_ARCH_HAS_EHCI which has unmet direct dependencies (USB_SUPPORT)
Will replace it!
Thanks,
Michal
Signature · 4 lines
Michal Simek, Ing. (M.Eng) w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/ Microblaze U-BOOT custodian