On Fri, Sep 04, 2020 at 01:45:38PM +0000, Srujana Challa wrote: > > This block of code is used for LMT store operations. The LMT store operation > is specific to our platform, and this uses the "ldeor" instruction(which is > actually an LSE atomic instruction available on v8.1 CPUs) targeting the > IO address. > We add it in the driver since we want LMT store to work even if LSE_ATOMICS > is disabled. You have exactly the same macro in your net driver. Move it into a header file in arch/arm64/include/asm and also add one under include/asm-generic so we can compile-test. Thanks, -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt