1. 04 Oct, 2006 4 commits
    • Michael Ellerman's avatar
      [POWERPC] Fix xmon=off and cleanup xmon initialisation · 47679283
      Michael Ellerman authored
      My patch to make the early xmon logic work with earlier early param
      parsing (480f6f35) breaks xmon=off.
      
      No one does this obviously as xmon rocks, but it should really work
      as documented.
      
      While fixing that it struck me that we could move the xmon param
      handling into xmon.c, and also consolidate the
      xmon_init()/do_early_xmon logic into xmon_setup(). This means
      xmon=early drops into xmon a little earlier on 32-bit, but it
      seems to work just fine.
      
      Tested on PSERIES and CLASSIC32.
      Signed-off-by: default avatarMichael Ellerman <michael@ellerman.id.au>
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      47679283
    • Michael Ellerman's avatar
      [POWERPC] Cleanup include/asm-powerpc/xmon.h · 23b8acb1
      Michael Ellerman authored
      For some reason we have two prototypes for xmon_init(), remove the
      one in system.h.
      
      No one calls xmon() anymore, debugger() is preferable, so we don't
      need the prototype. And similarly no one calls xmon_printf().
      
      Also update the include guards on xmon.h to match the standard
      format, add copyright and license, and add comments to #endifs.
      
      Built for pseries_defconfig and pmac32_defconfig.
      Signed-off-by: default avatarMichael Ellerman <michael@ellerman.id.au>
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      23b8acb1
    • Olaf Hering's avatar
      [POWERPC] Update swim3 printk after blkdev.h change · 14b1ffb5
      Olaf Hering authored
      drivers/block/swim3.c: In function 'swim3_interrupt':
      drivers/block/swim3.c:640: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'unsigned int'
      drivers/block/swim3.c:746: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'unsigned int'
      
      Update printk format string after blkdev.h change:
       Split struct request ->flags into two parts
      Signed-off-by: default avatarOlaf Hering <olaf@aepfle.de>
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      14b1ffb5
    • Benjamin Herrenschmidt's avatar
      [POWERPC] Cell interrupt rework · 2e194583
      Benjamin Herrenschmidt authored
      This patch reworks the cell iic interrupt handling so that:
      
       - Node ID is back in the interrupt number (only one IRQ host is created
      for all nodes). This allows interrupts from sources on another node to
      be routed non-locally. This will allow possibly one day to fix maxcpus=1
      or 2 and still get interrupts from devices on BE 1. (A bit more fixing
      is needed for that) and it will allow us to implement actual affinity
      control of external interrupts.
      
       - Added handling of the IO exceptions interrupts (badly named, but I
      re-used the name initially used by STI). Those are the interrupts
      exposed by IIC_ISR and IIC_IRR, such as the IOC translation exception,
      performance monitor, etc... Those get their special numbers in the IRQ
      number space and are internally implemented as a cascade on unit 0xe,
      class 1 of each node.
      Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Acked-by: default avatarArnd Bergmann <arnd.bergmann@de.ibm.com>
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      2e194583
  2. 03 Oct, 2006 36 commits