Skip to content
Snippets Groups Projects

linux-pine64-pinephonepro: Fix disk encryption deadlock on RK3399

Merged Jan Jasper de Kroon requested to merge PsychoGame/pmaports:ppp-6.11-fdefix into master
  1. Dec 06, 2024
    • Jan Jasper de Kroon's avatar
      linux-pine64-pinephonepro: fix disk encryption deadlock on RK3399 (MR 5870) · f4ae4180
      Jan Jasper de Kroon authored and Newbyte's avatar Newbyte committed
      Resolves deadlock between Rockchip crypto hardware and dm-crypt causing
      kernel panic during disk decryption on devices like PinePhone Pro.
      
      - Disables RK3399 hardware crypto engine (CONFIG_CRYPTO_DEV_ROCKCHIP)
      - Enables ARM64 CPU crypto extensions for AES/SHA
      - Makes core crypto components built-in instead of modules
      
      Fixes: kernel panic in queued_spin_lock_slowpath() when accessing
      encrypted devices.
      [ci:skip-build]: already built successfully in CI
      Verified
      f4ae4180
Loading