21 Jan, 2011

1 commit


11 Sep, 2010

1 commit


04 Aug, 2010

1 commit


14 Jul, 2010

1 commit

  • via following scripts

    FILES=$(find * -type f | grep -vE 'oprofile|[^K]config')

    sed -i \
    -e 's/lmb/memblock/g' \
    -e 's/LMB/MEMBLOCK/g' \
    $FILES

    for N in $(find . -name lmb.[ch]); do
    M=$(echo $N | sed 's/lmb/memblock/g')
    mv $N $M
    done

    and remove some wrong change like lmbench and dlmb etc.

    also move memblock.c from lib/ to mm/

    Suggested-by: Ingo Molnar
    Acked-by: "H. Peter Anvin"
    Acked-by: Benjamin Herrenschmidt
    Acked-by: Linus Torvalds
    Signed-off-by: Yinghai Lu
    Signed-off-by: Benjamin Herrenschmidt

    Yinghai Lu
     

26 Apr, 2010

1 commit


21 Dec, 2009

2 commits

  • Fix the following build failures:

    arch/powerpc/platforms/embedded6xx/flipper-pic.c: In function 'flipper_pic_map':
    arch/powerpc/platforms/embedded6xx/flipper-pic.c:105: error: implicit declaration of function 'get_irq_desc'

    arch/powerpc/platforms/embedded6xx/hlwd-pic.c: In function 'hlwd_pic_map':
    arch/powerpc/platforms/embedded6xx/hlwd-pic.c:98: error: implicit declaration of function 'get_irq_desc'

    These failures are caused by the changes introduced in commit
    "powerpc: Remove get_irq_desc()". The reason these drivers were not
    updated is that they weren't merged yet.

    Signed-off-by: Albert Herranz
    Signed-off-by: Benjamin Herrenschmidt

    Albert Herranz
     
  • Fix the following build failures:

    arch/powerpc/platforms/embedded6xx/hlwd-pic.c: In function 'hlwd_pic_irq_cascade':
    arch/powerpc/platforms/embedded6xx/hlwd-pic.c:135: error: passing argument 1 of 'spin_lock' from incompatible pointer type
    arch/powerpc/platforms/embedded6xx/hlwd-pic.c:137: error: passing argument 1 of 'spin_unlock' from incompatible pointer type
    arch/powerpc/platforms/embedded6xx/hlwd-pic.c:145: error: passing argument 1 of 'spin_lock' from incompatible pointer type
    arch/powerpc/platforms/embedded6xx/hlwd-pic.c:149: error: passing argument 1 of 'spin_unlock' from incompatible pointer type

    These failures are caused by the changes introduced in commit
    "genirq: Convert irq_desc.lock to raw_spinlock". The reason this driver
    was not updated is that it wasn't merged yet.

    Signed-off-by: Albert Herranz
    Signed-off-by: Benjamin Herrenschmidt

    Albert Herranz
     

18 Dec, 2009

1 commit

  • The retry logic in ug_putc() is broken.

    If the TX fifo is not ready and the counter runs out it will have a
    value of -1 and no transfer should be attempted. Also, a counter
    with a value of 0 means that the TX fifo got ready in the last try
    and the transfer should be attempted.

    Reported-by: "Juha Leppanen"
    Signed-off-by: "Juha Leppanen"
    Signed-off-by: Albert Herranz
    Signed-off-by: Benjamin Herrenschmidt

    Albert Herranz
     

13 Dec, 2009

9 commits

  • Enable the flag that allows a platform to ioremap memory marked
    as reserved.

    This is currently needed on the Nintendo Wii video game console
    due to the workaround introduced in "wii: use both mem1 and mem2 as ram".

    This will no longer be needed when proper discontig memory support
    for 32-bit PowerPC is added to the kernel.

    Signed-off-by: Albert Herranz
    Acked-by: Benjamin Herrenschmidt
    Signed-off-by: Grant Likely

    Albert Herranz
     
  • The Nintendo Wii video game console has two discontiguous RAM regions:
    - MEM1: 24MB @ 0x00000000
    - MEM2: 64MB @ 0x10000000

    Unfortunately, the kernel currently does not support discontiguous RAM
    memory regions on 32-bit PowerPC platforms.

    This patch adds a series of workarounds to allow the use of the second
    memory region (MEM2) as RAM by the kernel.
    Basically, a single range of memory from the beginning of MEM1 to the
    end of MEM2 is reported to the kernel, and a memory reservation is
    created for the hole between MEM1 and MEM2.

    With this patch the system is able to use all the available RAM and not
    just ~27% of it.

    This will no longer be needed when proper discontig memory support
    for 32-bit PowerPC is added to the kernel.

    Signed-off-by: Albert Herranz
    Acked-by: Benjamin Herrenschmidt
    Signed-off-by: Grant Likely

    Albert Herranz
     
  • Add support for using the USB Gecko adapter as an early debugging
    console on the Nintendo GameCube and Wii video game consoles.
    The USB Gecko is a 3rd party memory card interface adapter that provides
    a EXI (External Interface) to USB serial converter.

    Signed-off-by: Albert Herranz
    Acked-by: Benjamin Herrenschmidt
    Signed-off-by: Grant Likely

    Albert Herranz
     
  • Add platform support for the Nintendo Wii video game console.

    Signed-off-by: Albert Herranz
    Acked-by: Benjamin Herrenschmidt
    Acked-by: Segher Boessenkool
    Signed-off-by: Grant Likely

    Albert Herranz
     
  • Add support for the dual interrupt controller included in the "Hollywood"
    chipset of the Nintendo Wii video game console.
    This interrupt controller serves both the Broadway processor (as a cascade)
    and the Starlet processor, and is used to manage interrupts for the
    non-classic hardware.

    Signed-off-by: Albert Herranz
    Acked-by: Benjamin Herrenschmidt
    Acked-by: Segher Boessenkool
    Signed-off-by: Grant Likely

    Albert Herranz
     
  • Add platform support for the Nintendo GameCube video game console.

    Signed-off-by: Albert Herranz
    Signed-off-by: Grant Likely

    Albert Herranz
     
  • Add support for the interrupt controller included in the "Flipper"
    chipset of the Nintendo GameCube video game console.
    The same interrupt controller is also present in the "Hollywood" chipset
    of the Nintendo Wii.

    Signed-off-by: Albert Herranz
    Acked-by: Segher Boessenkool
    Signed-off-by: Grant Likely

    Albert Herranz
     
  • Add support for using the USB Gecko adapter via the udbg facility on
    the Nintendo GameCube and Wii video game consoles.
    The USB Gecko is a 3rd party memory card interface adapter that provides
    a EXI (External Interface) to USB serial converter.

    Signed-off-by: Albert Herranz
    Acked-by: Segher Boessenkool
    Signed-off-by: Grant Likely

    Albert Herranz
     
  • Add a config option GAMECUBE_COMMON to be used as a dependency for all
    options common to the Nintendo GameCube and Wii video game consoles.

    Signed-off-by: Albert Herranz
    Acked-by: Grant Likely
    Signed-off-by: Grant Likely

    Albert Herranz
     

24 Mar, 2009

1 commit


11 Mar, 2009

1 commit

  • CONFIG_PPC_MULTIPLATFORM is a remain of the pre-powerpc days and isn't
    really meaningful anymore. It was basically equivalent to PPC64 || 6xx.

    This removes it along with the following changes:

    - 32-bit platforms that relied on PPC32 && PPC_MULTIPLATFORM now rely
    on 6xx which is what they want anyway.

    - A new symbol, PPC_BOOK3S, is defined that represent compliance with
    the "Server" variant of the architecture. This is set when either 6xx
    or PPC64 is set and open the door for future BOOK3E 64-bit.

    - 64-bit platforms that relied on PPC64 && PPC_MULTIPLATFORM now use
    PPC64 && PPC_BOOK3S

    - A separate and selectable CONFIG_PPC_OF_BOOT_TRAMPOLINE option is now
    used to control the use of prom_init.c

    Signed-off-by: Benjamin Herrenschmidt

    Benjamin Herrenschmidt
     

10 Mar, 2009

1 commit

  • Defining flash partition table in platform code is deprecated, and due to
    recent changes linkstation and storcenter do not compile any more with
    their default configurations because of undefined references to
    physmap_set_partitions(). Instead of fixing them by using the correct
    kernel configuration macro in preprocessor conditional, remove partition
    table definitions altogether. Instead add support for partition definition
    on the command-line and in device tree to the default configurations.

    Signed-off-by: Guennadi Liakhovetski
    Signed-off-by: Kumar Gala

    Guennadi Liakhovetski
     

23 Dec, 2008

1 commit


28 Oct, 2008

1 commit


22 Oct, 2008

1 commit

  • Most of the platforms were printing the size of the memory
    in their show_cpuinfo implementations. This moves that to
    the common show_cpuinfo, so that all 32-bit platforms will
    now print the size of memory. I also update the code
    to deal with the fact that total_memory is now a phys_addr_t.

    Signed-off-by: Becky Bruce
    Signed-off-by: Benjamin Herrenschmidt

    Becky Bruce
     

29 Sep, 2008

1 commit


09 Jun, 2008

2 commits

  • Support for the C2K cPCI Single Board Computer from GEFanuc
    (PowerPC MPC7448 with a Marvell MV64460 chipset).
    All features of the board are not supported yet, but the board
    boots, flash works, all Ethernet ports are working and PCI
    devices are all found (USB and SATA on PCI1 do not work yet).

    Part 5 of 5: add the Kconfig entry for the C2K board.

    Signed-off-by: Remi Machet
    Signed-off-by: Paul Mackerras

    Remi Machet
     
  • Support for the C2K cPCI Single Board Computer from GEFanuc
    (PowerPC MPC7448 with a Marvell MV64460 chipset).
    All features of the board are not supported yet, but the board
    boots, flash works, all Ethernet ports are working and PCI
    devices are all found (USB and SATA on PCI1 do not work yet).

    Part 3 of 5: driver for the board. At this time it is very generic
    and similar to its original, the driver for the prpmc2800.

    Signed-off-by: Remi Machet
    Signed-off-by: Paul Mackerras

    Remi Machet
     

15 Apr, 2008

1 commit


01 Apr, 2008

1 commit


14 Feb, 2008

1 commit

  • CONFIG_DEVICE_TREE was the only user of CONFIG_WANT_DEVICE_TREE but
    it was removed in commit id 25431333813686654907ab987fb5de10c10a16db
    (bootwrapper: Build multiple cuImages).

    This removes CONFIG_WANT_DEVICE_TREE from Kconfig and the defconfigs.

    Signed-off-by: Grant Likely
    Signed-off-by: Paul Mackerras

    Grant Likely
     

06 Feb, 2008

1 commit


28 Jan, 2008

1 commit


24 Jan, 2008

2 commits


20 Dec, 2007

1 commit


06 Dec, 2007

1 commit


19 Nov, 2007

1 commit


08 Oct, 2007

1 commit

  • On the Freescale embedded (83xx, 85xx, 86xx) and a few of the discrete
    bridges (mpc10x, tsi108) use the new for_each_compatible_node() or
    for_each_node_by_type() to provide more exact matching when looking for
    PHBs in the device tree.

    With the previous code it was possible to match on pci bridges since
    we were only matching on device_type.

    Signed-off-by: Kumar Gala

    Kumar Gala
     

05 Oct, 2007

1 commit


03 Oct, 2007

1 commit


22 Sep, 2007

1 commit

  • Commit 69331af, "Fixes and cleanups for earlyprintk aka boot console",
    resulted in printk output prior to the initialization of the mpsc
    console driver not being printed. That commit causes the mpsc's
    CON_PRINTBUFFER flag to be cleared since udbg should have printed
    the previous output.

    I guess we can no longer ignore udbg. :)

    This patch provides udbg_putc() and udbg_getc() functions for the
    Marvell mv64x60 chips. These functions are enabled if an mv64x60
    port is to be used as the console as determined from the device tree.

    Signed-off-by: Dale Farnsworth
    Acked-by: Mark A. Greer
    Signed-off-by: Paul Mackerras

    Dale Farnsworth