ANDROID: GKI: Remove unused symbol lists

Symbol lists which are not updated after the fork
from the 13-5.15 kernel are deleted to force
regeneration of those lists when needed.

Remove stale symbols from the remaining lists.
Stale symbols (exported in 13-5.15 but not in 14-5.15):
- kfree_skb
- tty_schedule_flip

Bug: 248334110
Signed-off-by: Ramji Jiyani <ramjiyani@google.com>
Change-Id: Icc5ef9feb9f5268ac19a84979951c3e15afc2af5
This commit is contained in:
Ramji Jiyani
2022-09-22 05:35:27 +00:00
parent edfdfcf556
commit 44e8479df1
15 changed files with 0 additions and 15268 deletions

View File

@@ -25,17 +25,7 @@ _aarch64_additional_kmi_symbol_lists = [
# keep sorted
"android/abi_gki_aarch64_db845c",
"android/abi_gki_aarch64_exynos",
"android/abi_gki_aarch64_exynosauto",
"android/abi_gki_aarch64_fips140",
"android/abi_gki_aarch64_honor",
"android/abi_gki_aarch64_imx",
"android/abi_gki_aarch64_mtk",
"android/abi_gki_aarch64_mtktv",
"android/abi_gki_aarch64_oplus",
"android/abi_gki_aarch64_pixel",
"android/abi_gki_aarch64_qcom",
"android/abi_gki_aarch64_unisoc",
"android/abi_gki_aarch64_virtual_device",
]
define_common_kernels(target_configs = {

View File

@@ -328,7 +328,6 @@
kernel_sendmsg
kfree
kfree_const
kfree_skb
__kmalloc
kmalloc_caches
kmalloc_order_trace

File diff suppressed because it is too large Load Diff

View File

@@ -1,144 +0,0 @@
[abi_symbol_list]
# commonly used symbols
module_layout
__put_task_struct
# required by fips140.ko
aead_register_instance
ahash_register_instance
arch_timer_read_counter
bcmp
__cfi_slowpath_diag
complete_all
completion_done
cpu_have_feature
crypto_aead_decrypt
crypto_aead_encrypt
crypto_aead_setauthsize
crypto_aead_setkey
crypto_ahash_finup
crypto_ahash_setkey
crypto_alg_list
crypto_alg_sem
crypto_alloc_aead
crypto_alloc_base
crypto_alloc_rng
crypto_alloc_shash
crypto_alloc_skcipher
crypto_attr_alg_name
crypto_check_attr_type
crypto_cipher_encrypt_one
crypto_cipher_setkey
crypto_destroy_tfm
crypto_drop_spawn
crypto_get_default_null_skcipher
crypto_grab_aead
crypto_grab_ahash
crypto_grab_shash
crypto_grab_skcipher
crypto_grab_spawn
crypto_inst_setname
crypto_put_default_null_skcipher
crypto_register_aead
crypto_register_aeads
crypto_register_ahash
crypto_register_ahashes
crypto_register_alg
crypto_register_algs
crypto_register_rng
crypto_register_rngs
crypto_register_shash
crypto_register_shashes
crypto_register_skcipher
crypto_register_skciphers
crypto_register_template
crypto_register_templates
crypto_remove_spawns
crypto_req_done
crypto_rng_reset
crypto_shash_alg_has_setkey
crypto_shash_digest
crypto_shash_final
crypto_shash_finup
crypto_shash_setkey
crypto_shash_tfm_digest
crypto_shash_update
crypto_skcipher_decrypt
crypto_skcipher_encrypt
crypto_skcipher_setkey
crypto_spawn_tfm2
crypto_spawn_tfm
crypto_unregister_aead
crypto_unregister_alg
crypto_unregister_rng
crypto_unregister_rngs
crypto_unregister_shash
crypto_unregister_shashes
crypto_unregister_skciphers
crypto_unregister_template
crypto_unregister_templates
down_write
fpsimd_context_busy
get_random_bytes
__init_swait_queue_head
irq_stat
kasan_flag_enabled
kernel_neon_begin
kernel_neon_end
kfree
kfree_sensitive
__kmalloc
kmalloc_caches
kmem_cache_alloc_trace
kmemdup
ktime_get
__list_add_valid
__list_del_entry_valid
memcpy
memset
__mutex_init
mutex_lock
mutex_unlock
panic
preempt_schedule
preempt_schedule_notrace
_printk
___ratelimit
_raw_spin_lock
_raw_spin_unlock
refcount_warn_saturate
rng_is_initialized
scatterwalk_ffwd
scatterwalk_map_and_copy
sg_init_one
sg_init_table
sg_next
shash_free_singlespawn_instance
shash_register_instance
skcipher_alloc_instance_simple
skcipher_register_instance
skcipher_walk_aead_decrypt
skcipher_walk_aead_encrypt
skcipher_walk_done
skcipher_walk_virt
snprintf
__stack_chk_fail
strcmp
strlcat
strlcpy
strlen
strncmp
__traceiter_android_vh_aes_decrypt
__traceiter_android_vh_aes_encrypt
__traceiter_android_vh_aes_expandkey
__traceiter_android_vh_sha256
__tracepoint_android_vh_aes_decrypt
__tracepoint_android_vh_aes_encrypt
__tracepoint_android_vh_aes_expandkey
__tracepoint_android_vh_sha256
tracepoint_probe_register
__ubsan_handle_cfi_check_fail_abort
up_write
wait_for_completion
xa_load
xa_store

View File

@@ -1,19 +0,0 @@
[abi_symbol_list]
__traceiter_android_vh_rwsem_init
__traceiter_android_vh_rwsem_wake
__traceiter_android_vh_rwsem_write_finished
__traceiter_android_vh_alter_rwsem_list_add
__traceiter_android_vh_mutex_init
__traceiter_android_vh_alter_mutex_list_add
__traceiter_android_vh_mutex_unlock_slowpath
__traceiter_android_vh_mutex_wait_start
__traceiter_android_vh_mutex_wait_finish
__tracepoint_android_vh_rwsem_init
__tracepoint_android_vh_rwsem_wake
__tracepoint_android_vh_rwsem_write_finished
__tracepoint_android_vh_alter_rwsem_list_add
__tracepoint_android_vh_mutex_init
__tracepoint_android_vh_alter_mutex_list_add
__tracepoint_android_vh_mutex_unlock_slowpath
__tracepoint_android_vh_mutex_wait_start
__tracepoint_android_vh_mutex_wait_finish

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

@@ -1,204 +0,0 @@
[abi_symbol_list]
address_space_init_once
alloc_anon_inode
__alloc_pages
__alloc_percpu
arm64_const_caps_ready
autoremove_wake_function
bcmp
bio_add_page
bio_alloc_bioset
bio_associate_blkg
__bio_crypt_clone
bio_crypt_set_ctx
bio_endio
bio_end_io_acct_remapped
bio_put
bio_start_io_acct
__blk_alloc_disk
blk_cleanup_disk
blk_cleanup_queue
blkdev_get_by_path
__blkdev_issue_discard
blkdev_issue_flush
blkdev_put
blk_finish_plug
blk_queue_flag_clear
blk_queue_flag_set
blk_queue_io_min
blk_queue_io_opt
blk_queue_logical_block_size
blk_queue_max_discard_sectors
blk_queue_max_hw_sectors
blk_queue_max_write_zeroes_sectors
blk_queue_physical_block_size
blk_queue_write_cache
blk_start_plug
__class_register
class_unregister
__ClearPageMovable
congestion_wait
contig_page_data
__cpuhp_remove_state
__cpuhp_setup_state
__cpuhp_state_add_instance
__cpuhp_state_remove_instance
cpu_hwcap_keys
cpumask_next
__cpu_online_mask
__cpu_possible_mask
crypto_alloc_base
crypto_comp_compress
crypto_comp_decompress
crypto_destroy_tfm
crypto_has_alg
dec_zone_page_state
delayed_work_timer_fn
del_gendisk
del_timer_sync
device_add_disk
disk_end_io_acct
disk_start_io_acct
downgrade_write
down_read
down_write
finish_wait
flush_dcache_page
flush_work
__free_pages
free_pages
free_percpu
fs_bio_set
fsync_bdev
__get_free_pages
idr_alloc
idr_destroy
idr_find
idr_for_each
idr_remove
inc_zone_page_state
init_pseudo
__init_rwsem
init_timer_key
init_wait_entry
__init_waitqueue_head
io_schedule
iput
jiffies
kasan_flag_enabled
kern_mount
kern_unmount
kfree
kill_anon_super
kmalloc_caches
kmem_cache_alloc
kmem_cache_alloc_trace
kmem_cache_create
kmem_cache_destroy
kmem_cache_free
kobject_create_and_add
kobject_put
kstrdup
kstrtoint
kstrtou16
kstrtoull
kthread_create_on_node
kthread_should_stop
kthread_stop
__list_add_valid
__list_del_entry_valid
__lock_page
memcpy
memparse
memset64
memset
memstart_addr
migrate_page_copy
mod_timer
module_layout
msleep
__mutex_init
mutex_is_locked
mutex_lock
mutex_trylock
mutex_unlock
nr_cpu_ids
__num_online_cpus
page_endio
__page_file_index
page_mapping
param_ops_uint
__per_cpu_offset
preempt_schedule
preempt_schedule_notrace
prepare_to_wait
prepare_to_wait_event
prepare_to_wait_exclusive
_printk
put_disk
__put_page
__put_task_struct
queue_delayed_work_on
queue_work_on
radix_tree_delete
radix_tree_delete_item
radix_tree_insert
radix_tree_lookup
radix_tree_lookup_slot
radix_tree_next_chunk
radix_tree_preload
radix_tree_replace_slot
_raw_read_lock
_raw_read_unlock
_raw_spin_lock
_raw_spin_lock_irqsave
_raw_spin_unlock
_raw_spin_unlock_irqrestore
_raw_write_lock
_raw_write_unlock
__rcu_read_lock
__rcu_read_unlock
__register_blkdev
register_reboot_notifier
register_shrinker
schedule
schedule_timeout
scnprintf
shrink_slab
set_capacity
set_capacity_and_notify
__SetPageMovable
snprintf
sprintf
__stack_chk_fail
strcmp
strcpy
strlcpy
strlen
strncpy
submit_bio
sysfs_create_files
__sysfs_match_string
sysfs_remove_files
sysfs_streq
system_freezable_wq
system_wq
__ubsan_handle_cfi_check_fail_abort
unlock_page
unregister_blkdev
unregister_reboot_notifier
unregister_shrinker
up_read
up_write
vfree
vzalloc
__wake_up
wake_up_process
__traceiter_android_vh_page_referenced_check_bypass
__traceiter_android_vh_drain_all_pages_bypass
__traceiter_android_vh_cma_drain_all_pages_bypass
__traceiter_android_vh_pcplist_add_cma_pages_bypass
__tracepoint_android_vh_page_referenced_check_bypass
__tracepoint_android_vh_drain_all_pages_bypass
__tracepoint_android_vh_cma_drain_all_pages_bypass
__tracepoint_android_vh_pcplist_add_cma_pages_bypass

View File

@@ -962,7 +962,6 @@
__kfifo_out_peek
kfree
kfree_sensitive
kfree_skb
kfree_skb_list
kill_anon_super
kill_fasync

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

@@ -1,3 +0,0 @@
mm/zsmalloc.ko
crypto/fips140.ko
drivers/block/zram/zram.ko

View File

@@ -12,19 +12,9 @@ Image.gz
#ABI_DEFINITION=android/abi_gki_aarch64.xml
KMI_SYMBOL_LIST=android/abi_gki_aarch64
ADDITIONAL_KMI_SYMBOL_LISTS="
android/abi_gki_aarch64_virtual_device
android/abi_gki_aarch64_db845c
android/abi_gki_aarch64_exynos
android/abi_gki_aarch64_exynosauto
android/abi_gki_aarch64_fips140
android/abi_gki_aarch64_honor
android/abi_gki_aarch64_imx
android/abi_gki_aarch64_pixel
android/abi_gki_aarch64_mtktv
android/abi_gki_aarch64_mtk
android/abi_gki_aarch64_qcom
android/abi_gki_aarch64_unisoc
android/abi_gki_aarch64_oplus
"
FILES="${FILES}