mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-11 05:17:10 +09:00
PD# SWPL-4823 Problem: 1. After stack optimization, stack memory cannot be mapped as dma buffers and thus causing crypto dma failed to generate correct result. 2. crypto dma was not enabled on G12B Solution: 1. Move key_iv buffer from stack to memory provided by kzalloc 2. Enable crypto dma on G12B 3. Replace module_param with debugfs 4. Replace pr_err with dev_err Verify: verified on G12B Change-Id: I6de682e3d1fc141f8c6179c7d91f9b4bff165eae Signed-off-by: Matthew Shyu <matthew.shyu@amlogic.com> Signed-off-by: Mingyen Hung <mingyen.hung@amlogic.com>