1. 05 6月, 2015 31 次提交
  2. 04 6月, 2015 9 次提交
    • P
      Merge remote-tracking branch 'remotes/agraf/tags/signed-ppc-for-upstream' into staging · 3b730f57
      Peter Maydell 提交于
      Patch queue for ppc - 2015-06-03
      
      Highlights this time around:
      
        - sPAPR: endian fixes, speedups, bug fixes, hotplug basics
        - add default ram size capability for machines (sPAPR defaults to 512MB now)
      
      # gpg: Signature made Wed Jun  3 22:59:09 2015 BST using RSA key ID 03FEDC60
      # gpg: Good signature from "Alexander Graf <agraf@suse.de>"
      # gpg:                 aka "Alexander Graf <alex@csgraf.de>"
      
      * remotes/agraf/tags/signed-ppc-for-upstream: (40 commits)
        softmmu: support up to 12 MMU modes
        tcg: add TCG_TARGET_TLB_DISPLACEMENT_BITS
        tci: do not use CPUArchState in tcg-target.h
        Add David Gibson for sPAPR in MAINTAINERS file
        pseries: Enable in-kernel H_LOGICAL_CI_{LOAD, STORE} implementations
        spapr: override default ram size to 512MB
        machine: add default_ram_size to machine class
        spapr_pci: emit hotplug add/remove events during hotplug
        spapr_pci: enable basic hotplug operations
        pci: make pci_bar useable outside pci.c
        spapr_pci: create DRConnectors for each PCI slot during PHB realize
        spapr_pci: add dynamic-reconfiguration option for spapr-pci-host-bridge
        spapr_drc: add spapr_drc_populate_dt()
        spapr_events: event-scan RTAS interface
        spapr_events: re-use EPOW event infrastructure for hotplug events
        spapr_rtas: add ibm, configure-connector RTAS interface
        spapr: add rtas_st_buffer_direct() helper
        spapr_rtas: add get-sensor-state RTAS interface
        spapr_rtas: add set-indicator RTAS interface
        spapr_rtas: add get/set-power-level RTAS interfaces
        ...
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      3b730f57
    • P
      Merge remote-tracking branch 'remotes/mjt/tags/pull-trivial-patches-2015-06-03' into staging · 2700a976
      Peter Maydell 提交于
      trivial patches for 2015-06-03
      
      # gpg: Signature made Wed Jun  3 14:07:47 2015 BST using RSA key ID A4C3D7DB
      # gpg: Good signature from "Michael Tokarev <mjt@tls.msk.ru>"
      # gpg:                 aka "Michael Tokarev <mjt@corpit.ru>"
      # gpg:                 aka "Michael Tokarev <mjt@debian.org>"
      
      * remotes/mjt/tags/pull-trivial-patches-2015-06-03: (30 commits)
        configure: postfix --extra-cflags to QEMU_CFLAGS
        cadence_gem: Fix Rx buffer size field mask
        slirp: use less predictable directory name in /tmp for smb config (CVE-2015-4037)
        translate-all: delete prototype for non-existent function
        Add -incoming help text
        hw/display/tc6393xb.c: Fix misusing qemu_allocate_irqs for single irq
        hw/arm/nseries.c: Fix misusing qemu_allocate_irqs for single irq
        hw/alpha/typhoon.c: Fix misusing qemu_allocate_irqs for single irq
        hw/unicore32/puv3.c: Fix misusing qemu_allocate_irqs for single irq
        hw/lm32/milkymist.c: Fix misusing qemu_allocate_irqs for single irq
        hw/lm32/lm32_boards.c: Fix misusing qemu_allocate_irqs for single irq
        hw/ppc/prep.c: Fix misusing qemu_allocate_irqs for single irq
        hw/sparc/sun4m.c: Fix misusing qemu_allocate_irqs for single irq
        hw/timer/arm_timer.c: Fix misusing qemu_allocate_irqs for single irq
        hw/isa/i82378.c: Fix misusing qemu_allocate_irqs for single irq
        hw/isa/lpc_ich9.c: Fix misusing qemu_allocate_irqs for single irq
        hw/i386/pc: Fix misusing qemu_allocate_irqs for single irq
        hw/intc/exynos4210_gic.c: Fix memory leak by adjusting order
        hw/arm/omap_sx1.c: Fix memory leak spotted by valgrind
        hw/ppc/e500.c: Fix memory leak
        ...
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      2700a976
    • P
      Merge remote-tracking branch 'remotes/ehabkost/tags/x86-pull-request' into staging · 6fa6b312
      Peter Maydell 提交于
      X86 queue 2015-06-02
      
      # gpg: Signature made Tue Jun  2 20:21:17 2015 BST using RSA key ID 984DC5A6
      # gpg: Good signature from "Eduardo Habkost <ehabkost@redhat.com>"
      # gpg: WARNING: This key is not certified with sufficiently trusted signatures!
      # gpg:          It is not certain that the signature belongs to the owner.
      # Primary key fingerprint: 5A32 2FD5 ABC4 D3DB ACCF  D1AA 2807 936F 984D C5A6
      
      * remotes/ehabkost/tags/x86-pull-request:
        arch_init: Drop target-x86_64.conf
        target-i386: Register QOM properties for feature flags
        apic: convert ->busdev.qdev casts to C casts
        target-i386: Fix signedness of MSR_IA32_APICBASE_BASE
        pc: Ensure non-zero CPU ref count after attaching to ICC bus
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      6fa6b312
    • P
      Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20150602' into staging · d2ceeb1d
      Peter Maydell 提交于
      target-arm queue:
       * more EL2 preparation patches
       * revert a no-longer-necessary workaround for old glib versions
       * add GICv2m support to virt board (MSI support)
       * pl061: fix wrong calculation of GPIOMIS register
       * support MSI via irqfd
       * remove a confusing v8_ prefix from some variable names
       * add dynamic sysbus device support to the virt board
      
      # gpg: Signature made Tue Jun  2 17:30:38 2015 BST using RSA key ID 14360CDE
      # gpg: Good signature from "Peter Maydell <peter.maydell@linaro.org>"
      
      * remotes/pmaydell/tags/pull-target-arm-20150602: (22 commits)
        hw/arm/virt: change indentation in a15memmap
        hw/arm/virt: add dynamic sysbus device support
        hw/arm/boot: arm_load_kernel implemented as a machine init done notifier
        hw/arm/sysbus-fdt: helpers for platform bus nodes addition
        target-arm: Remove v8_ prefix from names of non-v8-specific cpreg arrays
        arm_gicv2m: set kvm_gsi_direct_mapping and kvm_msi_via_irqfd_allowed
        kvm: introduce kvm_arch_msi_data_to_gsi
        pl061: fix wrong calculation of GPIOMIS register
        target-arm: Add the GICv2m to the virt board
        target-arm: Extend the gic node properties
        arm_gicv2m: Add GICv2m widget to support MSIs
        target-arm: Add GIC phandle to VirtBoardInfo
        Revert "target-arm: Avoid g_hash_table_get_keys()"
        target-arm: Add TLBI_VAE2{IS}
        target-arm: Add TLBI_ALLE2
        target-arm: Add TLBI_ALLE1{IS}
        target-arm: Add TTBR0_EL2
        target-arm: Add TPIDR_EL2
        target-arm: Add SCTLR_EL2
        target-arm: Add TCR_EL2
        ...
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      d2ceeb1d
    • P
      softmmu: support up to 12 MMU modes · 1de29aef
      Paolo Bonzini 提交于
      At 8k per TLB (for 64-bit host or target), 8 or more modes
      make the TLBs bigger than 64k, and some RISC TCG backends do
      not like that.  On the affected hosts, cut the TLB size in
      half---there is still a measurable speedup on PPC with the
      next patch.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      Message-Id: <1424436345-37924-3-git-send-email-pbonzini@redhat.com>
      Reviewed-by: NRichard Henderson <rth@twiddle.net>
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      1de29aef
    • P
      tcg: add TCG_TARGET_TLB_DISPLACEMENT_BITS · 006f8638
      Paolo Bonzini 提交于
      This will be used to size the TLB when more than 8 MMU modes are
      used by the target.  Limitations come from the limited size of
      the immediate fields (which sometimes, as in the case of Aarch64,
      extend to instructions that shift the immediate).
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      Message-Id: <1424436345-37924-2-git-send-email-pbonzini@redhat.com>
      Reviewed-by: NRichard Henderson <rth@twiddle.net>
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      006f8638
    • P
      tci: do not use CPUArchState in tcg-target.h · 5a58e884
      Paolo Bonzini 提交于
      tcg-target.h does not use any QEMU-specific symbols, save for tci's usage
      of CPUArchState.  Pull that up to tcg/tcg.h.
      
      This will make it possible to include tcg-target.h in cpu-defs.h.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      Reviewed-by: NRichard Henderson <rth@twiddle.net>
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      5a58e884
    • D
      Add David Gibson for sPAPR in MAINTAINERS file · 085eb217
      David Gibson 提交于
      At Alex Graf's request I'm now acting as sub-maintainer for the sPAPR
      (-machine pseries) code.  This updates MAINTAINERS accordingly.
      
      While we're at it, change the label to mention pseries since that's the
      actual name of the machine type, even if most of the C files use the sPAPR
      name.
      Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au>
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      085eb217
    • D
      pseries: Enable in-kernel H_LOGICAL_CI_{LOAD, STORE} implementations · 026bfd89
      David Gibson 提交于
      qemu currently implements the hypercalls H_LOGICAL_CI_LOAD and
      H_LOGICAL_CI_STORE as PAPR extensions.  These are used by the SLOF firmware
      for IO, because performing cache inhibited MMIO accesses with the MMU off
      (real mode) is very awkward on POWER.
      
      This approach breaks when SLOF needs to access IO devices implemented
      within KVM instead of in qemu.  The simplest example would be virtio-blk
      using an iothread, because the iothread / dataplane mechanism relies on
      an in-kernel implementation of the virtio queue notification MMIO.
      
      To fix this, an in-kernel implementation of these hypercalls has been made,
      (kernel commit 99342cf "kvmppc: Implement H_LOGICAL_CI_{LOAD,STORE} in KVM"
      however, the hypercalls still need to be enabled from qemu.  This performs
      the necessary calls to do so.
      
      It would be nice to provide some warning if we encounter a problematic
      device with a kernel which doesn't support the new calls.  Unfortunately,
      I can't see a way to detect this case which won't either warn in far too
      many cases that will probably work, or which is horribly invasive.
      Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au>
      Reviewed-by: NThomas Huth <thuth@redhat.com>
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      026bfd89