All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/7] build updates
@ 2016-10-19  3:15 Nicholas Piggin
  2016-10-19  3:15 ` [PATCH 1/7] powerpc: use the new post-link pass to check relocations Nicholas Piggin
                   ` (7 more replies)
  0 siblings, 8 replies; 22+ messages in thread
From: Nicholas Piggin @ 2016-10-19  3:15 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: Nicholas Piggin, Stephen Rothwell

Hi,

I was hoping to get these posted earlier, but they had a dependency
on the kbuild tree which took a while to merge. Hopefully we can get
at least the first 4 patches in, which are just sanity checks on the
final binary.

With this series applied, I'm able to build[*] and boot a 64-bit
book3s allyesconfig kernel, a 200MB vmlinux (although today's tree
breaks in some random driver initcall in late boot). That's largely
a culmination of Stephen Rothwell's work (including the kbuild changes
that were merged earlier in 4.9), I just picked up some of his patches
so attributions may not be 100% reflective of reality.

[*] Building allyesconfig still requires KALLSYMS_EXTRA_PASS=1, which
    I'm yet to look into.

Thanks,
Nick

Nicholas Piggin (7):
  powerpc: use the new post-link pass to check relocations
  powerpc: add arch/powerpc/tools directory
  powerpc/64s: tool to flag direct branches from unrelocated interrupt
    vectors
  powerpc/64: tool to check head sections location sanity
  powerpc/64: handle linker stubs in low .text code
  powerpc: switch to using thin archives if COMPILE_TEST is set
  powerpc/64: allow CONFIG_RELOCATABLE if COMPILE_TEST

 arch/powerpc/Kconfig                               |  5 +-
 arch/powerpc/Makefile                              | 17 +----
 arch/powerpc/Makefile.postlink                     | 48 ++++++++++++++
 arch/powerpc/include/asm/head-64.h                 | 20 ++++--
 arch/powerpc/kernel/vmlinux.lds.S                  | 28 ++------
 .../gcc-check-mprofile-kernel.sh                   |  0
 arch/powerpc/tools/head_check.sh                   | 74 ++++++++++++++++++++++
 arch/powerpc/{ => tools}/relocs_check.sh           |  0
 arch/powerpc/tools/unrel_branch_check.sh           | 56 ++++++++++++++++
 9 files changed, 203 insertions(+), 45 deletions(-)
 create mode 100644 arch/powerpc/Makefile.postlink
 rename arch/powerpc/{scripts => tools}/gcc-check-mprofile-kernel.sh (100%)
 create mode 100755 arch/powerpc/tools/head_check.sh
 rename arch/powerpc/{ => tools}/relocs_check.sh (100%)
 create mode 100755 arch/powerpc/tools/unrel_branch_check.sh

-- 
2.9.3

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

end of thread, other threads:[~2017-05-03 22:18 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-19  3:15 [PATCH 0/7] build updates Nicholas Piggin
2016-10-19  3:15 ` [PATCH 1/7] powerpc: use the new post-link pass to check relocations Nicholas Piggin
2016-10-19  3:15 ` [PATCH 2/7] powerpc: add arch/powerpc/tools directory Nicholas Piggin
2016-10-19  3:15 ` [PATCH 3/7] powerpc/64s: tool to flag direct branches from unrelocated interrupt vectors Nicholas Piggin
2016-10-19  4:28   ` Balbir Singh
2016-10-19  6:01     ` Nicholas Piggin
2016-10-19 10:57   ` Michael Ellerman
2016-10-19  3:15 ` [PATCH 4/7] powerpc/64: tool to check head sections location sanity Nicholas Piggin
2016-11-15  0:55   ` Michael Ellerman
2016-11-22  4:54     ` Nicholas Piggin
2016-11-22  5:56       ` Michael Ellerman
2016-10-19  3:15 ` [PATCH 5/7] powerpc/64: handle linker stubs in low .text code Nicholas Piggin
2016-10-19  3:15 ` [PATCH 6/7] powerpc: switch to using thin archives if COMPILE_TEST is set Nicholas Piggin
2016-10-19  5:57   ` Stephen Rothwell
2016-10-19  9:26     ` Nicholas Piggin
2016-10-19 11:00   ` Michael Ellerman
2016-10-20  3:48     ` Nicholas Piggin
2016-11-22  0:34   ` [6/7] " Michael Ellerman
2016-10-19  3:16 ` [PATCH 7/7] powerpc/64: allow CONFIG_RELOCATABLE if COMPILE_TEST Nicholas Piggin
2017-05-03 22:18   ` [7/7] " Michael Ellerman
2016-10-19  7:44 ` [PATCH 0/7] build updates Nicholas Piggin
2016-10-21  6:35   ` [PATCH 0/7] build updates (and RFC on one-pass kallsyms generation) Nicholas Piggin

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.