All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2 0/2] While trying to compile u-boot in thumb due space constraints on a mxs
@ 2018-04-20 19:51 Klaus Goger
  2018-04-20 19:51 ` [U-Boot] [PATCH v2 1/2] arm: make arm926ejs startup code thumb compatible Klaus Goger
  2018-04-20 19:51 ` [U-Boot] [PATCH v2 2/2] arm: Make arch specific memcpy thumb-safe Klaus Goger
  0 siblings, 2 replies; 11+ messages in thread
From: Klaus Goger @ 2018-04-20 19:51 UTC (permalink / raw)
  To: u-boot

platform it was observed that there are some thumb-interwork issues
in the handwritten assembly files.

Since the first patch only applies to ARM926EJS and no board on that platform
has thumb enabled for now,it was probably never observed.

The second one applies to the ARM specific assembly memcpy implementation
that is not enabled on any of the boards enabling thumb.

grep -l CONFIG_SYS_THUMB_BUILD=y configs/* | \
  xargs grep -c CONFIG_USE_ARCH_MEMCPY
configs/apalis_imx6_nospl_com_defconfig:0
configs/apalis_imx6_nospl_it_defconfig:0
configs/bk4r1_defconfig:0
configs/colibri_imx6_nospl_defconfig:0
configs/colibri_imx7_defconfig:0
configs/colibri_vf_defconfig:0
configs/highbank_defconfig:0
configs/openrd_base_defconfig:0
configs/openrd_client_defconfig:0
configs/openrd_ultimate_defconfig:0
configs/pcm052_defconfig:0
configs/tbs2910_defconfig:0
configs/x600_defconfig:0

With CONFIG_USE_ARCH_MEMCPY on our mxs platform the speedup for memcopy
was about 100%.

Changes in v2:
- use bl instead of blx to call lowlevel_init
- remove mxs tag as it apply to all arm926ejs platforms

Klaus Goger (2):
  arm: make arm926ejs startup code thumb compatible
  arm: Make arch specific memcpy thumb-safe.

 arch/arm/cpu/arm926ejs/start.S | 6 +++---
 arch/arm/lib/memcpy.S          | 8 +++++---
 2 files changed, 8 insertions(+), 6 deletions(-)

-- 
2.11.0

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

end of thread, other threads:[~2018-04-21 17:21 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-20 19:51 [U-Boot] [PATCH v2 0/2] While trying to compile u-boot in thumb due space constraints on a mxs Klaus Goger
2018-04-20 19:51 ` [U-Boot] [PATCH v2 1/2] arm: make arm926ejs startup code thumb compatible Klaus Goger
2018-04-20 21:55   ` Marek Vasut
2018-04-20 22:11     ` klaus.goger at theobroma-systems.com
2018-04-21 13:10   ` Måns Rullgård
2018-04-21 16:45     ` Christoph Müllner
2018-04-20 19:51 ` [U-Boot] [PATCH v2 2/2] arm: Make arch specific memcpy thumb-safe Klaus Goger
2018-04-21 13:24   ` Måns Rullgård
2018-04-21 16:45     ` Christoph Müllner
2018-04-21 17:00       ` Måns Rullgård
2018-04-21 17:21         ` Christoph Müllner

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.