From 316cffd398dc54ee3c5a4ddbf319998f8c5e8309 Mon Sep 17 00:00:00 2001 From: Ramji Jiyani Date: Mon, 24 Oct 2022 13:37:33 -0700 Subject: [PATCH] ANDROID: GKI: Convert zram & zsmalloc as protected Remove zram & zsmalloc symbols from abi_gki_aarch64. This makes these modules as protected until some partner adds these symbols in their symbol list to override them. This also cleans up the generic symbol list as per the GKI modules symbol handling i.e. GKI modules don't contribute to the KMIs until they are being override by the partners. Bug: 232431151 Test: TH Signed-off-by: Ramji Jiyani Change-Id: I30fb0a46f306d1efdc7e174725066dcc86040e80 --- android/abi_gki_aarch64 | 140 ---------------------------------------- 1 file changed, 140 deletions(-) diff --git a/android/abi_gki_aarch64 b/android/abi_gki_aarch64 index c1a3d1077e16..57914f291962 100644 --- a/android/abi_gki_aarch64 +++ b/android/abi_gki_aarch64 @@ -1,144 +1,4 @@ [abi_symbol_list] # commonly used symbols - arm64_const_caps_ready - __cpuhp_remove_state - __cpuhp_setup_state - cpu_hwcap_keys - kasan_flag_enabled - kfree - kmalloc_caches - kmem_cache_alloc_trace - memcpy module_layout - __per_cpu_offset - preempt_schedule - _printk __put_task_struct - __stack_chk_fail - __ubsan_handle_cfi_check_fail_abort - -# required by zram.ko - __alloc_percpu - bio_endio - bio_end_io_acct_remapped - bio_start_io_acct - __blk_alloc_disk - blk_cleanup_disk - 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_write_zeroes_sectors - blk_queue_physical_block_size - __class_register - class_unregister - __cpuhp_state_add_instance - __cpuhp_state_remove_instance - cpumask_next - __cpu_possible_mask - crypto_alloc_base - crypto_comp_compress - crypto_comp_decompress - crypto_destroy_tfm - crypto_has_alg - del_gendisk - device_add_disk - disk_end_io_acct - disk_start_io_acct - down_read - down_write - flush_dcache_page - free_pages - free_percpu - fsync_bdev - __get_free_pages - idr_alloc - idr_destroy - idr_find - idr_for_each - idr_remove - __init_rwsem - kstrtoint - kstrtou16 - kstrtoull - memparse - memset64 - mutex_is_locked - mutex_lock - mutex_unlock - nr_cpu_ids - __num_online_cpus - page_endio - param_ops_uint - __register_blkdev - scnprintf - set_capacity - set_capacity_and_notify - snprintf - strcmp - strcpy - strlcpy - strlen - __sysfs_match_string - sysfs_streq - unregister_blkdev - up_read - up_write - vfree - vzalloc - zs_compact - zs_create_pool - zs_destroy_pool - zs_free - zs_get_total_pages - zs_huge_class_size - zs_malloc - zs_map_object - zs_pool_stats - zs_unmap_object - -# required by zsmalloc.ko - alloc_anon_inode - __alloc_pages - __ClearPageMovable - contig_page_data - dec_zone_page_state - finish_wait - flush_work - __free_pages - inc_zone_page_state - init_pseudo - init_wait_entry - __init_waitqueue_head - iput - kern_mount - kern_unmount - kill_anon_super - kmem_cache_alloc - kmem_cache_create - kmem_cache_destroy - kmem_cache_free - kstrdup - __list_add_valid - __list_del_entry_valid - __lock_page - memstart_addr - page_mapping - prepare_to_wait_event - __put_page - queue_work_on - _raw_read_lock - _raw_read_unlock - _raw_spin_lock - _raw_spin_unlock - _raw_write_lock - _raw_write_unlock - register_shrinker - schedule - __SetPageMovable - system_wq - unlock_page - unregister_shrinker - __wake_up