1. 09 1月, 2020 1 次提交
    • A
      crypto: hisilicon/sec2 - Use atomics instead of __sync · cb1eeb75
      Arnd Bergmann 提交于
      The use of __sync functions for atomic memory access is not
      supported in the kernel, and can result in a link error depending
      on configuration:
      
      ERROR: "__tsan_atomic32_compare_exchange_strong" [drivers/crypto/hisilicon/sec2/hisi_sec2.ko] undefined!
      ERROR: "__tsan_atomic64_fetch_add" [drivers/crypto/hisilicon/sec2/hisi_sec2.ko] undefined!
      
      Use the kernel's own atomic interfaces instead. This way the
      debugfs interface actually reads the counter atomically.
      
      Fixes: 416d8220 ("crypto: hisilicon - add HiSilicon SEC V2 driver")
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      cb1eeb75
  2. 12 12月, 2019 1 次提交
  3. 27 11月, 2019 3 次提交
  4. 22 11月, 2019 33 次提交
  5. 17 11月, 2019 2 次提交