linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] make XIP kernel .data compressed in ROM
@ 2017-08-25 16:25 Nicolas Pitre
  2017-08-25 16:25 ` [PATCH 1/3] ARM: head-common.S: speed up startup code Nicolas Pitre
                   ` (3 more replies)
  0 siblings, 4 replies; 15+ messages in thread
From: Nicolas Pitre @ 2017-08-25 16:25 UTC (permalink / raw)
  To: linux-arm-kernel

This patch series provides the ability to store the kernel .data
segment compressed in ROM. It has to be copied to RAM anyway so
storing it uncompressed is arguably a waste of ROM resources.

While at it, the copying of .data (when not compressed) and the
clearing of .bss is performed using optimized string routines rather
than doing it one word at a time. And throw in small linker script
cleanups for good measure.

This is also available here:

http://git.linaro.org/people/nicolas.pitre/linux xip_zdata

diffstat:

 arch/arm/Kconfig                    | 11 ++++
 arch/arm/boot/Makefile              | 13 ++++-
 arch/arm/boot/deflate_xip_data.sh   | 62 ++++++++++++++++++++++
 arch/arm/kernel/Makefile            |  5 ++
 arch/arm/kernel/head-common.S       | 85 +++++++++++++++++++------------
 arch/arm/kernel/head-inflate-data.c | 63 +++++++++++++++++++++++
 arch/arm/kernel/vmlinux-xip.lds.S   | 22 +++-----
 arch/arm/kernel/vmlinux.lds.S       |  4 +-
 8 files changed, 215 insertions(+), 50 deletions(-)

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

end of thread, other threads:[~2017-08-29 21:52 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-25 16:25 [PATCH 0/3] make XIP kernel .data compressed in ROM Nicolas Pitre
2017-08-25 16:25 ` [PATCH 1/3] ARM: head-common.S: speed up startup code Nicolas Pitre
2017-08-26 10:49   ` Ard Biesheuvel
2017-08-25 16:25 ` [PATCH 2/3] ARM: vmlinux*.lds.S: some decruftification Nicolas Pitre
2017-08-26 10:38   ` Ard Biesheuvel
2017-08-25 16:26 ` [PATCH 3/3] ARM: XIP kernel: store .data compressed in ROM Nicolas Pitre
2017-08-26 10:58   ` Ard Biesheuvel
2017-08-26 15:41     ` Nicolas Pitre
2017-08-28  8:29       ` Ard Biesheuvel
2017-08-28 17:40 ` [PATCH 0/3] make XIP kernel " Chris Brandt
2017-08-29 19:07   ` Nicolas Pitre
2017-08-29 19:58     ` Chris Brandt
2017-08-29 20:04       ` Nicolas Pitre
2017-08-29 21:50     ` Russell King - ARM Linux
2017-08-29 21:52       ` Nicolas Pitre

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).