1. 19 1月, 2012 1 次提交
  2. 04 1月, 2012 3 次提交
  3. 16 12月, 2011 1 次提交
  4. 13 12月, 2011 1 次提交
  5. 12 12月, 2011 1 次提交
  6. 09 12月, 2011 1 次提交
  7. 01 11月, 2011 1 次提交
  8. 31 10月, 2011 2 次提交
    • M
      Add AACI audio playback support to the ARM Versatile/PB platform · d028d02d
      Mathieu Sonet 提交于
      This driver emulates the ARM AACI interface (PL041) connected to a LM4549 codec.
      It enables audio playback for the Versatile/PB platform.
      
      Limitations:
      - Supports only a playback on one channel (Versatile/Vexpress)
      - Supports only one TX FIFO in compact-mode or non-compact mode.
      - Supports playback of 12, 16, 18 and 20 bits samples.
      - Record is not supported.
      - The PL041 is hardwired to a LM4549 codec.
      
      Versatile/PB test build:
      linux-2.6.38.5
      buildroot-2010.11
      alsa-lib-1.0.22
      alsa-utils-1.0.22
      mpg123-0.66
      
      Qemu host: Ubuntu 10.04 in Vmware/OS X
      
      Playback tested successfully with speaker-test/aplay/mpg123.
      Signed-off-by: NMathieu Sonet <contact@elasticsheep.com>
      [Peter Maydell: fixed typo in code clearing SL1RXBUSY/SL2RXBUSY
       bits, as spotted by Andrzej Zaborowski]
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Signed-off-by: NAndrzej Zaborowski <andrew.zaborowski@intel.com>
      d028d02d
    • D
      pseries: Add partial support for PCI · 3384f95c
      David Gibson 提交于
      This patch adds a PCI bus to the pseries machine.  This instantiates
      the qemu generic PCI bus code, advertises a PCI host bridge in the
      guest's device tree and implements the RTAS methods specified by PAPR
      to access PCI config space.  It also sets up the memory regions we
      need to provide windows into the PCI memory and IO space, and
      advertises those to the guest.
      
      However, because qemu can't yet emulate an IOMMU, which is mandatory on
      pseries, PCI devices which use DMA (i.e. most of them) will not work with
      this code alone.  Still, this is enough to support the virtio_pci device
      (which probably _should_ use emulated PCI DMA, but is specced to use
      direct hypervisor access to guest physical memory instead).
      
      [agraf] remove typedef which could cause compile errors
      Signed-off-by: NAlexey Kardashevskiy <aik@au1.ibm.com>
      Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au>
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      3384f95c
  9. 27 10月, 2011 3 次提交
  10. 23 10月, 2011 6 次提交
  11. 16 10月, 2011 6 次提交
  12. 11 10月, 2011 1 次提交
  13. 08 10月, 2011 1 次提交
  14. 06 10月, 2011 4 次提交
    • F
      PPC: booke timers · ddd1055b
      Fabien Chouteau 提交于
      While working on the emulation of the freescale p2010 (e500v2) I realized that
      there's no implementation of booke's timers features. Currently mpc8544 uses
      ppc_emb (ppc_emb_timers_init) which is close but not exactly like booke (for
      example booke uses different SPR).
      Signed-off-by: NFabien Chouteau <chouteau@adacore.com>
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      ddd1055b
    • A
      PPC: Add new target config for pseries · 0a6b8dde
      Alexander Graf 提交于
      We only support -M pseries when certain prerequisites are met, such
      as a PPC64 guest and libfdt. To only gather these requirements in
      a single place, this patch introduces a new CONFIG_PSERIES variable
      that gets set when all prerequisites are met.
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      0a6b8dde
    • A
      PPC: E500: Add PV spinning code · 5c145dac
      Alexander Graf 提交于
      CPUs that are not the boot CPU need to run in spinning code to check if they
      should run off to execute and if so where to jump to. This usually happens
      by leaving secondary CPUs looping and checking if some variable in memory
      changed.
      
      In an environment like Qemu however we can be more clever. We can just export
      the spin table the primary CPU modifies as MMIO region that would event based
      wake up the respective secondary CPUs. That saves us quite some cycles while
      the secondary CPUs are not up yet.
      
      So this patch adds a PV device that simply exports the spinning table into the
      guest and thus allows the primary CPU to wake up secondary ones.
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      
      ---
      
      v1 -> v2:
      
        - change into MMIO scheme
        - map the secondary NIP instead of 0 1:1
        - only map 64MB for TLB, same as u-boot
        - prepare code for 64-bit spinnings
      
      v2 -> v3:
      
        - remove r6
        - set MAS2_M
        - map EA 0
        - use second TLB1 entry
      
      v3 -> v4:
      
        - change to memoryops
      
      v4 -> v5:
      
        - fix endianness bugs
      
      v5 -> v6:
      
        - add header
      5c145dac
    • A
      PPC: Move openpic to target specific code compilation · d751dfb3
      Alexander Graf 提交于
      The MPIC has some funny feature where it maps different registers to an MMIO
      region depending which CPU accesses them.
      
      To be able to reflect that, we need to make OpenPIC be compiled in the target
      code, so it can access cpu_single_env.
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      d751dfb3
  15. 04 10月, 2011 1 次提交
  16. 16 9月, 2011 1 次提交
  17. 11 9月, 2011 4 次提交
  18. 10 9月, 2011 1 次提交
  19. 04 9月, 2011 1 次提交