ANDROID: GKI: Add btqca/clk-hi655x/cpufreq-dt symbols for hikey
2 Added functions:
# required by btqca.ko
[A] 'function int __hci_cmd_send(hci_dev*, u16, u32, void*)'
[A] 'function sk_buff* __hci_cmd_sync_ev(hci_dev*, u16, u32, void*, u8, u32)'
Bug: 364687936
Change-Id: I1c710bfd037a3caa0900be005448357b594b3f03
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
diff --git a/android/abi_gki_aarch64.xml b/android/abi_gki_aarch64.xml
index 42dc734..20a5b5e 100644
--- a/android/abi_gki_aarch64.xml
+++ b/android/abi_gki_aarch64.xml
@@ -100,7 +100,9 @@
<elf-symbol name='__get_free_pages' type='func-type' binding='global-binding' visibility='default-visibility' is-defined='yes' crc='0x6a5cb5ee'/>
<elf-symbol name='__get_task_comm' type='func-type' binding='global-binding' visibility='default-visibility' is-defined='yes' crc='0x7185df7c'/>
<elf-symbol name='__getblk_gfp' type='func-type' binding='global-binding' visibility='default-visibility' is-defined='yes' crc='0x71a8f0f5'/>
+ <elf-symbol name='__hci_cmd_send' type='func-type' binding='global-binding' visibility='default-visibility' is-defined='yes' crc='0x9b1ee15'/>
<elf-symbol name='__hci_cmd_sync' type='func-type' binding='global-binding' visibility='default-visibility' is-defined='yes' crc='0x530bc971'/>
+ <elf-symbol name='__hci_cmd_sync_ev' type='func-type' binding='global-binding' visibility='default-visibility' is-defined='yes' crc='0x137a5218'/>
<elf-symbol name='__hrtimer_get_remaining' type='func-type' binding='global-binding' visibility='default-visibility' is-defined='yes' crc='0x7bcdbf43'/>
<elf-symbol name='__hvc_resize' type='func-type' binding='global-binding' visibility='default-visibility' is-defined='yes' crc='0xd946ed7'/>
<elf-symbol name='__hw_addr_init' type='func-type' binding='global-binding' visibility='default-visibility' is-defined='yes' crc='0xf389fe60'/>
@@ -88697,6 +88699,20 @@
<var-decl name='weight_factors' type-id='a4444dc4' visibility='default' filepath='include/media/h264-ctrls.h' line='123' column='1'/>
</data-member>
</class-decl>
+ <class-decl name='v4l2_h264_weight_factors' size-in-bits='3072' is-struct='yes' visibility='default' filepath='include/media/h264-ctrls.h' line='113' column='1' id='c1c411a0'>
+ <data-member access='public' layout-offset-in-bits='0'>
+ <var-decl name='luma_weight' type-id='467f4e10' visibility='default' filepath='include/media/h264-ctrls.h' line='114' column='1'/>
+ </data-member>
+ <data-member access='public' layout-offset-in-bits='512'>
+ <var-decl name='luma_offset' type-id='467f4e10' visibility='default' filepath='include/media/h264-ctrls.h' line='115' column='1'/>
+ </data-member>
+ <data-member access='public' layout-offset-in-bits='1024'>
+ <var-decl name='chroma_weight' type-id='0399400c' visibility='default' filepath='include/media/h264-ctrls.h' line='116' column='1'/>
+ </data-member>
+ <data-member access='public' layout-offset-in-bits='2048'>
+ <var-decl name='chroma_offset' type-id='0399400c' visibility='default' filepath='include/media/h264-ctrls.h' line='117' column='1'/>
+ </data-member>
+ </class-decl>
<union-decl name='v4l2_ctrl_ptr' size-in-bits='64' visibility='default' filepath='include/media/v4l2-ctrls.h' line='62' column='1' id='3f78e6a9'>
<data-member access='public'>
<var-decl name='p_s32' type-id='9f2cce4b' visibility='default' filepath='include/media/v4l2-ctrls.h' line='63' column='1'/>
@@ -88768,20 +88784,6 @@
<var-decl name='android_kabi_reserved2' type-id='91ce1af9' visibility='default' filepath='include/media/v4l2-ctrls.h' line='86' column='1'/>
</data-member>
</union-decl>
- <class-decl name='v4l2_h264_weight_factors' size-in-bits='3072' is-struct='yes' visibility='default' filepath='include/media/h264-ctrls.h' line='113' column='1' id='c1c411a0'>
- <data-member access='public' layout-offset-in-bits='0'>
- <var-decl name='luma_weight' type-id='467f4e10' visibility='default' filepath='include/media/h264-ctrls.h' line='114' column='1'/>
- </data-member>
- <data-member access='public' layout-offset-in-bits='512'>
- <var-decl name='luma_offset' type-id='467f4e10' visibility='default' filepath='include/media/h264-ctrls.h' line='115' column='1'/>
- </data-member>
- <data-member access='public' layout-offset-in-bits='1024'>
- <var-decl name='chroma_weight' type-id='0399400c' visibility='default' filepath='include/media/h264-ctrls.h' line='116' column='1'/>
- </data-member>
- <data-member access='public' layout-offset-in-bits='2048'>
- <var-decl name='chroma_offset' type-id='0399400c' visibility='default' filepath='include/media/h264-ctrls.h' line='117' column='1'/>
- </data-member>
- </class-decl>
<class-decl name='v4l2_ctrl_h264_decode_params' size-in-bits='3200' is-struct='yes' visibility='default' filepath='include/media/h264-ctrls.h' line='201' column='1' id='4aef34b6'>
<data-member access='public' layout-offset-in-bits='0'>
<var-decl name='dpb' type-id='eefef0c1' visibility='default' filepath='include/media/h264-ctrls.h' line='202' column='1'/>
@@ -158618,6 +158620,13 @@
<parameter type-id='9ad862e7' name='hdev' filepath='net/bluetooth/hci_core.c' line='3289' column='1'/>
<return type-id='48b5725f'/>
</function-decl>
+ <function-decl name='__hci_cmd_send' mangled-name='__hci_cmd_send' filepath='net/bluetooth/hci_core.c' line='3659' column='1' visibility='default' binding='global' size-in-bits='64' elf-symbol-id='__hci_cmd_send'>
+ <parameter type-id='9ad862e7' name='hdev' filepath='net/bluetooth/hci_core.c' line='3659' column='1'/>
+ <parameter type-id='1dc6a898' name='opcode' filepath='net/bluetooth/hci_core.c' line='3659' column='1'/>
+ <parameter type-id='19c2251e' name='plen' filepath='net/bluetooth/hci_core.c' line='3659' column='1'/>
+ <parameter type-id='eaa32e2f' name='param' filepath='net/bluetooth/hci_core.c' line='3660' column='1'/>
+ <return type-id='95e97e5e'/>
+ </function-decl>
<pointer-type-def type-id='5433b7f7' size-in-bits='64' id='6a6a70e7'/>
<enum-decl name='rfkill_type' filepath='include/uapi/linux/rfkill.h' line='43' column='1' id='6bac1cb5'>
<underlying-type type-id='9cac1fee'/>
@@ -158681,6 +158690,15 @@
<pointer-type-def type-id='182ef894' size-in-bits='64' id='d78909c6'/>
</abi-instr>
<abi-instr address-size='64' path='net/bluetooth/hci_request.c' language='LANG_C89'>
+ <function-decl name='__hci_cmd_sync_ev' mangled-name='__hci_cmd_sync_ev' filepath='net/bluetooth/hci_request.c' line='129' column='1' visibility='default' binding='global' size-in-bits='64' elf-symbol-id='__hci_cmd_sync_ev'>
+ <parameter type-id='9ad862e7' name='hdev' filepath='net/bluetooth/hci_request.c' line='129' column='1'/>
+ <parameter type-id='1dc6a898' name='opcode' filepath='net/bluetooth/hci_request.c' line='129' column='1'/>
+ <parameter type-id='19c2251e' name='plen' filepath='net/bluetooth/hci_request.c' line='129' column='1'/>
+ <parameter type-id='eaa32e2f' name='param' filepath='net/bluetooth/hci_request.c' line='130' column='1'/>
+ <parameter type-id='f9b06939' name='event' filepath='net/bluetooth/hci_request.c' line='130' column='1'/>
+ <parameter type-id='19c2251e' name='timeout' filepath='net/bluetooth/hci_request.c' line='130' column='1'/>
+ <return type-id='0fbf3cfd'/>
+ </function-decl>
<function-decl name='__hci_cmd_sync' mangled-name='__hci_cmd_sync' filepath='net/bluetooth/hci_request.c' line='186' column='1' visibility='default' binding='global' size-in-bits='64' elf-symbol-id='__hci_cmd_sync'>
<parameter type-id='9ad862e7' name='hdev' filepath='net/bluetooth/hci_request.c' line='186' column='1'/>
<parameter type-id='1dc6a898' name='opcode' filepath='net/bluetooth/hci_request.c' line='186' column='1'/>
diff --git a/android/abi_gki_aarch64_hikey b/android/abi_gki_aarch64_hikey
index 315869d..3cb1fcb 100644
--- a/android/abi_gki_aarch64_hikey
+++ b/android/abi_gki_aarch64_hikey
@@ -437,3 +437,41 @@
devm_pinctrl_get
pinctrl_lookup_state
pinctrl_select_state
+
+# required by btqca.ko
+ __hci_cmd_send
+ __hci_cmd_sync_ev
+
+# required by clk-hi655x.ko
+ devm_clk_hw_register
+ devm_of_clk_add_hw_provider
+ of_clk_hw_simple_get
+
+# required by cpufreq-dt.ko
+ arch_set_freq_scale
+ cpufreq_enable_boost_support
+ cpufreq_freq_attr_scaling_available_freqs
+ cpufreq_freq_attr_scaling_boost_freqs
+ cpufreq_generic_frequency_table_verify
+ cpufreq_generic_get
+ cpufreq_generic_suspend
+ cpufreq_register_driver
+ cpufreq_unregister_driver
+ dev_pm_opp_free_cpufreq_table
+ dev_pm_opp_get_max_transition_latency
+ dev_pm_opp_get_opp_count
+ dev_pm_opp_get_sharing_cpus
+ dev_pm_opp_get_suspend_opp_freq
+ dev_pm_opp_init_cpufreq_table
+ dev_pm_opp_of_cpumask_add_table
+ dev_pm_opp_of_cpumask_remove_table
+ dev_pm_opp_of_get_sharing_cpus
+ dev_pm_opp_of_register_em
+ dev_pm_opp_put_regulators
+ dev_pm_opp_set_rate
+ dev_pm_opp_set_regulators
+ dev_pm_opp_set_sharing_cpus
+ get_cpu_device
+ policy_has_boost_freq
+ regulator_get_optional
+ regulator_put