Home
last modified time | relevance | path

Searched hist:ada66f1837594f38bc2db4f98c4c6589ecc8a7f6 (Results 1 – 3 of 3) sorted by relevance

/linux/arch/arm64/lib/
H A Dmemcpy.Sdiff ada66f1837594f38bc2db4f98c4c6589ecc8a7f6 Wed Apr 29 20:37:02 CEST 2020 Catalin Marinas <catalin.marinas@arm.com> arm64: Reorder the macro arguments in the copy routines

The current argument order is obviously buggy (memcpy.S):

macro strb1 ptr, regB, val
strb \ptr, [\regB], \val
endm

However, it cancels out as the calling sites in copy_template.S pass the
address as the regB argument.

Mechanically reorder the arguments to match the instruction mnemonics.
There is no difference in objdump before and after this patch.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Link: https://lore.kernel.org/r/20200429183702.28445-1-catalin.marinas@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
H A Dcopy_from_user.Sdiff ada66f1837594f38bc2db4f98c4c6589ecc8a7f6 Wed Apr 29 20:37:02 CEST 2020 Catalin Marinas <catalin.marinas@arm.com> arm64: Reorder the macro arguments in the copy routines

The current argument order is obviously buggy (memcpy.S):

macro strb1 ptr, regB, val
strb \ptr, [\regB], \val
endm

However, it cancels out as the calling sites in copy_template.S pass the
address as the regB argument.

Mechanically reorder the arguments to match the instruction mnemonics.
There is no difference in objdump before and after this patch.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Link: https://lore.kernel.org/r/20200429183702.28445-1-catalin.marinas@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
H A Dcopy_to_user.Sdiff ada66f1837594f38bc2db4f98c4c6589ecc8a7f6 Wed Apr 29 20:37:02 CEST 2020 Catalin Marinas <catalin.marinas@arm.com> arm64: Reorder the macro arguments in the copy routines

The current argument order is obviously buggy (memcpy.S):

macro strb1 ptr, regB, val
strb \ptr, [\regB], \val
endm

However, it cancels out as the calling sites in copy_template.S pass the
address as the regB argument.

Mechanically reorder the arguments to match the instruction mnemonics.
There is no difference in objdump before and after this patch.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Link: https://lore.kernel.org/r/20200429183702.28445-1-catalin.marinas@arm.com
Signed-off-by: Will Deacon <will@kernel.org>