[PATCH v2 0/3] Remove OPAL pre-v3 support

Stewart Smith stewart at linux.vnet.ibm.com
Wed Dec 9 17:18:17 AEDT 2015


Everything that ever made it out of the lab is OPALv3.

The number of machines in the lab even that are OPAL pre v3 is so
likely to be zero it's not funny, and the number of people expecting
to run mainline kernels on OPAL pre v3 is even lower than that.

So, this patch series removes things referencing OPAL that isn't
OPALv3 and leaves us with a simple FW_FEATURE_OPALv3 define at the
end that we can check against.

Anyone mad enough to do an OPALv4 gets to go look at all the things
themselves.

Changes since V1:
- Fix missing ; in patch 1
- remove cpuinfo OPAL v1 line in patch 2 rather than 3
- keep FW_FEATURE_OPAL rather than FW_FEATURE_OPALv3

Stewart Smith (3):
  powerpc/powernv: panic() on OPAL < V3
  powerpc/powernv: Remove OPALv2 firmware define and references
  powerpc/powernv: remove FW_FEATURE_OPALv3 and just use FW_FEATURE_OPAL

 arch/powerpc/include/asm/firmware.h          |  5 +-
 arch/powerpc/platforms/powernv/eeh-powernv.c |  4 +-
 arch/powerpc/platforms/powernv/idle.c        |  2 +-
 arch/powerpc/platforms/powernv/opal-xscom.c  |  2 +-
 arch/powerpc/platforms/powernv/opal.c        | 36 +++++---------
 arch/powerpc/platforms/powernv/pci-ioda.c    |  2 +-
 arch/powerpc/platforms/powernv/setup.c       | 12 ++---
 arch/powerpc/platforms/powernv/smp.c         | 74 ++++++++++++----------------
 drivers/cpufreq/powernv-cpufreq.c            |  2 +-
 drivers/cpuidle/cpuidle-powernv.c            |  2 +-
 10 files changed, 56 insertions(+), 85 deletions(-)

-- 
2.1.4



More information about the Linuxppc-dev mailing list