On Fri, Aug 07, 2020 at 07:39:19PM +0530, Srujana Challa wrote: > > +#if defined(CONFIG_ARM64) > +static inline long otx2_lmt_flush(void *ioreg) > +{ > + long result = 0; > + > + __asm__ volatile(".cpu generic+lse\n" > + "ldeor xzr, %0, [%1]\n" > + : "=r" (result) > + : "r" (ioreg) : "memory"); > + > + return result; > +} > + > +#else > +#define otx2_lmt_flush(addr) ({ 0; }) > +#endif This is not acceptable. Please work out a way with the ARM folks to fix this without adding assembly code in a driver. Thanks, -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt