diff --git a/Kconfig b/Kconfig
index e10b3ee084d4..745bc773f567 100644
--- a/Kconfig
+++ b/Kconfig
@@ -5,8 +5,6 @@
#
mainmenu "Linux/$(ARCH) $(KERNELVERSION) Kernel Configuration"
-comment "Compiler: $(CC_VERSION_TEXT)"
-
source "scripts/Kconfig.include"
source "init/Kconfig"
diff --git a/android/abi_gki_aarch64 b/android/abi_gki_aarch64
index 233ea230c8b5..57914f291962 100644
--- a/android/abi_gki_aarch64
+++ b/android/abi_gki_aarch64
@@ -1,4 +1,4 @@
-[abi_whitelist]
+[abi_symbol_list]
# commonly used symbols
module_layout
__put_task_struct
diff --git a/android/abi_gki_aarch64.xml b/android/abi_gki_aarch64.xml
index e41f5234a571..ec6984e5a793 100644
--- a/android/abi_gki_aarch64.xml
+++ b/android/abi_gki_aarch64.xml
@@ -149,6 +149,7 @@
+
@@ -551,6 +552,7 @@
+
@@ -953,6 +955,7 @@
+
@@ -1257,6 +1260,7 @@
+
@@ -1562,6 +1566,7 @@
+
@@ -1641,6 +1646,8 @@
+
+
@@ -1816,6 +1823,7 @@
+
@@ -2044,6 +2052,7 @@
+
@@ -3288,6 +3297,7 @@
+
@@ -3605,6 +3615,14 @@
+
+
+
+
+
+
+
+
@@ -3703,13 +3721,8 @@
-
-
-
-
-
@@ -3940,6 +3953,7 @@
+
@@ -4264,6 +4278,8 @@
+
+
@@ -4497,26 +4513,16 @@
-
-
-
-
-
-
-
-
-
-
@@ -4525,16 +4531,10 @@
-
-
-
-
-
-
@@ -4543,38 +4543,23 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
-
@@ -5264,6 +5249,17 @@
+
+
+
+
+
+
+
+
+
+
+
@@ -7647,114 +7643,114 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -7783,7 +7779,7 @@
-
+
@@ -11197,6 +11193,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -14184,23 +14197,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -14329,17 +14325,6 @@
-
-
-
-
-
-
-
-
-
-
-
@@ -14494,7 +14479,7 @@
-
+
@@ -14529,8 +14514,8 @@
-
-
+
+
@@ -14541,6 +14526,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -14588,7 +14588,7 @@
-
+
@@ -14599,7 +14599,7 @@
-
+
@@ -14965,6 +14965,14 @@
+
+
+
+
+
+
+
+
@@ -15182,7 +15190,7 @@
-
+
@@ -15458,7 +15466,6 @@
-
@@ -16168,6 +16175,35 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -16234,7 +16270,52 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -16249,6 +16330,39 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -16257,6 +16371,61 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -16340,6 +16509,53 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -16724,6 +16940,35 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -17193,25 +17438,17 @@
-
-
-
-
-
-
-
-
@@ -19663,52 +19900,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -19867,6 +20058,52 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -21964,6 +22201,8 @@
+
+
@@ -22037,6 +22276,17 @@
+
+
+
+
+
+
+
+
+
+
+
@@ -22275,6 +22525,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -22592,7 +22856,6 @@
-
@@ -23499,7 +23762,6 @@
-
@@ -23951,7 +24213,6 @@
-
@@ -24987,7 +25248,6 @@
-
@@ -26368,7 +26628,6 @@
-
@@ -26382,7 +26641,6 @@
-
@@ -26718,7 +26976,6 @@
-
@@ -26997,6 +27254,133 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -27143,6 +27527,10 @@
+
+
+
+
@@ -28189,7 +28577,6 @@
-
@@ -28217,6 +28604,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -29815,6 +30219,61 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -30726,11 +31185,9 @@
-
-
@@ -35683,6 +36140,12 @@
+
+
+
+
+
+
@@ -35851,6 +36314,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -36100,7 +36577,7 @@
-
+
@@ -36120,26 +36597,26 @@
-
+
-
+
-
+
-
+
-
+
@@ -36190,6 +36667,14 @@
+
+
+
+
+
+
+
+
@@ -36883,7 +37368,6 @@
-
@@ -37802,12 +38286,12 @@
-
-
+
+
-
+
@@ -37821,12 +38305,12 @@
-
+
-
+
@@ -37846,7 +38330,7 @@
-
+
@@ -37874,7 +38358,7 @@
-
+
@@ -39038,6 +39522,17 @@
+
+
+
+
+
+
+
+
+
+
+
@@ -39272,8 +39767,6 @@
-
-
@@ -39985,6 +40478,50 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -39996,6 +40533,29 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -40243,7 +40803,6 @@
-
@@ -41356,6 +41915,29 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -42036,6 +42618,41 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -42259,9 +42876,7 @@
-
-
@@ -42333,6 +42948,49 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -43416,8 +44074,6 @@
-
-
@@ -45578,6 +46234,38 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -45592,6 +46280,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -46664,7 +47366,6 @@
-
@@ -47948,7 +48649,7 @@
-
+
@@ -49595,7 +50296,7 @@
-
+
@@ -49951,7 +50652,7 @@
-
+
@@ -49961,247 +50662,247 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -50215,13 +50916,13 @@
-
+
-
+
@@ -50233,7 +50934,7 @@
-
+
@@ -50242,11 +50943,11 @@
-
+
-
+
@@ -50277,12 +50978,12 @@
-
+
-
+
@@ -50383,7 +51084,7 @@
-
+
@@ -50415,7 +51116,7 @@
-
+
@@ -50471,7 +51172,7 @@
-
+
@@ -50482,7 +51183,7 @@
-
+
@@ -50526,8 +51227,6 @@
-
-
@@ -51752,6 +52451,32 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -52116,13 +52841,13 @@
-
+
-
+
@@ -52422,6 +53147,62 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -52658,6 +53439,41 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -53069,6 +53885,14 @@
+
+
+
+
+
+
+
+
@@ -53610,6 +54434,91 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -55020,6 +55929,37 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -56127,7 +57067,6 @@
-
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63398,6 +64728,89 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -63632,9 +65045,7 @@
-
-
@@ -64903,6 +66314,62 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -64931,6 +66398,26 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -65015,6 +66502,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -65431,8 +66935,6 @@
-
-
@@ -66157,6 +67659,38 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -66775,6 +68309,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -66824,6 +68372,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -67005,8 +68567,6 @@
-
-
@@ -67743,6 +69303,35 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -68650,7 +70239,6 @@
-
@@ -69425,8 +71013,6 @@
-
-
@@ -72443,6 +74029,32 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -74366,7 +75978,6 @@
-
@@ -75278,6 +76889,14 @@
+
+
+
+
+
+
+
+
@@ -75957,6 +77576,62 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
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+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -85988,16 +88491,6 @@
-
-
-
-
-
-
-
-
-
-
@@ -86289,12 +88782,21 @@
-
+
-
+
-
+
+
+
+
+
+
+
+
+
+
@@ -86377,6 +88879,52 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -86681,6 +89229,49 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -86750,6 +89341,26 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -86951,7 +89562,6 @@
-
@@ -87049,11 +89659,11 @@
-
+
-
+
@@ -87219,7 +89829,6 @@
-
@@ -87507,7 +90116,7 @@
-
+
@@ -87555,23 +90164,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -87706,7 +90298,45 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -87720,7 +90350,7 @@
-
+
@@ -87732,20 +90362,19 @@
-
+
-
+
-
+
-
+
-
-
+
@@ -87923,7 +90552,6 @@
-
@@ -88068,7 +90696,6 @@
-
@@ -88124,6 +90751,32 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -88176,6 +90829,7 @@
+
@@ -88433,6 +91087,17 @@
+
+
+
+
+
+
+
+
+
+
+
@@ -88953,7 +91618,7 @@
-
+
@@ -88992,6 +91657,26 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -89064,6 +91749,104 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -89163,7 +91946,6 @@
-
@@ -89173,37 +91955,33 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
@@ -89286,6 +92064,41 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -89306,6 +92119,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -89353,7 +92183,7 @@
-
+
@@ -89364,7 +92194,7 @@
-
+
@@ -89488,6 +92318,11 @@
+
+
+
+
+
@@ -89497,7 +92332,7 @@
-
+
@@ -89845,15 +92680,26 @@
+
+
+
+
+
+
+
+
+
+
+
-
-
-
+
+
+
@@ -90094,6 +92940,17 @@
+
+
+
+
+
+
+
+
+
+
+
@@ -90102,6 +92959,17 @@
+
+
+
+
+
+
+
+
+
+
+
@@ -90517,39 +93385,39 @@
-
-
-
-
-
+
+
+
+
+
-
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
-
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
@@ -90780,6 +93648,7 @@
+
@@ -90788,6 +93657,11 @@
+
+
+
+
+
@@ -90982,70 +93856,39 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -92619,6 +95462,83 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
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+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -104262,7 +107961,7 @@
-
+
@@ -104383,7 +108082,6 @@
-
@@ -104453,13 +108151,30 @@
-
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -104543,7 +108258,7 @@
-
+
@@ -104629,6 +108344,12 @@
+
+
+
+
+
+
@@ -104729,6 +108450,10 @@
+
+
+
+
@@ -104830,6 +108555,74 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -104929,6 +108722,14 @@
+
+
+
+
+
+
+
+
@@ -105088,6 +108889,11 @@
+
+
+
+
+
@@ -105097,6 +108903,11 @@
+
+
+
+
+
@@ -105228,6 +109039,10 @@
+
+
+
+
@@ -105295,17 +109110,35 @@
-
-
-
+
+
+
-
-
+
+
-
-
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -105319,6 +109152,29 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -105355,7 +109211,6 @@
-
@@ -105411,11 +109266,6 @@
-
-
-
-
-
@@ -105521,6 +109371,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -105546,6 +109418,14 @@
+
+
+
+
+
+
+
+
@@ -106008,6 +109888,70 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -106175,7 +110119,7 @@
-
+
@@ -106414,9 +110358,7 @@
-
-
@@ -107277,6 +111219,65 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -108260,9 +112261,6 @@
-
-
-
@@ -110668,6 +114666,11 @@
+
+
+
+
+
@@ -110867,6 +114870,11 @@
+
+
+
+
+
@@ -111278,6 +115286,14 @@
+
+
+
+
+
+
+
+
@@ -111480,6 +115496,17 @@
+
+
+
+
+
+
+
+
+
+
+
@@ -111670,6 +115697,14 @@
+
+
+
+
+
+
+
+
@@ -112059,6 +116094,49 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -112561,6 +116639,62 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -112578,7 +116712,7 @@
-
+
@@ -112601,6 +116735,26 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -112991,6 +117145,29 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -113159,6 +117336,14 @@
+
+
+
+
+
+
+
+
@@ -113356,7 +117541,6 @@
-
@@ -117932,15 +122116,7 @@
-
-
-
-
-
-
-
-
-
+
@@ -119232,6 +123408,32 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -119496,7 +123698,6 @@
-
@@ -119774,6 +123975,35 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -119782,6 +124012,71 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -120541,6 +124836,41 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -125514,6 +129844,6 @@
diff --git a/android/abi_gki_aarch64_cuttlefish b/android/abi_gki_aarch64_cuttlefish
index 289794edf98a..df6a9c3c7eb0 100644
--- a/android/abi_gki_aarch64_cuttlefish
+++ b/android/abi_gki_aarch64_cuttlefish
@@ -1,4 +1,4 @@
-[abi_whitelist]
+[abi_symbol_list]
# commonly used symbols
add_wait_queue
alloc_etherdev_mqs
diff --git a/android/abi_gki_aarch64_d6430e6763.xml b/android/abi_gki_aarch64_d6430e6763.xml
index 02a9e11f010b..084f9a94c99f 100644
--- a/android/abi_gki_aarch64_d6430e6763.xml
+++ b/android/abi_gki_aarch64_d6430e6763.xml
@@ -3784,7 +3784,7 @@
-
+
@@ -4034,8 +4034,8 @@
-
-
+
+
@@ -4083,10 +4083,7 @@
-
-
-
-
+
@@ -4166,7 +4163,7 @@
-
+
@@ -4194,7 +4191,7 @@
-
+
@@ -4250,114 +4247,114 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -4401,15 +4398,15 @@
-
+
-
+
-
+
-
+
@@ -4424,24 +4421,24 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -4460,31 +4457,31 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -4566,38 +4563,38 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -4834,14 +4831,14 @@
-
+
-
+
@@ -6838,6 +6835,7 @@
+
@@ -11051,44 +11049,44 @@
-
-
-
+
+
+
-
-
-
-
-
+
+
+
+
+
-
-
-
+
+
+
-
-
-
-
-
+
+
+
+
+
-
-
-
+
+
+
-
-
-
-
+
+
+
+
-
-
-
+
+
+
@@ -12020,7 +12018,7 @@
-
+
@@ -12068,56 +12066,56 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -13840,15 +13838,15 @@
-
+
-
+
-
+
-
+
@@ -18665,7 +18663,7 @@
-
+
@@ -18762,12 +18760,12 @@
-
+
-
+
@@ -18998,27 +18996,27 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -19669,32 +19667,32 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -19705,7 +19703,7 @@
-
+
@@ -19717,7 +19715,7 @@
-
+
@@ -19737,23 +19735,23 @@
-
+
-
+
-
+
-
+
@@ -20436,14 +20434,6 @@
-
-
-
-
-
-
-
-
@@ -21733,18 +21723,18 @@
-
+
-
+
-
+
-
+
-
+
@@ -24009,7 +23999,7 @@
-
+
@@ -24522,7 +24512,7 @@
-
+
@@ -24646,7 +24636,7 @@
-
+
@@ -24660,7 +24650,7 @@
-
+
@@ -24668,7 +24658,7 @@
-
+
@@ -24813,295 +24803,295 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -25155,7 +25145,7 @@
-
+
@@ -25219,7 +25209,7 @@
-
+
@@ -25276,7 +25266,7 @@
-
+
@@ -25424,7 +25414,7 @@
-
+
@@ -25455,7 +25445,7 @@
-
+
@@ -25466,7 +25456,7 @@
-
+
@@ -25528,7 +25518,7 @@
-
+
@@ -25725,7 +25715,7 @@
-
+
@@ -25744,7 +25734,7 @@
-
+
@@ -25781,7 +25771,7 @@
-
+
@@ -25905,12 +25895,12 @@
-
+
-
+
@@ -25926,7 +25916,7 @@
-
+
@@ -25937,12 +25927,12 @@
-
+
-
+
@@ -25950,7 +25940,7 @@
-
+
@@ -25963,7 +25953,7 @@
-
+
@@ -26057,7 +26047,7 @@
-
+
@@ -26116,7 +26106,7 @@
-
+
@@ -26381,20 +26371,20 @@
-
-
-
-
-
-
+
+
+
+
+
+
-
-
+
+
@@ -27032,6 +27022,7 @@
+
@@ -27104,6 +27095,7 @@
+
@@ -27155,8 +27147,6 @@
-
-
@@ -28637,10 +28627,10 @@
-
-
-
-
+
+
+
+
@@ -28948,314 +28938,314 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -29984,20 +29974,20 @@
-
+
-
+
-
+
-
+
-
+
-
+
@@ -30035,41 +30025,41 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -30206,7 +30196,7 @@
-
+
@@ -30578,60 +30568,60 @@
-
-
+
+
-
-
-
+
+
+
-
-
-
+
+
+
-
-
-
+
+
+
-
-
+
+
-
-
-
+
+
+
-
-
-
-
-
+
+
+
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
-
+
+
+
@@ -34243,6 +34233,12 @@
+
+
+
+
+
+
@@ -39040,6 +39036,14 @@
+
+
+
+
+
+
+
+
@@ -39676,7 +39680,25 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -39845,22 +39867,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -41571,52 +41577,52 @@
-
-
+
+
-
-
-
+
+
+
-
-
+
+
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
-
-
+
+
-
-
+
+
@@ -42198,12 +42204,12 @@
-
+
-
+
-
+
@@ -42259,8 +42265,8 @@
-
-
+
+
@@ -42598,11 +42604,11 @@
-
-
-
-
-
+
+
+
+
+
@@ -42610,16 +42616,16 @@
-
-
-
+
+
+
-
-
-
-
-
+
+
+
+
+
@@ -45417,10 +45423,10 @@
-
+
-
+
@@ -45625,7 +45631,7 @@
-
+
@@ -48360,11 +48366,11 @@
-
+
-
+
@@ -48378,7 +48384,7 @@
-
+
@@ -50323,10 +50329,10 @@
-
+
-
+
@@ -50344,7 +50350,7 @@
-
+
@@ -51187,22 +51193,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -51346,12 +51336,6 @@
-
-
-
-
-
-
@@ -51360,6 +51344,12 @@
+
+
+
+
+
+
@@ -51448,7 +51438,7 @@
-
+
@@ -51530,7 +51520,7 @@
-
+
@@ -51795,7 +51785,7 @@
-
+
@@ -53104,12 +53094,12 @@
-
+
-
+
-
+
@@ -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+
-
+
-
+
-
+
@@ -59668,9 +59658,9 @@
-
+
-
+
@@ -60878,60 +60868,60 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -63239,7 +63229,7 @@
-
+
@@ -64436,7 +64426,7 @@
-
+
@@ -64591,7 +64581,7 @@
-
+
@@ -65823,7 +65813,7 @@
-
+
@@ -66627,7 +66617,7 @@
-
+
@@ -66636,7 +66626,7 @@
-
+
@@ -68468,7 +68458,7 @@
-
+
@@ -68493,12 +68483,12 @@
-
+
-
+
-
+
@@ -68812,6 +68802,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -69023,7 +69029,7 @@
-
+
@@ -77186,10 +77192,6 @@
-
-
-
-
@@ -77208,7 +77210,7 @@
-
+
@@ -77441,7 +77443,7 @@
-
+
@@ -77636,7 +77638,7 @@
-
+
@@ -80151,7 +80153,7 @@
-
+
@@ -80384,6 +80386,10 @@
+
+
+
+
@@ -80702,7 +80708,7 @@
-
+
@@ -81377,9 +81383,9 @@
-
-
-
+
+
+
@@ -81916,7 +81922,7 @@
-
+
@@ -82064,7 +82070,7 @@
-
+
@@ -82839,7 +82845,7 @@
-
+
@@ -82847,8 +82853,8 @@
-
-
+
+
@@ -82978,7 +82984,7 @@
-
+
@@ -84562,7 +84568,7 @@
-
+
@@ -84578,7 +84584,7 @@
-
+
@@ -85236,17 +85242,17 @@
-
+
-
+
-
+
@@ -85348,8 +85354,8 @@
-
-
+
+
@@ -85390,7 +85396,7 @@
-
+
@@ -86766,7 +86772,7 @@
-
+
@@ -86837,21 +86843,21 @@
-
+
-
+
-
+
-
+
-
+
-
+
@@ -86985,12 +86991,12 @@
-
-
+
+
-
-
+
+
@@ -87003,26 +87009,26 @@
-
-
-
+
+
+
-
-
-
-
-
+
+
+
+
+
-
-
-
+
+
+
-
-
-
+
+
+
@@ -87253,13 +87259,13 @@
-
-
-
+
+
+
-
-
+
+
@@ -87268,9 +87274,9 @@
-
-
-
+
+
+
@@ -87298,7 +87304,7 @@
-
+
@@ -94463,7 +94469,7 @@
-
+
@@ -94521,34 +94527,7 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
@@ -94562,7 +94541,7 @@
-
+
@@ -94570,7 +94549,7 @@
-
+
@@ -94581,7 +94560,7 @@
-
+
@@ -94592,7 +94571,7 @@
-
+
@@ -94600,7 +94579,7 @@
-
+
@@ -94608,7 +94587,23 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -94616,7 +94611,7 @@
-
+
@@ -94624,7 +94619,7 @@
-
+
@@ -94632,7 +94627,7 @@
-
+
@@ -94640,7 +94635,7 @@
-
+
@@ -94648,7 +94643,7 @@
-
+
@@ -101109,3 +101104,8 @@
+
+
diff --git a/android/abi_gki_aarch64_db845c b/android/abi_gki_aarch64_db845c
index e0c60b2d616d..cb55ce982af9 100644
--- a/android/abi_gki_aarch64_db845c
+++ b/android/abi_gki_aarch64_db845c
@@ -1,4 +1,4 @@
-[abi_whitelist]
+[abi_symbol_list]
# commonly used symbols
__arch_copy_from_user
__arch_copy_to_user
diff --git a/android/abi_gki_aarch64_exynos b/android/abi_gki_aarch64_exynos
index ef9721e4d3b5..97cf3901b7a1 100644
--- a/android/abi_gki_aarch64_exynos
+++ b/android/abi_gki_aarch64_exynos
@@ -1,4 +1,4 @@
-[abi_whitelist]
+[abi_symbol_list]
add_timer
add_timer_on
add_uevent_var
diff --git a/android/abi_gki_aarch64_galaxy b/android/abi_gki_aarch64_galaxy
index acceef3b6eb0..3e4c50792f6c 100644
--- a/android/abi_gki_aarch64_galaxy
+++ b/android/abi_gki_aarch64_galaxy
@@ -1,4 +1,4 @@
-[abi_whitelist]
+[abi_symbol_list]
___ratelimit
__alloc_disk_node
__alloc_pages_nodemask
@@ -93,6 +93,7 @@
__mutex_init
__napi_alloc_skb
__napi_schedule
+ __napi_schedule_irqoff
__netdev_alloc_skb
__netlink_kernel_create
__nlmsg_put
@@ -145,6 +146,8 @@
__tasklet_schedule
__trace_bprintk
__tracepoint_android_vh_is_fpsimd_save
+ __tracepoint_android_vh_kfree_skb
+ __tracepoint_android_vh_ptype_head
__tracepoint_device_pm_callback_end
__tracepoint_device_pm_callback_start
__tracepoint_pelt_cfs_tp
@@ -415,6 +418,8 @@
cpufreq_table_index_unsorted
cpufreq_unregister_driver
cpuhp_tasks_frozen
+ cpuidle_pause_and_lock
+ cpuidle_resume_and_unlock
cpumask_next
cpumask_next_and
cpus_read_lock
@@ -797,6 +802,7 @@
drm_dp_update_payload_part1
drm_dp_update_payload_part2
drm_edid_duplicate
+ drm_edid_get_monitor_name
drm_encoder_cleanup
drm_encoder_init
drm_err
@@ -853,6 +859,7 @@
drm_mode_create
drm_mode_create_dp_colorspace_property
drm_mode_debug_printmodeline
+ drm_mode_destroy
drm_mode_duplicate
drm_mode_equal
drm_mode_object_find
@@ -987,6 +994,7 @@
get_cpu_device
get_cpu_idle_time
get_device
+ get_options
get_pid_task
get_random_bytes
get_random_u32
@@ -1041,6 +1049,8 @@
gpiod_set_value
gpiod_set_value_cansleep
gpiod_to_irq
+ gro_find_complete_by_type
+ gro_find_receive_by_type
gs_alloc_req
gs_free_req
gserial_alloc_line
@@ -1131,6 +1141,7 @@
iio_read_channel_processed
iio_read_channel_raw
import_iovec
+ in_aton
in_egroup_p
init_dummy_netdev
init_net
@@ -1289,6 +1300,7 @@
kfree_call_rcu
kfree_const
kfree_skb
+ kfree_skb_partial
kill_fasync
kimage_vaddr
kimage_voffset
@@ -2022,6 +2034,7 @@
smp_call_function
smp_call_function_many
smp_call_function_single
+ smp_call_function_single_async
smp_call_on_cpu
snd_card_free
snd_card_new
diff --git a/android/abi_gki_aarch64_goldfish b/android/abi_gki_aarch64_goldfish
index be17c303b5fe..93efcaf60f8a 100644
--- a/android/abi_gki_aarch64_goldfish
+++ b/android/abi_gki_aarch64_goldfish
@@ -1,4 +1,4 @@
-[abi_whitelist]
+[abi_symbol_list]
# commonly used symbols
__alloc_disk_node
alloc_etherdev_mqs
diff --git a/android/abi_gki_aarch64_hikey960 b/android/abi_gki_aarch64_hikey960
index 6ce7564f0826..128ac45e94b9 100644
--- a/android/abi_gki_aarch64_hikey960
+++ b/android/abi_gki_aarch64_hikey960
@@ -1,6 +1,5 @@
-[abi_whitelist]
+[abi_symbol_list]
# commonly used symbols
- add_uevent_var
alloc_chrdev_region
__alloc_disk_node
__alloc_pages_nodemask
@@ -89,11 +88,9 @@
device_property_present
device_property_read_string
device_property_read_u32_array
- device_register
device_release_driver
device_remove_file
device_set_wakeup_capable
- device_unregister
device_wakeup_enable
_dev_info
devm_clk_get
@@ -172,7 +169,6 @@
free_irq
__free_pages
free_pages
- fwnode_property_present
get_device
__get_free_pages
get_random_bytes
@@ -203,7 +199,6 @@
irq_of_parse_and_map
irq_set_irq_wake
jiffies
- jiffies_to_msecs
kfree
kfree_const
kfree_skb
@@ -213,7 +208,6 @@
kmalloc_order_trace
kmem_cache_alloc_trace
kmemdup
- kstrtobool
kstrtoint
kstrtouint
kstrtoull
@@ -462,6 +456,8 @@
usb_hub_clear_tt_buffer
usb_put_hcd
usb_remove_hcd
+ usb_role_switch_register
+ usb_role_switch_unregister
usb_root_hub_lost_power
__usecs_to_jiffies
usleep_range
@@ -700,6 +696,12 @@
# required by hi655x-regulator.ko
regulator_list_voltage_linear
+# required by hisi_hikey_usb.ko
+ usb_role_switch_get
+ usb_role_switch_get_role
+ usb_role_switch_put
+ usb_role_switch_set_role
+
# required by hisi_powerkey.ko
devm_input_allocate_device
devm_request_any_context_irq
@@ -716,6 +718,8 @@
# required by hwmon.ko
__class_register
class_unregister
+ device_register
+ device_unregister
kstrtoll
strpbrk
@@ -1058,6 +1062,7 @@
spi_sync_locked
# required by nvme-core.ko
+ add_uevent_var
blk_freeze_queue_start
blk_mq_alloc_request
blk_mq_alloc_request_hctx
@@ -1161,6 +1166,7 @@
kmem_cache_create
kmem_cache_destroy
kstrndup
+ kstrtobool
kstrtou16
mempool_alloc_slab
mempool_create
@@ -1211,15 +1217,6 @@
rfkill_register
rfkill_unregister
-# required by roles.ko
- class_find_device
- device_connection_find_match
- device_match_fwnode
- device_match_name
- fwnode_connection_find_match
- fwnode_get_parent
- __sysfs_match_string
-
# required by rtc-efi.ko
devm_rtc_device_register
efi
@@ -1291,54 +1288,18 @@
# required by tcpci.ko
device_get_named_child_node
+ tcpm_cc_change
+ tcpm_pd_hard_reset
+ tcpm_pd_receive
+ tcpm_pd_transmit_complete
+ tcpm_register_port
+ tcpm_tcpc_reset
+ tcpm_unregister_port
+ tcpm_vbus_change
# required by tcpci_rt1711h.ko
i2c_smbus_read_word_data
-# required by tcpm.ko
- devm_power_supply_register
- fwnode_property_read_string
- fwnode_property_read_u32_array
- power_supply_changed
- power_supply_get_drvdata
- typec_altmode_attention
- typec_altmode_notify
- typec_altmode_update_active
- typec_altmode_vdm
- typec_find_port_data_role
- typec_find_port_power_role
- typec_find_power_role
- typec_get_drvdata
- typec_match_altmode
- typec_partner_register_altmode
- typec_partner_set_identity
- typec_port_register_altmode
- typec_register_partner
- typec_register_port
- typec_set_data_role
- typec_set_mode
- typec_set_orientation
- typec_set_pwr_opmode
- typec_set_pwr_role
- typec_set_vconn_role
- typec_unregister_altmode
- typec_unregister_partner
- typec_unregister_port
-
-# required by ufs-hisi.ko
- devm_platform_ioremap_resource
- ufshcd_dme_get_attr
- ufshcd_dme_set_attr
- ufshcd_get_pwr_dev_param
- ufshcd_pltfrm_init
- ufshcd_pltfrm_resume
- ufshcd_pltfrm_runtime_idle
- ufshcd_pltfrm_runtime_resume
- ufshcd_pltfrm_runtime_suspend
- ufshcd_pltfrm_shutdown
- ufshcd_pltfrm_suspend
- ufshcd_remove
-
# required by wl18xx.ko
__cfg80211_alloc_event_skb
__cfg80211_send_event_skb
@@ -1388,6 +1349,7 @@
ieee80211_unregister_hw
ieee80211_wake_queue
ieee80211_wake_queues
+ jiffies_to_msecs
jiffies_to_usecs
__local_bh_enable_ip
__netdev_alloc_skb
diff --git a/android/abi_gki_aarch64_oneplus b/android/abi_gki_aarch64_oneplus
index 7cdf6d261ab5..9d8fa8a826ad 100644
--- a/android/abi_gki_aarch64_oneplus
+++ b/android/abi_gki_aarch64_oneplus
@@ -1,4 +1,4 @@
-[abi_whitelist]
+[abi_symbol_list]
# commonly used symbols
add_timer
alloc_chrdev_region
diff --git a/android/abi_gki_aarch64_oplus b/android/abi_gki_aarch64_oplus
index 39e7e1905b82..15ac9a66a517 100644
--- a/android/abi_gki_aarch64_oplus
+++ b/android/abi_gki_aarch64_oplus
@@ -1,4 +1,4 @@
-[abi_whitelist]
+[abi_symbol_list]
# commonly used symbols
alloc_workqueue
__arch_copy_from_user
diff --git a/android/abi_gki_aarch64_qcom b/android/abi_gki_aarch64_qcom
index 7768f28678a5..6b871a31c9be 100644
--- a/android/abi_gki_aarch64_qcom
+++ b/android/abi_gki_aarch64_qcom
@@ -1,4 +1,4 @@
-[abi_whitelist]
+[abi_symbol_list]
add_device_randomness
add_timer
add_timer_on
diff --git a/android/abi_gki_aarch64_sunxi b/android/abi_gki_aarch64_sunxi
index cfa5e5b29a40..9fb7727b17a4 100644
--- a/android/abi_gki_aarch64_sunxi
+++ b/android/abi_gki_aarch64_sunxi
@@ -1,4 +1,4 @@
-[abi_whitelist]
+[abi_symbol_list]
# commonly used symbols
pinctrl_get
pinctrl_gpio_set_config
diff --git a/android/abi_gki_aarch64_unisoc b/android/abi_gki_aarch64_unisoc
index a743719eb889..c40f652bfbcd 100644
--- a/android/abi_gki_aarch64_unisoc
+++ b/android/abi_gki_aarch64_unisoc
@@ -1,4 +1,4 @@
-[abi_whitelist]
+[abi_symbol_list]
# commonly used symbols
add_timer
add_uevent_var
diff --git a/android/abi_gki_aarch64_vivo b/android/abi_gki_aarch64_vivo
index 2ddab083f547..b739d3bee3dc 100644
--- a/android/abi_gki_aarch64_vivo
+++ b/android/abi_gki_aarch64_vivo
@@ -1,4 +1,4 @@
-[abi_whitelist]
+[abi_symbol_list]
add_device_randomness
add_timer
add_uevent_var
diff --git a/android/abi_gki_aarch64_workarounds b/android/abi_gki_aarch64_workarounds
index 3e4b6d16c687..c96aebcba081 100644
--- a/android/abi_gki_aarch64_workarounds
+++ b/android/abi_gki_aarch64_workarounds
@@ -1,3 +1,3 @@
-[abi_whitelist]
+[abi_symbol_list]
# b/167230325
ehci_handshake
diff --git a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts b/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts
index 32f373f19a73..cb9c7c6b746f 100644
--- a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts
+++ b/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts
@@ -654,12 +654,23 @@
status = "ok";
compatible = "adi,adv7533";
reg = <0x39>;
+ v1p2-supply = <&ldo3>;
+ vdd-supply = <&ldo3>;
+ interrupt-parent = <&gpio1>;
+ interrupts = <1 2>;
+ pd-gpio = <&gpio5 1 0>;
+ sel-gpio = <&gpio2 4 0>;
adi,dsi-lanes = <4>;
+ adi,disable-timing-generator;
+ #sound-dai-cells = <0>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
+ adv7533_in: endpoint@0 {
+ remote-endpoint = <&dsi_out0>;
+ };
};
port@1 {
reg = <1>;
diff --git a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi
index f6a501e4963b..0637e5883a9b 100644
--- a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi
+++ b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi
@@ -446,26 +446,6 @@
pinctrl-0 = <&i2c1_pmx_func &i2c1_cfg_func>;
status = "ok";
- adv7533: adv7533@39 {
- status = "ok";
- compatible = "adi,adv7533";
- reg = <0x39>;
- v1p2-supply = <&ldo3>;
- vdd-supply = <&ldo3>;
- interrupt-parent = <&gpio1>;
- interrupts = <1 2>;
- pd-gpio = <&gpio5 1 0>;
- sel-gpio = <&gpio2 4 0>;
- adi,dsi-lanes = <4>;
- adi,disable-timing-generator;
- #sound-dai-cells = <0>;
-
- port {
- adv7533_in: endpoint {
- remote-endpoint = <&dsi_out0>;
- };
- };
- };
};
i2c3: i2c@fdf0c000 {
diff --git a/arch/arm64/configs/gki_defconfig b/arch/arm64/configs/gki_defconfig
index 7c9361b1e4fa..61d7a72d21ff 100644
--- a/arch/arm64/configs/gki_defconfig
+++ b/arch/arm64/configs/gki_defconfig
@@ -221,7 +221,6 @@ CONFIG_BT_HCIUART_BCM=y
CONFIG_BT_HCIUART_QCA=y
CONFIG_CFG80211=y
# CONFIG_CFG80211_DEFAULT_PS is not set
-# CONFIG_CFG80211_CRDA_SUPPORT is not set
CONFIG_MAC80211=y
CONFIG_RFKILL=y
CONFIG_PCI=y
diff --git a/arch/arm64/configs/hikey960_gki.fragment b/arch/arm64/configs/hikey960_gki.fragment
index 854372329ff8..d303efbe3a5a 100644
--- a/arch/arm64/configs/hikey960_gki.fragment
+++ b/arch/arm64/configs/hikey960_gki.fragment
@@ -4,7 +4,6 @@ CONFIG_CONNECTOR=m
CONFIG_BLK_DEV_NVME=m
CONFIG_NVME_TARGET=m
CONFIG_HISI_HIKEY_USB=m
-CONFIG_SCSI_UFS_HISI=m
CONFIG_WLAN_VENDOR_TI=y
CONFIG_WL18XX=m
CONFIG_WLCORE_SDIO=m
@@ -37,7 +36,6 @@ CONFIG_USB_OHCI_HCD=m
CONFIG_USB_OHCI_HCD_PLATFORM=m
CONFIG_USB_DWC3=m
CONFIG_USB_GADGETFS=m
-CONFIG_TYPEC_TCPM=m
CONFIG_TYPEC_TCPCI=m
CONFIG_TYPEC_RT1711H=m
CONFIG_MMC_BLOCK=m
diff --git a/arch/arm64/kernel/process.c b/arch/arm64/kernel/process.c
index 4c2c5008f897..8d90b19191ca 100644
--- a/arch/arm64/kernel/process.c
+++ b/arch/arm64/kernel/process.c
@@ -55,6 +55,7 @@
#include
#include
#include
+#include
#if defined(CONFIG_STACKPROTECTOR) && !defined(CONFIG_STACKPROTECTOR_PER_TASK)
#include
@@ -264,6 +265,7 @@ void __show_regs(struct pt_regs *regs)
top_reg = 29;
}
+ trace_android_vh_show_regs(regs);
show_regs_print_info(KERN_DEFAULT);
print_pstate(regs);
diff --git a/drivers/android/vendor_hooks.c b/drivers/android/vendor_hooks.c
index 2ed3b8b2bccf..4dc0d89c835b 100644
--- a/drivers/android/vendor_hooks.c
+++ b/drivers/android/vendor_hooks.c
@@ -17,6 +17,7 @@
#include
#include
#include
+#include
/*
* Export tracepoints that act as a bare tracehook (ie: have no trace event
@@ -56,3 +57,4 @@ EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_alter_futex_plist_add);
EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_is_fpsimd_save);
EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_ipi_stop);
EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_printk_store);
+EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_show_regs);
diff --git a/include/linux/kconfig.h b/include/linux/kconfig.h
index cc8fa109cfa3..9d12c970f18f 100644
--- a/include/linux/kconfig.h
+++ b/include/linux/kconfig.h
@@ -2,6 +2,8 @@
#ifndef __LINUX_KCONFIG_H
#define __LINUX_KCONFIG_H
+/* CONFIG_CC_VERSION_TEXT (Do not delete this comment. See help in Kconfig) */
+
#include
#ifdef CONFIG_CPU_BIG_ENDIAN
diff --git a/include/trace/hooks/minidump.h b/include/trace/hooks/minidump.h
new file mode 100644
index 000000000000..11283e43322d
--- /dev/null
+++ b/include/trace/hooks/minidump.h
@@ -0,0 +1,24 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#undef TRACE_SYSTEM
+#define TRACE_SYSTEM minidump
+
+#define TRACE_INCLUDE_PATH trace/hooks
+
+#if !defined(_TRACE_HOOK_MINIDUMP_H) || defined(TRACE_HEADER_MULTI_READ)
+#define _TRACE_HOOK_MINIDUMP_H
+#include
+#include
+
+#if defined(CONFIG_TRACEPOINTS) && defined(CONFIG_ANDROID_VENDOR_HOOKS)
+struct pt_regs;
+DECLARE_HOOK(android_vh_show_regs,
+ TP_PROTO(struct pt_regs *regs),
+ TP_ARGS(regs));
+#else
+#define trace_android_vh_show_regs(regs)
+#endif
+
+#endif /* _TRACE_HOOK_MINIDUMP_H */
+/* This part must be outside protection */
+#include
+
diff --git a/init/Kconfig b/init/Kconfig
index 12c402302a55..aad626bac1c1 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -9,6 +9,23 @@ config DEFCONFIG_LIST
default ARCH_DEFCONFIG
default "arch/$(ARCH)/defconfig"
+config CC_VERSION_TEXT
+ string
+ default "$(CC_VERSION_TEXT)"
+ help
+ This is used in unclear ways:
+
+ - Re-run Kconfig when the compiler is updated
+ The 'default' property references the environment variable,
+ CC_VERSION_TEXT so it is recorded in include/config/auto.conf.cmd.
+ When the compiler is updated, Kconfig will be invoked.
+
+ - Ensure full rebuild when the compier is updated
+ include/linux/kconfig.h contains this option in the comment line so
+ fixdep adds include/config/cc/version/text.h into the auto-generated
+ dependency. When the compiler is updated, syncconfig will touch it
+ and then every file will be rebuilt.
+
config CC_IS_GCC
def_bool $(success,$(CC) --version | head -n 1 | grep -q gcc)
diff --git a/init/Makefile b/init/Makefile
index 30aa8ab11120..57499b1ff471 100644
--- a/init/Makefile
+++ b/init/Makefile
@@ -35,4 +35,4 @@ include/generated/compile.h: FORCE
@$($(quiet)chk_compile.h)
$(Q)$(CONFIG_SHELL) $(srctree)/scripts/mkcompile_h $@ \
"$(UTS_MACHINE)" "$(CONFIG_SMP)" "$(CONFIG_PREEMPT)" \
- "$(CONFIG_PREEMPT_RT)" "$(CC) $(KBUILD_CFLAGS)" "$(LD)"
+ "$(CONFIG_PREEMPT_RT)" $(CONFIG_CC_VERSION_TEXT) "$(LD)"
diff --git a/kernel/kallsyms.c b/kernel/kallsyms.c
index a4f6dd5a6089..14de0c7bf756 100644
--- a/kernel/kallsyms.c
+++ b/kernel/kallsyms.c
@@ -159,6 +159,26 @@ static unsigned long kallsyms_sym_address(int idx)
return kallsyms_relative_base - 1 - kallsyms_offsets[idx];
}
+#if defined(CONFIG_CFI_CLANG) && defined(CONFIG_THINLTO)
+/*
+ * LLVM appends a hash to static function names when ThinLTO and CFI are
+ * both enabled, which causes confusion and potentially breaks user space
+ * tools, so we will strip the postfix from expanded symbol names.
+ */
+static inline char *cleanup_symbol_name(char *s)
+{
+ char *res = NULL;
+
+ res = strrchr(s, '$');
+ if (res)
+ *res = '\0';
+
+ return res;
+}
+#else
+static inline char *cleanup_symbol_name(char *s) { return NULL; }
+#endif
+
/* Lookup the address for this symbol. Returns 0 if not found. */
unsigned long kallsyms_lookup_name(const char *name)
{
@@ -171,6 +191,9 @@ unsigned long kallsyms_lookup_name(const char *name)
if (strcmp(namebuf, name) == 0)
return kallsyms_sym_address(i);
+
+ if (cleanup_symbol_name(namebuf) && strcmp(namebuf, name) == 0)
+ return kallsyms_sym_address(i);
}
return module_kallsyms_lookup_name(name);
}
@@ -269,24 +292,6 @@ int kallsyms_lookup_size_offset(unsigned long addr, unsigned long *symbolsize,
!!__bpf_address_lookup(addr, symbolsize, offset, namebuf);
}
-#if defined(CONFIG_CFI_CLANG) && defined(CONFIG_THINLTO)
-/*
- * LLVM appends a hash to static function names when ThinLTO and CFI are
- * both enabled, which causes confusion and potentially breaks user space
- * tools, so we will strip the postfix from expanded symbol names.
- */
-static inline void cleanup_symbol_name(char *s)
-{
- char *res;
-
- res = strrchr(s, '$');
- if (res)
- *res = '\0';
-}
-#else
-static inline void cleanup_symbol_name(char *s) {}
-#endif
-
/*
* Lookup an address
* - modname is set to NULL if it's in the kernel.
diff --git a/scripts/mkcompile_h b/scripts/mkcompile_h
index 528edd041cdf..4578e413bf13 100755
--- a/scripts/mkcompile_h
+++ b/scripts/mkcompile_h
@@ -6,7 +6,7 @@ ARCH=$2
SMP=$3
PREEMPT=$4
PREEMPT_RT=$5
-CC=$6
+CC_VERSION="$6"
LD=$7
vecho() { [ "${quiet}" = "silent_" ] || echo "$@" ; }
@@ -75,7 +75,6 @@ UTS_TRUNCATE="cut -b -$UTS_LEN"
echo \#define LINUX_COMPILE_BY \"`echo $LINUX_COMPILE_BY | $UTS_TRUNCATE`\"
echo \#define LINUX_COMPILE_HOST \"`echo $LINUX_COMPILE_HOST | $UTS_TRUNCATE`\"
- CC_VERSION=$($CC -v 2>&1 | grep ' version ' | sed 's/[[:space:]]*$//')
LD_VERSION=$($LD -v | head -n1 | sed 's/(compatible with [^)]*)//' \
| sed 's/[[:space:]]*$//')
printf '#define LINUX_COMPILER "%s"\n' "$CC_VERSION, $LD_VERSION"