We are seeing a suspend/resume issue on our target when using dm-crypt on an eMMC-backed partition.
The suspend failure starts as soon as the dm-crypt mapping is created with the following table:
0
With this table, suspend fails error logs attached for your reference.
We then changed the table as below:
0
After this change, suspend works correctly.
So, from our testing:
This makes us think the suspend problem is related to the AES crypto backend selected for aes on this platform, rather than to dm-crypt mapping logic in general.
We are using kernel version 6.12 and PREEMPT_RT is enabled and using iMx6ULL processor.
Could you please help check whether there is any known issue in the NXP BSP/kernel crypto driver path for capi:cbc(aes)-plain during suspend/resume?
We have even tried the commands which is shared in linux user guide
https://docs.nxp.com/bundle/UG10163/page/topics/dm-crypt_using_dcp_crypto_keys.html
We faced the same issue.
Can you please help us to resolve this issue?
Dear NXP team,
Can you please help me to resolve this issue?