1. 04 7月, 2013 29 次提交
  2. 02 7月, 2013 1 次提交
  3. 01 7月, 2013 10 次提交
    • A
      Merge remote-tracking branch 'agraf/ppc-for-upstream' into staging · 1acd5a37
      Anthony Liguori 提交于
      # By Alexander Graf (12) and others
      # Via Alexander Graf
      * agraf/ppc-for-upstream: (32 commits)
        PPC: Ignore writes to L2CR
        mac-io: Add escc-legacy memory alias region
        PPC: Newworld: Add second uninorth control register set
        PPC: Newworld: Add uninorth token register
        PPC: Add clock-frequency export for Mac machines
        PPC: Introduce an alias cache for faster lookups
        PPC: Fix GDB read on code area for PPC6xx
        PPC: Add dump_mmu() for 6xx
        target-ppc: Introduce unrealizefn for PowerPCCPU
        booke_ppc: limit booke timer to max when timeout overflow
        Graphics: Switch to 800x600x32 as default mode
        pseries: Update MAINTAINERS information
        target-ppc kvm: save cr register
        pseries: Fix compiler warning (conversion of pointer to integral value)
        spapr-rtas: add CPU argument to RTAS calls
        target-ppc: Change default machine for 64-bit
        ppc: do not register IABR SPR twice for 603e
        target-ppc: Drop redundant flags assignments from CPU families
        mpc8544_guts: Turn qdev initfn into instance_init
        mpc8544_guts: QOM'ify
        ...
      
      Message-id: 1372556709-23868-1-git-send-email-agraf@suse.de
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      1acd5a37
    • A
      Merge remote-tracking branch 'cohuck/virtio-ccw-upstr' into staging · f7d1f9d4
      Anthony Liguori 提交于
      # By Cornelia Huck
      # Via Cornelia Huck
      * cohuck/virtio-ccw-upstr:
        virtio-ccw: fix build breakage on windows
      
      Message-id: 1372669523-4039-1-git-send-email-cornelia.huck@de.ibm.com
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      f7d1f9d4
    • A
      Merge remote-tracking branch 'luiz/queue/qmp' into staging · d75416ef
      Anthony Liguori 提交于
      # By Kevin Wolf
      # Via Luiz Capitulino
      * luiz/queue/qmp:
        hmp: Make "info block" output more readable
      
      Message-id: 1372452199-23237-1-git-send-email-lcapitulino@redhat.com
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      d75416ef
    • C
      virtio-ccw: fix build breakage on windows · cc3ac9c4
      Cornelia Huck 提交于
      event_notifier_get_fd() is not available on windows hosts. Fix this by
      moving the calls to event_notifier_get_fd() to the kvm code.
      Reported-by: NStefan Weil <sw@weilnetz.de>
      Reviewed-by: NPaolo Bonzini <pbonzini@redhat.com>
      Signed-off-by: NCornelia Huck <cornelia.huck@de.ibm.com>
      cc3ac9c4
    • A
      PPC: Ignore writes to L2CR · 2345f1c0
      Alexander Graf 提交于
      The L2CR register contains a number of bits that either impose configuration
      which we can't deal with or mean "something is in progress until the bit is
      0 again".
      
      Since we don't model the former and we do want to accomodate guests using the
      latter semantics, let's just ignore writes to L2CR. That way guests always read
      back 0 and are usually happy with that.
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      2345f1c0
    • A
      mac-io: Add escc-legacy memory alias region · 0d54a502
      Alexander Graf 提交于
      Mac OS X's debugging serial driver accesses the ESCC through a different
      register layout, called "escc-legacy". This layout differs from the normal
      escc register layout purely by the location of the respective registers.
      
      This patch adds a memory alias region that takes normal escc registers and
      maps them into the escc-legacy register space.
      
      With this patch applied, a Mac OS X guest successfully emits debug output
      on the serial port when run with debug parameters set, for example by running:
      
        $ qemu-system-ppc -prom-env -'boot-args=-v debug=0x8 io=0xff serial=0x3' \
                          -cdrom 10.4.iso -boot d
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      0d54a502
    • A
      PPC: Newworld: Add second uninorth control register set · 593c1811
      Alexander Graf 提交于
      Mac OS X requires a second uninorth register set to be mapped a few
      bytes above the first one. Let's just expose it to make it happy.
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      593c1811
    • A
      PPC: Newworld: Add uninorth token register · 4e46dcdb
      Alexander Graf 提交于
      Mac OS X expects the uninorth control register set to contain one
      register that always reads back what it writes in. Expose that.
      
      This is just a temporary hack. Eventually, we want to expose the
      uninorth (/uni-n in device tree) as a separate QOM device.
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      4e46dcdb
    • A
      PPC: Add clock-frequency export for Mac machines · a1014f25
      Alexander Graf 提交于
      Support in fwcfg has been around for exposure of the clock-frequency
      CPU property. OpenBIOS reads it, we just never exposed it.
      
      Since Mac OS X is very picky about its clock frequency values, let's
      just take a known good value and always expose that.
      Reported-by: NMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      a1014f25
    • A
      PPC: Introduce an alias cache for faster lookups · 9761ad75
      Alexander Graf 提交于
      When running QEMU with "-cpu ?" we walk through every alias for every
      target CPU we know about. This takes several seconds on my very fast
      host system.
      
      Let's introduce a class object cache in the alias table. Using that we
      don't have to go through the tedious work of finding our target class.
      Instead, we can just go directly from the alias name to the target class
      pointer.
      
      This patch brings -cpu "?" to reasonable times again.
      
      Before:
        real    0m4.716s
      
      After:
        real    0m0.025s
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      9761ad75