28 Jun, 2007

5 commits

  • Preallocate 256 KiB of bootmem memory for the PS3 FLASH ROM storage driver.
    This can be disabled by passing `ps3flash=off' on the kernel command line.

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

    Geert Uytterhoeven
     
  • PS3 sys-manager updates to reflect the new PS3 unifed device support.
    Fixups to the PS3 sys-manager driver to properly support sys_reboot().
    - Add varable request_tag to struct ps3_sys_manager_header.
    - Move ctrl_alt_del from PS3_SM_EVENT_POWER_RELEASED to
    PS3_SM_EVENT_POWER_PRESSED.
    - Make the PS3 sys-manager driver a loadable module.
    - Add new file sys-manager-core.c.
    - Add new struct ps3_sys_manager_ops for dynamic binding.
    - Put data sent to device on stack.
    - Add support for PS3_SM_SERVICE_ID_REQUEST_ERROR.

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

    Geoff Levand
     
  • 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
     
  • Rework the PS3 system bus to unify device support.
    - DMA region sizes must be a power of two
    - storage bus DMA updates:
    - Small fixes for the PS3 DMA core:
    o fix alignment bug
    o kill superfluous test
    o indentation
    o spelling
    o export ps3_dma_region_{create,free}()
    - ps3_dma_region_init():
    o Add `addr' and `len' parameters, so you can create a DMA region that
    does not cover all memory (use `NULL' and `0' to cover all memory).
    This is needed because there are not sufficient IOMMU resources to have
    all DMA regions cover all memory.
    o Uninline
    - Added remove and shutdown routines to all drivers.
    - Added loadable module support to all drivers.
    - Added HV calls for iopte management (needed by sound driver).

    Signed-off-by: MOKUNO Masakazu
    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: Geoff Levand
    Signed-off-by: Paul Mackerras

    Geoff Levand
     
  • Add a utility routine ps3_compare_firmware_version() to compare system
    firmware versions. Uses the existing ps3_get_firmware_version() routine.

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

    Masakazu Mokuno
     

10 May, 2007

1 commit


02 May, 2007

1 commit


16 Feb, 2007

2 commits

  • Add PS3 system manager support and the ppc_md routines restart() and
    power_off().

    The system manager provides an event notification mechanism for reporting
    events like thermal alert and button presses. It also provides support to
    control system shutdown and startup.

    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

  • Preallocate bootmem memory for the PS3 frame buffer device, which needs a
    large block of physically-contiguous memory. The size of this memory block is
    configurable:
    - The config option CONFIG_FB_PS3_DEFAULT_SIZE_M allows to specify the
    default amount of memory (in MiB) allocated to the virtual frame buffer.
    - The early boot parameter `ps3fb=xxx' allows to override the default value.
    It will be rounded up to a multiple of 1 MiB, if needed.

    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: Geoff Levand
    Cc: James Simmons
    Cc: Benjamin Herrenschmidt
    Cc: Paul Mackerras
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Geert Uytterhoeven
     

07 Feb, 2007

9 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
     
  • Remove an unneeded header include from ps3.h.

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

    Geoff Levand
     
  • Allow the PS3 AV settings driver to access the default video mode stored in
    the OS area.

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

    Geert Uytterhoeven
     
  • Add a new routine ps3_get_firmware_version() and use it to output the firmware
    version to dmesg.

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

    Geoff Levand
     
  • PS3 interrupt core update:
    - Add ps3_alloc_irq() and ps3_free_irq(), to allocate a virtual interrupt
    number for an interrupt outlet, which is needed by the PS3 GPU frame
    buffer device and audio drivers

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

    Geert Uytterhoeven
     
  • 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
     
  • Handle storage-related repository data:
    - Add missing implementations of ps3_repository_read_stor_*() repository
    accessors.
    - Dump storage properties in debug mode
    - Add PS3_DEV_TYPE_STOR_{DISK,ROM,FLASH} device types (which are identical to
    the corresponding SCSI device types) to enum ps3_dev_type

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

    Geert Uytterhoeven
     
  • Various fixes for the PS3 repository code:

    - Sync signatures of function prototypes and implementations (enum vs.
    unsigned int)
    - Correct references to `regions' as `registers':
    o Correct enum ps3_region_type as enum ps3_reg_type,
    o Correct PS3_REGION_TYPE_* as PS3_REG_TYPE_*,
    o Correct ps3_repository_find_region() as ps3_repository_find_reg().
    - Correct function name in pr_debug() call
    - Minor error condition improvements.

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

    Geoff Levand
     

04 Dec, 2006

3 commits