Commit Graph

18 Commits

Author SHA1 Message Date
Greg Kroah-Hartman
2ce8e6e296 ANDROID: add __dev_kfree_skb_irq to virtual_device abi list
Due to the change in commit 06467130d5 ("Bluetooth: btusb: don't call
kfree_skb() under spin_lock_irqsave()"), __dev_kfree_skb_irq is now
required by the btusb.ko module, so add it to the virtual abi list to
properly export it.

Fixes: 06467130d5 ("Bluetooth: btusb: don't call kfree_skb() under spin_lock_irqsave()")
Change-Id: Id91e73b52990fa9c3907dcc491e16fadb954e830
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2023-02-01 06:32:50 +00:00
Alistair Delva
dbfa55ad97 ANDROID: ABI update for virtual device virtio_gpu changes
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 bool is_virtio_device(device*)'

Bug: 182530967
Change-Id: I905fab59660cb3e49b5096daefacaf77107c7c4c
Signed-off-by: yulilin <yulilin@google.com>
Signed-off-by: Alistair Delva <adelva@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2022-08-15 11:01:37 +02:00
Greg Kroah-Hartman
ac9bace423 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 and the .xml file so that the build
continues to work.

Functions changes summary: 0 Removed, 0 Changed (53 filtered out), 2 Added functions
Variables changes summary: 0 Removed, 0 Changed (1 filtered out), 0 Added variable

2 Added functions:

  [A] 'function int sg_alloc_table_chained(sg_table*, int, scatterlist*, unsigned int)'
  [A] 'function void sg_free_table_chained(sg_table*, unsigned int)'

Fixes: 5c82c94b0b ("virtio-blk: avoid preallocating big SGL for data")
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I969e04d88614a57bb24257e7749d72deefd23aa0
2022-08-10 14:12:40 +02:00
Roman Kiryanov
473399ba79 ANDROID: Update ABI and abi_gki_aarch64_virtual_device
5 Added functions:

  [A] 'function void __page_frag_cache_drain(page*, unsigned int)'
  [A] 'function int dev_set_threaded(net_device*, bool)'
  [A] 'function void* page_frag_alloc_align(page_frag_cache*, unsigned int, gfp_t, unsigned int)'
  [A] 'function int pci_disable_link_state(pci_dev*, int)'
  [A] 'function void usb_init_urb(urb*)'

These functions are required to switch virtual devices
from an off-tree rtl8821cu to in-tree mt76x wifi drivers.

Bug: 220066422
Signed-off-by: Roman Kiryanov <rkir@google.com>
Change-Id: I1acfa760a50b4a06d047beb13efc455f90deada7
2022-07-28 17:08:26 +00:00
Ramji Jiyani
b24cd8be89 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
2022-06-01 09:32:34 -07: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