powerpc updates for 4.16

Highlights:

 - Enable support for memory protection keys aka "pkeys" on Power7/8/9 when
   using the hash table MMU.

 - Extend our interrupt soft masking to support masking PMU interrupts as well
   as "normal" interrupts, and then use that to implement local_t for a ~4x
   speedup vs the current atomics-based implementation.

 - A new driver "ocxl" for "Open Coherent Accelerator Processor Interface
   (OpenCAPI)" devices.

 - Support for new device tree properties on PowerVM to describe hotpluggable
   memory and devices.

 - Add support for CLOCK_{REALTIME/MONOTONIC}_COARSE to the 64-bit VDSO.

 - Freescale updates from Scott:
     "Contains fixes for CPM GPIO and an FSL PCI erratum workaround, plus a
      minor cleanup patch."

As well as quite a lot of other changes all over the place, and small fixes and
cleanups as always.

Thanks to:
  Alan Modra, Alastair D'Silva, Alexey Kardashevskiy, Alistair Popple, Andreas
  Schwab, Andrew Donnellan, Aneesh Kumar K.V, Anju T Sudhakar, Anshuman
  Khandual, Anton Blanchard, Arnd Bergmann, Balbir Singh, Benjamin
  Herrenschmidt, Bhaktipriya Shridhar, Bryant G. Ly, Cédric Le Goater,
  Christophe Leroy, Christophe Lombard, Cyril Bur, David Gibson, Desnes A. Nunes
  do Rosario, Dmitry Torokhov, Frederic Barrat, Geert Uytterhoeven, Guilherme G.
  Piccoli, Gustavo A. R. Silva, Gustavo Romero, Ivan Mikhaylov, Joakim
  Tjernlund, Joe Perches, Josh Poimboeuf, Juan J. Alvarez, Julia Cartwright,
  Kamalesh Babulal, Madhavan Srinivasan, Mahesh Salgaonkar, Mathieu Malaterre,
  Michael Bringmann, Michael Hanselmann, Michael Neuling, Nathan Fontenot,
  Naveen N. Rao, Nicholas Piggin, Paul Mackerras, Philippe Bergheaud, Ram Pai,
  Russell Currey, Santosh Sivaraj, Scott Wood, Seth Forshee, Simon Guo, Stewart
  Smith, Sukadev Bhattiprolu, Thiago Jung Bauermann, Vaibhav Jain, Vasyl
  Gomonovych.
powerpc/mm/radix: Fix build error when RADIX_MMU=n

The recent TLB flush rework broke the build when the Radix MMU is
disabled at build time, eg:

  (.text+0x264): undefined reference to `.radix__tlbiel_all'

We could add an empty version, but if we ever called it by accident
that would indicate a bad bug, so add a stub that just WARNs if we do.

Fixes: d4748276ae14 ("powerpc/64s: Improve local TLB flush for boot and MCE on POWER9")
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
1 file changed