From 1c25cf621d15e9831d7783ae34fb43b4dc084419 Mon Sep 17 00:00:00 2001 From: Lucas Wei Date: Mon, 3 May 2021 17:02:17 +0800 Subject: [PATCH] ANDROID: Add allowed symbols requried from Qualcomm drivers Kernel modules of qpnp-smb5-charger.ko, swr_ctrl_dlkm.ko and msm_drm.ko added new requirements to exported kernel symbols. Add these symbols into symbol list to make it able to boot with android common kernel. Leaf changes summary: 4 artifacts changed Changed leaf types summary: 0 leaf type changed Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 4 Added functions Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 0 Added variable 4 Added functions: [A] 'function ktime_t alarm_expires_remaining(const alarm*)' [A] 'function bool drm_edid_is_valid(edid*)' [A] 'function unsigned long int pm_runtime_autosuspend_expiration(device*)' [A] 'function void tracing_off()' Bug: 185091725 Signed-off-by: Lucas Wei Change-Id: Iadd6de18f536a3763becf1c62e152124be9ef405 Signed-off-by: Will McVicker --- android/abi_gki_aarch64.xml | 153 +++++++++++++++++------------------ android/abi_gki_aarch64_qcom | 10 ++- 2 files changed, 84 insertions(+), 79 deletions(-) diff --git a/android/abi_gki_aarch64.xml b/android/abi_gki_aarch64.xml index 3b12c60044c1..c6606fbaa47b 100644 --- a/android/abi_gki_aarch64.xml +++ b/android/abi_gki_aarch64.xml @@ -235,6 +235,7 @@ + @@ -828,6 +829,7 @@ + @@ -1733,6 +1735,7 @@ + @@ -2325,6 +2328,7 @@ + @@ -10811,7 +10815,7 @@ - + @@ -16676,7 +16680,7 @@ - + @@ -16690,7 +16694,7 @@ - + @@ -16698,7 +16702,7 @@ - + @@ -16714,7 +16718,7 @@ - + @@ -16769,7 +16773,7 @@ - + @@ -22469,7 +22473,7 @@ - + @@ -22486,7 +22490,7 @@ - + @@ -30297,7 +30301,7 @@ - + @@ -31637,6 +31641,9 @@ + + + @@ -40837,17 +40844,6 @@ - - - - - - - - - - - @@ -44722,6 +44718,10 @@ + + + + @@ -52855,7 +52855,7 @@ - + @@ -54478,7 +54478,7 @@ - + @@ -58165,7 +58165,7 @@ - + @@ -59778,7 +59778,7 @@ - + @@ -62576,6 +62576,10 @@ + + + + @@ -80197,6 +80201,17 @@ + + + + + + + + + + + @@ -87534,7 +87549,7 @@ - + @@ -110341,24 +110356,24 @@ - - - + + + - - + + - - - + + + - - - - + + + + @@ -110366,19 +110381,19 @@ - - - + + + - - - - + + + + - - + + @@ -123630,10 +123645,16 @@ + + + + + + @@ -125572,12 +125593,12 @@ - - - - - - + + + + + + @@ -125787,28 +125808,6 @@ - - - - - - - - - - - - - - - - - - - - - - @@ -125871,7 +125870,7 @@ - + @@ -125893,7 +125892,7 @@ - + @@ -132744,7 +132743,7 @@ - + diff --git a/android/abi_gki_aarch64_qcom b/android/abi_gki_aarch64_qcom index e7069cb82026..d832a05c4ef8 100644 --- a/android/abi_gki_aarch64_qcom +++ b/android/abi_gki_aarch64_qcom @@ -1054,7 +1054,6 @@ # required by adsprpc.ko set_normalized_timespec64 try_wait_for_completion - vfs_statx # required by arm-memlat-mon.ko perf_event_create_kernel_counter @@ -1752,6 +1751,7 @@ drm_dp_update_payload_part1 drm_dp_update_payload_part2 drm_edid_duplicate + drm_edid_is_valid drm_encoder_cleanup drm_encoder_init drm_err @@ -1898,6 +1898,7 @@ shmem_truncate_range strreplace timespec64_to_jiffies + tracing_off unmap_kernel_range unmap_mapping_range vm_get_page_prot @@ -2150,6 +2151,7 @@ rtc_read_time # required by qpnp-smb5-charger.ko + alarm_expires_remaining iio_channel_release # required by qpnp_pdphy.ko @@ -2160,7 +2162,6 @@ # required by qrtr.ko alloc_skb_with_frags datagram_poll - idr_alloc_u32 in_egroup_p netlink_capable __radix_tree_insert @@ -2496,6 +2497,9 @@ # required by subsystem-restart.ko system_state +# required by swr_ctrl_dlkm.ko + pm_runtime_autosuspend_expiration + # required by system_pm.ko arch_timer_mem_get_cval @@ -2755,8 +2759,10 @@ # preserved by --additions-only crc32_le generic_file_mmap + idr_alloc_u32 simple_getattr simple_strtoull soc_find_component + vfs_statx vm_map_ram vm_unmap_ram