mbox series

[0/3] powerpc/64s: Fix PPC_BARRIER_NOSPEC=n

Message ID 20210816082403.2293846-1-joel@jms.id.au (mailing list archive)
Headers show
Series powerpc/64s: Fix PPC_BARRIER_NOSPEC=n | expand

Message

Joel Stanley Aug. 16, 2021, 8:24 a.m. UTC
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(-)