mbox series

[v2,0/8] arm64: Optimise and update memcpy, user copy and string routines

Message ID cover.1571421836.git.robin.murphy@arm.com (mailing list archive)
Headers show
Series arm64: Optimise and update memcpy, user copy and string routines | expand

Message

Robin Murphy Oct. 18, 2019, 6:16 p.m. UTC
v1: https://lore.kernel.org/linux-arm-kernel/cover.1571073960.git.robin.murphy@arm.com/

Hi,

This version fixes the couple of minor issues for big-endian and KASAN
builds turned up by v1. An additional patch[1] for the kprobes issue is
now effectively a prerequisite as well.

Robin.

[1] https://lore.kernel.org/linux-arm-kernel/e70f7b9de7e601b9e4a6fedad8eaf64d304b1637.1571326276.git.robin.murphy@arm.com/


Robin Murphy (1):
  arm64: Tidy up _asm_extable_faultaddr usage

Sam Tebbs (7):
  arm64: Allow passing fault address to fixup handlers
  arm64: Import latest Cortex Strings memcpy implementation
  arm64: Import latest version of Cortex Strings' memcmp
  arm64: Import latest version of Cortex Strings' memmove
  arm64: Import latest version of Cortex Strings' strcmp
  arm64: Import latest version of Cortex Strings' strlen
  arm64: Import latest version of Cortex Strings' strncmp

 arch/arm64/include/asm/alternative.h |  36 ---
 arch/arm64/include/asm/assembler.h   |  13 +
 arch/arm64/include/asm/extable.h     |  10 +-
 arch/arm64/lib/copy_from_user.S      | 103 ++++++--
 arch/arm64/lib/copy_in_user.S        | 106 ++++++--
 arch/arm64/lib/copy_template.S       | 304 ++++++++++-----------
 arch/arm64/lib/copy_template_user.S  |  24 ++
 arch/arm64/lib/copy_to_user.S        | 102 +++++--
 arch/arm64/lib/copy_user_fixup.S     |  14 +
 arch/arm64/lib/memcmp.S              | 317 ++++++++--------------
 arch/arm64/lib/memcpy.S              |  48 ++--
 arch/arm64/lib/memmove.S             | 236 ++++++-----------
 arch/arm64/lib/strcmp.S              | 278 ++++++++------------
 arch/arm64/lib/strlen.S              | 249 ++++++++++++------
 arch/arm64/lib/strncmp.S             | 379 ++++++++++++---------------
 arch/arm64/mm/extable.c              |  13 +-
 arch/arm64/mm/fault.c                |   2 +-
 17 files changed, 1125 insertions(+), 1109 deletions(-)
 create mode 100644 arch/arm64/lib/copy_template_user.S
 create mode 100644 arch/arm64/lib/copy_user_fixup.S

Comments

Catalin Marinas Oct. 25, 2019, 3:17 p.m. UTC | #1
Hi Robin,

On Fri, Oct 18, 2019 at 07:16:34PM +0100, Robin Murphy wrote:
> This version fixes the couple of minor issues for big-endian and KASAN
> builds turned up by v1. An additional patch[1] for the kprobes issue is
> now effectively a prerequisite as well.

Thanks for the update. I queued these patches together with the kprobes
exception fixup patch.