debian: imx-arm64: build caam job ring driver into kernel Image

In current elxr kernel, caam job ring driver is built as module while the caam platform driver is built in kernel image. Based on this kind of configuration setting, the tls.12_aes_gcm.sendmsg_large case of kernel selftest can cause kernel panic as below: Unable to handle kernel paging request at virtual address fffff88345f5e6c0 [ 80.462231] Call trace: [ 80.464703] dcache_inval_poc+0x28/0x58 [ 80.468579] dma_direct_unmap_sg+0x1b0/0x1cc [ 80.472895] dma_unmap_sg_attrs+0x28/0x50 [ 80.476947] caam_unmap+0xdc/0x114 [caam_jr] [ 80.481275] aead_crypt_done+0x70/0x130 [caam_jr] [ 80.486039] caam_jr_dequeue+0x1cc/0x360 [caam_jr] [ 80.490888] tasklet_action_common.constprop.0+0x120/0x130 [ 80.496431] tasklet_action+0x30/0x40 [ 80.500134] handle_softirqs+0x118/0x300 [ 80.504099] __do_softirq+0x1c/0x28 [ 80.507624] ____do_softirq+0x18/0x24 [ 80.511326] call_on_irq_stack+0x24/0x50 [ 80.515290] do_softirq_own_stack+0x24/0x3c [ 80.519517] __irq_exit_rcu+0x104/0x130 [ 80.523396] irq_exit_rcu+0x18/0x24 [ 80.530397] el0_interrupt+0x58/0x12c [ 80.537541] __el0_irq_handler_common+0x18/0x24 [ 80.545564] el0t_64_irq_handler+0x10/0x20 [ 80.553120] el0t_64_irq+0x18c/0x190 [ 80.560116] Code: d1000443 ea03003f 8a230021 54000040 (d50b7e21) [ 80.569668] ---[ end trace 0000000000000000 ]--- [ 80.577740] Kernel panic - not syncing: Oops: Fatal exception in interrupt [ 80.588121] SMP: stopping secondary CPUs [ 80.596074] Kernel Offset: 0xb0000 from 0xffff800008000000 [ 80.605072] PHYS_OFFSET: 0x40000000 [ 80.612029] CPU features: 0x000000,00900084,0000421b [ 80.620447] Memory Limit: none [ 80.626966] ---[ end Kernel panic - not syncing: Oops: Fatal exception in interrupt ]--- Therefore, set CONFIG_CRYPTO_DEV_FSL_CAAM_JR=y to build caam job ring driver into kernel Image to avoid this issue. This fixing can be treated as a workaround, and further analysis is underway so that it can be fixed completely.

Signed-off-by: Meng Li Meng.Li@windriver.com

Merge request reports

Loading