All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/7] convert dynamic_debug to use jump labels
@ 2016-07-06 21:42 Jason Baron
  2016-07-06 21:42 ` [PATCH v3 1/7] powerpc: add explicit #include <asm/asm-compat.h> for jump label Jason Baron
                   ` (6 more replies)
  0 siblings, 7 replies; 19+ messages in thread
From: Jason Baron @ 2016-07-06 21:42 UTC (permalink / raw)
  To: akpm; +Cc: joe, peterz, linux-kernel

Hi,

Since v2, I found that s390, sparc, and tile could end up with
link errors such as:

`.exit.text' referenced in section `__jump_table' of drivers/built-in.o: defined in discarded section `.exit.text' of drivers/built-in.o

This is due to the fact the '__jump_table' may reference text
in an __exit section which is discarded during build/link time.
Thus, the sparc, arm and tile patch have been added to address
this issue.

In addition, an 'allyesconfig' on arm did not build either due
to the usage of -O0 compiler flag. This has been removed in 
this patch: http://lkml.iu.edu/hypermail/linux/kernel/1606.3/01587.html

So this series depends on that patch to build properly on arm
(which I currently see being pulled into linux-next).

-v3:
 *added sparc, arm, tile patches for cross section references
 *re-based on (4c5ea0a locking/static_key: Fix concurrent static_key_slow_inc())

Thanks,

-Jason

Chris Metcalf (1):
  tile: support static_key usage in non-module __exit sections

Jason Baron (6):
  powerpc: add explicit #include <asm/asm-compat.h> for jump label
  s390: add explicit #include <linux/stringify.h> for jump label
  sparc: support static_key usage in non-module __exit sections
  arm: jump label may reference text in __exit
  jump_label: remove bug.h, atomic.h dependencies for HAVE_JUMP_LABEL
  dynamic_debug: add jump label support

 arch/arm/kernel/vmlinux.lds.S         |  2 +-
 arch/powerpc/include/asm/jump_label.h |  1 +
 arch/s390/include/asm/jump_label.h    |  1 +
 arch/sparc/kernel/vmlinux.lds.S       |  7 ++++
 arch/tile/kernel/vmlinux.lds.S        | 12 +++++++
 include/linux/dynamic_debug.h         | 60 +++++++++++++++++++++++++++++++----
 include/linux/jump_label.h            | 46 +++++++++++++--------------
 kernel/jump_label.c                   | 53 +++++++++++++++++++++++++++++++
 lib/dynamic_debug.c                   |  7 ++++
 9 files changed, 159 insertions(+), 30 deletions(-)

-- 
2.6.1

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2016-07-11 19:52 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-06 21:42 [PATCH v3 0/7] convert dynamic_debug to use jump labels Jason Baron
2016-07-06 21:42 ` [PATCH v3 1/7] powerpc: add explicit #include <asm/asm-compat.h> for jump label Jason Baron
2016-07-08 13:41   ` [v3, " Michael Ellerman
2016-07-06 21:42 ` [PATCH v3 2/7] s390: add explicit <linux/stringify.h> " Jason Baron
2016-07-06 21:42 ` [PATCH v3 3/7] sparc: support static_key usage in non-module __exit sections Jason Baron
2016-07-06 21:42   ` Jason Baron
2016-07-07  1:49   ` David Miller
2016-07-07  1:49     ` David Miller
2016-07-06 21:42 ` [PATCH v3 4/7] tile: " Jason Baron
2016-07-06 21:42 ` [PATCH v3 5/7] arm: jump label may reference text in __exit Jason Baron
2016-07-06 21:42   ` Jason Baron
2016-07-06 21:42 ` [PATCH v3 6/7] jump_label: remove bug.h, atomic.h dependencies for HAVE_JUMP_LABEL Jason Baron
2016-07-06 21:42 ` [PATCH v3 7/7] dynamic_debug: add jump label support Jason Baron
2016-07-06 22:52   ` Joe Perches
2016-07-07 19:10     ` Jason Baron
2016-07-08 21:41   ` Andrew Morton
2016-07-11 13:18     ` Jason Baron
2016-07-11 19:23       ` Andrew Morton
2016-07-11 19:52         ` Jason Baron

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.