Update Android 13 GKI KMI symbol files and test

This change removes Android 12 GKI 5.4 and 5.10 kernel symbol files,
and adds kernel symbol files for the first public release of
Android 13 GKI 5.10 and 5.15, against which the future kernel symbol
files can be cheked to make sure GKI KMI compatibility.

Bug: 238597473
Test: $ lunch aosp_arm64-userdebug
      $ m a13_kmi_compatibility_test
Change-Id: I3b0eb7af36dd4a4174d4031735428a089278565a
This commit is contained in:
Isaac Chen
2022-07-12 14:59:15 +08:00
parent 7a89ee5b1b
commit 146bf2790d
11 changed files with 10176 additions and 26040 deletions

View File

@@ -20,35 +20,35 @@ KMI_CHK_SCRIPT := $(LOCAL_PATH)/kmi_compatibility_test.sh
# The reason not to use the one under kernel/prebuilts/5.* by default
# is because the KMI ABI may not be stable during development.
#
# Set CURR_5_4_SYMVERS/CURR_5_10_SYMVERS explicitly for the actual
# Set CURR_5_15_SYMVERS/CURR_5_10_SYMVERS explicitly for the actual
# current kernel symbol file to be checked. E.g.,
# $ m CURR_5_10_SYMVERS=kernel/prebuilts/5.10/arm64/vmlinux.symvers \
# gki_5_10_kmi_compatibility_test
CURR_5_4_SYMVERS ?= development/gki/kmi_abi_chk/sym-5.4/Module.symvers
CURR_5_15_SYMVERS ?= development/gki/kmi_abi_chk/sym-5.15/vmlinux.symvers
CURR_5_10_SYMVERS ?= development/gki/kmi_abi_chk/sym-5.10/vmlinux.symvers
# Previous kernel symbol files, against which the latest one is checked
# The file names of previous kernel symbol files are of this form:
# *.symvers-$(BID)
# Here *.symvers is a symbolic link to the latest build.
PREV_5_4_SYMVERS := $(LOCAL_PATH)/sym-5.4/Module.symvers
PREV_5_15_SYMVERS := $(LOCAL_PATH)/sym-5.15/vmlinux.symvers
PREV_5_10_SYMVERS := $(LOCAL_PATH)/sym-5.10/vmlinux.symvers
include $(CLEAR_VARS)
LOCAL_MODULE := gki_5_4_kmi_compatibility_test
LOCAL_MODULE := a13_5_15_kmi_compatibility_test
LOCAL_MODULE_CLASS := FAKE
LOCAL_MODULE_TAGS := optional
LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
LOCAL_LICENSE_CONDITIONS := notice
include $(BUILD_SYSTEM)/base_rules.mk
$(LOCAL_BUILT_MODULE): $(KMI_CHK_SCRIPT) $(CURR_5_4_SYMVERS) $(PREV_5_4_SYMVERS)
$(LOCAL_BUILT_MODULE): $(KMI_CHK_SCRIPT) $(CURR_5_15_SYMVERS) $(PREV_5_15_SYMVERS)
@mkdir -p $(dir $@)
$(hide) $(KMI_CHK_SCRIPT) $(CURR_5_4_SYMVERS) $(PREV_5_4_SYMVERS)
$(hide) $(KMI_CHK_SCRIPT) $(CURR_5_15_SYMVERS) $(PREV_5_15_SYMVERS)
$(hide) touch $@
include $(CLEAR_VARS)
LOCAL_MODULE := gki_5_10_kmi_compatibility_test
LOCAL_MODULE := a13_5_10_kmi_compatibility_test
LOCAL_MODULE_CLASS := FAKE
LOCAL_MODULE_TAGS := optional
LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
@@ -61,8 +61,8 @@ $(LOCAL_BUILT_MODULE): $(KMI_CHK_SCRIPT) $(CURR_5_10_SYMVERS) $(PREV_5_10_SYMVER
$(hide) touch $@
include $(CLEAR_VARS)
LOCAL_MODULE := gki_kmi_compatibility_test
LOCAL_REQUIRED_MODULES := gki_5_4_kmi_compatibility_test gki_5_10_kmi_compatibility_test
LOCAL_MODULE := a13_kmi_compatibility_test
LOCAL_REQUIRED_MODULES := a13_5_15_kmi_compatibility_test a13_5_10_kmi_compatibility_test
LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
LOCAL_LICENSE_CONDITIONS := notice
include $(BUILD_PHONY_PACKAGE)

View File

@@ -1 +1 @@
vmlinux.symvers-7833008
vmlinux.symvers-8771756

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1 @@
vmlinux.symvers-8747247

File diff suppressed because it is too large Load Diff

View File

@@ -1 +0,0 @@
Module.symvers-7855344

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff