1. 29 6月, 2016 5 次提交
  2. 24 6月, 2016 28 次提交
  3. 23 6月, 2016 7 次提交
    • P
      Merge remote-tracking branch 'remotes/dgibson/tags/ppc-for-2.7-20160623' into staging · c7288767
      Peter Maydell 提交于
      ppc patch queue for 2016-06-23
      
      Currently outstanding patches for spapr, target-ppc and related
      devices.  This batch has:
          * Significant new progress towards full support for hypervisor
            mode
          * Assorted bugfixes
          * Some preliminary patches towards dynamic DMA window support
      
      The last involves a change to memory.c, which Paolo has said I can
      take through this tree.
      
      # gpg: Signature made Thu 23 Jun 2016 06:47:53 BST
      # gpg:                using RSA key 0x6C38CACA20D9B392
      # gpg: Good signature from "David Gibson <david@gibson.dropbear.id.au>"
      # gpg:                 aka "David Gibson (Red Hat) <dgibson@redhat.com>"
      # gpg:                 aka "David Gibson (ozlabs.org) <dgibson@ozlabs.org>"
      # 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: 75F4 6586 AE61 A66C C44E  87DC 6C38 CACA 20D9 B392
      
      * remotes/dgibson/tags/ppc-for-2.7-20160623:
        ppc: Disable huge page support if it is not available for main RAM
        ppc: Add P7/P8 Power Management instructions
        ppc: Move exception generation code out of line
        ppc: Turn a bunch of booleans from int to bool
        ppc: Add real mode CI load/store instructions for P7 and P8
        ppc: Rework generation of priv and inval interrupts
        ppc: Fix generation if ISI/DSI vs. HV mode
        ppc: Fix POWER7 and POWER8 exception definitions
        ppc: fix exception model for HV mode
        ppc: define a default LPCR value
        ppc: Fix rfi/rfid/hrfi/... emulation
        memory: Add reporting of supported page sizes
        ppc: Improve emulation of THRM registers
        target-ppc: Fix rlwimi, rlwinm, rlwnm again
        ppc64: disable gen_pause() for linux-user mode
        tests: Use '+=' to add additional tests, not '='
        powerpc/mm: Update the WIMG check during H_ENTER
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      c7288767
    • P
      Merge remote-tracking branch 'remotes/kraxel/tags/pull-usb-20160622-2' into staging · c6eb076a
      Peter Maydell 提交于
      usb: add hotplug support for usb-bot and usb-uas.
      
      # gpg: Signature made Wed 22 Jun 2016 12:45:46 BST
      # gpg:                using RSA key 0x4CB6D8EED3E87138
      # gpg: Good signature from "Gerd Hoffmann (work) <kraxel@redhat.com>"
      # gpg:                 aka "Gerd Hoffmann <gerd@kraxel.org>"
      # gpg:                 aka "Gerd Hoffmann (private) <kraxel@gmail.com>"
      # Primary key fingerprint: A032 8CFF B93A 17A7 9901  FE7D 4CB6 D8EE D3E8 7138
      
      * remotes/kraxel/tags/pull-usb-20160622-2:
        usb-uas: hotplug support
        usb-bot: hotplug support
        usb: Add QOM property "attached".
        usb: make USBDevice->attached bool
        usb-storage: qcow2 encryption support is finally gone, zap dead code
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      c6eb076a
    • P
      Merge remote-tracking branch 'remotes/sstabellini/tags/xen-20160622-tag' into staging · 59a79f65
      Peter Maydell 提交于
      xen-20160622
      
      # gpg: Signature made Wed 22 Jun 2016 12:45:56 BST
      # gpg:                using RSA key 0x894F8F4870E1AE90
      # gpg: Good signature from "Stefano Stabellini <stefano.stabellini@eu.citrix.com>"
      # Primary key fingerprint: D04E 33AB A51F 67BA 07D3  0AEA 894F 8F48 70E1 AE90
      
      * remotes/sstabellini/tags/xen-20160622-tag:
        xen: move xen_sysdev to xen_backend.c
        xen: fix qdisk BLKIF_OP_DISCARD for 32/64 word size mix
        xen: fix style of hw/block/xen_blkif.h
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      59a79f65
    • T
      ppc: Disable huge page support if it is not available for main RAM · 86b50f2e
      Thomas Huth 提交于
      On powerpc, we must only signal huge page support to the guest if
      all memory areas are capable of supporting huge pages. The commit
      2d103aae ("fix hugepage support when using memory-backend-file")
      already fixed the case when the user specified the mem-path property
      for NUMA memory nodes instead of using the global "-mem-path" option.
      However, there is one more case where it currently can go wrong.
      When specifying additional memory DIMMs without using NUMA, e.g.
      
       qemu-system-ppc64 -enable-kvm ... -m 1G,slots=2,maxmem=2G \
          -device pc-dimm,id=dimm-mem1,memdev=mem1 -object \
          memory-backend-file,policy=default,mem-path=/...,size=1G,id=mem1
      
      the code in getrampagesize() currently assumes that huge pages
      are possible since they are enabled for the mem1 object. But
      since the main RAM is not backed by a huge page filesystem,
      the guest Linux kernel then crashes very quickly after being
      started. So in case the we've got "normal" memory without NUMA
      and without the global "-mem-path" option, we must not announce
      huge pages to the guest. Since this is likely a mis-configuration
      by the user, also spill out a message in this case.
      Signed-off-by: NThomas Huth <thuth@redhat.com>
      Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au>
      86b50f2e
    • B
      ppc: Add P7/P8 Power Management instructions · 7778a575
      Benjamin Herrenschmidt 提交于
      This adds the ISA 2.06 and later power management instructions
      (doze, nap, sleep and rvwinkle) and associated wakeup cause testing
      in LPCR
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      [clg: fixed checkpatch.pl errors ]
      Signed-off-by: NCédric Le Goater <clg@kaod.org>
      Reviewed-by: NDavid Gibson <david@gibson.dropbear.id.au>
      Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au>
      7778a575
    • B
      ppc: Move exception generation code out of line · b9971cc5
      Benjamin Herrenschmidt 提交于
      There's no point inlining this, if you hit the exception case you exit
      anyway, and not inlining saves about 100K of code size (and cache
      footprint).
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      [clg: removed '__attribute__((noinline))' from original patch ]
      Signed-off-by: NCédric Le Goater <clg@kaod.org>
      Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au>
      b9971cc5
    • B