On Wed, Apr 03, 2019 at 10:29:52AM +0100, Andrew Murray wrote: > On Wed, Apr 03, 2019 at 10:11:20AM +0100, Dave Martin wrote: > > On Wed, Apr 03, 2019 at 09:32:55AM +0100, Andrew Murray wrote: > > > On Tue, Apr 02, 2019 at 03:58:31PM +0100, Dave Martin wrote: [...] > > > > I wonder whether we can have a generic definition for this: > > > > > > > > #define cpu_set_named_feature(x) (elf_hwcap |= HWCAP_ ## x) > > > > > > You mean specific to arm32? > > > > > > I will do this, along with a cpu_get_named_feature - but I think > > > I'd prefer to do this in a separate series. > > > > Yes, we could do that. We could also do it more widely, but it's > > probably not worth the overhead of doing it. > > I had considered this as well but also determined that it wouldn't give > much gain. Yep, agreed. It can always be done later if it turns out to be useful for someone. Cheers ---Dave