1. 13 Feb, 2007 9 commits
    • Stefan Roese's avatar
      [POWERPC] ppc: Add support for AMCC Taishan 440GX eval board · ab9367e3
      Stefan Roese authored
      This patch adds support for the AMCC Taishan PPC440GX evaluation
      board.
      
      This is still an arch/ppc port. I'm aware that the move of
      4xx to arch/powerpc is making good progress right now. So this
      patch is mainly intended to make the Taishan support available
      for the community right now.
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      ab9367e3
    • Benjamin Herrenschmidt's avatar
      [POWERPC] Fix vDSO page count calculation · 7ac9a137
      Benjamin Herrenschmidt authored
      The recent vDSO consolidation patches broke powerpc due to a mistake
      in the definition of MAXPAGES constants. This fixes it by moving to
      a dynamically allocated array of pages instead as I don't like much
      hard coded size limits. Also move the vdso initialisation to an initcall
      since it doesn't really need to be done -that- early.
      
      Applogies for not catching the breakage earlier, Roland _did_ CC me on
      his patches a while ago, I got busy with other things and forgot to test
      them.
      Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      7ac9a137
    • Olaf Hering's avatar
      [POWERPC] Correct AC Power: in /proc/pmu/info on ibook1 · a334bdbd
      Olaf Hering authored
      /proc/pmu/info contains AC Power: 0 when booting without battery.
      Force AC Power, it will be updated whenever the battery state changes.
      Signed-off-by: default avatarOlaf Hering <olaf@aepfle.de>
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      a334bdbd
    • Olaf Hering's avatar
      [POWERPC] Mark winbond IDE PCI resources with start 0 as unassigned · 2d99c41f
      Olaf Hering authored
      libata calls pci_request_regions to claim PCI BAR 0 - 5
      pci_request_regions fails if one of the regions cant be claimed.
      bar 5 has start == 0,  __request_resource will fail.
      
      Tested on a p630 in SMP mode with pata_sl82c105
      
       00:03.1 IDE interface: Symphony Labs SL82c105 (rev 05) (prog-if 8f [Master SecP SecO PriP PriO])
               Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B-
               Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
               Interrupt: pin A routed to IRQ 86
               Region 0: I/O ports at 3fd3000f000 [size=8]
               Region 1: I/O ports at 3fd3000f010 [size=4]
               Region 2: I/O ports at 3fd3000f020 [size=8]
               Region 3: I/O ports at 3fd3000f030 [size=4]
               Region 4: I/O ports at 3fd3000f040 [size=16]
               Region 5: I/O ports at 3fd30000000 [size=16]
       00: ad 10 05 01 41 01 80 02 05 8f 01 01 08 48 80 00
       10: 01 f0 00 00 11 f0 00 00 21 f0 00 00 31 f0 00 00
       20: 41 f0 00 00 01 00 00 00 00 00 00 00 00 00 00 00
       30: 00 00 00 00 00 00 00 00 00 00 00 00 56 01 02 28
       40: b3 08 ff 00 09 09 00 00 09 09 00 00 09 09 00 00
       50: 09 09 00 00 00 00 00 00 00 00 00 00 00 00 00 00
       60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
       70: 00 00 00 00 00 00 00 00 00 00 00 00 ff 00 00 00
       80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
       90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
       a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
       b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
       c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
       d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
       e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
       f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
      
       name             "ide"
       linux,phandle    00d5cdc0 (14011840)
       assigned-addresses 81001910 00000000 0000f000 00000000 00000008 81001914
                        00000000 0000f010 00000000 00000004 81001918 00000000
                        0000f020 00000000 00000008 8100191c 00000000 0000f030
                        00000000 00000004 81001920 00000000 0000f040 00000000
                        00000010 81001924 00000000 00000000 00000000 00000010
       interrupts       00000003
       built-in
       #size-cells      00000000
       #address-cells   00000001
       device_type      "ide"
       reg              00001900 00000000 00000000 00000000 00000000
                        41001910 00000000 00000000 00000000 00000008
                        41001914 00000000 00000000 00000000 00000004
                        41001918 00000000 00000000 00000000 00000008
                        4100191c 00000000 00000000 00000000 00000004
                        41001920 00000000 00000000 00000000 00000010
                        41001924 00000000 00000000 00000000 00000010
       compatible       "pci10ad,105"
                        "pciclass,01018f"
       ibm,fw-slot-number 00000000
       fast-back-to-back
       devsel-speed     00000001
       max-latency      00000028 (40)
       min-grant        00000002
       class-code       0001018f (65935)
       revision-id      00000005
       device-id        00000105 (261)
       vendor-id        000010ad (4269)
       ibm,loc-code     "U0.1-P1/Q6"
      Signed-off-by: default avatarOlaf Hering <olaf@aepfle.de>
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      2d99c41f
    • Olaf Hering's avatar
      [POWERPC] move variables in drivers/macintosh to bss · 87275856
      Olaf Hering authored
      Move all the initialized variables to bss.
      Mark a version string as const.
      Signed-off-by: default avatarOlaf Hering <olaf@aepfle.de>
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      87275856
    • Pavel Fedin's avatar
      [POWERPC] Virtual DMA support for floppy driver for new powerpc architecture · 9ea8b7c9
      Pavel Fedin authored
      During ppc64+ppc merge virtual DMA code for floppy driver was not
      ported.  This patch restores virtual DMA support for floppy in new
      powerpc target.
      
      It is necessary at least on Pegasos and AmigaOne machines for the
      floppy drive to function.  ISA DMA controller works incorrectly there
      due to its addressing limitations.
      
      Virtual DMA mode is activated by floppy=nodma option passed to the
      kernel (or module).  There's no automatic switch like on i386.
      Signed-off-by: default avatarPavel Fedin <sonic_amiga@rambler.ru>
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      9ea8b7c9
    • Akira Iguchi's avatar
      [POWERPC] Celleb: improve MMU hashtable locking · cbca567e
      Akira Iguchi authored
      Disabling IRQ is required only in invalidation.  This changes
      "spin_lock_irqsave" to "spin_lock" in other ops.
      Signed-off-by: default avatarKou Ishizaki <kou.ishizaki@toshiba.co.jp>
      Signed-off-by: default avatarAkira Iguchi <akira2.iguchi@toshiba.co.jp>
      Acked-by: default avatarArnd Bergmann <arnd.bergmann@de.ibm.com>
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      cbca567e
    • David Gibson's avatar
      [POWERPC] Remove ibm4{xx,4x}.h from arch/powerpc · 1f1fec94
      David Gibson authored
      ARCH=powerpc should not use the ghastly un-multiplatformable tangle of
      includes that starts with asm-ppc/ibm4xx.h.  This patch removes a
      compile-breaking include of it from head_44x.S.
      Signed-off-by: default avatarDavid Gibson <dwg@au1.ibm.com>
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      1f1fec94
    • Paul Mackerras's avatar
  2. 12 Feb, 2007 31 commits