From 979580d65323daf02b27b2f6deb372a2b9d54ebe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krzysztof=20Kosi=C5=84ski?= Date: Thu, 20 Mar 2025 18:48:19 +0000 Subject: [PATCH] sm8750-common: Downgrade to ARMv8.2-A. Clang assumes that ARMv9-A chips always implement SVE2, but SM8750 (Snapdragon 8 Elite) does not, so it broke when aosp/2292699 made the "armv9-a" variant actually set ARMv9-A. Before, it was actually using ARMv8.2-A with some additional flags due to a variety of SVE-specific toolchain and configuration issues that are fixed now. Downgrade SM8750 to the "ARMv8.2-A with dotprod extension" arch variant, which is the closest to the previous configuration, until we can add a proper "ARMv9-A without SVE" arch variant. Bug: 364383722 Test: presubmit Change-Id: I69578aad149f6a28955031ca24bc1d0cc7cc0388 --- BoardConfigCommon.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index 8f21ea0..e98002c 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -28,7 +28,7 @@ AB_OTA_PARTITIONS += \ # Architecture TARGET_ARCH := arm64 -TARGET_ARCH_VARIANT := armv9-a +TARGET_ARCH_VARIANT := armv8-2a-dotprod TARGET_CPU_ABI := arm64-v8a TARGET_CPU_VARIANT := generic TARGET_CPU_VARIANT_RUNTIME := oryon