diff --git a/android/abi_gki_aarch64.xml b/android/abi_gki_aarch64.xml index 3ca8c00c964db..1c0b90949bf25 100644 --- a/android/abi_gki_aarch64.xml +++ b/android/abi_gki_aarch64.xml @@ -93,6 +93,7 @@ + @@ -122,10 +123,13 @@ + + + @@ -323,6 +327,8 @@ + + @@ -535,6 +541,7 @@ + @@ -556,6 +563,9 @@ + + + @@ -665,6 +675,7 @@ + @@ -689,6 +700,7 @@ + @@ -1441,6 +1453,7 @@ + @@ -1569,6 +1582,7 @@ + @@ -1577,6 +1591,7 @@ + @@ -1593,6 +1608,7 @@ + @@ -1694,6 +1710,7 @@ + @@ -2135,6 +2152,7 @@ + @@ -2699,6 +2717,7 @@ + @@ -3012,6 +3031,7 @@ + @@ -3164,6 +3184,7 @@ + @@ -3266,6 +3287,7 @@ + @@ -3307,6 +3329,7 @@ + @@ -3485,6 +3508,7 @@ + @@ -3504,6 +3528,7 @@ + @@ -3572,6 +3597,7 @@ + @@ -3893,6 +3919,8 @@ + + @@ -4171,6 +4199,7 @@ + @@ -5696,26 +5725,19 @@ - + - - - - - - - - - - - + + + + @@ -5725,6 +5747,14 @@ + + + + + + + + @@ -6020,7 +6050,7 @@ - + @@ -6777,7 +6807,7 @@ - + @@ -6807,7 +6837,7 @@ - + @@ -6854,7 +6884,7 @@ - + @@ -6866,7 +6896,7 @@ - + @@ -7227,7 +7257,7 @@ - + @@ -7249,7 +7279,7 @@ - + @@ -7355,7 +7385,7 @@ - + @@ -7372,7 +7402,26 @@ - + + + + + + + + + + + + + + + + + + + + @@ -7383,7 +7432,7 @@ - + @@ -7394,6 +7443,48 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -7403,7 +7494,7 @@ - + @@ -7636,13 +7727,13 @@ - + - + @@ -7761,27 +7852,27 @@ - + - + - + - + @@ -7799,7 +7890,7 @@ - + @@ -8424,7 +8515,7 @@ - + @@ -8843,7 +8934,7 @@ - + @@ -8917,7 +9008,7 @@ - + @@ -8937,7 +9028,7 @@ - + @@ -8985,7 +9076,7 @@ - + @@ -9338,7 +9429,7 @@ - + @@ -9357,7 +9448,7 @@ - + @@ -9374,7 +9465,7 @@ - + @@ -9636,7 +9727,7 @@ - + @@ -9666,7 +9757,7 @@ - + @@ -9816,7 +9907,7 @@ - + @@ -9853,7 +9944,7 @@ - + @@ -9861,7 +9952,7 @@ - + @@ -9885,7 +9976,7 @@ - + @@ -9896,7 +9987,7 @@ - + @@ -9914,7 +10005,7 @@ - + @@ -9933,7 +10024,7 @@ - + @@ -9944,7 +10035,7 @@ - + @@ -9952,7 +10043,7 @@ - + @@ -9960,7 +10051,7 @@ - + @@ -9972,7 +10063,7 @@ - + @@ -9994,7 +10085,7 @@ - + @@ -10016,7 +10107,7 @@ - + @@ -10025,6 +10116,14 @@ + + + + + + + + @@ -10148,7 +10247,7 @@ - + @@ -10221,6 +10320,14 @@ + + + + + + + + @@ -10795,7 +10902,7 @@ - + @@ -11175,7 +11282,7 @@ - + @@ -11200,6 +11307,23 @@ + + + + + + + + + + + + + + + + + @@ -11213,7 +11337,7 @@ - + @@ -11534,7 +11658,7 @@ - + @@ -12216,7 +12340,7 @@ - + @@ -12224,7 +12348,7 @@ - + @@ -14168,6 +14292,14 @@ + + + + + + + + @@ -14176,6 +14308,14 @@ + + + + + + + + @@ -14187,23 +14327,6 @@ - - - - - - - - - - - - - - - - - @@ -14220,106 +14343,36 @@ - - - - - - - - - - - + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + @@ -14383,22 +14436,6 @@ - - - - - - - - - - - - - - - - @@ -14547,6 +14584,12 @@ + + + + + + @@ -15223,7 +15266,6 @@ - @@ -15249,22 +15291,7 @@ - - - - - - - - - - - - - - - - + @@ -15916,7 +15943,6 @@ - @@ -16051,6 +16077,22 @@ + + + + + + + + + + + + + + + + @@ -16211,8 +16253,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -16232,6 +16319,17 @@ + + + + + + + + + + + @@ -16261,6 +16359,10 @@ + + + + @@ -18710,7 +18812,7 @@ - + @@ -18723,27 +18825,16 @@ - - - - - - - - - - - - - - - - - - + + + + + + + @@ -18759,6 +18850,19 @@ + + + + + + + + + + + + + @@ -18906,7 +19010,7 @@ - + @@ -18944,6 +19048,20 @@ + + + + + + + + + + + + + + @@ -18952,7 +19070,91 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -18990,164 +19192,17 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - + + - - + + - - - - - - - - - - + @@ -19162,7 +19217,7 @@ - + @@ -19173,7 +19228,7 @@ - + @@ -19193,7 +19248,7 @@ - + @@ -19201,7 +19256,24 @@ - + + + + + + + + + + + + + + + + + + @@ -19299,7 +19371,7 @@ - + @@ -20094,6 +20166,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -20163,7 +20273,7 @@ - + @@ -20452,7 +20562,7 @@ - + @@ -22281,6 +22391,10 @@ + + + + @@ -22452,31 +22566,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - @@ -22555,9 +22644,7 @@ - - @@ -22644,10 +22731,6 @@ - - - - @@ -26937,7 +27020,7 @@ - + @@ -26948,7 +27031,7 @@ - + @@ -27968,6 +28051,10 @@ + + + + @@ -31495,7 +31582,7 @@ - + @@ -32572,7 +32659,7 @@ - + @@ -33956,7 +34043,7 @@ - + @@ -34217,7 +34304,7 @@ - + @@ -34431,6 +34518,7 @@ + @@ -35222,7 +35310,7 @@ - + @@ -36664,7 +36752,7 @@ - + @@ -36828,7 +36916,7 @@ - + @@ -36917,6 +37005,14 @@ + + + + + + + + @@ -37508,7 +37604,7 @@ - + @@ -37936,7 +38032,6 @@ - @@ -38285,12 +38380,12 @@ - - + + - + @@ -38304,12 +38399,12 @@ - + - + @@ -38329,7 +38424,7 @@ - + @@ -38357,7 +38452,7 @@ - + @@ -38740,7 +38835,7 @@ - + @@ -39615,6 +39710,12 @@ + + + + + + @@ -42869,7 +42970,7 @@ - + @@ -42944,7 +43045,7 @@ - + @@ -44646,45 +44747,28 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + @@ -44945,25 +45029,6 @@ - - - - - - - - - - - - - - - - - - - @@ -53884,14 +53949,6 @@ - - - - - - - - @@ -55928,36 +55985,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -56102,8 +56129,6 @@ - - @@ -56111,8 +56136,6 @@ - - @@ -56202,11 +56225,11 @@ - + - + @@ -56323,6 +56346,11 @@ + + + + + @@ -58682,6 +58710,9 @@ + + + @@ -58744,7 +58775,7 @@ - + @@ -58981,10 +59012,10 @@ - + - + @@ -59596,7 +59627,7 @@ - + @@ -59608,7 +59639,7 @@ - + @@ -59619,7 +59650,7 @@ - + @@ -59641,7 +59672,7 @@ - + @@ -59815,7 +59846,7 @@ - + @@ -59870,7 +59901,7 @@ - + @@ -60457,7 +60488,7 @@ - + @@ -60664,7 +60695,7 @@ - + @@ -60753,7 +60784,7 @@ - + @@ -60761,7 +60792,7 @@ - + @@ -60769,7 +60800,7 @@ - + @@ -60777,7 +60808,7 @@ - + @@ -60981,7 +61012,7 @@ - + @@ -60995,7 +61026,7 @@ - + @@ -61009,7 +61040,7 @@ - + @@ -61017,7 +61048,7 @@ - + @@ -61051,7 +61082,7 @@ - + @@ -61300,6 +61331,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -62224,28 +62282,21 @@ - + - - - - - - - - - - - + + + + - + @@ -62253,6 +62304,14 @@ + + + + + + + + @@ -62778,7 +62837,7 @@ - + @@ -62909,7 +62968,8 @@ - + + @@ -62933,6 +62993,7 @@ + @@ -62953,12 +63014,16 @@ + + + + @@ -63041,6 +63106,7 @@ + @@ -63052,7 +63118,8 @@ - + + @@ -63066,8 +63133,10 @@ + - + + @@ -63173,7 +63242,7 @@ - + @@ -63268,7 +63337,7 @@ - + @@ -63348,7 +63417,7 @@ - + @@ -63362,7 +63431,7 @@ - + @@ -63427,11 +63496,11 @@ - + - + @@ -63751,7 +63820,7 @@ - + @@ -63843,7 +63912,7 @@ - + @@ -63872,11 +63941,11 @@ - + - + @@ -63981,7 +64050,7 @@ - + @@ -63992,7 +64061,7 @@ - + @@ -64000,7 +64069,7 @@ - + @@ -64016,7 +64085,7 @@ - + @@ -64032,7 +64101,7 @@ - + @@ -64040,7 +64109,7 @@ - + @@ -64054,7 +64123,7 @@ - + @@ -64065,7 +64134,7 @@ - + @@ -64073,7 +64142,7 @@ - + @@ -64081,7 +64150,7 @@ - + @@ -64089,7 +64158,7 @@ - + @@ -64097,7 +64166,7 @@ - + @@ -64116,7 +64185,7 @@ - + @@ -71714,22 +71783,6 @@ - - - - - - - - - - - - - - - - @@ -72308,6 +72361,22 @@ + + + + + + + + + + + + + + + + @@ -74717,7 +74786,7 @@ - + @@ -74847,7 +74916,7 @@ - + @@ -79394,17 +79463,6 @@ - - - - - - - - - - - @@ -81453,6 +81511,10 @@ + + + + @@ -81843,6 +81905,13 @@ + + + + + + + @@ -81889,6 +81958,14 @@ + + + + + + + + @@ -84335,6 +84412,8 @@ + + @@ -86717,7 +86796,7 @@ - + @@ -87101,7 +87180,7 @@ - + @@ -87931,7 +88010,7 @@ - + @@ -88042,11 +88121,11 @@ - + - + @@ -88074,11 +88153,11 @@ - + - + @@ -88519,6 +88598,23 @@ + + + + + + + + + + + + + + + + + @@ -88543,12 +88639,12 @@ - + - + @@ -88810,7 +88906,7 @@ - + @@ -88832,7 +88928,7 @@ - + @@ -88865,6 +88961,17 @@ + + + + + + + + + + + @@ -89372,7 +89479,7 @@ - + @@ -89401,7 +89508,7 @@ - + @@ -90176,23 +90283,6 @@ - - - - - - - - - - - - - - - - - @@ -91096,12 +91186,12 @@ - + - + - + @@ -92087,10 +92177,13 @@ - + + + + @@ -92290,6 +92383,10 @@ + + + + @@ -92298,6 +92395,11 @@ + + + + + @@ -92314,13 +92416,18 @@ - + - + + + + + + @@ -93228,14 +93335,6 @@ - - - - - - - - @@ -93507,6 +93606,9 @@ + + + @@ -93891,6 +93993,7 @@ + @@ -93904,8 +94007,10 @@ + + @@ -98009,7 +98114,7 @@ - + @@ -98351,13 +98456,13 @@ - + - + @@ -98684,7 +98789,7 @@ - + @@ -98762,10 +98867,10 @@ - + - + @@ -101815,7 +101920,7 @@ - + @@ -101854,63 +101959,25 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + @@ -101958,6 +102025,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -101986,6 +102079,23 @@ + + + + + + + + + + + + + + + + + @@ -102144,7 +102254,7 @@ - + @@ -102173,7 +102283,7 @@ - + @@ -102181,7 +102291,7 @@ - + @@ -103180,9 +103290,9 @@ - + - + @@ -103266,7 +103376,7 @@ - + @@ -104470,6 +104580,10 @@ + + + + @@ -105156,6 +105270,10 @@ + + + + @@ -105218,7 +105336,7 @@ - + @@ -105228,7 +105346,7 @@ - + @@ -105239,7 +105357,7 @@ - + @@ -105251,7 +105369,7 @@ - + @@ -105264,7 +105382,7 @@ - + @@ -105278,7 +105396,7 @@ - + @@ -105293,7 +105411,7 @@ - + @@ -105908,6 +106026,12 @@ + + + + + + @@ -105915,6 +106039,10 @@ + + + + @@ -105927,80 +106055,80 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -106058,113 +106186,113 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -106178,12 +106306,12 @@ - + - + - + @@ -106192,14 +106320,14 @@ - - - - - - - - + + + + + + + + @@ -106207,16 +106335,16 @@ - - + + - - + + - - + + @@ -106228,7 +106356,7 @@ - + @@ -106624,12 +106752,25 @@ + + + + + + + + + + + + + @@ -106961,6 +107102,11 @@ + + + + + @@ -107667,7 +107813,7 @@ - + @@ -107677,7 +107823,7 @@ - + @@ -107824,37 +107970,18 @@ - + - - - - - - - - - - - - - - - - - - - - - - - + + + + - + @@ -107876,6 +108003,26 @@ + + + + + + + + + + + + + + + + + + + + @@ -108010,6 +108157,10 @@ + + + + @@ -108030,6 +108181,13 @@ + + + + + + + @@ -108175,7 +108333,7 @@ - + @@ -108195,10 +108353,10 @@ - + - + @@ -108282,7 +108440,7 @@ - + @@ -108655,10 +108813,28 @@ - + + + + + + + + + + + + + + + + + + + @@ -108688,17 +108864,6 @@ - - - - - - - - - - - @@ -108848,6 +109013,10 @@ + + + + @@ -108938,12 +109107,26 @@ + + + + + + + + + + + + + + - + @@ -108964,6 +109147,10 @@ + + + + @@ -109137,6 +109324,17 @@ + + + + + + + + + + + @@ -109243,8 +109441,8 @@ - - + + @@ -109261,7 +109459,7 @@ - + @@ -109386,7 +109584,7 @@ - + @@ -110145,7 +110343,7 @@ - + @@ -110154,26 +110352,13 @@ - - - - - - - - - - - - - - - - - + + + + @@ -110183,6 +110368,20 @@ + + + + + + + + + + + + + + @@ -110192,7 +110391,7 @@ - + @@ -111679,7 +111878,7 @@ - + @@ -111694,19 +111893,19 @@ - + - + - + @@ -111714,7 +111913,7 @@ - + @@ -111722,7 +111921,7 @@ - + @@ -111744,7 +111943,7 @@ - + @@ -112278,7 +112477,7 @@ - + @@ -112437,7 +112636,15 @@ - + + + + + + + + + @@ -112445,7 +112652,7 @@ - + @@ -112459,6 +112666,22 @@ + + + + + + + + + + + + + + + + @@ -112889,7 +113112,7 @@ - + @@ -113310,7 +113533,7 @@ - + @@ -113474,7 +113697,7 @@ - + @@ -114428,45 +114651,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -114474,7 +114659,7 @@ - + @@ -115384,7 +115569,7 @@ - + @@ -115436,7 +115621,7 @@ - + @@ -115788,6 +115973,8 @@ + + @@ -115797,7 +115984,6 @@ - @@ -115810,6 +115996,7 @@ + @@ -115833,11 +116020,11 @@ - + - + @@ -115949,6 +116136,10 @@ + + + + @@ -116143,7 +116334,7 @@ - + @@ -116224,7 +116415,6 @@ - @@ -116751,6 +116941,11 @@ + + + + + @@ -116768,13 +116963,24 @@ + + + + + + + + + + + - + @@ -117410,7 +117616,7 @@ - + @@ -117568,7 +117774,7 @@ - + @@ -119674,7 +119880,7 @@ - + @@ -122153,26 +122359,12 @@ - + - + - - - - - - - - - - - - - - - + @@ -122884,39 +123076,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -123626,6 +123785,12 @@ + + + + + + @@ -123640,6 +123805,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -129884,6 +130087,6 @@ diff --git a/android/abi_gki_aarch64_galaxy b/android/abi_gki_aarch64_galaxy index 3e4c50792f6c0..690d1f72c4b09 100644 --- a/android/abi_gki_aarch64_galaxy +++ b/android/abi_gki_aarch64_galaxy @@ -58,6 +58,7 @@ __free_pages __get_free_pages __get_task_comm + __get_vm_area __getblk_gfp __hrtimer_get_remaining __hwspin_lock_timeout @@ -75,8 +76,11 @@ __kfifo_alloc __kfifo_free __kfifo_in + __kfifo_init __kfifo_out + __kfifo_out_peek __kfifo_to_user + __kfree_skb __kmalloc __kthread_init_worker __list_add_valid @@ -228,6 +232,8 @@ arch_set_freq_scale arch_setup_dma_ops arch_timer_read_counter + argv_free + argv_split arm64_const_caps_ready atomic_notifier_call_chain atomic_notifier_chain_register @@ -305,6 +311,7 @@ cfg80211_mgmt_tx_status cfg80211_michael_mic_failure cfg80211_new_sta + cfg80211_port_authorized cfg80211_put_bss cfg80211_ready_on_channel cfg80211_remain_on_channel_expired @@ -318,6 +325,9 @@ cfg80211_vendor_cmd_reply class_create_file_ns class_destroy + class_dev_iter_exit + class_dev_iter_init + class_dev_iter_next class_find_device class_interface_unregister class_unregister @@ -411,6 +421,7 @@ cpufreq_frequency_table_verify cpufreq_generic_attr cpufreq_generic_frequency_table_verify + cpufreq_get cpufreq_quick_get cpufreq_quick_get_max cpufreq_register_driver @@ -427,6 +438,7 @@ crc32_le crc8 crc8_populate_msb + create_function_device crypto_alloc_shash crypto_destroy_tfm crypto_register_rngs @@ -546,6 +558,7 @@ devm_gpio_request devm_gpio_request_one devm_gpiochip_add_data + devm_gpiod_get devm_gpiod_get_optional devm_iio_channel_get devm_iio_device_alloc @@ -914,6 +927,7 @@ dw_pcie_read dw_pcie_setup_rc dw_pcie_write + emergency_restart enable_irq enable_percpu_irq end_buffer_read_sync @@ -994,10 +1008,12 @@ get_cpu_device get_cpu_idle_time get_device + get_mm_exe_file get_options get_pid_task get_random_bytes get_random_u32 + get_task_pid get_thermal_instance get_unmapped_area get_unused_fd_flags @@ -1012,6 +1028,7 @@ gether_get_dev_addr gether_get_host_addr gether_get_host_addr_cdc + gether_get_host_addr_u8 gether_get_ifname gether_get_qmult gether_register_netdev @@ -1084,6 +1101,7 @@ i2c_adapter_type i2c_add_adapter i2c_add_numbered_adapter + i2c_bit_add_numbered_bus i2c_bus_type i2c_del_adapter i2c_del_driver @@ -1356,6 +1374,7 @@ kthread_unpark kthread_worker_fn ktime_get + ktime_get_coarse_with_offset ktime_get_mono_fast_ns ktime_get_raw ktime_get_raw_ts64 @@ -1678,6 +1697,7 @@ phy_reset phy_set_mode_ext physvirt_offset + pid_task pinconf_generic_dt_node_to_map pinctrl_add_gpio_range pinctrl_dev_get_drvdata @@ -1883,6 +1903,7 @@ rfkill_destroy rfkill_init_sw_state rfkill_register + rfkill_set_sw_state rfkill_unregister rndis_deregister rndis_free_response @@ -1969,6 +1990,7 @@ sdhci_set_bus_width sdhci_setup_host sdio_signal_irq + send_sig send_sig_info seq_lseek seq_printf @@ -2018,6 +2040,7 @@ skb_copy_bits skb_copy_datagram_iter skb_copy_expand + skb_copy_ubufs skb_dequeue skb_free_datagram skb_pull @@ -2036,6 +2059,7 @@ smp_call_function_single smp_call_function_single_async smp_call_on_cpu + smpboot_unregister_percpu_thread snd_card_free snd_card_new snd_card_register @@ -2163,6 +2187,7 @@ sock_alloc_send_skb sock_create_kern sock_gettstamp + sock_i_uid sock_init_data sock_no_accept sock_no_getsockopt @@ -2176,6 +2201,7 @@ sock_register sock_release sock_unregister + sock_wfree sort spi_bus_type spi_controller_resume @@ -2231,6 +2257,7 @@ strreplace strscpy strsep + strspn strstr submit_bh subsys_system_register @@ -2428,6 +2455,8 @@ usb_free_urb usb_function_register usb_function_unregister + usb_gadget_connect + usb_gadget_disconnect usb_gadget_giveback_request usb_gadget_map_request_by_dev usb_gadget_set_state @@ -2617,6 +2646,7 @@ vm_unmap_ram vmalloc vmalloc_to_page + vmalloc_to_pfn vmalloc_user vmap vmemmap diff --git a/android/abi_gki_aarch64_qcom b/android/abi_gki_aarch64_qcom index 1580a6ba24229..9522a5ed5ad1f 100644 --- a/android/abi_gki_aarch64_qcom +++ b/android/abi_gki_aarch64_qcom @@ -1834,6 +1834,7 @@ refcount_inc_not_zero_checked __refrigerator regcache_cache_only + regcache_cache_bypass regcache_mark_dirty regcache_sync regcache_sync_region @@ -1866,6 +1867,7 @@ regmap_mmio_detach_clk regmap_raw_read regmap_read + regmap_register_patch regmap_update_bits_base regmap_write regulator_bulk_disable diff --git a/android/abi_gki_aarch64_vivo b/android/abi_gki_aarch64_vivo index b739d3bee3dce..0b239eadbc124 100644 --- a/android/abi_gki_aarch64_vivo +++ b/android/abi_gki_aarch64_vivo @@ -186,6 +186,7 @@ config_ep_by_speed config_group_init_type_name config_item_put + console_printk console_stop console_suspend_enabled __const_udelay @@ -365,6 +366,7 @@ devm_reset_controller_register devm_rtc_device_register devm_snd_soc_register_card + devm_snd_soc_register_component devm_thermal_zone_of_sensor_register devm_usb_get_phy devm_usb_get_phy_by_phandle @@ -720,6 +722,7 @@ find_next_zero_bit find_snd_usb_substream find_vma + find_vpid finish_wait firmware_request_nowarn fixed_phy_register @@ -784,9 +787,11 @@ gether_set_host_addr gether_set_qmult gether_setup_name_default + get_pid_task get_random_bytes get_random_u32 __get_task_comm + get_task_mm get_unmapped_area get_unused_fd_flags get_user_pages @@ -852,6 +857,8 @@ i2c_get_dma_safe_msg_buf i2c_put_dma_safe_msg_buf i2c_register_driver + i2c_smbus_read_byte_data + i2c_smbus_write_byte_data i2c_transfer i2c_transfer_buffer_flags i2c_unregister_device @@ -886,6 +893,7 @@ init_dummy_netdev init_net __init_rwsem + init_task init_timer_key init_uts_ns init_wait_entry @@ -1051,6 +1059,7 @@ kstrtou8 kstrtouint kstrtoull + kstrtoull_from_user kthread_cancel_delayed_work_sync kthread_cancel_work_sync kthread_create_on_node @@ -1147,6 +1156,7 @@ misc_register mmc_of_parse mmc_send_tuning + mmput mod_delayed_work_on mod_node_page_state mod_timer @@ -1400,6 +1410,7 @@ physvirt_offset phy_unregister_fixup_for_uid phy_write_mmd + pid_task pinconf_generic_dt_node_to_map pinctrl_dev_get_drvdata pinctrl_get @@ -1466,8 +1477,10 @@ power_supply_get_drvdata power_supply_get_property power_supply_put + power_supply_register power_supply_reg_notifier power_supply_set_property + power_supply_unregister power_supply_unreg_notifier prandom_u32 preempt_schedule @@ -1647,6 +1660,7 @@ rndis_set_param_vendor rndis_signal_connect rndis_uninit + round_jiffies_relative rpmsg_create_ept rpmsg_destroy_ept rpmsg_poll @@ -1671,6 +1685,7 @@ sched_clock sched_setattr sched_setscheduler + sched_show_task schedule schedule_timeout schedule_timeout_interruptible @@ -2336,7 +2351,9 @@ __wake_up __wake_up_locked wake_up_process + wakeup_source_add wakeup_source_register + wakeup_source_remove wakeup_source_unregister __warn_printk wiphy_free diff --git a/arch/arm64/configs/db845c_gki.fragment b/arch/arm64/configs/db845c_gki.fragment index f0a3ab0dd7d69..0343192544eb0 100644 --- a/arch/arm64/configs/db845c_gki.fragment +++ b/arch/arm64/configs/db845c_gki.fragment @@ -65,3 +65,4 @@ CONFIG_ARM_SMMU=m CONFIG_INCREMENTAL_FS=m CONFIG_PINCTRL_MSM=m CONFIG_QCOM_COMMAND_DB=m +CONFIG_ARM_QCOM_CPUFREQ_HW=m diff --git a/drivers/android/vendor_hooks.c b/drivers/android/vendor_hooks.c index 4dc0d89c835bf..333f9ce7d4e01 100644 --- a/drivers/android/vendor_hooks.c +++ b/drivers/android/vendor_hooks.c @@ -18,6 +18,7 @@ #include #include #include +#include /* * Export tracepoints that act as a bare tracehook (ie: have no trace event @@ -58,3 +59,4 @@ EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_is_fpsimd_save); EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_ipi_stop); EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_printk_store); EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_show_regs); +EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_wq_lockup_pool); diff --git a/drivers/cpuidle/cpuidle.c b/drivers/cpuidle/cpuidle.c index 73f08cda21e0e..8b96ef0d42584 100644 --- a/drivers/cpuidle/cpuidle.c +++ b/drivers/cpuidle/cpuidle.c @@ -195,7 +195,7 @@ int cpuidle_enter_s2idle(struct cpuidle_driver *drv, struct cpuidle_device *dev) * @drv: cpuidle driver for this cpu * @index: index into the states table in @drv of the state to enter */ -int cpuidle_enter_state(struct cpuidle_device *dev, struct cpuidle_driver *drv, +int __nocfi cpuidle_enter_state(struct cpuidle_device *dev, struct cpuidle_driver *drv, int index) { int entered_state; diff --git a/include/trace/hooks/wqlockup.h b/include/trace/hooks/wqlockup.h new file mode 100644 index 0000000000000..de70eacaa8c8d --- /dev/null +++ b/include/trace/hooks/wqlockup.h @@ -0,0 +1,24 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +#undef TRACE_SYSTEM +#define TRACE_SYSTEM wqlockup +#define TRACE_INCLUDE_PATH trace/hooks + +#if !defined(_TRACE_HOOK_WQLOCKUP_H) || defined(TRACE_HEADER_MULTI_READ) +#define _TRACE_HOOK_WQLOCKUP_H +#include +#include +/* + * Following tracepoints are not exported in tracefs and provide a + * mechanism for vendor modules to hook and extend functionality + */ +#if defined(CONFIG_TRACEPOINTS) && defined(CONFIG_ANDROID_VENDOR_HOOKS) +DECLARE_HOOK(android_vh_wq_lockup_pool, + TP_PROTO(int cpu, unsigned long pool_ts), + TP_ARGS(cpu, pool_ts)); +#else +#define trace_android_vh_wq_lockup_pool(cpu, pool_ts) +#endif + +#endif /* _TRACE_HOOK_WQLOCKUP_H */ +/* This part must be outside protection */ +#include diff --git a/kernel/workqueue.c b/kernel/workqueue.c index 7fc988d287f95..ccf2789119123 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c @@ -53,6 +53,10 @@ #include "workqueue_internal.h" +#include +/* events/workqueue.h uses default TRACE_INCLUDE_PATH */ +#undef TRACE_INCLUDE_PATH + enum { /* * worker_pool flags @@ -5770,6 +5774,7 @@ static void wq_watchdog_timer_fn(struct timer_list *unused) pr_cont_pool_info(pool); pr_cont(" stuck for %us!\n", jiffies_to_msecs(jiffies - pool_ts) / 1000); + trace_android_vh_wq_lockup_pool(pool->cpu, pool_ts); } }