28 Jun, 2007

2 commits

  • PS3 vuart updates to reflect the new PS3 unified device support.
    - Move vuart devices to the PS3 system bus.
    - Replace use of ps3_vuart_port_device with ps3_system_bus_device.
    - Make the PS3 vuart bus driver a loadable module.
    - Add remove() and shutdown() routines.
    - Move ps3_vuart_work into ps3_vuart_port_priv.tx_list.
    - Remove redundant spinlock ps3_vuart_work.lock.
    - No longer free ps3_vuart_port_device.priv on shutdown.
    - Cleanup Kconfig defs.
    - Export symbols needed for modular port drivers.
    - Arrange to use port numbers found in repository.
    - Fix bugs in ps3_vuart_read_async() and polled reading
    - Cleanup handling of shared interrupt with ps3_vuart_bus_interrupt_get()
    and ps3_vuart_bus_interrupt_put()
    - Add more comments to vuart.c.

    Signed-off-by: Geoff Levand
    Signed-off-by: Paul Mackerras

    Geoff Levand
     
  • Change the PS3 debug routines from using the GCC specific
    '__attribute__ ((unused))' to the preprocessor macro
    __maybe_unused.

    Signed-off-by: Geoff Levand
    Signed-off-by: Paul Mackerras

    Geoff Levand
     

02 May, 2007

1 commit


30 Apr, 2007

1 commit

  • Commit 404d5b185b4eb56d6fa2f7bd27833f8df1c38ce4 changed the definition
    of dev_dbg in the !DEBUG case from being a #define to being a static
    inline. There was code in drivers/ps3/vuart.c to do exactly that,
    which fails to compile now. This fixes it by removing the redefinition,
    as the redefinition is now superfluous.

    Signed-off-by: Paul Mackerras

    Paul Mackerras
     

15 Mar, 2007

1 commit


10 Mar, 2007

1 commit


16 Feb, 2007

2 commits

  • Add asynchronous read support to the PS3 vuart driver. This is needed to
    support the PS3 system manager driver.

    Signed-off-by: Geoff Levand
    Signed-off-by: Paul Mackerras

    Geoff Levand
     
  • Cleanups for the PS3 vuart driver.

    - Hide driver private data from external interface with new structure
    ps3_vuart_port_priv.
    - Fix masking bug in ps3_vuart_get_interrupt_status().
    - Add new helper routine ps3_vuart_clear_rx_bytes() to flush rx buffer.
    - Add new variable probe_mutex to serialize probe and destroy routines.
    - Rename some symbols.
    - Add platform check in ps3_vuart_bus_init().

    Signed-off-by: Geoff Levand
    Signed-off-by: Paul Mackerras

    Geoff Levand
     

13 Feb, 2007

1 commit


07 Feb, 2007

1 commit

  • 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
     

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