Revert "crypto: caam/jr - Remove extra memory barrier during job ring dequeue"
This reverts commit bbfcac5ff5
.
It caused a crash regression on powerpc:
https://lore.kernel.org/linux-crypto/87pnp2aflz.fsf@concordia.ellerman.id.au/
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
@@ -96,14 +96,6 @@ 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)
|
||||
|
Reference in New Issue
Block a user