Subject: [PATCH v7 12/16] arm64: Add new asm macro copy_page

From: [email-masked] (James Morse)
Date: Wed, 20 Apr 2016 17:56:58 +0100

On 20/04/16 17:38, Catalin Marinas wrote:
> On Fri, Apr 01, 2016 at 05:53:36PM +0100, James Morse wrote:
>> From: Geoff Levand <[email-masked]>
>>
>> Kexec and hibernate need to copy pages of memory, but may not have all
>> of the kernel mapped, and are unable to call copy_page().
>>
>> Add a simplistic copy_page() macro, that can be inlined in these
>> situations. lib/copy_page.S provides a bigger better version, but
>> uses more registers.
>>
>> Signed-off-by: Geoff Levand <[email-masked]>
>> [Changed asm label to 9998, added commit message]
>> Signed-off-by: James Morse <[email-masked]>
> 
> Good enough for the brief usage:
> 
> Acked-by: Catalin Marinas <[email-masked]>

Thanks,

> Would there be another user of this macro in the future (kexec)?

Yes, this is one of the patches common to the two. Adding this macro was some
review feedback from kexec v12 [0].

Thanks,
James

[0] http://lists.infradead.org/pipermail/kexec/2015-December/014959.html