1. 17 Apr, 2008 4 commits
    • Kumar Gala's avatar
      [POWERPC] Rework Book-E debug exception handling · eb0cd5fd
      Kumar Gala authored
      The architecture allows for "Book-E" style debug interrupts to either go
      to critial interrupts of their own debug interrupt level.  To allow for
      a dynamic kernel to support machines of either type we want to be able to
      compile in the interrupt handling code for both exception levels.
      
      Towards this goal we renamed the debug handling macros to specify the
      interrupt level in their name (DEBUG_CRIT_EXCEPTION/DebugCrit and
      DEBUG_DEBUG_EXCEPTION/DebugDebug).
      
      Additionally, on the Freescale Book-e parts we expanded the exception
      stacks to cover the maximum case of needing three exception stacks (normal,
      machine check and debug).
      
      There is some kernel text space optimization to be gained if a kernel is
      configured for a specific Freescale implementation but we aren't handling
      that now to allow for the single kernel image support.
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      eb0cd5fd
    • Kumar Gala's avatar
      [POWERPC] Remove unused machine call outs · 77116849
      Kumar Gala authored
      When we moved to arch/powerpc we actively tried to avoid using the
      ppc_md.setup_io_mappings().  Currently no board ports use it so let's
      remove it to avoid any new boards using it.
      
      Also, remove early_serial_map() since we don't even have a call out for
      it in arch/powerpc.
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      77116849
    • Michael Ellerman's avatar
      [POWERPC] Always add preferred consoles in platforms/pseries/lpar.c · 5faae2e5
      Michael Ellerman authored
      There is logic in platforms/peries/lpars.c which checks if the user has
      specified a console on the command line, and refrains from adding a
      preferred console entry for the hvc/hvsi console if they have.
      
      This trips up if you use "netconsole=foo" on the command line, and has
      the result that you get _only_ the netconsole, because the hvc device is
      never added as a preferred console. Worse still if you get the netconsole
      configuration wrong somehow, you end up with no console at all.
      
      As it turns out we don't need to worry about checking the command line.
      If the user has specified "console=foo", then foo will be set as the
      preferred console when the command line is parsed in start_kernel(), much
      later than the pseries code, and so the latter setting will take effect.
      Signed-off-by: default avatarMichael Ellerman <michael@ellerman.id.au>
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      5faae2e5
    • Michael Ellerman's avatar
      [POWERPC] Move prototype for find_udbg_vterm() into a header file · 21cf9133
      Michael Ellerman authored
      Move the prototype for find_udbg_vterm() into pseries.h, removing
      it from setup.c.
      Signed-off-by: default avatarMichael Ellerman <michael@ellerman.id.au>
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      21cf9133
  2. 16 Apr, 2008 26 commits
  3. 15 Apr, 2008 10 commits