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. Stewart Smith (4): powerpc/powernv: panic() on OPAL < V3 powerpc/powernv: Remove OPALv2 firmware define and references powerpc/powernv: remove FW_FEATURE_OPAL and just use FW_FEATURE_OPALv3 powerpc/powernv: remove logic for pre-OPALv3 firmware arch/powerpc/include/asm/firmware.h | 5 +-- arch/powerpc/mm/numa.c | 4 +- arch/powerpc/platforms/powernv/opal.c | 16 ++------ arch/powerpc/platforms/powernv/pci.c | 2 +- arch/powerpc/platforms/powernv/setup.c | 10 ++--- arch/powerpc/platforms/powernv/smp.c | 72 +++++++++++++++------------------- arch/powerpc/sysdev/xics/ics-opal.c | 2 +- drivers/i2c/busses/i2c-opal.c | 2 +- drivers/rtc/rtc-opal.c | 2 +- drivers/tty/hvc/hvc_opal.c | 2 +- 10 files changed, 46 insertions(+), 71 deletions(-) -- 2.1.4 _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev