> > > > > > Jerin, any reason for not enabling LSE on ThunderX2? > > > > > > LSE is enabled when -mcpu=thunderx2t99 selected. > > > > > > $ aarch64-linux-gnu-gcc -mcpu=thunderx2t99 -dM -E - </dev/null | > > > grep __ARM_FEATURE_ATOMICS #define __ARM_FEATURE_ATOMICS 1 > > > > This does not work with older GCC versions [1]. They need LSE enabled > > explicitly. > > > > [1] https://godbolt.org/z/2nmASR > > Looks like, you have selected "armv8-a+crc" not "armv8.1-a+crc" in the > godbolt. > It comes properly with armv8.1-a+crc. Please check. Yes, works fine. Thanks.
> > > > > > > > > > > > > > > > > > > > Acked-by: Jerin Jacob <jer...@marvell.com>