diff --git a/android/abi_gki_aarch64.xml b/android/abi_gki_aarch64.xml
index 53ce71943135..41eb6b5ddfae 100644
--- a/android/abi_gki_aarch64.xml
+++ b/android/abi_gki_aarch64.xml
@@ -568,6 +568,7 @@
+
@@ -1193,6 +1194,7 @@
+
@@ -4706,7 +4708,6 @@
-
@@ -5152,6 +5153,14 @@
+
+
+
+
+
+
+
+
@@ -9939,14 +9948,6 @@
-
-
-
-
-
-
-
-
@@ -11458,23 +11459,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -14484,6 +14468,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -23686,26 +23687,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -28731,6 +28712,7 @@
+
@@ -31194,6 +31176,11 @@
+
+
+
+
+
@@ -33086,7 +33073,7 @@
-
+
@@ -34470,7 +34457,7 @@
-
+
@@ -34731,7 +34718,7 @@
-
+
@@ -35742,7 +35729,7 @@
-
+
@@ -37775,14 +37762,6 @@
-
-
-
-
-
-
-
-
@@ -40015,7 +39994,7 @@
-
+
@@ -40245,7 +40224,6 @@
-
@@ -51892,6 +51870,7 @@
+
@@ -51964,6 +51943,7 @@
+
@@ -54776,6 +54756,14 @@
+
+
+
+
+
+
+
+
@@ -56054,7 +56042,7 @@
-
+
@@ -56079,8 +56067,8 @@
-
-
+
+
@@ -56108,6 +56096,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -60538,167 +60540,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -64013,7 +63854,7 @@
-
+
@@ -64022,7 +63863,7 @@
-
+
@@ -69400,7 +69241,7 @@
-
+
@@ -73103,22 +72944,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -73697,6 +73522,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -76458,6 +76299,14 @@
+
+
+
+
+
+
+
+
@@ -76491,7 +76340,7 @@
-
+
@@ -76527,7 +76376,7 @@
-
+
@@ -76537,10 +76386,10 @@
-
+
-
+
@@ -76949,7 +76798,7 @@
-
+
@@ -77017,7 +76866,7 @@
-
+
@@ -77027,36 +76876,36 @@
-
+
-
+
-
+
-
+
-
+
-
+
@@ -77111,7 +76960,7 @@
-
+
@@ -77135,7 +76984,7 @@
-
+
@@ -77158,7 +77007,7 @@
-
+
@@ -77200,7 +77049,7 @@
-
+
@@ -88719,7 +88568,7 @@
-
+
@@ -89285,6 +89134,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -89351,7 +89217,7 @@
-
+
@@ -89631,6 +89497,14 @@
+
+
+
+
+
+
+
+
@@ -89857,42 +89731,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -90115,7 +89953,7 @@
-
+
@@ -91139,6 +90977,42 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -91498,7 +91372,7 @@
-
+
@@ -91697,7 +91571,7 @@
-
+
@@ -91843,6 +91717,17 @@
+
+
+
+
+
+
+
+
+
+
+
@@ -93894,6 +93779,17 @@
+
+
+
+
+
+
+
+
+
+
+
@@ -93981,6 +93877,14 @@
+
+
+
+
+
+
+
+
@@ -94646,7 +94550,7 @@
-
+
@@ -95507,7 +95411,7 @@
-
+
@@ -96687,7 +96591,7 @@
-
+
@@ -96809,7 +96713,7 @@
-
+
@@ -96848,7 +96752,7 @@
-
+
@@ -103951,7 +103855,7 @@
-
+
@@ -104060,7 +103964,6 @@
-
@@ -109067,28 +108970,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -109100,9 +108981,240 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -109255,7 +109367,18 @@
+
+
+
+
+
+
+
+
+
+
+
@@ -109444,6 +109567,13 @@
+
+
+
+
+
+
+
@@ -109451,6 +109581,10 @@
+
+
+
+
@@ -109665,7 +109799,7 @@
-
+
@@ -109877,15 +110011,18 @@
-
+
-
+
-
+
-
+
+
+
+
@@ -109893,7 +110030,7 @@
-
+
@@ -110186,7 +110323,7 @@
-
+
@@ -113711,6 +113848,25 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -115680,25 +115836,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -118424,265 +118561,15 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
+
@@ -118708,7 +118595,7 @@
-
+
@@ -118725,25 +118612,25 @@
-
+
-
+
-
+
-
+
@@ -118751,24 +118638,13 @@
-
+
-
-
-
-
-
-
-
-
-
-
-
@@ -118832,6 +118708,7 @@
+
@@ -123413,14 +123290,6 @@
-
-
-
-
-
-
-
-
@@ -124248,7 +124117,7 @@
-
+
@@ -124368,7 +124237,7 @@
-
+
@@ -124658,6 +124527,11 @@
+
+
+
+
+
@@ -124723,47 +124597,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -125089,7 +124922,7 @@
-
+
@@ -125097,7 +124930,7 @@
-
+
@@ -125514,36 +125347,13 @@
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/android/abi_gki_aarch64_galaxy b/android/abi_gki_aarch64_galaxy
index 7d254cd6dd84..cbe1f884a220 100644
--- a/android/abi_gki_aarch64_galaxy
+++ b/android/abi_gki_aarch64_galaxy
@@ -336,6 +336,7 @@
cfg80211_scan_done
cfg80211_sched_scan_results
cfg80211_sched_scan_stopped
+ cfg80211_sched_scan_stopped_rtnl
cfg80211_unlink_bss
cfg80211_unregister_wdev
cfg80211_vendor_cmd_reply
@@ -1386,6 +1387,7 @@
krealloc
kset_create_and_add
kset_unregister
+ ksize
kstat
kstrdup
kstrdup_quotable
diff --git a/android/abi_gki_aarch64_unisoc b/android/abi_gki_aarch64_unisoc
index e04f9b3ff8db..5b300379d79e 100644
--- a/android/abi_gki_aarch64_unisoc
+++ b/android/abi_gki_aarch64_unisoc
@@ -168,6 +168,7 @@
drm_atomic_helper_plane_destroy_state
drm_atomic_helper_plane_duplicate_state
drm_atomic_helper_plane_reset
+ drm_atomic_helper_setup_commit
drm_compat_ioctl
drm_dbg
drm_dev_alloc
@@ -1049,6 +1050,7 @@
# required by mmc_hsq.ko
mmc_cqe_request_done
+ mmc_send_tuning
# required by musb_hdrc.ko
device_wakeup_enable
@@ -2493,11 +2495,13 @@
__arm_smccc_smc
# required by mali_gondul.ko
+ __arch_clear_user
bpf_trace_run5
ktime_get_raw
of_machine_is_compatible
_totalram_pages
trace_output_call
+ __tracepoint_gpu_mem_total
trace_print_array_seq
trace_print_flags_seq
vmf_insert_pfn_prot
diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h
index dd4fd51ec704..fcf86688fe16 100644
--- a/include/asm-generic/vmlinux.lds.h
+++ b/include/asm-generic/vmlinux.lds.h
@@ -72,10 +72,10 @@
#if defined(CONFIG_LD_DEAD_CODE_DATA_ELIMINATION) || defined(CONFIG_LTO_CLANG)
#define TEXT_MAIN .text .text.[0-9a-zA-Z_]*
#define TEXT_CFI_MAIN .text.[0-9a-zA-Z_]*.cfi
-#define DATA_MAIN .data .data.[0-9a-zA-Z_]* .data..LPBX*
+#define DATA_MAIN .data .data.[0-9a-zA-Z_]* .data..L* .data..compoundliteral*
#define SDATA_MAIN .sdata .sdata.[0-9a-zA-Z_]*
-#define RODATA_MAIN .rodata .rodata.[0-9a-zA-Z_]*
-#define BSS_MAIN .bss .bss.[0-9a-zA-Z_]*
+#define RODATA_MAIN .rodata .rodata.[0-9a-zA-Z_]* .rodata..L*
+#define BSS_MAIN .bss .bss.[0-9a-zA-Z_]* .bss..compoundliteral*
#define SBSS_MAIN .sbss .sbss.[0-9a-zA-Z_]*
#else
#define TEXT_MAIN .text
diff --git a/scripts/kconfig/merge_config.sh b/scripts/kconfig/merge_config.sh
index 63c8565206a4..e5b46980c22a 100755
--- a/scripts/kconfig/merge_config.sh
+++ b/scripts/kconfig/merge_config.sh
@@ -28,6 +28,7 @@ usage() {
echo " -r list redundant entries when merging fragments"
echo " -y make builtin have precedence over modules"
echo " -O dir to put generated output files. Consider setting \$KCONFIG_CONFIG instead."
+ echo " -s strict mode. Fail if the fragment redefines any value."
echo
echo "Used prefix: '$CONFIG_PREFIX'. You can redefine it with \$CONFIG_ environment variable."
}
@@ -37,6 +38,7 @@ ALLTARGET=alldefconfig
WARNREDUN=false
BUILTIN=false
OUTPUT=.
+STRICT=false
CONFIG_PREFIX=${CONFIG_-CONFIG_}
while true; do
@@ -75,6 +77,11 @@ while true; do
shift 2
continue
;;
+ "-s")
+ STRICT=true
+ shift
+ continue
+ ;;
*)
break
;;
@@ -141,6 +148,9 @@ for ORIG_MERGE_FILE in $MERGE_LIST ; do
echo Previous value: $PREV_VAL
echo New value: $NEW_VAL
echo
+ if [ "$STRICT" = "true" ]; then
+ STRICT_MODE_VIOLATED=true
+ fi
elif [ "$WARNREDUN" = "true" ]; then
echo Value of $CFG is redundant by fragment $ORIG_MERGE_FILE:
fi
@@ -153,6 +163,11 @@ for ORIG_MERGE_FILE in $MERGE_LIST ; do
cat $MERGE_FILE >> $TMP_FILE
done
+if [ "$STRICT_MODE_VIOLATED" = "true" ]; then
+ echo "The fragment redefined a value and strict mode had been passed."
+ exit 1
+fi
+
if [ "$RUNMAKE" = "false" ]; then
cp -T -- "$TMP_FILE" "$KCONFIG_CONFIG"
echo "#"