-
Notifications
You must be signed in to change notification settings - Fork 308
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for aarch64 #1010
Add support for aarch64 #1010
Conversation
Thanks for sharing this @betacoo. The create-diff-object changes look reasonable. However, I don't think we want to support out-of-tree kernel patches. Also, kpatch.ko is pretty much deprecated in favor of CONFIG_LIVEPATCH upstream. There has been some arm64 activity in the upstream kernel for livepatch and objtool. So hopefully Linux arm64 CONFIG_LIVEPATCH will be a reality in the near future. Then we can revisit these create-diff-object changes. At that point we will also need some integration and unit tests. |
Hi @betacoo, fwiw, the arm64-support.patch doesn't apply cleanly to upstream v4.14:
It looks like include/linux/compiler_types.h only goes back to v4.15. Is arm64-support.patch based on another upstream release or perhaps a distro-kernel? |
@jpoimboe It seems that I should close this PR.... |
Hi @joe-lawrence |
Thanks for the link to that specific stable kernel version. The patch now applies, however doesn't build for me:
Do I need to backport further patches to 4.14.134? |
@joe-lawrence @jpoimboe Thanks for your review. |
This commit is still dirty, and is jumbling cut & pasted referring to dynup#1010 and dynup#1206.
This commit is still dirty, and is jumbling cut & pasted referring to dynup#1010 and dynup#1203.
This commit is still dirty because I'm jumbling cut & pasted referring to dynup#1010 and dynup#1203.
Hi,
I have tried to send this patch to mailing-list.
We are trying to add aarch64 support for kpatch.
kernel-patch directory contains the patch that should be applied to kernel(tested on 4.14)
User should do that before using kpatch.
Need your comments, thanks.