1. 21 12月, 2008 1 次提交
    • B
      powerpc: Disable Collaborative Memory Manager for kdump · 2218108e
      Brian King 提交于
      When running Active Memory Sharing, the Collaborative Memory Manager
      (CMM) may mark some pages as "loaned" with the hypervisor.
      Periodically, the CMM will query the hypervisor for a loan request,
      which is a single signed value.  When kexec'ing into a kdump kernel,
      the CMM driver in the kdump kernel is not aware of the pages the
      previous kernel had marked as "loaned", so the hypervisor and the CMM
      driver are out of sync.  This results in the CMM driver getting a
      negative loan request, which can then get treated as a large unsigned
      value and can cause kdump to hang due to the CMM driver inflating too
      large.  Since there really is no clean way for the CMM driver in the
      kdump kernel to clean this up, simply disable CMM in the kdump kernel.
      This fixes hangs we were seeing doing kdump with AMS.
      Signed-off-by: NBrian King <brking@linux.vnet.ibm.com>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      2218108e
  2. 25 7月, 2008 1 次提交
  3. 17 7月, 2008 1 次提交
    • J
      powerpc: pci config cleanup · b500563b
      John Rigby 提交于
      Choosing PCI or not at config time is allowed on some
      platforms via an if expression in arch/powerpc/Kconfig.
      To add a new platform with PCI support selectable at
      config time, you must change the if expression.  This
      patch makes this easier by changing:
          bool "PCI support" if <long expression>
      to
          bool "PCI support" if PPC_PCI_CHOICE
      and adding select PPC_PCI_CHOICE to all the config nodes that
      were previously in the PCI if expression.
      
      Platforms with unconditional PCI support continue to
      just select PCI in their config nodes.
      Signed-off-by: NJohn Rigby <jrigby@freescale.com>
      Acked-by: NGrant Likely <grant.likely@secretlab.ca>
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      b500563b
  4. 24 4月, 2008 1 次提交
    • M
      [POWERPC] Add CONFIG_PPC_PSERIES_DEBUG to enable debugging for platforms/pseries · 36f8a2c4
      Michael Ellerman 提交于
      Add a DEBUG config setting which turns on all (most) of the debugging
      under platforms/pseries.
      
      To have this take effect we need to remove all the #undef DEBUG's, in
      various files. We leave the #undef DEBUG in platforms/pseries/lpar.c,
      as this enables debugging printks from the low-level hash table routines,
      and tends to make your system unusable. If you want those enabled you
      still have to turn them on by hand.
      
      Also some of the RAS code has a DEBUG block which causes a functional
      change, so I've keyed this off a different (non-existant) debug #define.
      
      This is only enabled if you have PPC_EARLY_DEBUG enabled also.
      Signed-off-by: NMichael Ellerman <michael@ellerman.id.au>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      36f8a2c4
  5. 19 11月, 2007 1 次提交
  6. 22 3月, 2007 1 次提交
  7. 14 3月, 2006 1 次提交
    • P
      powerpc: Disallow lparcfg being a module · 82dfdcae
      Paul Mackerras 提交于
      The lparcfg code needs several things which are pretty arcane internal
      details and which we don't want to export, which means that lparcfg
      doesn't work when built as a module.  This makes it a bool instead of
      a tristate in the Kconfig so that users can't try to build it as a
      module.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      82dfdcae
  8. 24 2月, 2006 1 次提交
  9. 03 11月, 2005 1 次提交
  10. 26 10月, 2005 1 次提交
    • P
      powerpc: Merge rtas.c into arch/powerpc/kernel · 033ef338
      Paul Mackerras 提交于
      This splits arch/ppc64/kernel/rtas.c into arch/powerpc/kernel/rtas.c,
      which contains generic RTAS functions useful on any CHRP platform,
      and arch/powerpc/platforms/pseries/rtas-fw.[ch], which contain
      some pSeries-specific firmware flashing bits.  The parts of rtas.c
      that are to do with pSeries-specific error logging are protected
      by a new CONFIG_RTAS_ERROR_LOGGING symbol.  The inclusion of rtas.o
      is controlled by the CONFIG_PPC_RTAS symbol, and the relevant
      platforms select that.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      033ef338
  11. 26 9月, 2005 1 次提交
    • P
      powerpc: Merge enough to start building in arch/powerpc. · 14cf11af
      Paul Mackerras 提交于
      This creates the directory structure under arch/powerpc and a bunch
      of Kconfig files.  It does a first-cut merge of arch/powerpc/mm,
      arch/powerpc/lib and arch/powerpc/platforms/powermac.  This is enough
      to build a 32-bit powermac kernel with ARCH=powerpc.
      
      For now we are getting some unmerged files from arch/ppc/kernel and
      arch/ppc/syslib, or arch/ppc64/kernel.  This makes some minor changes
      to files in those directories and files outside arch/powerpc.
      
      The boot directory is still not merged.  That's going to be interesting.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      14cf11af