Skip to content

Remove OPAL pre-v3 support

Stewart Smith linuxppc-dev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 1 replyIn review
  2. v14 patches 10 repliesSuperseded

Changes in v2 from the cover letter

- 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

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3powerpc/powernv: panic() on OPAL < V3arch/powerpc/platforms/powernv/opal.c+1 -41 reply
2/3powerpc/powernv: Remove OPALv2 firmware define and referencesarch/powerpc/include/asm/firmware.h arch/powerpc/platforms/powernv/opal.c arch/powerpc/platforms/powernv/setup.c +1 more+5 -150 replies
3/3powerpc/powernv: remove FW_FEATURE_OPALv3 and just use FW_FEATURE_OPALarch/powerpc/include/asm/firmware.h arch/powerpc/platforms/powernv/eeh-powernv.c arch/powerpc/platforms/powernv/idle.c +7 more+54 -700 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

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

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(-)
Signature · 1 line
2.1.4