Msm8953 For Arm64 Driver: Portable
MSM8953
The (Qualcomm Snapdragon 625) is an ARM64-based SoC that has extensive support in the mainline Linux kernel and Android driver repositories.
- ALSA (Advanced Linux Sound Architecture) machine driver:
sound/soc/qcom/msm8953.c
- ARM64 caveats: Audio DMA uses SMMU fault handling. On some custom ROMs, you’ll see
adsprpc_smd.c failures because the DSP firmware is built for 32-bit ARM, while the kernel is 64-bit. The fix is to ensure adsp.mdt (Hexagon firmware) is version-matched.
To build drivers for the MSM8953, you must cross-compile from a host machine (typically x86_64 Linux) to the Install the Toolchain Debian/Ubuntu sudo apt install gcc-aarch64-linux-gnu sudo dnf install gcc-aarch64-linux-gnu Clone the Source : Use a reputable source like the msm8953-mainline GitHub for modern Linux support or LineageOS sources for Android-specific development. Building and Compiling msm8953 for arm64 driver
DRM driver. Note: GPU preemption is often disabled to avoid deadlocks. MSM8953 The (Qualcomm Snapdragon 625) is an ARM64-based
MSM8953
The (Qualcomm Snapdragon 625) is an ARM64-based SoC that has extensive support in the mainline Linux kernel and Android driver repositories.
- ALSA (Advanced Linux Sound Architecture) machine driver:
sound/soc/qcom/msm8953.c
- ARM64 caveats: Audio DMA uses SMMU fault handling. On some custom ROMs, you’ll see
adsprpc_smd.c failures because the DSP firmware is built for 32-bit ARM, while the kernel is 64-bit. The fix is to ensure adsp.mdt (Hexagon firmware) is version-matched.
To build drivers for the MSM8953, you must cross-compile from a host machine (typically x86_64 Linux) to the Install the Toolchain Debian/Ubuntu sudo apt install gcc-aarch64-linux-gnu sudo dnf install gcc-aarch64-linux-gnu Clone the Source : Use a reputable source like the msm8953-mainline GitHub for modern Linux support or LineageOS sources for Android-specific development. Building and Compiling
DRM driver. Note: GPU preemption is often disabled to avoid deadlocks.