lkml.org 
[lkml]   [2019]   [Jan]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/5] introduce unaligned access under a Kconfig option
Date
As of today we enable unaligned access unconditionally on ARCv2.
Lets move it under Kconfig option and use it actively in SW if it is
enabled.

While I'm at it fix and optimise ARCv2 memcpy implementaion.

Changes v1->v2:
* Rebase onto last ARC changes.
* Don't add dummy symbol to ARC Kconfig
* Print info about unaligned access status in kernel log

Eugeniy Paltsev (5):
ARCv2: lib: memcpy: fix doing prefetchw outside of buffer
ARCv2: introduce unaligned access under a Kconfig option
ARCv2: use unaligned access in SW
ARCv2: LIB: MEMCPY: fixed and optimised routine
ARC: boot log: print unaligned memory access details

arch/arc/Kconfig | 9 +++++++
arch/arc/Makefile | 6 +++++
arch/arc/include/asm/irqflags-arcv2.h | 4 +++
arch/arc/kernel/head.S | 14 +++++++----
arch/arc/kernel/intc-arcv2.c | 2 +-
arch/arc/kernel/setup.c | 13 +++++++---
arch/arc/lib/Makefile | 8 +++++-
arch/arc/lib/memcpy-archs-unaligned.S | 46 +++++++++++++++++++++++++++++++++++
arch/arc/lib/memcpy-archs.S | 14 -----------
9 files changed, 92 insertions(+), 24 deletions(-)
create mode 100644 arch/arc/lib/memcpy-archs-unaligned.S

--
2.14.5

\
 
 \ /
  Last update: 2019-01-30 17:32    [W:0.067 / U:1.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site