Commit Graph

135 Commits

Author SHA1 Message Date
Ramji Jiyani
b519faae30 ANDROID: ABI: gki_defconfig: disable cfg80211 and mac80211
Remove CONFIG_CFG80211 and CONFIG_MAC80211 from gki_defconfig
to allow vendors to incorporate features that lands upstream
after KMI freeze.

Also need to update symbol lists since the related 80211
symbols are no longer exported from the core kernel.

Bug: 227176212
Test: TH
Signed-off-by: Ramji Jiyani <ramjiyani@google.com>
Change-Id: Ia680c2b38d5f13263e318f8c5eaa42f591385736
(cherry picked from commit b24cd8be89)
Signed-off-by: Carlos Llamas <cmllamas@google.com>
2022-07-19 12:47:39 +00:00
Stanley Chu
0f825a1e77 FROMLIST: scsi: ufs: Export regulator functions
Export below regulator functions to allow vendors to
customize regulator configuration in their own platforms.

int ufshcd_populate_vreg(struct device *dev, const char *name,
			 struct ufs_vreg **out_vreg);
int ufshcd_get_vreg(struct device *dev, struct ufs_vreg *vreg);

Bug: 235550312
Link: https://lore.kernel.org/linux-scsi/20220614141655.14409-10-stanley.chu@mediatek.com/
Change-Id: I9990d2e5eb580f160b0c8b4a95b687d754d0767b
Signed-off-by: Stanley Chu <stanley.chu@mediatek.com>
2022-07-19 12:47:36 +00:00
Chris Lew
a16c2ea0df ANDROID: abi_gki_aarch64_qcom: Add rproc and rpmsg helpers
Add symbols to use added features to rproc and rpmsg:
 - Introduction of the rpmsg ctrl interface from upstream
 - Introduction of rpmsg_rx_done
 - Helpers to remove rproc_mem_entries from an rproc

Bug: 235577039
Change-Id: Ic04c7f911b88a58d44622ccacd4115541da7c17f
Signed-off-by: Chris Lew <quic_clew@quicinc.com>
2022-07-19 12:47:32 +00:00
Capone Huang
c1a58dad6d ANDROID: Update symbol list for mtk
Leaf changes summary: 1 artifacts changed
Changed leaf types summary: 0 leaf type changed
Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 1 Added functions
Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 0 Added variable

1 Added functions:

  [A] 'function int iterate_dir(file*, dir_context*)'

Bug: 236208914
Signed-off-by: Capone Huang <capone.huang@mediatek.corp-partner.google.com>
Change-Id: Ibea71fa232eb8d149b83bd8d2fdcb4e46c63f8b8
2022-07-19 12:47:27 +00:00
huang dezhi
ea1c621b81 ANDROID: GKI: add symbol list file for honor
add abi_gki_aarch64_honor

Leaf changes summary: 10 artifacts changed
Changed leaf types summary: 0 leaf type changed
Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 5 Added functions
Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 5 Added variables

5 Added functions:

  [A] 'function int __traceiter_android_vh_alter_mutex_list_add(void*, mutex*, mutex_waiter*, list_head*, bool*)'
  [A] 'function int __traceiter_android_vh_mutex_init(void*, mutex*)'
  [A] 'function int __traceiter_android_vh_mutex_unlock_slowpath(void*, mutex*)'
  [A] 'function int __traceiter_android_vh_mutex_wait_finish(void*, mutex*)'
  [A] 'function int __traceiter_android_vh_mutex_wait_start(void*, mutex*)'

5 Added variables:

  [A] 'tracepoint __tracepoint_android_vh_alter_mutex_list_add'
  [A] 'tracepoint __tracepoint_android_vh_mutex_init'
  [A] 'tracepoint __tracepoint_android_vh_mutex_unlock_slowpath'
  [A] 'tracepoint __tracepoint_android_vh_mutex_wait_finish'
  [A] 'tracepoint __tracepoint_android_vh_mutex_wait_start'

Bug: 231527236
Change-Id: Id3125e93696d91b3daed2ff74c17edb0235c3aa2
Signed-off-by: huang dezhi <huangdezhi@hihonor.com>
2022-07-19 12:47:27 +00:00
Xuewen Yan
aad764985c ANDROID: ABI: Update symbols to unisoc whitelist for the scheduler 4st
Update whitelist for the symbols used by the unisoc device and
update the ABI representation accordingly

Leaf changes summary: 2 artifacts changed
Changed leaf types summary: 0 leaf type changed
Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 2 Added functions
Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 0 Added variable

2 Added functions:

  [A] 'function int __traceiter_android_rvh_account_irq_end(void*, task_struct*, int, s64)'
  [A] 'function int __traceiter_android_rvh_account_irq_start(void*, task_struct*, int, s64)'

Bug: 235909063
Change-Id: Idfce8f81fbe6ed11d974dbcf6f04e768af54d0ca
Signed-off-by: Xuewen Yan <xuewen.yan@unisoc.com>
2022-07-19 12:47:27 +00:00
Peifeng Li
28f031bf96 ANDROID: GKI: Update symbols to symbol list
Leaf changes summary: 9 artifacts changed
Changed leaf types summary: 0 leaf type changed
Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 5 Added functions
Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 4 Added variables

5 Added functions:

  [A] 'function int __traceiter_android_vh_cma_drain_all_pages_bypass(void*, unsigned int, bool*)'
  [A] 'function int __traceiter_android_vh_drain_all_pages_bypass(void*, gfp_t, unsigned int, unsigned long int, int, unsigned long int, bool*)'
  [A] 'function int __traceiter_android_vh_page_referenced_check_bypass(void*, page*, unsigned long int, int, bool*)'
  [A] 'function int __traceiter_android_vh_pcplist_add_cma_pages_bypass(void*, int, bool*)'
  [A] 'function unsigned long int shrink_slab(gfp_t, int, mem_cgroup*, int)'

4 Added variables:

  [A] 'tracepoint __tracepoint_android_vh_cma_drain_all_pages_bypass'
  [A] 'tracepoint __tracepoint_android_vh_drain_all_pages_bypass'
  [A] 'tracepoint __tracepoint_android_vh_page_referenced_check_bypass'
  [A] 'tracepoint __tracepoint_android_vh_pcplist_add_cma_pages_bypass'

Bug: 234405962
Signed-off-by: Peifeng Li <lipeifeng@oppo.com>
Change-Id: Ie38bd63282c8ab0ec8f837e06bd5e9e6ab272ba6
2022-07-19 12:47:26 +00:00
d wang
104c11e9af ANDROID: ABI: Update symbols used by the unisoc filesystem whitelist for
the 1st

Update whitelist for the symbols used by the unisoc device and update
the ABI representation accordingly

Leaf changes summary: 1 artifact changed
Changed leaf types summary: 0 leaf type changed
Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 1 Added function
Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 0 Added variable

1 Added function:

  [A] 'function void blk_stat_enable_accounting(request_queue*)'

Bug: 236086883
Change-Id: I4569707b8548c97ef65f11938e29e53f860faa45
Signed-off-by: d wang <dongwei.wang@unisoc.com>
2022-07-19 12:47:26 +00:00
Chetan C R
e6e44e9a85 ANDROID: GKI: Update abi_gki_aarch64_qcom for devm_of_clk_del_provider
Add devm_of_clk_del_provider symbol.

Leaf changes summary: 1 artifact changed
Changed leaf types summary: 0 leaf type changed
Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 1 Added function
Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 0 Added variable

1 Added function:

  [A] 'function void devm_of_clk_del_provider(device*)'

Bug: 235919751
Change-Id: I14494bf4cab4bbf70eb76d751cdb201f4c4ed65e
Signed-off-by: Chetan C R <quic_cchinnad@quicinc.com>
2022-07-19 03:54:51 +00:00
Eric Biggers
4881c12c76 ANDROID: GKI: update module list for fips140 build
This fixes the following build error:

    ERROR: modules list out of date
    Update it with:
    cp [...]/out/android13-5.15/common/modules.order common/android/gki_aarch64_fips140_modules

Bug: 188620248
Change-Id: I5e06053001a3ea3cf488e9ad0af8f6e4af2de0a2
Signed-off-by: Eric Biggers <ebiggers@google.com>
2022-07-19 03:54:51 +00:00
Naina Mehta
62bb81afc5 ANDROID: fault: Add vendor hook for TLB conflict
Add android_vh_handle_tlb_conf vendor hook to gracefully
handle TLB conflict.

Leaf changes summary: 1 artifact changed
Changed leaf types summary: 0 leaf type changed
Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 0 Added function
Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 1 Added variable

1 Added variable:

  [A] 'tracepoint __tracepoint_android_vh_handle_tlb_conf'

Bug: 222637802
Change-Id: I3d6814cd950e77e1a15ce444764078692724cd0a
Signed-off-by: Naina Mehta <quic_nainmeht@quicinc.com>
Signed-off-by: Vamsi Krishna Lanka <quic_vamslank@quicinc.com>
2022-07-19 03:54:50 +00:00
Chao Yu
99caff3b22 ANDROID: GKI: Update symbols to abi_gki_aarch64_oplus
Leaf changes summary: 12 artifacts changed
Changed leaf types summary: 0 leaf type changed
Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 12 Added functions
Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 0 Added variable

12 Added functions:

  [A] 'function int __bio_crypt_clone(bio*, bio*, gfp_t)'
  [A] 'function int __blkdev_issue_discard(block_device*, sector_t, sector_t, gfp_t, int, bio**)'
  [A] 'function unsigned long int __page_file_index(page*)'
  [A] 'function void address_space_init_once(address_space*)'
  [A] 'function void bio_crypt_set_ctx(bio*, const blk_crypto_key*, const u64*, gfp_t)'
  [A] 'function int blkdev_issue_flush(block_device*)'
  [A] 'function long int congestion_wait(int, long int)'
  [A] 'function void migrate_page_copy(page*, page*)'
  [A] 'function bool prepare_to_wait_exclusive(wait_queue_head*, wait_queue_entry*, int)'
  [A] 'function void* radix_tree_delete_item(xarray*, unsigned long int, void*)'
  [A] 'function void** radix_tree_lookup_slot(const xarray*, unsigned long int)'
  [A] 'function void radix_tree_replace_slot(xarray*, void**, void*)'

Bug: 232178651

Signed-off-by: Chao Yu <chao@kernel.org>
Change-Id: Ie3aa930a0d446f4f9cb0023bd59e92cdbce92c2b
2022-07-19 03:54:50 +00:00
kamasali
401ae69f82 ANDROID: GKI: Update abi_gki_aarch64_qcom for partial init tracepoint
Add __tracepoint_android_rvh_partial_init symbol
Add __tracepoint_android_rvh_cache_card_csd symbol

Leaf changes summary: 2 artifacts changed
Changed leaf types summary: 0 leaf type changed
Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 0 Added function
Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 2 Added variables

2 Added variables:

  [A] 'tracepoint __tracepoint_android_rvh_mmc_cache_card_properties'
  [A] 'tracepoint __tracepoint_android_rvh_partial_init'

Bug: 231654364

Signed-off-by: kamasali <quic_kamasali@quicinc.com>
Change-Id: I1e52438ebac1afe649c1cdf194eb3befba2b7987
2022-07-19 03:54:50 +00:00
Jing-Ting Wu
17b8066964 ANDROID: Update symbol list for mtk
Leaf changes summary: 4 artifacts changed
Changed leaf types summary: 0 leaf type changed
Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 4 Added functions
Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 0 Added variable

4 Added functions:

  [A] 'function int __traceiter_android_rvh_get_nohz_timer_target(void*, int*, bool*)'
  [A] 'function int __traceiter_android_rvh_rto_next_cpu(void*, int, cpumask*, int*)'
  [A] 'function int __traceiter_android_rvh_set_cpus_allowed_ptr_locked(void*, const cpumask*, const cpumask*, unsigned int*)'
  [A] 'function int cpumask_any_distribute(const cpumask*)'

Bug: 235429072

Change-Id: Ia6384daf4dff842f4673796b8323412bf0384a3a
Signed-off-by: Jing-Ting Wu <Jing-Ting.Wu@mediatek.com>
2022-07-19 03:52:56 +00:00
Chun-Hung Wu
240ff1c932 ANDROID: Update symbol list for mtk
Leaf changes summary: 2 artifacts changed
Changed leaf types summary: 0 leaf type changed
Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 2 Added functions
Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 0 Added variable

2 Added functions:

  [A] 'function int down_write_killable(rw_semaphore*)'
  [A] 'function int security_file_ioctl(file*, unsigned int, unsigned long int)'

Bug: 228415386
Signed-off-by: Chun-Hung Wu <chun-hung.wu@mediatek.com>
Change-Id: Ib620603544740859e8e82fc5d703bdce463d3811
2022-07-19 03:52:54 +00:00
Jian Gong
6471cc9d48 ANDROID: ABI: Update symbols to unisoc whitelist for the 7th
Update whitelist for the symbols used by the unisoc device and
update the ABI representation accordingly.

Leaf changes summary: 1 artifact changed
Changed leaf types summary: 0 leaf type changed
Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 1 Added function
Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 0 Added variable

1 Added function:

  [A] 'function void nf_ct_destroy(nf_conntrack*)'

Bug: 235311255
Change-Id: Ib963db8ea0159428043b28aa3eaed45fe4e07b16
Signed-off-by: Jian Gong <Jian.Gong@unisoc.com>
Signed-off-by: Giuliano Procida <gprocida@google.com>
2022-07-19 03:52:54 +00:00
kamasali
d90f0f3fda ANDROID: GKI: Update abi_gki_aarch64_qcom for pm flag set tracepoint
Add __tracepoint_android_vh_mmc_sdio_pm_flag_set symbol.

Leaf changes summary: 1 artifact changed
Changed leaf types summary: 0 leaf type changed
Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 0 Added function
Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 1 Added variable

1 Added variable:

  [A] 'tracepoint __tracepoint_android_vh_mmc_sdio_pm_flag_set'

Bug: 231668342
Signed-off-by: Kamasali Satyanarayan <quic_kamasali@quicinc.com>
Change-Id: I396be9250c4d8cb811e6534035870a79772eb5be
2022-07-19 03:52:54 +00:00
Vijayanand Jitta
c6b0ae2853 ANDROID: abi_gki_aarch64_qcom: Update qcom abi symbol list
Update qcom abi symbol list with functions required for
trace_map/unmap and kprobe module.

Leaf changes summary: 7 artifacts changed
Changed leaf types summary: 0 leaf type changed
Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 5 Added
functions
Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 2 Added
variables

5 Added functions:

  [A] 'function int __traceiter_map(void*, unsigned long int, phys_addr_t, size_t)'
  [A] 'function int __traceiter_unmap(void*, unsigned long int, size_t, size_t)'
  [A] 'function int synth_event_create(const char*, synth_field_desc*, unsigned int, module*)'
  [A] 'function int synth_event_delete(const char*)'
  [A] 'function trace_event_file* trace_get_event_file(const char*, const char*, const char*)'

2 Added variables:

  [A] 'tracepoint __tracepoint_map'
  [A] 'tracepoint __tracepoint_unmap'

Bug: 233972073
Change-Id: Id10d620b1f7b36d9c67ea5dcc7db9e66bb556836
Signed-off-by: Vijayanand Jitta <quic_vjitta@quicinc.com>
2022-07-19 03:52:53 +00:00
Mayank Rana
e74c1f2474 ANDROID: abi_gki_aarch64_qcom: Update symbol list with usb_role_string
Add below kernel symbol for vendor modules to qcom symbol list.
usb_role_string

Bug: 235128488
Change-Id: I05b349796a68028099f9d25ed718e8982a33c510
Signed-off-by: Mayank Rana <quic_mrana@quicinc.com>
2022-07-19 03:52:53 +00:00
Manaf Meethalavalappu Pallikunhi
e3303855c6 ANDROID: abi_gki_aarch64_qcom: Add android_vh_disable_thermal_cooling_stats
Add android_vh_disable_thermal_cooling_stats symbol so that vendor module
is able to disable thermal cooling device stats.

Leaf changes summary: 1 artifact changed
Changed leaf types summary: 0 leaf type changed
Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 0 Added function
Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 1 Added variable

1 Added variable:

  [A] 'tracepoint __tracepoint_android_vh_disable_thermal_cooling_stats'

Bug: 218825214
Signed-off-by: Manaf Meethalavalappu Pallikunhi <quic_manafm@quicinc.com>
Change-Id: I38e56b2cf9b5bc78ac7ebefe2861d7a8932c09b2
2022-07-19 03:52:53 +00:00
Maulik Shah
91de3cf64f ANDROID: Update symbols list and ABI for qcom
Whitelist pm_suspend_target_state and pm_suspend_global_flags.
Update ABI representation accordingly.

Leaf changes summary: 1 artifact changed
Changed leaf types summary: 0 leaf type changed
Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 0 Added
function
Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 1 Added
variable

1 Added variable:

  [A] 'suspend_state_t pm_suspend_target_state'

Bug: 234543638
Change-Id: I597a230326572c68fbf60370f39e29f551cf15a7
Signed-off-by: Maulik Shah <quic_mkshah@quicinc.com>
2022-07-19 03:52:52 +00:00
Yunxian He
b5df62361d ANDROID: Add several symbol lists for unisoc
Leaf changes summary: 6 artifacts changed
Changed leaf types summary: 0 leaf type changed
Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 6 Added functions
Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 0 Added variable

6 Added functions:

  [A] 'function int phy_pm_runtime_get_sync(phy*)'
  [A] 'function int phy_pm_runtime_put_sync(phy*)'
  [A] 'function int usb_add_gadget(usb_gadget*)'
  [A] 'function void usb_del_gadget(usb_gadget*)'
  [A] 'function usb_ssp_rate usb_get_maximum_ssp_rate(device*)'
  [A] 'function void usb_initialize_gadget(device*, usb_gadget*, void (device*)*)'

Bug: 234533625
Change-Id: Ide5cdd80eb8aae4f80dd3f2e3560416082eec174
Signed-off-by: Yunxian He <yunxian.he@unisoc.com>
2022-07-19 03:52:52 +00:00
Venkata Rao Kakani
1d34fdbf34 ANDROID: abi_gki_aarch64_qcom: Add kobject_get
Add kobject_get to android/abi_gki_aarch64_qcom required by QCOM driver
to create fille in /sys/kernel directory.

Bug: 234545455
Change-Id: I5bd314ee93087c2db9b1c21000506f93d66aadf0
Signed-off-by: Venkata Rao Kakani <quic_vkakani@quicinc.com>
2022-07-19 03:52:51 +00:00
Sachin Gupta
ea340b4052 ANDROID: abi_gki_aarch64_qcom: Add android_vh_ufs_clock_scaling
Add android_vh_ufs_clock_scaling symbol so that vendor module can
use to influence UFS clock scaling policy.

Leaf changes summary: 2 artifacts changed
Changed leaf types summary: 0 leaf type changed
Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 1 Added
function
Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 1 Added
variable

1 Added function:

  [A] 'function int __traceiter_android_vh_ufs_clock_scaling(void*,
ufs_hba*, bool*, bool*, bool*)'

1 Added variable:

  [A] 'tracepoint __tracepoint_android_vh_ufs_clock_scaling'

Bug: 234112523
Change-Id: I78bacfa36f6a54f83db99d4c565c317abecde034
Signed-off-by: Nitin Rawat <quic_nitirawa@quicinc.com>
Signed-off-by: Sachin Gupta <quic_sachgupt@quicinc.com>
2022-07-19 03:52:50 +00:00
Ian Chen
be1388a920 ANDROID: Update symbol list for mtk
1. Generated with:
  BUILD_CONFIG=common/build.config.gki.aarch64 build/build_abi.sh --update

Leaf changes summary: 1 artifact changed
Changed leaf types summary: 0 leaf type changed
Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 1 Added function
Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 0 Added variable

1 Added function:

  [A] 'function long long unsigned int task_sched_runtime(task_struct*)'

Bug: 233862809
Signed-off-by: Ian-Y Chen <ian-y.chen@mediatek.com>
Change-Id: I711c36e26eed20560a48802bca3b665cf3092f45
2022-07-19 03:52:50 +00:00
Lecopzer Chen
1cacfed9ed ANDROID: Update mtktv symbol list
no new symbol in GKI, so simply sync the using list

Bug: 234577947
Signed-off-by: Lecopzer Chen <lecopzer.chen@mediatek.com>
Change-Id: I46cdccaddf2881f3e640ba71f30084191bb82f86
2022-07-19 03:52:49 +00:00
Gokul krishna Krishnakumar
504f9fff34 ANDROID: abi_gki_aarch64_qcom: Update qcom abi symbol list
Functions changes summary: 0 Removed, 0 Changed, 0 Added function
Variables changes summary: 0 Removed, 0 Changed, 0 Added variable

Bug: 231322691
Change-Id: I02f808e003e28503cd06c51b44b6dab219ca151e
Signed-off-by: Gokul krishna Krishnakumar <quic_gokukris@quicinc.com>
2022-07-19 03:52:49 +00:00
Patrick Daly
0e769f2652 ANDROID: qcom: Add flush_delayed_fput to ABI
When a kernel thread calls dma_buf_put() to release the last reference
to a dma-buf, fput_many() defers calling the release callback to a
workqueue. This means that if the same kernel thread later calls
dma_heap_buffer_alloc(), it has no guarantee that the memory from the
prior free is available, leading to random failures. As a short-term
workaround, call flush_delayed_fput() to ensure the free completes
synchronously.

Leaf changes summary: 1 artifact changed
Changed leaf types summary: 0 leaf type changed
Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 1 Added function
Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 0 Added variable

1 Added function:

  [A] 'function void flush_delayed_fput()'

Bug: 210598057
Change-Id: Id936aa0bcd410b23b12f4b922b676aa61a358b4c
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
2022-07-19 03:52:48 +00:00
Neeraj Upadhyay
e4918f7bd5 ANDROID: gic-v3: Change GIC v3 vendor hook to restricted
Some of the irq migration paths call chip set affinity, after
current CPU is marked offline in cpu_online_mask. These
chip set affinity calls do not invoke vendor trace hooks.
So, convert gic_v3_set_affinity() vendor hook to a restricted
hook, to allow trace hook to be called from these irq migration
paths.

Bug: 187161770
Change-Id: I8f45536deb1ba1dc6be861ca4fc2b32306a5c50a
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
(cherry picked from commit 3bd9ad7eb4)
2022-07-19 03:52:37 +00:00
Gokul krishna Krishnakumar
188e6f57c8 ANDROID: abi_gki_aarch64_qcom: Update qcom abi symbol list
Functions changes summary: 0 Removed, 0 Changed, 1 Added function
Variables changes summary: 0 Removed, 0 Changed, 1 Added variable

1 Added function:

  [A] 'function bool cfg80211_rx_control_port(net_device*, sk_buff*, bool)'

1 Added variable:

  [A] 'tracepoint __tracepoint_android_vh_rproc_recovery_set'

Bug: 231322691
Change-Id: Ia8f3512d8295daebac57e2c34d2073a9402b05d6
Signed-off-by: Gokul krishna Krishnakumar <quic_gokukris@quicinc.com>
2022-07-19 03:52:37 +00:00
Vijayanand Jitta
65101bda8a ANDROID: abi_gki_aarch64_qcom: Update qcom abi symbol list
Update qcom abi symbol list with functions required for
minidump and msm_sysstats.

Leaf changes summary: 8 artifacts changed
Changed leaf types summary: 0 leaf type changed
Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 8 Added
functions
Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 0 Added
variable

8 Added functions:

  [A] 'function int __nla_validate(const nlattr*, int, int, const nla_policy*, unsigned int, netlink_ext_ack*)'
  [A] 'function int cgroup_path_ns(cgroup*, char*, size_t, cgroup_namespace*)'
  [A] 'function nlattr* nla_find(const nlattr*, int, int)'
  [A] 'function nlattr* nla_reserve(sk_buff*, int, int)'
  [A] 'function nlattr* nla_reserve_64bit(sk_buff*, int, int, int)'
  [A] 'function unsigned long int pcpu_nr_pages()'
  [A] 'function pid_t pid_nr_ns(pid*, pid_namespace*)'
  [A] 'function unsigned long int vmalloc_nr_pages()'

Bug: 233972073
Change-Id: I398046c12e199e210e84921666243a03829c9018
Signed-off-by: Vijayanand Jitta <quic_vjitta@quicinc.com>
2022-07-16 17:06:40 +00:00
Sachin Gupta
2fd2da90cf ANDROID: Update QCOM symbol list for __reset_control_get
synchronize QCOM symbol list in android/abi_gki_aarch64_qcom for
__reset_control_get.

Leaf changes summary: 1 artifact changed
Changed leaf types summary: 0 leaf type changed
Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 1 Added
function
Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 0 Added
variable

1 Added function:

[A] 'function reset_control* __reset_control_get(device*, const char*,
int, bool, bool, bool)'

Bug: 233961818
Change-Id: I3120e935cfd3f1d5fa88ce3fb5681869c99f0241
Signed-off-by: Sachin Gupta <quic_sachgupt@quicinc.com>
2022-07-16 17:06:40 +00:00
Chris Lew
ed45f4668b ANDROID: abi_gki_aarch64_qcom: Add skb and scatterlist helpers
Add sg_miter_skip, skb_copy_datagram_from_iter and sock_alloc_send_pskb
to the symbol list. These functions will be used in qrtr to handle
fragmented skbs.

Leaf changes summary: 2 artifacts changed
Changed leaf types summary: 0 leaf type changed
Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 2 Added functions
Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 0 Added variable

2 Added functions:

  [A] 'function int skb_copy_datagram_from_iter(sk_buff*, int, iov_iter*, int)'
  [A] 'function sk_buff* sock_alloc_send_pskb(sock*, unsigned long int, unsigned long int, int, int*, int)'

Bug: 232287599
Change-Id: I2ccdb00a0d1c6dafe07bb6da5c9d410a1f64e444
Signed-off-by: Chris Lew <quic_clew@quicinc.com>
2022-07-16 17:06:40 +00:00
Chun-Hung Wu
e05bb77930 ANDROID: Update symbol list for mtk
Leaf changes summary: 2 artifacts changed
Changed leaf types summary: 0 leaf type changed
Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 2 Added functions
Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 0 Added variable

2 Added functions:

  [A] 'function int of_get_pci_domain_nr(device_node*)'
  [A] 'function phys_addr_t pci_pio_to_address(unsigned long int)'

Bug: 228415386
Signed-off-by: Chun-Hung Wu <chun-hung.wu@mediatek.com>
Change-Id: Id947de7495751eba6a411393389d8ba54a7c293b
2022-07-16 17:06:39 +00:00
Jing-Ting Wu
9c10ad1bec ANDROID: Update symbol list for mtk
Leaf changes summary: 1 artifact changed
Changed leaf types summary: 0 leaf type changed
Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 1 Added function
Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 0 Added variable

1 Added function:

[A] 'function int __traceiter_android_vh_check_uninterruptible_tasks(void*, task_struct*, unsigned long int, bool*)'

Bug: 233986175

Signed-off-by: Jing-Ting Wu <Jing-Ting.Wu@mediatek.com>
Change-Id: I5233508f991a602ccddb7f12a909a3e4e29b736a
2022-07-16 17:06:39 +00:00
Ramji Jiyani
2f72cfb4a4 ANDROID: GKI: ZSMALLOC & ZRAM as modules for arm64
Enable zram and zsmalloc (dependency for zram) as
unprotected modules for aarch64. These are already
being used as modules by the vendor currently; so
needs to be unprotected.

Bug: 230519159
Test: TH
Signed-off-by: Ramji Jiyani <ramjiyani@google.com>
Change-Id: I7c617c1a24f6e083301cbed67d0d323388cbd622
2022-07-16 17:06:39 +00:00
Komal Bajaj
0c05ac83cb ANDROID: abi_gki_aarch64_qcom: Adding symbols to qcom symbol list
Add below kernel symbols for vendor modules to qcom symbol list.

__tracepoint_android_vh_gic_v3_set_affinity
__tracepoint_irq_handler_entry
irq_do_set_affinity

Bug: 233325704
Change-Id: Ib98eadf11e6f30194b97f57eb9435379296bde60
Signed-off-by: Komal Bajaj <quic_kbajaj@quicinc.com>
2022-07-16 17:06:39 +00:00
Xiaopeng Bai
92839d182e ANDROID: ABI: Update symbols to unisoc whitelist for the 1st
Update whitelist for the symbols used by the unisoc device and
Update the ABI representation accordingly

Leaf changes summary: 1 artifact changed
Changed leaf types summary: 0 leaf type changed
Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 1 Added function
Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 0 Added variable

1 Added function:

  [A] 'function int __traceiter_android_vh_regmap_update(void*, const regmap_config*, regmap*)'

Bug: 232965613
Change-Id: I913379975687445a95b2ef6b55cdcc23a45912e1
Signed-off-by: Xiaopeng Bai <xiaopeng.bai@unisoc.com>
2022-07-16 00:13:40 +00:00
Wei.Chen
1b84fbff87 ANDROID: ABI: Update symbols to unisoc whitelist
Update whitelist for the symbols used by the unisoc device and
Update the ABI representation accordingly

Leaf changes summary: 5 artifacts changed
Changed leaf types summary: 0 leaf type changed
Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 3 Added functions
Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 2 Added variables

3 Added functions:

  [A] 'function int __traceiter_android_vh_audio_usb_offload_connect(void*, usb_interface*, snd_usb_audio*)'
  [A] 'function int __traceiter_android_vh_audio_usb_offload_ep_action(void*, void*, bool)'
  [A] 'function int __traceiter_android_vh_audio_usb_offload_synctype(void*, void*, int, bool*)'

2 Added variables:

  [A] 'tracepoint __tracepoint_android_vh_audio_usb_offload_ep_action'
  [A] 'tracepoint __tracepoint_android_vh_audio_usb_offload_synctype'

Bug: 233028962
Change-Id: I390cfc3f32367b7c5aecea860777bfc274f194ad
Signed-off-by: Wei Chen <wei.chen3@unisoc.com>
2022-07-16 00:13:40 +00:00
Greg Kroah-Hartman
b7791a4915 ANDROID: update virtual device target symbol list
In commit 5c82c94b0b ("virtio-blk: avoid preallocating big SGL for
data") the code is rewritten to use 2 new symbols from the sg layer.
Add them to the symbol list so that the build continues to work.

Fixes: 5c82c94b0b ("virtio-blk: avoid preallocating big SGL for data")
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I969e04d88614a57bb24257e7749d72deefd23aa0
2022-07-14 14:12:59 +02:00
Eric Biggers
1b1ffd6aa9 ANDROID: ABI: update fips140 symbol list
Recent LTS merges changed the set of symbols used by the fips140 module,
but the symbol list was not correctly updated, so update it now.

Done with:

    BUILD_CONFIG=common/build.config.gki.aarch64.fips140 build/build_abi.sh --update-symbol-list

... and then moving the list from abi_gki_aarch64 to
abi_gki_aarch64_fips140.

Bug: 188620248
Fixes: 48e30cf63b ("ANDROID: ABI: add another missing symbol to the fips140 symbol list")
Change-Id: I16b20db9b94aa575ee0a31ef114e38d6268892c9
Signed-off-by: Eric Biggers <ebiggers@google.com>
2022-07-09 20:05:17 +00:00
Greg Kroah-Hartman
437e10d79a ANDROID: ABI: add wait_on_page_bit to symbol list
The virtual build now wants the wait_on_page_bit symbol added to their
list to work properly, so add it.

Fixes: 207ca68816 ("Linux 5.15.45")
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I529ffaefc2e55fb9372c95197418693e62f33ff8
2022-07-09 11:22:20 +02:00
Greg Kroah-Hartman
48e30cf63b ANDROID: ABI: add another missing symbol to the fips140 symbol list
For some reason rng_is_initialized was left off from commit 0ca9901b89
("ANDROID: ABI: add missing symbols to fips140 symbol list") which
breaks the fips140 build.  Fix that up by adding it to the list.

Bug: 188620248
Cc: Eric Biggers <ebiggers@google.com>
Fixes: 0ca9901b89 ("ANDROID: ABI: add missing symbols to fips140 symbol list")
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: If778fb9a46a23a68d2c6206680b670d0ea58c6af
2022-07-09 11:22:14 +02:00
Sumit Semwal
8ec5927c0a ANDROID: GKI: db845c: Update symbols list and ABI
android14-5.15 is broken on Dragonboard 845c becuase of recently added symbols.

So updated the symbols list by running:
  BUILD_CONFIG=common/build.config.db845c build/build_abi.sh -s

And updated the abi_gki_aarch64 ABI by running:
  "BUILD_CONFIG=common/build.config.gki.aarch64 \
    ABI_DEFINITION=abi_gki_aarch64.xml build/build_abi.sh \
      --update --print-report"

Due to an issue with android14-5.15, the leaf report is not printed; the symbol
causing the problem seems to be:

sdhci_msm: Unknown symbol __reset_control_get (err -2)

Fixes: 3c0a0a2710 ("mmc: sdhci-msm: Reset GCC_SDCC_BCR register for SDHC")

Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
Change-Id: Iff4fe751f4e896c5b978e2d35cb7b0bcb4dd8a42
2022-06-30 15:31:55 +00:00
Eric Biggers
0ca9901b89 ANDROID: ABI: add missing symbols to fips140 symbol list
This fixes the following build error:

ERROR: Differences between ksymtab and symbol list detected!
Symbols missing from ksymtab:
Symbols missing from symbol list:
 - register_random_ready_notifier
 - unregister_random_ready_notifier

Bug: 188620248
Change-Id: Iada810172c1525b96557248889b69a4fb6e1a82e
Signed-off-by: Eric Biggers <ebiggers@google.com>
2022-06-14 22:03:48 +00:00
Greg Kroah-Hartman
7a0de0211b ANDROID: FIPS: remove some random core symbols
The symbols add_random_ready_callback and del_random_ready_callback went
away in 5.15.44, so remove them from the list first so that the checker
doesn't get confused when it can no longer find them.

Fixes: 6da877d2d4 ("random: replace custom notifier chain with standard one")
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Id467254b0884cb2efe2e0d2acb334740fa6e6c07
2022-06-14 11:56:45 +02:00
Eric Biggers
d0ba9bad59 ANDROID: ABI: replace blk_ksm functions in symbol lists
devm_blk_crypto_profile_init needs to be used instead of
devm_blk_ksm_init and blk_ksm_init_passthrough, which no longer exist.

Bug: 160883801
Bug: 162257402
Bug: 207390665
Bug: 234653003
Change-Id: Id71381d88b60141b37c5b38bfbbacec5b05101b7
Signed-off-by: Eric Biggers <ebiggers@google.com>
2022-06-08 21:29:34 +00:00
Todd Kjos
1a0ea2faa8 ANDROID: turn off KMI enforcement
Turn off KMI enforcement for new android14-5.15 branch

Bug: 231591327
Signed-off-by: Todd Kjos <tkjos@google.com>
Change-Id: I7ec08cd5e9a28c4689b25ca015b5c41c98359c02
2022-05-17 21:16:20 +00:00
Wenchao Chen
d8d29c85d8 ANDROID: ABI: Update symbols to unisoc whitelist for the 2st
Update whitelist for the symbols used by the unisoc device and
update the ABI representation accordingly

Leaf changes summary: 2 artifacts changed
Changed leaf types summary: 0 leaf type changed
Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 2 Added functions
Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 0 Added variable

2 Added functions:

  [A] 'function void mmc_cqe_post_req(mmc_host*, mmc_request*)'
  [A] 'function int mmc_wait_for_cmd(mmc_host*, mmc_command*, int)'

Bug: 232880341
Change-Id: Iec39f094d14846e4b05c490d335e1aef23423898
Signed-off-by: Wenchao Chen <wenchao.chen@unisoc.com>
2022-05-17 13:40:06 +00:00
Xuewen Yan
9599549d68 ANDROID: ABI: Update symbols to unisoc whitelist for the 7st
Update whitelist for the symbols used by the unisoc device and
update the ABI representation accordingly.

Leaf changes summary: 2 artifacts changed
Changed leaf types summary: 0 leaf type changed
Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 2 Added functions
Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 0 Added variable

2 Added functions:

  [A] 'function int __traceiter_android_rvh_is_cpu_allowed(void*, task_struct*, int, bool*)'
  [A] 'function int __traceiter_cpu_frequency_limits(void*, cpufreq_policy*)'

Bug: 231529176
Change-Id: I6d1a282ff82be26f22b022bb02d864e8c5c380fe
Signed-off-by: Xuewen Yan <xuewen.yan@unisoc.com>
2022-05-14 20:15:45 +08:00