07 Feb, 2007

4 commits

  • Move the structures and routines needed for PS3 vuart port device registration
    to asm-powerpc/ps3.h.

    Signed-off-by: Geoff Levand
    Acked-by: Arnd Bergmann
    Signed-off-by: Paul Mackerras

    Geoff Levand
     
  • Move the PS3 system bus routines from drivers/ps3 to
    arch/powerpc/platforms/ps3.

    Signed-off-by: Geoff Levand
    Acked-by: Benjamin Herrenschmidt
    Acked-by: Arnd Bergmann
    Signed-off-by: Paul Mackerras

    Geoff Levand
     
  • Change the PS3 irq allocation routines to take an argument indicating which
    cpu (processor thread) the interrupt should be serviced on.

    The current system configuration favors device interrupts that are serviced
    on cpu0, so that is used as the default.

    Signed-off-by: Geoff Levand
    Acked-by: Arnd Bergmann
    Signed-off-by: Paul Mackerras

    Geoff Levand
     
  • Fix two minor bugs in the PS3 system bus mmio region code. First, on error or
    when freeing a region, retain the bus_addr and len fields to allow subsequent
    calls to create the region. Second, correct the region address argument to the
    lv1_unmap_device_mmio_region() call.

    Fixes modprobe/rmmod of some drivers.

    Signed-off-by: Benjamin Herrenschmidt
    Signed-off-by: Geoff Levand
    Acked-by: Arnd Bergmann
    Signed-off-by: Paul Mackerras

    Benjamin Herrenschmidt
     

11 Dec, 2006

1 commit

  • Adds support for the PS3 virtual UART (vuart). The vuart provides a
    bi-directional byte stream data link between logical partitions.

    This is needed for the ps3 graphics driver and the ps3 power
    control support to be able to communicate with the lv1 policy
    module.

    Signed-off-by: Geoff Levand
    Acked-by: Arnd Bergmann
    Signed-off-by: Paul Mackerras

    Geoff Levand
     

04 Dec, 2006

2 commits

  • A few code paths need to check whether or not they are running
    on the PS3's LV1 hypervisor before making hcalls. This introduces
    a new firmware feature bit for this, FW_FEATURE_PS3_LV1.

    Now when both PS3 and IBM_CELL_BLADE are enabled, but not PSERIES,
    FW_FEATURE_PS3_LV1 and FW_FEATURE_LPAR get enabled at compile time,
    which is a bug. The same problem can also happen for (PPC_ISERIES &&
    !PPC_PSERIES && PPC_SOMETHING_ELSE). In order to solve this, I
    introduce a new CONFIG_PPC_NATIVE option that is set when at least
    one platform is selected that can run without a hypervisor and then
    turns the firmware feature check into a run-time option.

    The new cell oprofile support that was recently merged does not
    work on hypervisor based platforms like the PS3, therefore make
    it depend on PPC_CELL_NATIVE instead of PPC_CELL. This may change
    if we get oprofile support for PS3.

    Signed-off-by: Arnd Bergmann

    Arnd Bergmann
     
  • Adds a PS3 system bus driver. This system bus is a virtual bus used to present
    the PS3 system devices in the LDM.

    Signed-off-by: Geoff Levand
    Signed-off-by: Arnd Bergmann

    Geoff Levand