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>
* This is the initial symbol list for
rockpi4 target.
Bug: 261782070
Change-Id: I76f8924f5e40c6ecfb91a5291b86a9d4fd9badb0
Signed-off-by: Ulises Mendez Martinez <umendez@google.com>
As S2MPU driver was moved to an EL2 module, we need to export init
and register functions to be used from the module.
Bug: 261857213
Change-Id: I819dff0e6164051c464533d80eb68ea003b34b21
Signed-off-by: Mostafa Saleh <smostafa@google.com>
As S2MPU driver is removed from common kernel, remove it's symbols.
Bug: 261857213
Change-Id: I7c70f656ffe9c8555fba1085dae29ac8c5de0f5e
Signed-off-by: Mostafa Saleh <smostafa@google.com>
This reverts commit 8a57e65659.
Reason for revert: This symbol "PageMovable" should not be used by
any driver and is being removed from upstream.
Bug: 264353898
Bug: 261718474
Cc: Jörg Wagner <jorwag@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I368f30bd4ab1f28480ee37e3ee10df9dbb2f5744
Update protected export symbols list with exports
from list of protected modules at
android/gki_protected_modules.
It includes symbols from every GKI modules except
zram & zsmalloc; and serves as a baseline.
Bug: 232430739
Test: TH
Change-Id: Iec33dfe093b4e9e0281b910b2b3bf998cef55394
Signed-off-by: Ramji Jiyani <ramjiyani@google.com>
android/gki_protected_modules serves as a running
list of protected GKI modules. This list is being
used as an input to generate list of protected
GKI modules exports at android/abi_gki_protected_exports
All GKI modules are protected except zram.ko & zsmalloc.ko
as baseline in this list.
Bug: 232430739
Test: TH
Change-Id: I0c993769b9d07543755fd056199b0e4d10d27f77
Signed-off-by: Ramji Jiyani <ramjiyani@google.com>
Implement support for protecting the exported symbols of
protected GKI modules.
Only signed GKI modules are permitted to export symbols
listed in the android/abi_gki_protected_exports file.
Attempting to export these symbols from an unsigned module
will result in the module failing to load, with a
'Permission denied' error message.
Bug: 232430739
Test: TH
Change-Id: I3e8b330938e116bb2e022d356ac0d55108a84a01
Signed-off-by: Ramji Jiyani <ramjiyani@google.com>
In order to allow the registration of dynamic HVCs by pKVM modules, let's
expose the __pkvm_register_el2_call() function in the GKI ABI.
Bug: 244543039
Bug: 244373730
Change-Id: Iae1d0f94776f8c097410a6cf6527c825fee30184
Signed-off-by: Vincent Donnefort <vdonnefort@google.com>
In order to allow loading el2 modules from kernel modules, let's expose
the __pkvm_load_el2_module() function in the GKI ABI.
Bug: 244543039
Bug: 244373730
Change-Id: I65410a02c67178427d4e0c115a24de1584f1adc7
Signed-off-by: Quentin Perret <qperret@google.com>
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>
Add pkvm_iommu_s2mpu_init symbol to the aarch64 pixel kernel ABI.
It is called from vendor modules to init IOMMU with specific version
in pKVM.
Bug: 255731794
Change-Id: I7bbf2e930cdf0ff864d8f180ff9979b5cf918fe7
Signed-off-by: Mostafa Saleh <smostafa@google.com>
update the KMI symbol list after enabled
the bazel abi build method by running commands like this:
$ tools/bazel run //common:db845c_abi_dist
$ tools/bazel run //common:db845c_abi_update_symbol_list
Bug: 246861677
Test: run the db845c_dist, db845c_abi_dist, db845c_abi_update_symbol_list
and the build could boot to homescreen
Change-Id: Ibe628880c0556f20594b581bda6e7e0733b3f121
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
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>
Add three new symbols to the aarch64 kernel ABI. These are to be
called from vendor modules to register an IOMMU with pKVM and
notify the hypervisor about its PM events.
New symbols:
- pkvm_iommu_s2mpu_register
- pkvm_iommu_suspend
- pkvm_iommu_resume
Bug: 190463801
Change-Id: I7a6d4b7b10eb56e5c21e91ddaa3f9cce5c7ba63e
Signed-off-by: David Brazdil <dbrazdil@google.com>
(cherry picked from commit 1b8ccf0263957b52649c42fa81a9f19cce308d0d)
Signed-off-by: Mostafa Saleh <smostafa@google.com>
Converts L2TP and PPP over L2TP as GKI modules.
CONFIG_L2TP: Layer Two Tunneling Protocol (L2TP)
CONFIG_PPOL2TP: PPP over L2TP
Makes CONFIG_NETFILTER_XT_MATCH_L2TP visible in the savedefconfig.
Bug: 232431151
Test: TH
Change-Id: I0e1cbd8f04f97f172f8b1551eade21cf303b24ed
Signed-off-by: Ramji Jiyani <ramjiyani@google.com>
Sets CONFIG_CAN=m to conver CAN Bus subsystem as
GKI module.
Bug: 232431151
Test: TH
Change-Id: Ia90fcc7a30edb994a8e47dea617050836356729d
Signed-off-by: Ramji Jiyani <ramjiyani@google.com>
Converts IPv6 6LoWPAN as GKI modules.
CONFIG_6LOWPAN: 6LoWPAN Support
IPv6 over Low power Wireless Personal Area Network -
"6LoWPAN" which is supported by IEEE 802.15.4 or Bluetooth stacks.
CONFIG_IEEE802154_6LOWPAN: 6lowpan support over IEEE 802.15.4
Bug: 232431151
Test: TH
Change-Id: I4257cedfd499e1e01faba966e17c3d9dbf4dcbb7
Signed-off-by: Ramji Jiyani <ramjiyani@google.com>
Convert RF swithc subsys as GKI module.
CONFIG_RFKILL: RF switch subsystem support
To have control over RF switches found on
many WiFi and Bluetooth cards.
Bug: 232431151
Test: TH
Change-Id: I6fb84f82d7a65b3d4f17261d361be1c44c6b77bb
Signed-off-by: Ramji Jiyani <ramjiyani@google.com>
Converts CONFIG_BT: Bluetooth subsystem support as
GKI modules.
CRYPTO_CMAC & CRYPTO_ECDH are being added as
CONFIG_BT is selecting them i.e. they were
enabled but not visibile in savedefconfig when
BT was an in-built feature and becomes visible
in savedefconfig when BT is a module.
Bug: 232431151
Test: TH
Change-Id: I624939d007fadbf852ad53c4404df12ac769fcd8
Signed-off-by: Ramji Jiyani <ramjiyani@google.com>
CONFIG_BT_HIDP: HIDP protocol support
HIDP (Human Interface Device Protocol) is a transport
layer for HID reports. HIDP is required for the Bluetooth
Human Interface Device Profile.
Bug: 232431151
Test: TH
Change-Id: Ibe9ed98370ecc9c9825c3a735070817d16254138
Signed-off-by: Ramji Jiyani <ramjiyani@google.com>
CONFIG_BT_RFCOMM: RFCOMM protocol support
RFCOMM provides connection oriented stream transport.
RFCOMM support is required for Dialup Networking,
OBEX and other Bluetooth applications.
Bug: 232431151
Test: TH
Change-Id: I573d8c7a1eff02b1554b5d6793b5c3c06fb35931
Signed-off-by: Ramji Jiyani <ramjiyani@google.com>
Converts following networking features to modules:
CONFIG_TIPC: The Transparent Inter Process Communication (TIPC) protocol.
CONFIG_TIPC_DIAG: TIPC: socket monitoring interface
Bug: 232431151
Test: TH
Change-Id: I370cc7a34f67222b619107d773cc4a13edd6b538
Signed-off-by: Ramji Jiyani <ramjiyani@google.com>
CONFIG_USB_SERIAL: USB Serial Converter support
CONFIG_USB_FTDI_SIO: FTDI SIO single port USB to
serial converter device.
Bug: 232431151
Test: TH
Change-Id: I1522a9beb0f70740fdce11d1c50b606d81ddf6c6
Signed-off-by: Ramji Jiyani <ramjiyani@google.com>
CONFIG_USB_ACM:
This driver supports USB modems and ISDN adapters
which support the Communication Device Class
Abstract Control Model interface.
Bug: 232431151
Test: TH
Change-Id: I15e07607121546eee4e6fa6b8bd8a8fd510a02d9
Signed-off-by: Ramji Jiyani <ramjiyani@google.com>
Add CAN related non bus drivers as GKI modules.
Bug: 229934827
Bug: 232431151
Test: TH
Change-Id: I5d876363a0ea3007e5a83bbca53dcaae1e09e707
Signed-off-by: Ramji Jiyani <ramjiyani@google.com>
Clean up:
List modules in android/gki_system_dlkm_modules
in a sorted order. List of modules are not order
dependent in this file. Initially it was meant to
keep same as android/gki_aarch64_modules which has
order dependencies due to being used as MODULE_ORDER
if building using build.sh. kleaf doesn't use
android/gki_aarch64_modules and it should be deleted
as part of final switch to kleaf.
Bug: 232431411
Test: TH
Change-Id: I8a5ce0f3466d4322ed956a4cb3d2f9c8ef075a86
Signed-off-by: Ramji Jiyani <ramjiyani@google.com>
Remove zram & zsmalloc symbols from abi_gki_aarch64.
This makes these modules as protected until some partner
adds these symbols in their symbol list to override them.
This also cleans up the generic symbol list as per the
GKI modules symbol handling i.e. GKI modules don't contribute
to the KMIs until they are being override by the partners.
Bug: 232431151
Test: TH
Signed-off-by: Ramji Jiyani <ramjiyani@google.com>
Change-Id: I30fb0a46f306d1efdc7e174725066dcc86040e80
This reverts commit f8bd6cf70d.
Reason for revert: Part of old protected/unprotected module implemenation.
It is being replaced by a new design listed as option 2A at
go/gki-modules-build-integration
Bug: 232430739
Test: TH
Signed-off-by: Ramji Jiyani <ramjiyani@google.com>
Change-Id: I0fbb4e4aede5f94c3454ea4be1735c837cae5118
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
android14-5.15 is broken on Dragonboard 845c because 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 no published ABI reference with android14-5.15, the leaf report is not
printed; the symbol causing the problem seems to be:
msm: Unknown symbol drm_bridge_detect (err -2)
Fixes: 6411d0c458 ("drm/msm/hdmi: switch to drm_bridge_connector")
Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
Change-Id: Idff4a3cd86f941b22224121e11a75001dd73d17d
The following symbols no longer exist after reverting the out-of-tree
pKVM patches inherited from android13-5.15:
- pkvm_iommu_finalize
- pkvm_iommu_resume
- pkvm_iommu_s2mpu_register
- pkvm_iommu_suspend
- pkvm_iommu_sysmmu_sync_register
Additionally, mem_encrypt_active does not make sense outside of a pKVM
guest (as it will always return 0).
Remove references to these symbols from the symbol lists so that we can
get presubmit working again before re-introducing the symbols in a newer
version of the pKVM series.
Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: I1413e12e5e0f078fc7c7dfdbcac74c0078dadafd
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>
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>