Open adamliyi opened 2 years ago
In upstream, livepatch in ARM64 is not supported. But Openeuler has a un-official implementation.
Openeuler livepatch implementation can be found in https://github.com/openeuler-mirror/kernel/tree/OLK-5.10 and https://gitee.com/src-openeuler/kpatch repo.
Status update:
Linux kernel part backporting was done, and can be run normally. kpatch-build tool backporting have a draft version. But have some error when building livepatch ko.
To use livepatch in Ampere LTS 5.10, check https://github.com/AmpereComputing/ampere-lts-kernel/wiki/Livepatch-in-Ampere-LTS
Kselftest livepatch test cases failed because the test case relies on ftrace. For arm64, even if we apply the livepatch from PR: https://github.com/AmpereComputing/ampere-lts-kernel/pull/141, the kselftest test case still fail.
5.10 kernel kselftest livepatch test was skipped. We need to verify livepatch can work on Altra.