Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1437962

[PATCH v3 0/7] convert dynamic_debug to use jump labels

Path csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod
From Jason Baron <jbaron@akamai.com>
Newsgroups linux.kernel
Subject [PATCH v3 0/7] convert dynamic_debug to use jump labels
Date Wed, 06 Jul 2016 23:50:02 +0200
Message-ID <rS2RH-6bB-3@gated-at.bofh.it> (permalink)
X-Original-To akpm@linux-foundation.org
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; s=a1; t=1467841374; bh=8ixybDnMYo/se0JVOH/f63V7gjrctkpEVX50UNh3Cco=; l=1903; h=From:To:Cc:Date:From; b=PFlufL47AJ4fUDep/2HGdoocBko2YMfvQ+nJkltUUiUpfjtMWdae3f7HGb5GqoukF 9XqGotHnz0cYrvIut/Zk9pOd7rRoyVfWHM4k5XtsNJcH1cskrnVBBYnqN/ZI+AjaN8 FczlYFat/If0oCa9HJf0cYhShwWJOeVocAH7Keag=
X-Mailer git-send-email 1.9.1
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 51
Organization linux.* mail to news gateway
X-Original-Cc joe@perches.com, peterz@infradead.org, linux-kernel@vger.kernel.org
X-Original-Date Wed, 6 Jul 2016 17:42:29 -0400
X-Original-Message-ID <cover.1467837322.git.jbaron@akamai.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1437962

Show key headers only | View raw


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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH v3 0/7] convert dynamic_debug to use jump labels Jason Baron <jbaron@akamai.com> - 2016-07-06 23:50 +0200

csiph-web