Current/latest kernel symbol information files default to:
- kernel/prebuilts/5.4/arm64/Module.symvers (for GKI 5.4)
- kernel/prebuilts/5.10/arm64/vmlinux.symvers (for GKI 5.10)
All kernel symbol information files in this CL are manually copied
from AB of corresponding kernel branches.
The history kernel symbol information files in this CL are
sym-5.*/ directories. The ones without build ID suffix are
symbolic links to the latest ones and can be used for
testing the build test of this CL (see Test below).
After *.symvers diles are released to kernel/prebuilts/5.*/arm64
directories on the Android branch, they will be used as the
current/latest kernel symbol files by default.
3 moudules are created in this CL:
gki_5_4_kmi_compatibility_test (for arm64 GKI 5.4)
gki_5_10_kmi_compatibility_test (for arm64 GKI 5.10)
gki_kmi_compatibility_test (for both arm64 GKI 5.4 & 5.10)
Bug: 206064990
Test: $ m gki_kmi_compatibility_test
Change-Id: I2e966070a392cfd6284676c7598138b5cad4717b
2 symbols (get_net_ns and prepare_to_wait_exclusive) not supported
by the arm64 GKI KMI, were accidentally included in the related
kernel test module. This change removes those symbols
Bug: 205515339
Test: On a device booted with the recently released arm64 GKI 5.4:
$ adb shell uname -a
Linux localhost 5.4.147-android12-9-00038-g7eb444cc279e-ab7855344 #1 SMP PREEMPT Fri Oct 22 01:45:28 UTC 2021 aarch64
$ atest kmi_comp_test
...
Running Tests...
arm64-v8a kmi_comp_test
-----------------------
kmi_comp_test (1 Test)
[1/1] kmi_comp_test#kmi_comp_test: PASSED (136ms)
Summary
-------
arm64-v8a kmi_comp_test: Passed: 1, Failed: 0, Ignored: 0, Assumption Failed: 0,
All tests passed!
Change-Id: I79808936b389d7eae7b400f8d8d09626baa4d9bc
This kernel module uses all the kernel symbols supported by arm64 GKI
build 7618735, the first arm64 GKI release (respin 5) for Android 12.
Bug: 196933449
Test: Load kmi_sym.ko on arm64 GKI on GF successfully. See README for details.
Change-Id: Idf4c9f5dcac128faf4d08bf9cdec780d0dd54ed8