[CRIU] [PATCH 4/5] [RFC] cr: implemented the support for the AArch64 architecture

Christopher Covington cov at codeaurora.org
Fri Feb 7 09:56:09 PST 2014


On 02/06/2014 09:44 AM, Christopher Covington wrote:
> On 02/05/2014 10:14 AM, Christopher Covington wrote:
> 
>> On 02/05/2014 01:14 AM, Alexander Kartashov wrote:
> 
>>> diff --git a/arch/aarch64/include/asm/types.h b/arch/aarch64/include/asm/types.h
>>> new file mode 100644
>>> index 0000000..777af66
>>> --- /dev/null
>>> +++ b/arch/aarch64/include/asm/types.h
> 
>>> +// Copied from the Linux kernel arch/arm64/include/asm/memory.h
>>> +// FIXME: what about a 32bit task?
>>
>> Last time I checked I was able to restore an A32 task with an A32 CRIU on an
>> A64 kernel out of the box, but dump didn't work (maybe it was the
>> GETREGS/GETREGSET issue). One possibility might be to just fix A32 CRIU dump
>> on an A64 kernel and then say if you want to dump an A32 task, use an A32 CRIU.
> 
> Some follow up: A32 CRIU currently fails against an A64 kernel with kcmp not
> supported.

Looks like the A32 compat kcmp syscall is being added. I haven't tested it out
yet, though.

https://git.kernel.org/cgit/linux/kernel/git/arm64/linux.git/commit/?id=6290b53de025dd08a79257ee84173ef7b6d926f7

Christopher

-- 
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by the Linux Foundation.


More information about the CRIU mailing list