Skip to content

main/linux-postmarketos-qcom-msm8916: Update to 5.5-rc4

Minecrell requested to merge Minecrell/pmaports:msm8916-5.5-rc4 into master
  • Update to Linux 5.5-rc4

  • Fix freeze/crash when accessing reserved memory on Samsung devices

    • This happened e.g. when doing large eMMC writes because the disk cache filled all available RAM.

    • This one was "fun" to figure out. @Mis012 reported that his device freezed whenever he was installing large packages with apk. It can be reliably reproduced by attempting to install supertuxkart. It always freezed at about ~60-80% progress.

      Originally we thought this is related to the eMMC, so we tried to change its regulator setup and much more with no luck. It turned out that the issue is actually triggered by the disk cache that fills all available RAM. When writing to the eMMC, Linux will buffer everything in RAM first, and will eventually attempt to access the protected memory.

      This memory region was not reserved on mainline because it is only used on Samsung MSM8916 devices. It seems like Samsung made some modifications to the TrustZone firmware that require additional memory (about 11 MB).

  • Fix SD card detection on samsung-serranovelte

    • Disable UHS-1 modes since they appear to be broken in hardware
    • Seems like Shamesung did not bother to investigate this before releasing the device, just like they never released a software update for it :(

cc @Mis012 @TravMurav @jja2000

Merge request reports