When disabling PPC_BARRIER_NOSPEC on Microwatt to see if it improved boot time, I discovered the build was broken (first patch). This got worse between when I first tried and now (second patch).
The third patch disables PPC_BARRIER_NOSPEC when building for Microwatt. This one is optional, as it doesn't seem to change boot speed with the current Microwatt design on an Arty. Joel Stanley (3): powerpc/64s: Fix build when !PPC_BARRIER_NOSPEC powerpc: Fix undefined static key powerpc/microwatt: CPU doesn't (yet) have speculation bugs arch/powerpc/Kconfig | 1 + arch/powerpc/include/asm/security_features.h | 3 +++ arch/powerpc/include/asm/setup.h | 2 -- 3 files changed, 4 insertions(+), 2 deletions(-) -- 2.32.0