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

Christopher Covington cov at codeaurora.org
Thu Feb 6 07:48:30 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, and in the long term it would probably be nicest to be able to
> checkpoint all processes with the A64 CRIU for use cases like the
> dump-kexec-restore rebootless kernel upgrade.
> 
> But that's long-term and I should get back to debugging the plain A64 stuff.
> I'm currently getting:
> 
> Error (protobuf.c:606): Wrong object requested 0.
> 
> I also see this in A32. I'll git bisect with the last version that worked for
> me on A32 and see if I can find the cause.

The cause is local modifications to the build process that had to be updated.
I hope to have those patches out to the list soon so that they aren't local
any more. Sorry for the noise.

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