Enable ARM64 support in kexec-tools
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kexec-tools (Debian) |
Fix Released
|
Unknown
|
|||
kexec-tools (Ubuntu) |
Fix Released
|
High
|
dann frazier | ||
Xenial |
Fix Released
|
High
|
Manoj Iyer | ||
Yakkety |
Fix Committed
|
High
|
dann frazier |
Bug Description
[IMPACT]
* kexec-tools in Xenial (16.04) currently does not support ARM64
architecture.
* Backport support for ARM64 arch from upstream
https:/
* Majority of the patches are contained in kexec/arch/arm64/ except for
one patch that impacts purgatory and common device tree routines.
[TEST CASE]
* I built kexec-tools for ARM64 and tested it on HW using the following
testcase:
$ sudo kexec -l /boot/vmlinuz-
--
--
$ sudo kexec -e
* I was able to kexec the new kernel successfully.
* [ 6702.357899] kexec_core: Starting new kernel
[ 0.000000] Booting Linux on physical CPU 0x200
[ 0.000000] Linux version <version>-generic (buildd@
(gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~
[ 0.000000] Boot CPU: AArch64 Processor [510f8000]
[REGRESSION POTENTIAL]
* Since patches are confined to arm[64] there is a low overall risk of
regression.
[OTHER INFO]
* You can find a Xenial kexec-tools package built for AMD64, i386 and
ARM64 in my PPA
https:/
* This package is built using the Xenial source package for kexec-tools
with ARM64 enablement patches applied.
* Please pull the changes from my PPA package and integrate into Ubuntu
Xenial kexec-tools after review.
affects: | ubuntu → kexec-tools (Ubuntu) |
Changed in kexec-tools (Ubuntu): | |
importance: | Undecided → High |
description: | updated |
description: | updated |
description: | updated |
Changed in kexec-tools (Ubuntu): | |
milestone: | xenial-updates → none |
summary: |
- [SRU] [Xenial] Enable ARM64 support in kexec-tools + Enable ARM64 support in kexec-tools |
Changed in kexec-tools (Ubuntu): | |
status: | New → Confirmed |
Changed in kexec-tools (Ubuntu Xenial): | |
status: | New → Confirmed |
Changed in kexec-tools (Ubuntu Yakkety): | |
status: | New → Confirmed |
description: | updated |
Changed in kexec-tools (Debian): | |
status: | Unknown → Fix Released |
Changed in kexec-tools (Ubuntu): | |
assignee: | Louis Bouchard (louis-bouchard) → dann frazier (dannf) |
Changed in kexec-tools (Ubuntu Xenial): | |
status: | Confirmed → In Progress |
Changed in kexec-tools (Ubuntu Yakkety): | |
status: | Confirmed → In Progress |
Changed in kexec-tools (Ubuntu Xenial): | |
assignee: | nobody → dann frazier (dannf) |
Changed in kexec-tools (Ubuntu Yakkety): | |
assignee: | nobody → dann frazier (dannf) |
assignee: | dann frazier (dannf) → Manoj Iyer (manjo) |
assignee: | Manoj Iyer (manjo) → dann frazier (dannf) |
Changed in kexec-tools (Ubuntu Xenial): | |
assignee: | dann frazier (dannf) → Manoj Iyer (manjo) |
Changed in kexec-tools (Ubuntu Xenial): | |
importance: | Undecided → High |
Changed in kexec-tools (Ubuntu Yakkety): | |
importance: | Undecided → High |
tags: |
added: verification-done-xenial removed: verification-done |
Thanks Manoj! A few comments on your prepared package.
- We need to fix in zesty and yakkety as well as xenial
- Version for xenial should be 1:2.0.10-1ubuntu2.1
- Is arm64_build.patch needed? I know we had to add it to Debian for compat w/ sid's toolchain, but I'm not sure we need it for Ubuntu or xenial (though it shouldn't hurt anything).
- There appears to be unncecessary changes to the other debian/patches files - like they were all regenerated. Can you avoid that to cleanup the debdiff for sru-team?
Other than that - looks good. Backport appears clean/straightf orward.