Commit Graph

21 Commits

Author SHA1 Message Date
Yifan Hong
52b9f943fb ANDROID: Update symbol list for virtual device.
This is updated by
  tools/bazel run //common-modules/virtual-device:virtual_device_aarch64_abi_update_symbol_list

Test: TH
Bug: 267694690
Change-Id: I876704cc5d0aa84647f3dbf1e30c08dd5136286a
Signed-off-by: Yifan Hong <elsk@google.com>
2023-02-10 17:25:07 +00:00
Ramji Jiyani
b7a3937703 ANDROID: ABI: Update virtual_device arm64 symbols
Change f3a376d35d83 ("Revert "Add CFG80211 and MAC80211 as modules"")
Removed cfg80211.ko and mac80211.ko as vendor modules to use GKI
versions for virtual_device arm64 builds.

Remove symbols required for these modules from the symbol list;
so they stay protected for everyone until there is a proper case
for overriding these modules is required.

Bug: 232431151
Test: TH
Change-Id: Id858a2105990a533ab8557ba49fcd47db674b31f
Signed-off-by: Ramji Jiyani <ramjiyani@google.com>
2022-12-06 16:40:52 +00:00
Ulises Mendez Martinez
4f4395c2d4 ANDROID: virtual_device: Update symbol list
Bug: 260913198
Change-Id: Ie46846138f4c2f545dc9d129b6e3d09f0ebc11bb
Signed-off-by: Ulises Mendez Martinez <umendez@google.com>
2022-12-05 23:21:16 +00:00
Ramji Jiyani
7d08da22b3 ANDROID: GKI: Add virtual_device arm64 symbollist
It was removed as part of http://aosp/2225442 being
out dated; but need to restore it until kleaf supports
to generate new one for the virtual_device. This
will allow virtual_device modules depending on GKI
modules symbols to load.

This will serve as baseline as of now.

Test: TH
Bug: 248334110
Change-Id: I6bbe8d4544b2f8759ed844a672dd9304e9c091cb
Signed-off-by: Ramji Jiyani <ramjiyani@google.com>
2022-12-01 16:48:57 +00:00
Ramji Jiyani
44e8479df1 ANDROID: GKI: Remove unused symbol lists
Symbol lists which are not updated after the fork
from the 13-5.15 kernel are deleted to force
regeneration of those lists when needed.

Remove stale symbols from the remaining lists.
Stale symbols (exported in 13-5.15 but not in 14-5.15):
- kfree_skb
- tty_schedule_flip

Bug: 248334110
Signed-off-by: Ramji Jiyani <ramjiyani@google.com>
Change-Id: Icc5ef9feb9f5268ac19a84979951c3e15afc2af5
2022-09-22 22:22:26 +00:00
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
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
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
Alistair Delva
60cddd3d15 ANDROID: GKI: Update virtual_device symbol list
Add necessary symbols for vkms and e1000 drivers.
Update the ABI representation as well.

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

29 Added functions:

  [A] 'function int ___pskb_trim(sk_buff*, unsigned int)'
  [A] 'function void __drm_gem_destroy_shadow_plane_state(drm_shadow_plane_state*)'
  [A] 'function void __drm_gem_duplicate_shadow_plane_state(drm_plane*, drm_shadow_plane_state*)'
  [A] 'function void __drm_gem_reset_shadow_plane(drm_plane*, drm_shadow_plane_state*)'
  [A] 'function void* __drmm_universal_plane_alloc(drm_device*, size_t, size_t, uint32_t, const drm_plane_funcs*, const uint32_t*, unsigned int, const uint64_t*, drm_plane_type, const char*, ...)'
  [A] 'function void* __netdev_alloc_frag_align(unsigned int, unsigned int)'
  [A] 'function void* devres_open_group(device*, void*, gfp_t)'
  [A] 'function int devres_release_group(device*, void*)'
  [A] 'function void drm_calc_timestamping_constants(drm_crtc*, const drm_display_mode*)'
  [A] 'function u64 drm_crtc_accurate_vblank_count(drm_crtc*)'
  [A] 'function int drm_crtc_add_crc_entry(drm_crtc*, bool, uint32_t, uint32_t*)'
  [A] 'function void drm_gem_cleanup_shadow_fb(drm_plane*, drm_plane_state*)'
  [A] 'function int drm_gem_fb_vmap(drm_framebuffer*, dma_buf_map*, dma_buf_map*)'
  [A] 'function void drm_gem_fb_vunmap(drm_framebuffer*, dma_buf_map*)'
  [A] 'function int drm_gem_prepare_shadow_fb(drm_plane*, drm_plane_state*)'
  [A] 'function int drm_gem_shmem_dumb_create(drm_file*, drm_device*, drm_mode_create_dumb*)'
  [A] 'function drm_gem_object* drm_gem_shmem_prime_import_sg_table(drm_device*, dma_buf_attachment*, sg_table*)'
  [A] 'function void ethtool_convert_legacy_u32_to_link_mode(unsigned long int*, u32)'
  [A] 'function bool ethtool_convert_link_mode_to_legacy_u32(u32*, const unsigned long int*)'
  [A] 'function sk_buff* napi_get_frags(napi_struct*)'
  [A] 'function gro_result_t napi_gro_frags(napi_struct*)'
  [A] 'function void page_frag_free(void*)'
  [A] 'function void pci_clear_mwi(pci_dev*)'
  [A] 'function int pci_enable_device_mem(pci_dev*)'
  [A] 'function void* pci_ioremap_bar(pci_dev*, int)'
  [A] 'function int pci_select_bars(pci_dev*, unsigned long int)'
  [A] 'function int pci_set_mwi(pci_dev*)'
  [A] 'function int pcix_get_mmrbc(pci_dev*)'
  [A] 'function int pcix_set_mmrbc(pci_dev*, int)'

Bug: 219525285
Change-Id: I78a679bdb6761167f5cb5fcb45e0461a3d0b9cbb
Signed-off-by: Alistair Delva <adelva@google.com>
2022-04-01 17:13:53 +00:00
Greg Kroah-Hartman
c34dfc24e0 ANDROID: Add ieee80211_tx_prepare_skb symbol to android/abi_gki_aarch64_virtual_device
The 5.15.27 kernel release added the requirement to use
ieee80211_tx_prepare_skb() so add it to the virtual device symbol list
to keep the build working properly.

Functions changes summary: 0 Removed, 0 Changed (3013 filtered out), 1 Added functions
Variables changes summary: 0 Removed, 0 Changed (129 filtered out), 0 Added variables

1 Added function:

  [A] 'function bool ieee80211_tx_prepare_skb(ieee80211_hw*, ieee80211_vif*, sk_buff*, int, ieee80211_sta**)'

Fixes: efe3167e52 ("Linux 5.15.27")
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Id895880508e7ccd90e1f29048fc11a4ad9c2b84c
2022-03-17 14:02:27 +01:00
Steve Muckle
388a1734b3 Revert "ANDROID: GKI: enable test_stackinit kernel module"
Reason for revert: need alternative deployment path for test modules

Change-Id: I2b27bb5451a3338e5d5cdb1e67440290cd42df44
Bug: 181024194
Signed-off-by: Steve Muckle <smuckle@google.com>
2022-02-01 20:33:18 +00:00
Alistair Delva
f5ea50a85b ANDROID: GKI: update virtual_device symbol list
DRM core symbols needed by pl111 driver.

Bug: 203030890
Change-Id: I2d33e9426e607d85b54de794cdd3f0a097a3421f
Signed-off-by: Alistair Delva <adelva@google.com>
2022-01-21 15:48:38 +00:00
David Brazdil
31641032ce ANDROID: GKI: update virtual device symbol list
Add symbols needed by the newly added open-dice.ko.

Bug: 198197082
Signed-off-by: David Brazdil <dbrazdil@google.com>
Change-Id: I035ad09985d216151fb84df104bc90b8db32bbcf
2022-01-20 17:19:00 +00:00
Steve Muckle
184e458499 ANDROID: GKI: enable test_stackinit kernel module
Bug: 181024194
Change-Id: Ib7f9ea287fea7d27a87cdf549d0c4914317f8e56
Signed-off-by: Steve Muckle <smuckle@google.com>
2022-01-19 22:03:10 +00:00
Hridya Valsaraju
8b7fdc4ca7 ANDROID: GKI: Update virtual_device symbol list
Update symbol list after making the DMA-BUF heap page-pool helper
library built-in.

Bug: 183902174
Change-Id: I855e034942e2cbaf935e855d0db8882ccefb0395
Signed-off-by: Hridya Valsaraju <hridya@google.com>
2022-01-06 10:12:49 -08:00
Greg Kroah-Hartman
1592d4fa49 ANDROID: GKI: update symbol list for usleep_range change
Commit 5a960e533c ("timers: implement usleep_idle_range()") changed
the usleep_range() call to be an inline function that calls
usleep_range_state() instead.  So fix up the few usages of this symbol
in the symbol list so the build starts to work again.

Fixes: 5a960e533c ("timers: implement usleep_idle_range()")
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I1692276e3c7d42e4f8a72c508843ff8fc28c9196
2021-12-15 18:34:29 +01:00
Victor Shutemov
5f6a4664cb ANDROID: GKI: update virtual device symbol list
Reorder vlan symbols and put under the right module comment.

Bug: 210119134

Signed-off-by: Victor Shutemov <victor@haleytek.com>
Change-Id: Ie1ea9c7ded3fec99cb2951a8f5129a8b5a16a88d
2021-12-15 10:59:55 +00:00
Victor Shutemov
d3df2d1419 ANDROID: GKI: Add VLAN_8021Q
VLAN_8021Q is needed for haleytek vehicle projects.
It's not possible to add as a vendor module since
building as module changes built-in data structures.

Bug: 210119134
Signed-off-by: Victor Shutemov <victor@haleytek.com>
Change-Id: I2098a3bc2fe25bfb3cc69cac947ab4b94c1f5e7f
2021-12-14 17:56:46 +00:00
Donnie Pollitz
92d60ba2a3 ANDROID: GKI: Add symbols abi for USB IP kernel modules.
Bug: 207100354
Test: Manually, Emulator boots up.

Signed-off-by: Donnie Pollitz <donpollitz@google.com>
Change-Id: I7cfcca64af981ebdbe52f8e224b6194f31203f89
2021-12-04 11:10:33 +01:00
Steve Muckle
9b4afda207 ANDROID: GKI: add required symbols for btusb to virtual device
Bug: 202405948
Signed-off-by: Steve Muckle <smuckle@google.com>
Change-Id: Ibe8dbd56a93f709b681dce81ac519ab0d59d42a3
2021-11-11 00:00:31 +00:00
Matthias Maennich
eff25c4b7f ANDROID: add initial symbol list for virtual devices
Generated (without symbol trimming) by:
  $ BUILD_CONFIG=common/build.config.gki.aarch64 build/build.sh
  $ BUILD_CONFIG=common-modules/virtual-device/build.config.virtual_device.aarch64 build/build.sh
  $ build/abi/extract_symbols --symbol-list common/android/abi_gki_aarch64_virtual_device out/android13-5.15/dist/

Bug: 204472986
Signed-off-by: Matthias Maennich <maennich@google.com>
Change-Id: Ie79cf2d3a4893b8d07bf3bc7ff48373fd369be6a
2021-11-02 16:39:15 +00:00