[PATCH] 0/4 abstract firmware feature checks

Stephen Rothwell sfr at canb.auug.org.au
Wed Aug 3 14:26:39 EST 2005


Hi all,

This series of patches are intended to abstract the current firmware
feature checks in such a way that they may be (sometimes) evaluated at
compile time.  This should hopefully, reduce the checks on
CONFIG_PPC_[IP]SERIES.  They also introduce a feature bit to identify the
iSeries hypervisor.

Thanks to Arnd Bergmann for the method I have taken from his
CPU_HAS_FEATURE patch.

 arch/ppc64/kernel/Makefile        |    2
 arch/ppc64/kernel/cputable.c      |   40 ---------------
 arch/ppc64/kernel/firmware.c      |   47 +++++++++++++++++
 arch/ppc64/kernel/iSeries_setup.c |    3 +
 arch/ppc64/kernel/lparcfg.c       |    6 +-
 arch/ppc64/kernel/pSeries_iommu.c |    3 -
 arch/ppc64/kernel/pSeries_lpar.c  |    1
 arch/ppc64/kernel/pSeries_setup.c |   18 +++---
 arch/ppc64/kernel/pSeries_smp.c   |    3 -
 arch/ppc64/kernel/process.c       |   12 +---
 arch/ppc64/kernel/sysfs.c         |    5 -
 arch/ppc64/kernel/time.c          |    7 +-
 include/asm-ppc64/cputable.h      |   47 +----------------
 include/asm-ppc64/firmware.h      |  101 ++++++++++++++++++++++++++++++++++++++
 14 files changed, 181 insertions(+), 114 deletions(-)

-- 
Cheers,
Stephen Rothwell                    sfr at canb.auug.org.au
http://www.canb.auug.org.au/~sfr/



More information about the Linuxppc64-dev mailing list