]> www.infradead.org Git - users/jedix/linux-maple.git/commit
arch/sparc: Add a separate kernel memcpy functions for M8
authorAllen Pais <allen.pais@oracle.com>
Mon, 15 May 2017 12:48:34 +0000 (18:18 +0530)
committerAllen Pais <allen.pais@oracle.com>
Wed, 17 May 2017 07:11:13 +0000 (12:41 +0530)
commit3bec06000aca61bde1e7a27bbcf9d8da1a1435ee
tree9224d7091886e0c303ea2956a905ead64fdcefcb
parent7c6ee2873bd162473d6f79d05d2228ef315c3da5
arch/sparc: Add a separate kernel memcpy functions for M8

Add a dedicated kernel memory copy functions for M8 architecture.
Use M7memcpy functions from M7 architecture and update affected functions
to take advantage of new Load Misaligned load/store instructions.

Following functions are going to be affected.
memcpy, copy_from_user and copy_to_user.

Following functions will not change. Will remain same as M7.
clear_page, clear_user_page, memset and bzero.

Orabug: 25381567

Signed-off-by: Babu Moger <babu.moger@oracle.com>
Signed-off-by: Allen Pais <allen.pais@oracle.com>
arch/sparc/kernel/head_64.S
arch/sparc/lib/M8copy_from_user.S [new file with mode: 0644]
arch/sparc/lib/M8copy_to_user.S [new file with mode: 0644]
arch/sparc/lib/M8memcpy.S [new file with mode: 0644]
arch/sparc/lib/M8patch.S [new file with mode: 0644]
arch/sparc/lib/Makefile