dwc3: Only build debugfs when DWC3_GADGET/DUAL_ROLE is enabled

Fix (randconfig) build problem with DEBUG_FS on

Cc: balbi@ti.com
Cc: linux-usb@vger.kernel.org
Signed-off-by: Andi Kleen <ak@linux.intel.com>
initconst, x86: Fix initconst mistake in ts5500 code

const data must be initconst.

Cc: x86@kernel.org
Signed-off-by: Andi Kleen <ak@linux.intel.com>
kbuild: Put kallsyms into own section

Put the kallsyms information into an own .kallsyms section.
This makes it easier to patch the kallsyms inside the executable.
Otherwise it shouldn't change anything.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
fixup! Kbuild, kallsyms: Support padding in kallsyms tables
asmlinkage: Make trace_hardirqs_on/off_caller visible

These functions are called from assembler, and thus need to be
__visible

Cc: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
fixup! kbuild: Use single pass kallsyms
kbuild: Remove .dot postfixes in kallsyms

For static and some LTO symbols gcc generates .XXXX postfixes.
Remove those from the kallsyms, as they are not useful to the user
and makes it much larger. This also avoids some issues with LTO.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
kbuild: Don't include const variable in kallsyms with !KALLSYMS_ALL

const variables are put into the text segment, so !KALLSYMS_ALL
includes them into the kallsyms section. Remove them to make
the kallsyms smaller. This also avoids some problems with LTO.
The way LTO generates the first pass kallsyms cannot handle
variables currently, so if we don't filter them out the
first and second level pass differ too much.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
fixup! Kbuild, lto: Add Link Time Optimization support