On 1/30/19 8:32 AM, Eugeniy Paltsev wrote: > 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 I made some mods, squashed some and pushed to for-next (it will land in next release) Thx, -vineet > > 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 > _______________________________________________ linux-snps-arc mailing list linux-snps-arc@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/linux-snps-arc