Re: [PATCH] powerpc/64s: Fix CPU_FTRS_ALWAYS vs DT CPU features

2018-04-12 Thread Nicholas Piggin
On Thu, 12 Apr 2018 23:47:51 +1000 Michael Ellerman wrote: > The cpu_has_feature() mechanism has an optimisation where at build > time we construct a mask of the CPU feature bits that will always be > true for the given .config, based on the platform/bitness/etc. that we >

[PATCH] powerpc/64s: Fix CPU_FTRS_ALWAYS vs DT CPU features

2018-04-12 Thread Michael Ellerman
The cpu_has_feature() mechanism has an optimisation where at build time we construct a mask of the CPU feature bits that will always be true for the given .config, based on the platform/bitness/etc. that we are building for. That is incompatible with DT CPU features, where the set of CPU features