On 7/4/2018 10:23 AM, Fabio Estevam wrote: > From: Fabio Estevam <fabio.estevam@xxxxxxx> > > This reverts commit 46e4bf08f6388ba748597275012d715d5e1861e6. > > Commit 46e4bf08f6388 ("crypto: caam: cleanup CONFIG_64BIT ifdefs > when using io{read|write}64") causes kernel crash on imx6 systems: > > [ 2.041187] caam_jr 2101000.jr0: job ring error: irqstate: 00000103 > [ 2.049878] Internal error: Oops - undefined instruction: 0 [#1] SMP ARM > [ 2.056591] Modules linked in: > [ 2.059671] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.18.0-rc3-next-20180703 #484 > [ 2.067338] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree) > [ 2.073892] PC is at caam_jr_interrupt+0x120/0x12c > [ 2.078702] LR is at vprintk_emit+0x228/0x43c > [ 2.083069] pc : [<c075eb38>] lr : [<c01815ec>] psr: 60000193 > [ 2.089344] sp : c1001d80 ip : c1001be0 fp : c1001da4 > [ 2.094576] r10: c107ffe7 r9 : ec749e00 r8 : 0000012d > [ 2.099810] r7 : c1001de0 r6 : c17ecc10 r5 : ec7a6010 r4 : 00000103 > [ 2.106346] r3 : ba36048e r2 : ba36048e r1 : 00000001 r0 : 00000037 > [ 2.112884] Flags: nZCv IRQs off FIQs on Mode SVC_32 ISA ARM > Segment none > > Revert it for now. > > Signed-off-by: Fabio Estevam <fabio.estevam@xxxxxxx> Acked-by: Logan Gunthorpe <logang@xxxxxxxxxxxx>