On Thu, May 02, 2019 at 11:08:55AM +0000, Horia Geanta wrote: > > >> + > >> 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.? Since no fix has been found I'm reverting the commit in question. Thanks, -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt