From 2f04489ef3fdc0afe39cacbf9ae9d4248c34e93b Mon Sep 17 00:00:00 2001 From: Amit Pundir Date: Tue, 6 Dec 2022 00:26:08 +0530 Subject: [PATCH] ANDROID: GKI: db845c: Update symbols list and ABI android13-5.10 is broken on Dragonboard 845c because of recently added symbols. So updated the symbols list by running: "BUILD_CONFIG=common/build.config.db845c \ KMI_SYMBOL_LIST_ADD_ONLY=1 build/build_abi.sh -s" And the abi_gki_aarch64 ABI by running: "BUILD_CONFIG=common/build.config.gki.aarch64 \ ABI_DEFINITION=abi_gki_aarch64.xml KMI_SYMBOL_LIST_ADD_ONLY=1 \ build/build_abi.sh --update --print-report" ======================================================== ABI DIFFERENCES HAVE BEEN DETECTED! 4 function symbol(s) added 'struct reset_control * __reset_control_get(struct device *, const char *, int, bool, bool, bool)' 'void * devm_platform_get_and_ioremap_resource(struct platform_device *, unsigned int, struct resource * *)' 'void reset_control_put(struct reset_control *)' 'ssize_t strscpy_pad(char *, const char *, size_t)' ======================================================== This ABI and symbols update end up adding a lot more symbols than the above 4 missing function symbols: * devm_get_clk_from_child symbol was added in commit 6f3673c8d8ef ("phy: qcom-qmp: fix struct clk leak on probe errors") * xa_* symbols were added in commit 4f7286422a78 ("qrtr: Convert qrtr_ports from IDR to XArray") Bug: 146449535 Fixes: 66651d719948 ("mmc: sdhci-msm: Reset GCC_SDCC_BCR register for SDHC") Fixes: 3660db29b030 ("iommu/arm-smmu: fix possible null-ptr-deref in arm_smmu_device_probe()") Fixes: 0a49bfa8f82f ("rpmsg: qcom: glink: replace strncpy() with strscpy_pad()") Signed-off-by: Amit Pundir Change-Id: I620624933bde04c663d753b4e970f9b1156c396b --- android/abi_gki_aarch64.xml | 414 ++++++++++++++++++--------------- android/abi_gki_aarch64_db845c | 23 +- 2 files changed, 240 insertions(+), 197 deletions(-) diff --git a/android/abi_gki_aarch64.xml b/android/abi_gki_aarch64.xml index 22fd3517cc8e..4d8427e1cdf3 100644 --- a/android/abi_gki_aarch64.xml +++ b/android/abi_gki_aarch64.xml @@ -179,6 +179,7 @@ + @@ -1169,6 +1170,7 @@ + @@ -2938,6 +2940,7 @@ + @@ -3412,6 +3415,7 @@ + @@ -5277,7 +5281,7 @@ - + @@ -7361,7 +7365,7 @@ - + @@ -12025,7 +12029,7 @@ - + @@ -12532,7 +12536,7 @@ - + @@ -14997,7 +15001,7 @@ - + @@ -16364,7 +16368,7 @@ - + @@ -21951,7 +21955,7 @@ - + @@ -34345,7 +34349,7 @@ - + @@ -36830,13 +36834,13 @@ - + - + - + @@ -36860,7 +36864,7 @@ - + @@ -36878,13 +36882,13 @@ - + - + @@ -36893,7 +36897,7 @@ - + @@ -36902,7 +36906,7 @@ - + @@ -40026,7 +40030,7 @@ - + @@ -44311,7 +44315,7 @@ - + @@ -47339,7 +47343,7 @@ - + @@ -52141,7 +52145,7 @@ - + @@ -55468,7 +55472,7 @@ - + @@ -61368,7 +61372,7 @@ - + @@ -65851,7 +65855,7 @@ - + @@ -70722,7 +70726,7 @@ - + @@ -72740,15 +72744,7 @@ - - - - - - - - - + @@ -72762,7 +72758,7 @@ - + @@ -72770,7 +72766,7 @@ - + @@ -72778,12 +72774,12 @@ - + - + @@ -72791,7 +72787,7 @@ - + @@ -72799,7 +72795,7 @@ - + @@ -72819,7 +72815,7 @@ - + @@ -72827,7 +72823,7 @@ - + @@ -72838,7 +72834,7 @@ - + @@ -72846,7 +72842,7 @@ - + @@ -72854,7 +72850,7 @@ - + @@ -72862,7 +72858,7 @@ - + @@ -72876,7 +72872,7 @@ - + @@ -72905,7 +72901,7 @@ - + @@ -72916,7 +72912,7 @@ - + @@ -72924,7 +72920,7 @@ - + @@ -72932,7 +72928,7 @@ - + @@ -72940,7 +72936,7 @@ - + @@ -72948,7 +72944,7 @@ - + @@ -72959,7 +72955,7 @@ - + @@ -72967,7 +72963,7 @@ - + @@ -72978,7 +72974,7 @@ - + @@ -72989,7 +72985,7 @@ - + @@ -73003,7 +72999,7 @@ - + @@ -73011,7 +73007,7 @@ - + @@ -73028,7 +73024,7 @@ - + @@ -73036,7 +73032,7 @@ - + @@ -73044,7 +73040,7 @@ - + @@ -73052,7 +73048,7 @@ - + @@ -73078,12 +73074,12 @@ - + - + @@ -73124,7 +73120,7 @@ - + @@ -73132,7 +73128,7 @@ - + @@ -73140,7 +73136,7 @@ - + @@ -73148,6 +73144,14 @@ + + + + + + + + @@ -83085,10 +83089,10 @@ - + - + @@ -86542,7 +86546,7 @@ - + @@ -86944,7 +86948,7 @@ - + @@ -89132,7 +89136,7 @@ - + @@ -89494,7 +89498,7 @@ - + @@ -90231,7 +90235,7 @@ - + @@ -97033,6 +97037,7 @@ + @@ -100381,7 +100386,7 @@ - + @@ -100610,7 +100615,7 @@ - + @@ -100781,7 +100786,7 @@ - + @@ -100880,7 +100885,7 @@ - + @@ -100889,7 +100894,7 @@ - + @@ -111532,49 +111537,49 @@ - - - - + + + + - - - + + + - - - - - - - + + + + + + + - - - - - - - + + + + + + + - - - - + + + + - - - - + + + + @@ -112174,7 +112179,7 @@ - + @@ -112336,6 +112341,15 @@ + + + + + + + + + @@ -114557,8 +114571,8 @@ - - + + @@ -114583,8 +114597,8 @@ - - + + @@ -114600,13 +114614,13 @@ - - + + - - - + + + @@ -114628,26 +114642,26 @@ - - - + + + - - - + + + - - + + - - + + @@ -114677,9 +114691,9 @@ - - - + + + @@ -114688,10 +114702,10 @@ - - - - + + + + @@ -115990,8 +116004,8 @@ - - + + @@ -116983,9 +116997,9 @@ - - - + + + @@ -118019,6 +118033,12 @@ + + + + + + @@ -118693,22 +118713,22 @@ - - + + - - - + + + - - + + - - - + + + @@ -124712,8 +124732,8 @@ - - + + @@ -124725,26 +124745,26 @@ - - - - + + + + - - + + - - - + + + - - - - - + + + + + @@ -124832,18 +124852,18 @@ - - - + + + - - - + + + - - + + @@ -126033,24 +126053,24 @@ - - - + + + - - - - + + + + - - + + - - - + + + @@ -127150,6 +127170,10 @@ + + + + @@ -129667,6 +129691,12 @@ + + + + + + @@ -130447,12 +130477,12 @@ - - + + - - + + @@ -130467,8 +130497,8 @@ - - + + diff --git a/android/abi_gki_aarch64_db845c b/android/abi_gki_aarch64_db845c index ec944e48a1b9..742e9c7e5070 100644 --- a/android/abi_gki_aarch64_db845c +++ b/android/abi_gki_aarch64_db845c @@ -475,6 +475,7 @@ request_threaded_irq reset_control_assert reset_control_deassert + reset_control_put reset_control_reset rpmsg_register_device rpmsg_send @@ -551,6 +552,7 @@ strncpy strnlen strpbrk + strscpy_pad strsep __sw_hweight32 __sw_hweight64 @@ -614,6 +616,7 @@ bus_set_iommu device_link_add device_match_fwnode + devm_platform_get_and_ioremap_resource driver_find_device generic_device_group generic_iommu_put_resv_regions @@ -1145,6 +1148,8 @@ kthread_create_worker kthread_destroy_worker kthread_queue_work + kthread_should_stop + kthread_stop kvfree kvmalloc_node llist_add_batch @@ -1267,7 +1272,7 @@ usb_remove_hcd # required by phy-qcom-qmp.ko - of_clk_get_by_name + devm_get_clk_from_child __of_reset_control_get # required by phy-qcom-qusb2.ko @@ -1439,7 +1444,6 @@ autoremove_wake_function datagram_poll do_wait_intr_irq - idr_alloc_u32 lock_sock_nested proto_register proto_unregister @@ -1470,6 +1474,12 @@ sock_register sock_unregister synchronize_rcu + __xa_alloc + xa_erase + xa_find + xa_find_after + __xa_insert + xa_load # required by reboot-mode.ko devres_add @@ -1506,6 +1516,7 @@ mmc_regulator_set_vqmmc mmc_send_tuning regulator_is_supported_voltage + __reset_control_get __sdhci_add_host sdhci_add_host sdhci_cleanup_host @@ -1575,9 +1586,6 @@ # required by snd-soc-wcd9335.ko kmemdup_nul - snd_soc_get_volsw_sx - snd_soc_info_volsw_sx - snd_soc_put_volsw_sx strnstr # required by snd-soc-wcd934x.ko @@ -1671,6 +1679,7 @@ ethtool_op_get_ts_info eth_validate_addr generic_mii_ioctl + idr_alloc_u32 mii_ethtool_get_link_ksettings mii_ethtool_gset mii_ethtool_set_link_ksettings @@ -1679,7 +1688,11 @@ netdev_info netdev_warn netif_carrier_on + of_clk_get_by_name snd_pcm_create_iec958_consumer_hw_params + snd_soc_get_volsw_sx + snd_soc_info_volsw_sx + snd_soc_put_volsw_sx usb_deregister usbnet_disconnect usbnet_get_endpoints