From 47f52dcd7fa39d7dd73043032ef5e711a843d464 Mon Sep 17 00:00:00 2001 From: John Stultz Date: Mon, 3 Aug 2020 23:00:22 +0000 Subject: [PATCH] ANDROID: KABI updates for db845c (USB_DWC3 whiplash fixups) Updated via the following method: $ ./build/abi/bootstrap $ BUILD_CONFIG=common/build.config.db845c build/build.sh $ ./build/abi/extract_symbols out/android11-5.4/ --whitelist common/android/abi_gki_aarch64_db845c $ BUILD_CONFIG=common/build.config.gki.aarch64 build/build_abi.sh --update --print-report ABI DIFFERENCES HAVE BEEN DETECTED! (RC=8) ======================================================== Leaf changes summary: 15 artifacts changed Changed leaf types summary: 0 leaf type changed Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 15 Added functions Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 0 Added variable 15 Added functions: [A] 'function usb_phy* devm_usb_get_phy(device*, usb_phy_type)' [A] 'function extcon_dev* extcon_find_edev_by_node(device_node*)' [A] 'function extcon_dev* extcon_get_extcon_dev(const char*)' [A] 'function int usb_add_gadget_udc(device*, usb_gadget*)' [A] 'function const char* usb_decode_ctrl(char*, size_t, __u8, __u8, __u16, __u16, __u16)' [A] 'function void usb_del_gadget_udc(usb_gadget*)' [A] 'function void usb_ep_set_maxpacket_limit(usb_ep*, unsigned int)' [A] 'function void usb_gadget_giveback_request(usb_ep*, usb_request*)' [A] 'function int usb_gadget_map_request_by_dev(device*, usb_request*, int)' [A] 'function void usb_gadget_set_state(usb_gadget*, usb_device_state)' [A] 'function void usb_gadget_udc_reset(usb_gadget*, usb_gadget_driver*)' [A] 'function void usb_gadget_unmap_request_by_dev(device*, usb_request*, int)' [A] 'function usb_device_speed usb_get_maximum_speed(device*)' [A] 'function usb_role_switch* usb_role_switch_register(device*, const usb_role_switch_desc*)' [A] 'function void usb_role_switch_unregister(usb_role_switch*)' ======================================================== Updating expected ABI definition (android/abi_gki_aarch64.xml) Change-Id: I2d46b4954039a09fb40c835ad1d0d86bff92c33e Fixes: 59fd4b22d794 ("Revert "ANDROID: GKI: Enable CONFIG_USB_DWC3"") Signed-off-by: John Stultz --- android/abi_gki_aarch64.xml | 1782 +++++++++++++++++--------------- android/abi_gki_aarch64_db845c | 81 +- 2 files changed, 1016 insertions(+), 847 deletions(-) diff --git a/android/abi_gki_aarch64.xml b/android/abi_gki_aarch64.xml index 62eba3b41562..ae5205e771a9 100644 --- a/android/abi_gki_aarch64.xml +++ b/android/abi_gki_aarch64.xml @@ -948,6 +948,7 @@ + @@ -1382,8 +1383,10 @@ + + @@ -3617,6 +3620,7 @@ + @@ -3645,6 +3649,8 @@ + + @@ -3663,6 +3669,7 @@ + @@ -3670,7 +3677,12 @@ + + + + + @@ -3682,6 +3694,7 @@ + @@ -3726,6 +3739,8 @@ + + @@ -5015,6 +5030,17 @@ + + + + + + + + + + + @@ -14071,17 +14097,6 @@ - - - - - - - - - - - @@ -16510,14 +16525,6 @@ - - - - - - - - @@ -16561,7 +16568,7 @@ - + @@ -18355,7 +18362,7 @@ - + @@ -19482,7 +19489,7 @@ - + @@ -28027,6 +28034,10 @@ + + + + @@ -28039,6 +28050,10 @@ + + + + @@ -36288,7 +36303,7 @@ - + @@ -36385,7 +36400,7 @@ - + @@ -36399,7 +36414,7 @@ - + @@ -41734,7 +41749,7 @@ - + @@ -41899,7 +41914,7 @@ - + @@ -44400,7 +44415,7 @@ - + @@ -44707,7 +44722,7 @@ - + @@ -44725,7 +44740,7 @@ - + @@ -46192,10 +46207,10 @@ - + - + @@ -48694,6 +48709,7 @@ + @@ -48766,6 +48782,8 @@ + + @@ -48797,7 +48815,7 @@ - + @@ -49098,7 +49116,7 @@ - + @@ -49766,7 +49784,7 @@ - + @@ -50722,7 +50740,7 @@ - + @@ -50775,7 +50793,7 @@ - + @@ -51496,7 +51514,7 @@ - + @@ -56230,7 +56248,7 @@ - + @@ -58016,7 +58034,7 @@ - + @@ -58039,7 +58057,7 @@ - + @@ -61049,7 +61067,7 @@ - + @@ -67383,36 +67401,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -67566,6 +67554,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -68090,7 +68104,7 @@ - + @@ -69184,10 +69198,10 @@ - + - + @@ -69240,10 +69254,10 @@ - + - + @@ -69931,7 +69945,7 @@ - + @@ -70646,7 +70660,7 @@ - + @@ -70655,7 +70669,7 @@ - + @@ -71257,7 +71271,7 @@ - + @@ -71304,7 +71318,7 @@ - + @@ -71564,7 +71578,7 @@ - + @@ -72859,7 +72873,7 @@ - + @@ -72880,7 +72894,7 @@ - + @@ -75724,6 +75738,10 @@ + + + + @@ -75738,6 +75756,18 @@ + + + + + + + + + + + + @@ -76345,6 +76375,11 @@ + + + + + @@ -76385,8 +76420,6 @@ - - @@ -76552,7 +76585,7 @@ - + @@ -76737,23 +76770,6 @@ - - - - - - - - - - - - - - - - - @@ -76816,367 +76832,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -77296,23 +76951,13 @@ - - - - - - - - - - @@ -77321,23 +76966,12 @@ - - - - - - - - - - - @@ -77345,29 +76979,18 @@ - - - - - - - - - - - @@ -77375,13 +76998,8 @@ - - - - - @@ -77518,31 +77136,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - @@ -77573,36 +77166,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -77626,12 +77189,6 @@ - - - - - - @@ -77639,11 +77196,6 @@ - - - - - @@ -77675,15 +77227,6 @@ - - - - - - - - - @@ -77692,20 +77235,6 @@ - - - - - - - - - - - - - - @@ -78042,6 +77571,17 @@ + + + + + + + + + + + @@ -78335,17 +77875,6 @@ - - - - - - - - - - - @@ -78939,7 +78468,7 @@ - + @@ -79068,15 +78597,444 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -79125,6 +79083,16 @@ + + + + + + + + + + @@ -79140,6 +79108,20 @@ + + + + + + + + + + + + + + @@ -79163,6 +79145,95 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -80144,6 +80215,11 @@ + + + + + @@ -80176,6 +80252,91 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -80920,7 +81081,7 @@ - + @@ -81649,7 +81810,7 @@ - + @@ -82701,7 +82862,7 @@ - + @@ -82720,7 +82881,7 @@ - + @@ -83222,7 +83383,7 @@ - + @@ -83788,7 +83949,7 @@ - + @@ -83904,7 +84065,7 @@ - + @@ -84219,10 +84380,10 @@ - + - + @@ -84230,7 +84391,7 @@ - + @@ -84489,11 +84650,11 @@ - + - + @@ -84556,7 +84717,7 @@ - + @@ -84632,7 +84793,7 @@ - + @@ -84883,7 +85044,7 @@ - + @@ -84895,15 +85056,15 @@ - + - + - + - + @@ -84920,7 +85081,7 @@ - + @@ -85051,6 +85212,20 @@ + + + + + + + + + + + + + + @@ -85151,7 +85326,7 @@ - + @@ -85166,7 +85341,7 @@ - + @@ -85225,7 +85400,7 @@ - + @@ -85931,7 +86106,7 @@ - + @@ -86560,7 +86735,7 @@ - + @@ -86608,7 +86783,7 @@ - + @@ -86754,7 +86929,7 @@ - + @@ -87251,7 +87426,7 @@ - + @@ -87665,7 +87840,7 @@ - + @@ -89217,7 +89392,7 @@ - + @@ -89443,7 +89618,7 @@ - + @@ -89461,7 +89636,7 @@ - + @@ -90596,10 +90771,10 @@ - + - + @@ -94267,7 +94442,7 @@ - + @@ -98358,7 +98533,7 @@ - + @@ -98390,7 +98565,7 @@ - + @@ -98452,7 +98627,7 @@ - + @@ -98742,7 +98917,7 @@ - + @@ -99535,7 +99710,7 @@ - + @@ -99715,7 +99890,7 @@ - + @@ -99760,7 +99935,7 @@ - + @@ -100097,10 +100272,10 @@ - + - + @@ -100761,16 +100936,16 @@ - + - + - + @@ -100778,7 +100953,7 @@ - + @@ -101112,7 +101287,7 @@ - + @@ -101233,7 +101408,7 @@ - + @@ -101322,7 +101497,7 @@ - + @@ -101645,6 +101820,20 @@ + + + + + + + + + + + + + + @@ -102160,7 +102349,7 @@ - + @@ -102168,20 +102357,6 @@ - - - - - - - - - - - - - - @@ -102414,20 +102589,6 @@ - - - - - - - - - - - - - - @@ -102757,25 +102918,6 @@ - - - - - - - - - - - - - - - - - - - @@ -102858,6 +103000,20 @@ + + + + + + + + + + + + + + @@ -103496,7 +103652,7 @@ - + @@ -103559,7 +103715,7 @@ - + @@ -104066,10 +104222,10 @@ - + - + @@ -104143,7 +104299,15 @@ - + + + + + + + + + @@ -104162,6 +104326,22 @@ + + + + + + + + + + + + + + + + @@ -104338,28 +104518,15 @@ - + - + - - - - - - + - - - - - - - - - + @@ -104387,7 +104554,7 @@ - + @@ -105077,7 +105244,7 @@ - + @@ -105085,7 +105252,7 @@ - + @@ -105099,7 +105266,7 @@ - + @@ -105107,7 +105274,7 @@ - + @@ -105115,7 +105282,7 @@ - + @@ -106887,7 +107054,7 @@ - + @@ -106895,7 +107062,7 @@ - + @@ -106903,7 +107070,7 @@ - + @@ -106995,7 +107162,7 @@ - + @@ -107278,7 +107445,7 @@ - + @@ -107287,7 +107454,7 @@ - + @@ -108190,10 +108357,10 @@ - + - + @@ -108215,10 +108382,10 @@ - + - + @@ -108557,15 +108724,15 @@ - + - + - + - + @@ -108677,7 +108844,7 @@ - + @@ -108717,14 +108884,6 @@ - - - - - - - - @@ -108742,18 +108901,7 @@ - - - - - - - - - - - - + @@ -108761,7 +108909,7 @@ - + @@ -109235,7 +109383,7 @@ - + @@ -109668,7 +109816,7 @@ - + @@ -109680,7 +109828,7 @@ - + @@ -109689,7 +109837,7 @@ - + @@ -109733,7 +109881,7 @@ - + @@ -109752,7 +109900,7 @@ - + @@ -111352,7 +111500,7 @@ - + @@ -111371,10 +111519,10 @@ - + - + @@ -111382,7 +111530,7 @@ - + @@ -114488,7 +114636,7 @@ - + @@ -114504,7 +114652,7 @@ - + @@ -114520,7 +114668,7 @@ - + @@ -114542,7 +114690,7 @@ - + @@ -114550,7 +114698,7 @@ - + @@ -115393,10 +115541,10 @@ - + - + @@ -115532,10 +115680,10 @@ - + - + @@ -116111,17 +116259,6 @@ - - - - - - - - - - - @@ -116263,7 +116400,7 @@ - + @@ -116418,7 +116555,7 @@ - + @@ -117212,17 +117349,17 @@ - + - + - + @@ -117275,7 +117412,7 @@ - + @@ -117292,7 +117429,7 @@ - + @@ -117301,12 +117438,12 @@ - + - + - + @@ -117318,7 +117455,7 @@ - + @@ -117326,7 +117463,7 @@ - + @@ -117365,7 +117502,7 @@ - + @@ -118127,7 +118264,6 @@ - @@ -118348,7 +118484,7 @@ - + @@ -118516,7 +118652,7 @@ - + @@ -119200,7 +119336,7 @@ - + @@ -119317,10 +119453,10 @@ - + - + @@ -119405,10 +119541,10 @@ - + - + @@ -119427,10 +119563,10 @@ - + - + @@ -120278,7 +120414,7 @@ - + @@ -121487,7 +121623,7 @@ - + @@ -122102,7 +122238,7 @@ - + diff --git a/android/abi_gki_aarch64_db845c b/android/abi_gki_aarch64_db845c index 0bcc4a151379..b99674a160cd 100644 --- a/android/abi_gki_aarch64_db845c +++ b/android/abi_gki_aarch64_db845c @@ -45,6 +45,7 @@ _dev_err dev_get_regmap device_init_wakeup + device_property_present device_property_read_u32_array device_set_wakeup_capable device_wakeup_enable @@ -65,20 +66,24 @@ __devm_of_phy_provider_register devm_of_platform_populate devm_phy_create + devm_phy_get devm_pinctrl_register __devm_regmap_init_mmio_clk devm_regulator_bulk_get devm_regulator_get devm_regulator_register devm_request_threaded_irq + devm_reset_control_array_get __devm_reset_control_get devm_reset_controller_register + devm_usb_get_phy_by_phandle devm_watchdog_register_device _dev_notice dev_pm_opp_get_level dev_set_name _dev_warn disable_irq + disable_irq_nosync divider_get_val divider_recalc_rate divider_round_rate_parent @@ -114,6 +119,10 @@ enable_irq eth_validate_addr event_triggers_call + extcon_get_edev_by_phandle + extcon_get_state + extcon_register_notifier + extcon_unregister_notifier fd_install find_next_bit find_next_zero_bit @@ -156,6 +165,7 @@ irq_domain_remove irq_find_mapping irq_find_matching_fwspec + irq_modify_status irq_of_parse_and_map irq_set_chained_handler_and_data irq_set_chip_and_handler_name @@ -169,6 +179,7 @@ __kmalloc kmalloc_caches kmem_cache_alloc_trace + kmemdup kstrdup ktime_get ktime_get_mono_fast_ns @@ -196,10 +207,12 @@ of_alias_get_id of_clk_add_hw_provider of_clk_del_provider + of_clk_get of_clk_hw_onecell_get of_clk_set_defaults of_device_get_match_data of_device_is_compatible + of_find_device_by_node of_find_property of_fwnode_ops of_genpd_add_provider_onecell @@ -213,6 +226,7 @@ of_match_node of_parse_phandle of_phy_simple_xlate + of_platform_depopulate of_platform_populate of_property_count_elems_of_size of_property_read_string @@ -228,12 +242,22 @@ pci_unregister_driver perf_trace_buf_alloc perf_trace_run_bpf_submit + phy_exit + phy_init + phy_power_off + phy_power_on + phy_set_mode_ext pinconf_generic_dt_node_to_map pinctrl_dev_get_drvdata pinctrl_pm_select_default_state pinctrl_pm_select_sleep_state pinctrl_utils_free_map platform_bus_type + platform_device_add + platform_device_add_properties + platform_device_add_resources + platform_device_alloc + platform_device_put platform_device_register_full platform_device_unregister __platform_driver_register @@ -313,6 +337,7 @@ strcpy strlcpy strlen + strncmp strncpy __sw_hweight32 __sw_hweight64 @@ -348,6 +373,7 @@ usb_amd_quirk_pll_enable usb_deregister usb_disabled + usb_get_dr_mode usb_hcd_check_unlink_urb usb_hcd_giveback_urb usb_hc_died @@ -692,7 +718,6 @@ iommu_unmap irq_domain_xlate_onecell kasprintf - kmemdup kstrdup_quotable_cmdline kthread_create_on_node kthread_destroy_worker @@ -719,7 +744,6 @@ of_dma_configure of_drm_find_bridge of_drm_find_panel - of_find_device_by_node of_find_matching_node_and_match of_get_compatible_child of_graph_get_endpoint_by_regs @@ -727,7 +751,6 @@ of_graph_get_remote_port_parent of_graph_parse_endpoint of_icc_get - of_platform_depopulate of_property_read_string_helper param_ops_charp pm_runtime_get_if_in_use @@ -904,10 +927,6 @@ devm_nvmem_cell_get # required by phy-qcom-usb-hs.ko - extcon_get_edev_by_phandle - extcon_get_state - extcon_register_notifier - extcon_unregister_notifier of_property_read_variable_u8_array regulator_set_voltage reset_control_reset @@ -942,7 +961,6 @@ devres_release kfree_const kstrdup_const - strncmp # required by qcom-rpmh-regulator.ko of_get_regulator_init_data @@ -965,12 +983,6 @@ rtc_valid_tm # required by ufs-qcom.ko - devm_phy_get - phy_exit - phy_init - phy_power_off - phy_power_on - phy_set_mode_ext print_hex_dump ufshcd_dme_get_attr ufshcd_dme_set_attr @@ -1022,7 +1034,6 @@ # required by smsm.ko handle_nested_irq irq_domain_xlate_twocell - irq_modify_status qcom_smem_state_register qcom_smem_state_unregister @@ -1065,6 +1076,35 @@ of_device_uevent_modalias __request_module +# required by dwc3-qcom.ko + devm_extcon_register_notifier + of_clk_get_parent_count + +# required by dwc3.ko + dev_fwnode + device_property_read_string + device_property_read_u8_array + devm_usb_get_phy + extcon_find_edev_by_node + extcon_get_extcon_dev + of_usb_get_phy_mode + phy_pm_runtime_get_sync + phy_pm_runtime_put_sync + platform_get_irq_byname_optional + system_freezable_wq + usb_add_gadget_udc + usb_decode_ctrl + usb_del_gadget_udc + usb_ep_set_maxpacket_limit + usb_gadget_giveback_request + usb_gadget_map_request_by_dev + usb_gadget_set_state + usb_gadget_udc_reset + usb_gadget_unmap_request_by_dev + usb_get_maximum_speed + usb_role_switch_register + usb_role_switch_unregister + # required by ohci-hcd.ko flush_work gen_pool_dma_alloc_align @@ -1080,8 +1120,6 @@ usb_amd_prefetch_quirk # required by ohci-platform.ko - devm_reset_control_array_get - of_clk_get usb_create_hcd # required by xhci-hcd.ko @@ -1093,11 +1131,6 @@ pci_alloc_irq_vectors_affinity pci_free_irq_vectors pci_irq_vector - platform_device_add - platform_device_add_properties - platform_device_add_resources - platform_device_alloc - platform_device_put radix_tree_maybe_preload sg_pcopy_from_buffer sg_pcopy_to_buffer @@ -1130,8 +1163,6 @@ usb_enable_intel_xhci_ports # required by xhci-plat-hcd.ko - device_property_present - devm_usb_get_phy_by_phandle of_usb_host_tpl_support __usb_create_hcd @@ -1242,6 +1273,8 @@ __nla_parse proto_register proto_unregister + _raw_write_lock_bh + _raw_write_unlock_bh refcount_dec_and_mutex_lock refcount_dec_checked release_sock