On Fri, Dec 11, 2015 at 11:54 AM, Andrew Pinski <pins...@gmail.com> wrote: > Hi, > The Linux kernel calls lse as atomics in /proc/cpuinfo. We should > change aarch64-option-extensions.def to take that into account. > > OK? Bootstrapped and tested on aarch64-linux-gnu with no regressions > and tested with -mcpu=native on ThunderX T88 pass 2 with Linux 4.4 to > see if lse gets enabled.
Ping. apinski@arm64:~/src/linux-upstream$ cat /proc/cpuinfo |head -9 processor : 0 BogoMIPS : 200.00 Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics CPU implementer : 0x43 CPU architecture: 8 CPU variant : 0x1 CPU part : 0x0a1 CPU revision : 0 > > Thanks, > Andrew Pinski > > ChangeLog: > * config/aarch64/aarch64-option-extensions.def (LSE): Change > FEAT_STRING to "atomics".