crypto: caam/jr - Remove extra memory barrier during job ring dequeue
PATCH 1/1 crypto: caam/jr - Remove extra memory barrier during job ring dequeue
In function caam_jr_dequeue(), a full memory barrier is used before writing response job ring's register to signal removal of the completed job. Therefore for writing the register, we do not need another write memory barrier. Hence it is removed by replacing the call to wr_reg32() with a newly defined function wr_reg32_relaxed().
--- drivers/crypto/caam/jr.c | 2 +- drivers/crypto/caam/regs.h | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-)
drivers/crypto/caam/jr.c +1 -1
@@ -266,7 +266,7 @@ static void caam_jr_dequeue(unsigned long devarg)mb ();/* set done */ -wr_reg32 (&jrp->rregs->outring_rmvd,1 ); +wr_reg32_relaxed (&jrp->rregs->outring_rmvd,1 ); jrp->out_ring_read_index = (jrp->out_ring_read_index +1 ) & (JOBR_DEPTH -1 );
drivers/crypto/caam/regs.h +8 -0
@@ -96,6 +96,14 @@ cpu_to_caam(16) cpu_to_caam(32) cpu_to_caam(64) +static inline void wr_reg32_relaxed (void __iomem *reg,u32 data) +{ +if (caam_little_end) +writel_relaxed (data, reg); +else +writel_relaxed (cpu_to_be32 (data), reg); +} +static inline void wr_reg32 (void __iomem *reg,u32 data) {if (caam_little_end)
Signature · 1 line
2.13.6
Herbert Xu
maintainerQuoted 11 lines · Vakul Garg
In function
caam_jr_dequeue(), a full memory barrier is used before writing response job ring's register to signal removal of the completed job. Therefore for writing the register, we do not need another write memory barrier. Hence it is removed by replacing the call towr_reg32()with a newly defined functionwr_reg32_relaxed().Signed-off-by Vakul Garg <[email protected]>--- drivers/crypto/caam/jr.c | 2 +- drivers/crypto/caam/regs.h | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-)
Patch applied. Thanks.
Signature · 3 lines
Email: Herbert Xu <[email protected]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Quoted 34 lines · Vakul Garg
In function
caam_jr_dequeue(), a full memory barrier is used before writing response job ring's register to signal removal of the completed job. Therefore for writing the register, we do not need another write memory barrier. Hence it is removed by replacing the call towr_reg32()with a newly defined functionwr_reg32_relaxed().Signed-off-by Vakul Garg <[email protected]>--- drivers/crypto/caam/jr.c | 2 +- drivers/crypto/caam/regs.h | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-)drivers/crypto/caam/jr.c +1
-1@@ -266,7 +266,7 @@ static void caam_jr_dequeue(unsigned long devarg)mb ();/* set done */ -wr_reg32 (&jrp->rregs->outring_rmvd,1 ); +wr_reg32_relaxed (&jrp->rregs->outring_rmvd,1 ); jrp->out_ring_read_index = (jrp->out_ring_read_index +1 ) & (JOBR_DEPTH -1 );drivers/crypto/caam/regs.h +1
-0@@ -96,6 +96,14 @@ cpu_to_caam(16) cpu_to_caam(32) cpu_to_caam(64) +static inline void wr_reg32_relaxed (void __iomem *reg,u32 data)
drivers/crypto/caam/regs.h cpu_to_caam(16) · line 109
Quoted 10 lines
drivers/crypto/caam/regs.h +7
-0+{ +if (caam_little_end) +writel_relaxed (data, reg); +else +writel_relaxed (cpu_to_be32 (data), reg); +} +static inline void wr_reg32 (void __iomem *reg,u32 data) {if (caam_little_end)
This crashes on my p5020ds. Did you test on powerpc?
# first bad commit: [bbfcac5ff5f26aafa51935a62eb86b6eacfe8a49] crypto: caam/jr - Remove extra memory barrier during job ring dequeue
Log:
------------[ cut here ]------------
kernel BUG at drivers/crypto/caam/jr.c:191!
Oops: Exception in kernel mode, sig: 5 [#1]
BE PAGE_SIZE=4K SMP NR_CPUS=24 CoreNet Generic
Modules linked in:
CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.1.0-rc1-gcc-8.2.0-00060-gbbfcac5ff5f2 #31
NIP: c00000000079d704 LR: c00000000079d498 CTR: c000000000086914
REGS: c0000000fffc7970 TRAP: 0700 Not tainted (5.1.0-rc1-gcc-8.2.0-00060-gbbfcac5ff5f2)
MSR: 0000000080029000 <CE,EE,ME> CR: 28008484 XER: 00000000
IRQMASK: 0
GPR00: c00000000079d6b0 c0000000fffc7c00 c000000000fbc800 0000000000000001
GPR04: 000000007e080080 000000000000ffc0 0000000000000001 00000000000067d7
GPR08: 00000000880401a9 0000000000000000 0000000000000001 00000000fa83b2da
GPR12: 0000000028008224 c00000003ffff800 c000000000fc20b0 0000000000000100
GPR16: 8920f09520bea117 c000000000def480 0000000000000000 0000000000000001
GPR20: c000000000fc3940 c0000000f3537e18 0000000000000001 c000000001026cc5
GPR24: 0000000000000001 c0000000f3328000 0000000000000001 c0000000f3451010
GPR28: 0000000000000000 0000000000000001 0000000000000000 0000000000000000
NIP [c00000000079d704] .caam_jr_dequeue+0x2f0/0x410
LR [c00000000079d498] .caam_jr_dequeue+0x84/0x410
Call Trace:
[c0000000fffc7c00] [c00000000079d6b0] .caam_jr_dequeue+0x29c/0x410 (unreliable)
[c0000000fffc7cd0] [c00000000004fef0] .tasklet_action_common.isra.3+0xac/0x180
[c0000000fffc7d80] [c000000000a2f99c] .__do_softirq+0x174/0x3f8
[c0000000fffc7e90] [c00000000004fb94] .irq_exit+0xc4/0xdc
[c0000000fffc7f00] [c000000000007348] .__do_irq+0x8c/0x1b0
[c0000000fffc7f90] [c0000000000150c4] .call_do_irq+0x14/0x24
[c0000000f3137930] [c0000000000074e4] .do_IRQ+0x78/0xd4
[c0000000f31379c0] [c000000000019998] exc_0x500_common+0xfc/0x100
--- interrupt: 501 at .book3e_idle+0x24/0x5c
LR = .book3e_idle+0x24/0x5c
[c0000000f3137cc0] [c00000000000a6a4] .arch_cpu_idle+0x34/0xa0 (unreliable)
[c0000000f3137d30] [c000000000a2f2e8] .default_idle_call+0x5c/0x70
[c0000000f3137da0] [c000000000084210] .do_idle+0x1b0/0x1f4
[c0000000f3137e40] [c000000000084434] .cpu_startup_entry+0x28/0x30
[c0000000f3137eb0] [c000000000021538] .start_secondary+0x59c/0x5b0
[c0000000f3137f90] [c00000000000045c] start_secondary_prolog+0x10/0x14
Instruction dump:
7d284a14 e9290018 2fa90000 40de001c 3bbd0001 57bd05fe 7d3db050 712901ff
7fbd07b4 40e2ffcc 93b500dc 4bffff94 <0fe00000> 78890022 79270020 41d600ec
---[ end trace 7bedbdf37a95ab35 ]---That's hitting:
/* we should never fail to find a matching descriptor */ BUG_ON(CIRC_CNT(head, tail + i, JOBR_DEPTH) <= 0);
cheers
Quoted 48 lines
-----Original Message-----
From: Michael Ellerman <[email protected]>
Sent: Wednesday, May 1, 2019 11:20 AM
To: Vakul Garg <[email protected]>
Cc: [email protected]; Aymen Sghaier <[email protected]>; [email protected]; [email protected]; Horia Geanta <[email protected]>; [email protected]
Subject: Re: [PATCH] crypto: caam/jr - Remove extra memory barrier during job ring dequeuedrivers/crypto/caam/jr.c static void caam_jr_dequeue(unsigned long
Quoted 17 lines · Vakul Garg
In function
caam_jr_dequeue(), a full memory barrier is used before writing response job ring's register to signal removal of the completed job. Therefore for writing the register, we do not need another write memory barrier. Hence it is removed by replacing the call towr_reg32()with a newly defined functionwr_reg32_relaxed().Signed-off-by Vakul Garg <[email protected]>--- drivers/crypto/caam/jr.c | 2 +- drivers/crypto/caam/regs.h | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-)drivers/crypto/caam/jr.c index renamed from drivers/crypto/caam/jr.c +0
-0
4e9b3fca5627..2ce6d7d2ad72100644drivers/crypto/caam/jr.c +0
-0@@ -266,7 +266,7 @@ static void caam_jr_dequeue(unsigned longdevarg)
Quoted 16 lines
drivers/crypto/caam/jr.c +1
-1mb ();/* set done */ -wr_reg32 (&jrp->rregs->outring_rmvd,1 ); +wr_reg32_relaxed (&jrp->rregs->outring_rmvd,1 ); jrp->out_ring_read_index = (jrp->out_ring_read_index +1 ) & (JOBR_DEPTH -1 );drivers/crypto/caam/regs.h +0
-0@@ -96,6 +96,14 @@ cpu_to_caam(16) cpu_to_caam(32)cpu_to_caam (64 )
Quoted 11 lines
drivers/crypto/caam/regs.h cpu_to_caam(16) · line 109
Quoted 8 lines
drivers/crypto/caam/regs.h +6
-0+static inline void wr_reg32_relaxed (void __iomem *reg,u32 data) { +if (caam_little_end) +writel_relaxed (data, reg); +else +writel_relaxed (cpu_to_be32 (data), reg); } +static inline void wr_reg32 (void __iomem *reg,u32 data) {if (caam_little_end)This crashes on my p5020ds. Did you test on powerpc?
I did not test on powerpc.
Quoted 64 lines
# first bad commit: [bbfcac5ff5f26aafa51935a62eb86b6eacfe8a49] crypto: caam/jr - Remove extra memory barrier during job ring dequeueLog:
------------[ cut here ]------------ kernel BUG at drivers/crypto/caam/jr.c:191! Oops: Exception in kernel mode, sig: 5 [#1] BE PAGE_SIZE=4K SMP NR_CPUS=24 CoreNet Generic Modules linked in: CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.1.0-rc1-gcc-8.2.0-00060-gbbfcac5ff5f2 #31
NIP:c00000000079d704LR:c00000000079d498CTR:c000000000086914
REGS:c0000000fffc7970TRAP: 0700 Not tainted (5.1.0-rc1-gcc-8.2.0-
00060-gbbfcac5ff5f2)
MSR: 0000000080029000 <CE,EE,ME> CR: 28008484 XER: 00000000
IRQMASK: 0
GPR00:c00000000079d6b0c0000000fffc7c00c000000000fbc800
0000000000000001
GPR04:000000007e080080000000000000ffc0000000000000000100000000000067d7
GPR08:00000000880401a90000000000000000 000000000000000100000000fa83b2da
GPR12: 0000000028008224c00000003ffff800c000000000fc20b0
0000000000000100
GPR16:8920f09520bea117c000000000def4800000000000000000
0000000000000001
GPR20:c000000000fc3940c0000000f3537e180000000000000001c000000001026cc5
GPR24: 0000000000000001c0000000f33280000000000000000001c0000000f3451010
GPR28: 0000000000000000 0000000000000001 0000000000000000
0000000000000000
NIP [c00000000079d704] .caam_jr_dequeue+0x2f0/0x410
LR [c00000000079d498] .caam_jr_dequeue+0x84/0x410Call Trace: [c0000000fffc7c00] [c00000000079d6b0] .caam_jr_dequeue+0x29c/0x410 (unreliable) [c0000000fffc7cd0] [c00000000004fef0] .tasklet_action_common.isra.3+0xac/0x180 [c0000000fffc7d80] [c000000000a2f99c] .__do_softirq+0x174/0x3f8 [c0000000fffc7e90] [c00000000004fb94] .irq_exit+0xc4/0xdc [c0000000fffc7f00] [c000000000007348] .__do_irq+0x8c/0x1b0 [c0000000fffc7f90] [c0000000000150c4] .call_do_irq+0x14/0x24 [c0000000f3137930] [c0000000000074e4] .do_IRQ+0x78/0xd4 [c0000000f31379c0] [c000000000019998] exc_0x500_common+0xfc/0x100 --- interrupt: 501 at .book3e_idle+0x24/0x5c LR = .book3e_idle+0x24/0x5c [c0000000f3137cc0] [c00000000000a6a4] .arch_cpu_idle+0x34/0xa0(unreliable)
[c0000000f3137d30] [c000000000a2f2e8] .default_idle_call+0x5c/0x70 [c0000000f3137da0] [c000000000084210] .do_idle+0x1b0/0x1f4 [c0000000f3137e40] [c000000000084434] .cpu_startup_entry+0x28/0x30 [c0000000f3137eb0] [c000000000021538] .start_secondary+0x59c/0x5b0 [c0000000f3137f90] [c00000000000045c]start_secondary_prolog+0x10/0x14 Instruction dump: 7d284a14 e9290018 2fa90000 40de001c 3bbd0001 57bd05fe 7d3db050 712901ff 7fbd07b4 40e2ffcc 93b500dc 4bffff94 <0fe00000> 78890022 79270020 41d600ec ---[ end trace 7bedbdf37a95ab35 ]---
Quoted 5 lines
That's hitting:
/* we should never fail to find a matching descriptor */ BUG_ON(CIRC_CNT(head, tail + i, JOBR_DEPTH) <= 0);
Is it hitting under high traffic to caam?
How to reproduce it?
Quoted 1 line
cheers
Quoted 57 lines · Vakul Garg
Quoted 46 lines
-----Original Message-----
From: Michael Ellerman <[email protected]>
Sent: Wednesday, May 1, 2019 11:20 AM
To: Vakul Garg <[email protected]>
Cc: [email protected]; Aymen Sghaier <[email protected]>; [email protected]; [email protected]; Horia Geanta <[email protected]>; [email protected]
Subject: Re: [PATCH] crypto: caam/jr - Remove extra memory barrier during job ring dequeuedrivers/crypto/caam/jr.c static void caam_jr_dequeue(unsigned long
Quoted 17 lines · Vakul Garg
In function
caam_jr_dequeue(), a full memory barrier is used before writing response job ring's register to signal removal of the completed job. Therefore for writing the register, we do not need another write memory barrier. Hence it is removed by replacing the call towr_reg32()with a newly defined functionwr_reg32_relaxed().Signed-off-by Vakul Garg <[email protected]>--- drivers/crypto/caam/jr.c | 2 +- drivers/crypto/caam/regs.h | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-)drivers/crypto/caam/jr.c index renamed from drivers/crypto/caam/jr.c +0
-0
4e9b3fca5627..2ce6d7d2ad72100644drivers/crypto/caam/jr.c +0
-0@@ -266,7 +266,7 @@ static void caam_jr_dequeue(unsigned longdevarg)
Quoted 16 lines
drivers/crypto/caam/jr.c +1
-1mb ();/* set done */ -wr_reg32 (&jrp->rregs->outring_rmvd,1 ); +wr_reg32_relaxed (&jrp->rregs->outring_rmvd,1 ); jrp->out_ring_read_index = (jrp->out_ring_read_index +1 ) & (JOBR_DEPTH -1 );drivers/crypto/caam/regs.h +0
-0@@ -96,6 +96,14 @@ cpu_to_caam(16) cpu_to_caam(32)cpu_to_caam (64 )Quoted 11 lines
drivers/crypto/caam/regs.h cpu_to_caam(16) · line 109
Quoted 8 lines
drivers/crypto/caam/regs.h +6
-0+static inline void wr_reg32_relaxed (void __iomem *reg,u32 data) { +if (caam_little_end) +writel_relaxed (data, reg); +else +writel_relaxed (cpu_to_be32 (data), reg); } +static inline void wr_reg32 (void __iomem *reg,u32 data) {if (caam_little_end)This crashes on my p5020ds. Did you test on powerpc?
Quoted 1 line
I did not test on powerpc.
OK, so I might be the first person who has :)
Quoted 64 lines
Quoted 64 lines
# first bad commit: [bbfcac5ff5f26aafa51935a62eb86b6eacfe8a49] crypto: caam/jr - Remove extra memory barrier during job ring dequeueLog:
------------[ cut here ]------------ kernel BUG at drivers/crypto/caam/jr.c:191! Oops: Exception in kernel mode, sig: 5 [#1] BE PAGE_SIZE=4K SMP NR_CPUS=24 CoreNet Generic Modules linked in: CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.1.0-rc1-gcc-8.2.0-00060-gbbfcac5ff5f2 #31
NIP:c00000000079d704LR:c00000000079d498CTR:c000000000086914
REGS:c0000000fffc7970TRAP: 0700 Not tainted (5.1.0-rc1-gcc-8.2.0-
00060-gbbfcac5ff5f2)
MSR: 0000000080029000 <CE,EE,ME> CR: 28008484 XER: 00000000
IRQMASK: 0
GPR00:c00000000079d6b0c0000000fffc7c00c000000000fbc800
0000000000000001
GPR04:000000007e080080000000000000ffc0000000000000000100000000000067d7
GPR08:00000000880401a90000000000000000 000000000000000100000000fa83b2da
GPR12: 0000000028008224c00000003ffff800c000000000fc20b0
0000000000000100
GPR16:8920f09520bea117c000000000def4800000000000000000
0000000000000001
GPR20:c000000000fc3940c0000000f3537e180000000000000001c000000001026cc5
GPR24: 0000000000000001c0000000f33280000000000000000001c0000000f3451010
GPR28: 0000000000000000 0000000000000001 0000000000000000
0000000000000000
NIP [c00000000079d704] .caam_jr_dequeue+0x2f0/0x410
LR [c00000000079d498] .caam_jr_dequeue+0x84/0x410Call Trace: [c0000000fffc7c00] [c00000000079d6b0] .caam_jr_dequeue+0x29c/0x410 (unreliable) [c0000000fffc7cd0] [c00000000004fef0] .tasklet_action_common.isra.3+0xac/0x180 [c0000000fffc7d80] [c000000000a2f99c] .__do_softirq+0x174/0x3f8 [c0000000fffc7e90] [c00000000004fb94] .irq_exit+0xc4/0xdc [c0000000fffc7f00] [c000000000007348] .__do_irq+0x8c/0x1b0 [c0000000fffc7f90] [c0000000000150c4] .call_do_irq+0x14/0x24 [c0000000f3137930] [c0000000000074e4] .do_IRQ+0x78/0xd4 [c0000000f31379c0] [c000000000019998] exc_0x500_common+0xfc/0x100 --- interrupt: 501 at .book3e_idle+0x24/0x5c LR = .book3e_idle+0x24/0x5c [c0000000f3137cc0] [c00000000000a6a4] .arch_cpu_idle+0x34/0xa0(unreliable)
[c0000000f3137d30] [c000000000a2f2e8] .default_idle_call+0x5c/0x70 [c0000000f3137da0] [c000000000084210] .do_idle+0x1b0/0x1f4 [c0000000f3137e40] [c000000000084434] .cpu_startup_entry+0x28/0x30 [c0000000f3137eb0] [c000000000021538] .start_secondary+0x59c/0x5b0 [c0000000f3137f90] [c00000000000045c]start_secondary_prolog+0x10/0x14 Instruction dump: 7d284a14 e9290018 2fa90000 40de001c 3bbd0001 57bd05fe 7d3db050 712901ff 7fbd07b4 40e2ffcc 93b500dc 4bffff94 <0fe00000> 78890022 79270020 41d600ec ---[ end trace 7bedbdf37a95ab35 ]---
Quoted 8 lines
Quoted 5 lines
That's hitting:
/* we should never fail to find a matching descriptor */ BUG_ON(CIRC_CNT(head, tail + i, JOBR_DEPTH) <= 0);Is it hitting under high traffic to caam?
How to reproduce it?
No that's just booting the system. I don't even have the crypto selftests enabled.
cheers
Horia Geanta
maintainerQuoted 34 lines · Michael Ellerman
Quoted 33 lines · Vakul Garg
In function
caam_jr_dequeue(), a full memory barrier is used before writing response job ring's register to signal removal of the completed job. Therefore for writing the register, we do not need another write memory barrier. Hence it is removed by replacing the call towr_reg32()with a newly defined functionwr_reg32_relaxed().Signed-off-by Vakul Garg <[email protected]>--- drivers/crypto/caam/jr.c | 2 +- drivers/crypto/caam/regs.h | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-)drivers/crypto/caam/jr.c +1
-1@@ -266,7 +266,7 @@ static void caam_jr_dequeue(unsigned long devarg)mb ();/* set done */ -wr_reg32 (&jrp->rregs->outring_rmvd,1 ); +wr_reg32_relaxed (&jrp->rregs->outring_rmvd,1 ); jrp->out_ring_read_index = (jrp->out_ring_read_index +1 ) & (JOBR_DEPTH -1 );drivers/crypto/caam/regs.h +0
-0@@ -96,6 +96,14 @@ cpu_to_caam(16) cpu_to_caam(32)cpu_to_caam (64 )
Quoted 7 lines
drivers/crypto/caam/regs.h cpu_to_caam(16) · line 105
Quoted 7 lines
drivers/crypto/caam/regs.h +7
-0+static inline void wr_reg32_relaxed (void __iomem *reg,u32 data) +{ +if (caam_little_end) +writel_relaxed (data, reg); +else +writel_relaxed (cpu_to_be32 (data), reg); +}
When both core (PPC) and crypto engine (caam) are big endian, data ends up being swapped - which is incorrect:writel_relaxed -> writel -> __do_writel -> out_le32 -> swap cpu_to_be32(data) -> data
Quoted 8 lines
drivers/crypto/caam/regs.h cpu_to_caam(16) · line 109
Quoted 4 lines
drivers/crypto/caam/regs.h +1
-0+static inline void wr_reg32 (void __iomem *reg,u32 data) {if (caam_little_end)This crashes on my p5020ds. Did you test on powerpc?
# first bad commit: [bbfcac5ff5f26aafa51935a62eb86b6eacfe8a49] crypto: caam/jr - Remove extra memory barrier during job ring dequeue
Thanks for the report Michael.
Any hint what would be the proper approach here - to have relaxed I/O accessors that would work both for ARM and PPC, and avoid ifdeffery etc.?
For non-relaxed version, we used iowriteXX and iowriteXXbe - which work fine on ARM and PPC, covering all the endianness combinations (core + crypto engine):
static inline void wr_reg32(void __iomem *reg, u32 data)
{
if (caam_little_end)
iowrite32(data, reg);
else
iowrite32be(data, reg);
}Thanks,
Horia
Herbert Xu
maintainerQuoted 6 lines · Horia Geanta
Quoted 6 lines
Quoted 5 lines
drivers/crypto/caam/regs.h +1
-0+static inline void wr_reg32 (void __iomem *reg,u32 data) {if (caam_little_end)
Quoted 8 lines
Quoted 3 lines
This crashes on my p5020ds. Did you test on powerpc?
# first bad commit: [bbfcac5ff5f26aafa51935a62eb86b6eacfe8a49] crypto: caam/jr - Remove extra memory barrier during job ring dequeueThanks for the report Michael.
Any hint what would be the proper approach here - to have relaxed I/O accessors that would work both for ARM and PPC, and avoid ifdeffery etc.?
Since no fix has been found I'm reverting the commit in question.
Thanks,
Signature · 3 lines
Email: Herbert Xu <[email protected]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Quoted 8 lines · Herbert Xu
Quoted 7 lines · Horia Geanta
Quoted 7 lines
drivers/crypto/caam/regs.h cpu_to_caam(16) · line 109
Quoted 4 lines
drivers/crypto/caam/regs.h +1
-0+static inline void wr_reg32 (void __iomem *reg,u32 data) {if (caam_little_end)This crashes on my p5020ds. Did you test on powerpc?
Quoted 8 lines
Quoted 6 lines
Quoted 1 line
# first bad commit: [bbfcac5ff5f26aafa51935a62eb86b6eacfe8a49] crypto: caam/jr - Remove extra memory barrier during job ring dequeueThanks for the report Michael.
Any hint what would be the proper approach here - to have relaxed I/O accessors that would work both for ARM and PPC, and avoid ifdeffery etc.?
Since no fix has been found I'm reverting the commit in question.
Thanks.
Sorry I haven't had time to look into it with everything else going on during the merge window.
cheers