1. 03 3月, 2017 19 次提交
    • D
      spapr_pci: Advertise access to PCIe extended config space · bb998645
      David Gibson 提交于
      The (paravirtual) PCI host bridge on the 'pseries' machine in most
      regards acts like a regular PCI bus, rather than a PCIe bus.  Despite
      this, though, it does allow access to the PCIe extended config space.
      
      We already implemented the RTAS methods to allow this access.. but
      forgot to put the markers into the device tree so that guest's know it
      is there.  This adds them in.
      
      With this, a pseries guest is able to view extended config space on
      (for example an e1000e device.  This should be enough to allow guests
      to use at least some PCIe devices.
      Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au>
      bb998645
    • S
      target/ppc: Rework hash mmu page fault code and add defines for clarity · da82c73a
      Suraj Jitindar Singh 提交于
      The hash mmu page fault handling code is responsible for generating ISIs
      and DSIs when access permissions cause an access to fail. Part of this
      involves setting the srr1 or dsisr registers to indicate what causes the
      access to fail. Add defines for the bit fields of these registers and
      rework the code to use these new defines in order to improve readability
      and code clarity.
      
      While we're here, update what is logged when an access fails to include
      information as to what caused to access to fail for debug purposes.
      Signed-off-by: NSuraj Jitindar Singh <sjitindarsingh@gmail.com>
      [dwg: Moved constants to cpu.h since they're not MMUv3 specific]
      Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au>
      da82c73a
    • S
      target/ppc: Move no-execute and guarded page checking into new function · 07a68f99
      Suraj Jitindar Singh 提交于
      A pte entry has bit fields which can be used to make a page no-execute or
      guarded, if either of these bits are set then an instruction access to this
      page will fail. Currently these bits are checked with the pp_prot function
      however the ISA specifies that the access authority controlled by the
      key-pp value pair should only be checked on an instruction access after
      the no-execute and guard bits have already been verified to permit the
      access.
      
      Move the no-execute and guard bit checking into a new separate function.
      Note that we can remove the check for the no-execute bit in the slb entry
      since this check was already performed above when we obtained the slb
      entry.
      
      In the event that the no-execute or guard bits are set, an ISI should be
      generated with the SRR1_NOEXEC_GUARD (0x10000000) bit set in srr1. Add a
      define for this for clarity.
      Signed-off-by: NSuraj Jitindar Singh <sjitindarsingh@gmail.com>
      [dwg: Move constants to cpu.h since they're not MMUv3 specific]
      Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au>
      07a68f99
    • S
      target/ppc: Add execute permission checking to access authority check · 347a5c73
      Suraj Jitindar Singh 提交于
      Basic storage protection defines various access authority permissions
      based on a slb storage key and pte pp value pair. This access authority
      defines read, write and execute permissions however currently we only
      use this to control read and write permissions and ignore the execute
      control.
      
      Fix the code to allow execute permissions based on the key-pp value pair.
      Execute is allowed under the same conditions which enable reads.
      (i.e. read permission -> execute permission)
      Signed-off-by: NSuraj Jitindar Singh <sjitindarsingh@gmail.com>
      Acked-by: NDavid Gibson <david@gibson.dropbear.id.au>
      Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au>
      347a5c73
    • S
      target/ppc: Add Instruction Authority Mask Register Check · a6152b52
      Suraj Jitindar Singh 提交于
      The instruction authority mask register (IAMR) can be used to restrict
      permissions for instruction fetch accesses on a per key basis for each
      of 32 different key values. Access permissions are derived based on the
      specific key value stored in the relevant page table entry.
      
      The IAMR was introduced in, and is present in processors since, POWER8
      (ISA v2.07). Thus introduce a function to check access permissions based
      on the pte key value and the contents of the IAMR when handling a page
      fault to ensure sufficient access permissions for an instruction fetch.
      
      A hash pte contains a key value in bits 2:3|52:54 of the second double word
      of the pte, this key value gives an index into the IAMR which contains 32
      2-bit access masks. If the least significant bit of the 2-bit access mask
      corresponding to the given key value is set (IAMR[key] & 0x1 == 0x1) then
      the instruction fetch is not permitted and an ISI is generated accordingly.
      While we're here, add defines for the srr1 bits to be set for the ISI for
      clarity.
      
      e.g.
      
      pte:
      dw0 [XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX]
      dw1 [XX01XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX010XXXXXXXXX]
             ^^                                                ^^^
      key = 01010 (0x0a)
      
      IAMR: [XXXXXXXXXXXXXXXXXXXX01XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX]
                                 ^^
      Access mask = 0b01
      
      Test access mask: 0b01 & 0x1 == 0x1
      
      Least significant bit of the access mask is set, thus the instruction fetch
      is not permitted. We should generate an instruction storage interrupt (ISI)
      with bit 42 of SRR1 set to indicate access precluded by virtual page class
      key protection.
      Signed-off-by: NSuraj Jitindar Singh <sjitindarsingh@gmail.com>
      [dwg: Move new constants to cpu.h, since they're not MMUv3 specific]
      Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au>
      a6152b52
    • S
      hw/ppc/spapr: Add POWER9 to pseries cpu models · 24d8e565
      Suraj Jitindar Singh 提交于
      Add POWER9 cpu to list of spapr core models which allows it to be specified
      as the cpu model for a pseries guest (e.g. -machine pseries -cpu POWER9).
      
      This now allows a POWER9 cpu to boot to userspace in tcg emulation for a
      pseries machine with a legacy kernel.
      Signed-off-by: NSuraj Jitindar Singh <sjitindarsingh@gmail.com>
      Reviewed-by: NDavid Gibson <david@gibson.dropbear.id.au>
      Acked-by: NBalbir Singh <bsingharora@gmail.com>
      Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au>
      24d8e565
    • S
      target/ppc/POWER9: Add cpu_has_work function for POWER9 · 6f46dcb3
      Suraj Jitindar Singh 提交于
      The cpu has work function is used to mask interrupts used to determine
      if there is work for the cpu based on the LPCR. Add a function to do this
      for POWER9 and add it to the POWER9 cpu definition. This is similar to that
      for POWER8 except using the LPCR bits as defined for POWER9.
      Signed-off-by: NSuraj Jitindar Singh <sjitindarsingh@gmail.com>
      Reviewed-by: NDavid Gibson <david@gibson.dropbear.id.au>
      Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au>
      6f46dcb3
    • S
      target/ppc/POWER9: Add POWER9 pa-features definition · 4975c098
      Suraj Jitindar Singh 提交于
      Add a pa-features definition which includes all of the new fields which
      have been added, note we don't claim support for any of these new features
      at this stage.
      Signed-off-by: NSuraj Jitindar Singh <sjitindarsingh@gmail.com>
      Reviewed-by: NDavid Gibson <david@gibson.dropbear.id.au>
      Acked-by: NBalbir Singh <bsingharora@gmail.com>
      Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au>
      4975c098
    • S
      target/ppc/POWER9: Add POWER9 mmu fault handler · b2899495
      Suraj Jitindar Singh 提交于
      Add a new mmu fault handler for the POWER9 cpu and add it as the handler
      for the POWER9 cpu definition.
      
      This handler checks if the guest is radix or hash based on the value in the
      partition table entry and calls the correct fault handler accordingly.
      
      The hash fault handling code has also been updated to check if the
      partition is using segment tables.
      
      Currently only legacy hash (no segment tables) is supported.
      Signed-off-by: NSuraj Jitindar Singh <sjitindarsingh@gmail.com>
      Reviewed-by: NDavid Gibson <david@gibson.dropbear.id.au>
      Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au>
      b2899495
    • S
      target/ppc: Don't gen an SDR1 on POWER9 and rework register creation · 4f4f28ff
      Suraj Jitindar Singh 提交于
      POWER9 doesn't have a storage description register 1 (SDR1) which is used
      to store the base and size of the hash table. Thus we don't need to
      generate this register on the POWER9 cpu model. While we're here, the
      register generation code for 970, POWER5+, POWER<7/8/9> in general is a
      mess where we call a generic function from a model specific function which
      then attempts to call model specific functions, so rework this for
      readability.
      
      We update ppc_cpu_dump_state so that "info registers" will only display
      the value of sdr1 if the register has been generated.
      
      As mentioned above the register generation for the pcc->init_proc
      function for 970, POWER5+, POWER7, POWER8 and POWER9 has been reworked
      for improved clarity. Instead of calling init_proc_book3s_64 which then
      attempts to generate the correct registers through a mess of if statements,
      we remove this function and instead call the appropriate register
      generation functions directly. This follows the register generation model
      used for earlier cpu models (pre-970) whereby cpu specific registers are
      generated directly in the init_proc function and makes it easier to
      add/remove specific registers for new cpu models.
      Signed-off-by: NSuraj Jitindar Singh <sjitindarsingh@gmail.com>
      Reviewed-by: NDavid Gibson <david@gibson.dropbear.id.au>
      Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au>
      4f4f28ff
    • S
      target/ppc: Add patb_entry to sPAPRMachineState · 9861bb3e
      Suraj Jitindar Singh 提交于
      ISA v3.00 adds the idea of a partition table which is used to store the
      address translation details for all partitions on the system. The partition
      table consists of double word entries indexed by partition id where the second
      double word contains the location of the process table in guest memory. The
      process table is registered by the guest via a h-call.
      
      We need somewhere to store the address of the process table so we add an entry
      to the sPAPRMachineState struct called patb_entry to represent the second
      doubleword of a single partition table entry corresponding to the current
      guest. We need to store this value so we know if the guest is using radix or
      hash translation and the location of the corresponding process table in guest
      memory. Since we only have a single guest per qemu instance, we only need one
      entry.
      
      Since the partition table is technically a hypervisor resource we require that
      access to it is abstracted by the virtual hypervisor through the get_patbe()
      call. Currently the value of the entry is never set (and thus
      defaults to 0 indicating hash), but it will be required to both implement
      POWER9 kvm support and tcg radix support.
      
      We also add this field to be migrated as part of the sPAPRMachineState as we
      will need it on the receiving side as the guest will never tell us this
      information again and we need it to perform translation.
      Signed-off-by: NSuraj Jitindar Singh <sjitindarsingh@gmail.com>
      Reviewed-by: NDavid Gibson <david@gibson.dropbear.id.au>
      Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au>
      9861bb3e
    • D
      target/ppc/POWER9: Add POWERPC_MMU_V3 bit · 0922f1e4
      David Gibson 提交于
      For easier handling of future processors using the POWER9 or something
      close to it, add a new bit in the MMU model.  This was originally from a
      revised version of 86cf1e9f "target/ppc/POWER9: Add ISAv3.00 MMU definition"
      but the older version of the patch was already merged.  This makes the
      change on top of the original version.
      Signed-off-by: NSuraj Jitindar Singh <sjitindarsingh@gmail.com>
      Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au>
      0922f1e4
    • D
      powernv: Don't test POWER9 CPU yet · eaa477ca
      David Gibson 提交于
      A couple of tests for the work-in-progress 'powernv' machine type attempt
      to test on POWER9 CPUs.  However the POWER9 CPU support is incomplete and
      this doesn't really work.  In particular the firmware image we have
      currently assumes the presence of the SDR1 register, which no longer exists
      on POWER9.  We only got away with this so far, because of a different bug
      which added SDR1 to POWER9 even though it shouldn't be there.
      
      For now, remove POWER9 testing of powernv, POWER8 testing will do for now
      until the POWER9 support is more complete.
      Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au>
      eaa477ca
    • A
      exec, kvm, target-ppc: Move getrampagesize() to common code · 9c607668
      Alexey Kardashevskiy 提交于
      getrampagesize() returns the largest supported page size and mainly
      used to know if huge pages are enabled.
      
      However is implemented in target-ppc/kvm.c and not available
      in TCG or other architectures.
      
      This renames and moves gethugepagesize() to mmap-alloc.c where
      fd-based analog of it is already implemented. This renames and moves
      getrampagesize() to exec.c as it seems to be the common place for
      helpers like this.
      Signed-off-by: NAlexey Kardashevskiy <aik@ozlabs.ru>
      Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au>
      9c607668
    • S
      target/ppc: Add POWER9/ISAv3.00 to compat_table · 9b44c836
      Suraj Jitindar Singh 提交于
      compat_table contains the list of logical pvr compat modes which a cpu can
      operate in. It is a list of struct CompatInfo which contains the given pvr
      value for a compat mode, the pcr bits which should be set to operate in
      that compat mode, the pcr level which must be present in pcr_supported for
      a processor to support that compat mode and the max threads possible in
      that compat mode.
      
      Add an entry for the POWER9/ISAv3.00 logical pvr which represents a
      processor running with support for logical pvr 0x0f000005. A processor
      running in this mode should have PCR_COMPAT_3_00 set in the pcr (if
      available in pcr_mask) and should have PCR_COMPAT_3_00 in pcr_supported
      to indicate that it is capable of running in this compat mode.
      
      Also add PCR_COMPAT_3_00 to the bits which must be set for all previous
      compat modes. Since no processor models contain this bit yet in pcr_mask
      it will never be set, but this ensures we don't forget to in the future.
      Signed-off-by: NSuraj Jitindar Singh <sjitindarsingh@gmail.com>
      Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au>
      9b44c836
    • P
      Merge remote-tracking branch 'remotes/rth/tags/pull-tgt-20170302' into staging · ecb24d33
      Peter Maydell 提交于
      Queued sparc patch
      
      # gpg: Signature made Wed 01 Mar 2017 19:53:21 GMT
      # gpg:                using RSA key 0xAD1270CC4DD0279B
      # gpg: Good signature from "Richard Henderson <rth7680@gmail.com>"
      # gpg:                 aka "Richard Henderson <rth@redhat.com>"
      # gpg:                 aka "Richard Henderson <rth@twiddle.net>"
      # Primary key fingerprint: 9CB1 8DDA F8E8 49AD 2AFC  16A4 AD12 70CC 4DD0 279B
      
      * remotes/rth/tags/pull-tgt-20170302:
        target/sparc: Restore ldstub of odd asis
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      ecb24d33
    • P
      Merge remote-tracking branch 'remotes/kraxel/tags/pull-audio-20170301-1' into staging · 68355048
      Peter Maydell 提交于
      audio: replay support, sdl2 fix.
      
      # gpg: Signature made Wed 01 Mar 2017 15:38:09 GMT
      # 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-audio-20170301-1:
        audio/sdlaudio: Allow audio playback with SDL2
        audio: make audio poll timer deterministic
        replay: add record/replay for audio passthrough
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      68355048
    • P
      Merge remote-tracking branch 'remotes/kraxel/tags/pull-docs-20170301-1' into staging · b49d31a0
      Peter Maydell 提交于
      docs: update sample configuration files
      
      # gpg: Signature made Wed 01 Mar 2017 13:43:34 GMT
      # 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-docs-20170301-1:
        mach-virt: Provide sample configuration files
        q35: Improve sample configuration files
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      b49d31a0
    • P
      Merge remote-tracking branch 'remotes/dgilbert/tags/pull-migration-20170228a' into staging · 251501a3
      Peter Maydell 提交于
      Migration pull
      
      Note: The 'postcopy: Update userfaultfd.h header' is part of
      Paolo's header update and will disappear if applied after it.
      Signed-off-by: NDr. David Alan Gilbert <dgilbert@redhat.com>
      
      # gpg: Signature made Tue 28 Feb 2017 12:38:34 GMT
      # gpg:                using RSA key 0x0516331EBC5BFDE7
      # gpg: Good signature from "Dr. David Alan Gilbert (RH2) <dgilbert@redhat.com>"
      # gpg: WARNING: This key is not certified with a trusted signature!
      # gpg:          There is no indication that the signature belongs to the owner.
      # Primary key fingerprint: 45F5 C71B 4A0C B7FB 977A  9FA9 0516 331E BC5B FDE7
      
      * remotes/dgilbert/tags/pull-migration-20170228a: (27 commits)
        postcopy: Add extra check for COPY function
        postcopy: Add doc about hugepages and postcopy
        postcopy: Check for userfault+hugepage feature
        postcopy: Update userfaultfd.h header
        postcopy: Allow hugepages
        postcopy: Send whole huge pages
        postcopy: Mask fault addresses to huge page boundary
        postcopy: Load huge pages in one go
        postcopy: Use temporary for placing zero huge pages
        postcopy: Plumb pagesize down into place helpers
        postcopy: Record largest page size
        postcopy: enhance ram_block_discard_range for hugepages
        exec: ram_block_discard_range
        postcopy: Chunk discards for hugepages
        postcopy: Transmit and compare individual page sizes
        postcopy: Transmit ram size summary word
        migration: fix use-after-free of to_dst_file
        migration: Update docs to discourage version bumps
        migration: fix id leak regression
        migrate: Introduce a 'dc->vmsd' check to avoid segfault for --only-migratable
        ...
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      251501a3
  2. 02 3月, 2017 10 次提交
    • P
      Merge remote-tracking branch 'remotes/elmarco/tags/leak-pull-request' into staging · c9fc677a
      Peter Maydell 提交于
      # gpg: Signature made Wed 01 Mar 2017 09:02:53 GMT
      # gpg:                using RSA key 0xDAE8E10975969CE5
      # gpg: Good signature from "Marc-André Lureau <marcandre.lureau@redhat.com>"
      # gpg:                 aka "Marc-André Lureau <marcandre.lureau@gmail.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: 87A9 BD93 3F87 C606 D276  F62D DAE8 E109 7596 9CE5
      
      * remotes/elmarco/tags/leak-pull-request: (28 commits)
        tests: fix virtio-blk-test leaks
        tests: add specialized device_find function
        tests: fix usb-test leaks
        tests: allows to run single test in usb-hcd-ehci-test
        usb: release the created buses
        bus: do not unref hotplug handler
        tests: fix virtio-9p-test leaks
        tests: fix virtio-scsi-test leak
        tests: fix e1000e leaks
        tests: fix i440fx-test leaks
        tests: fix e1000-test leak
        tests: fix tco-test leaks
        tests: fix eepro100-test leak
        pc: pcihp: avoid adding ACPI_PCIHP_PROP_BSEL twice
        tests: fix ipmi-bt-test leak
        tests: fix ipmi-kcs-test leak
        tests: fix bios-tables-test leak
        tests: fix hd-geo-test leaks
        tests: fix ide-test leaks
        tests: fix vhost-user-test leaks
        ...
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      c9fc677a
    • P
      Merge remote-tracking branch 'remotes/dgibson/tags/ppc-for-2.9-20170301' into staging · ab711e21
      Peter Maydell 提交于
      ppc patch queue for 2017-03-01
      
      I was hoping to get this pull request squeezed in before the soft
      freeze, but I ran into some difficulties during testing.  Everything
      here was at least posted before the soft freeze, so I'm hoping we can
      still merge it for 2.9.
      
      The biggest things here are:
          * Cleanups to handling of hashed page tables, that will make
            adding support for the POWER9 MMU easier
          * Cleanups to the XICS interrupt controller that will make
            implementing the powernv machine easier
          * TCG implementation of extended overflow and carry handling for
            POWER9
      
      It also includes:
          * Increasing the CPU limit for pseries to 1024 vCPUs
          * Generating proper OF node names in qemu (making hotplug and
            coldplug logic closer together)
      
      # gpg: Signature made Wed 01 Mar 2017 04:43:06 GMT
      # 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:                 aka "David Gibson (kernel.org) <dwg@kernel.org>"
      # Primary key fingerprint: 75F4 6586 AE61 A66C C44E  87DC 6C38 CACA 20D9 B392
      
      * remotes/dgibson/tags/ppc-for-2.9-20170301: (50 commits)
        Add PowerPC 32-bit guest memory dump support
        ppc/xics: rename 'ICPState *' variables to 'icp'
        ppc/xics: move InterruptStatsProvider to the sPAPR machine
        ppc/xics: move ics-simple post_load under the machine
        ppc/xics: remove the XICSState classes
        ppc/xics: export the XICS init routines
        ppc/xics: move the ICP array under the sPAPR machine
        ppc/xics: register the reset handler of ICP objects
        ppc/xics: simplify spapr_dt_xics() interface
        ppc/xics: use the QOM interface to grab an ICP
        ppc/xics: move the cpu_setup() handler under the ICPState class
        ppc/xics: simplify the cpu_setup() handler
        ppc/xics: move kernel_xics_fd out of KVMXICSState
        ppc/xics: extend the QOM interface to handle ICPs
        ppc/xics: remove the XICS list of ICS
        ppc/xics: register the reset handler of ICS objects
        ppc/xics: remove xics_find_source()
        ppc/xics: use the QOM interface to resend irqs
        ppc/xics: use the QOM interface to get irqs
        ppc/xics: use the QOM interface under the sPAPR machine
        ...
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      ab711e21
    • P
      Merge remote-tracking branch 'remotes/mcayland/tags/qemu-openbios-signed' into staging · 4bc0d39a
      Peter Maydell 提交于
      Update OpenBIOS images
      
      # gpg: Signature made Tue 28 Feb 2017 22:09:11 GMT
      # gpg:                using RSA key 0x5BC2C56FAE0F321F
      # gpg: Good signature from "Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>"
      # Primary key fingerprint: CC62 1AB9 8E82 200D 915C  C9C4 5BC2 C56F AE0F 321F
      
      * remotes/mcayland/tags/qemu-openbios-signed:
        Update OpenBIOS images to 0cd97cc built from submodule.
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      4bc0d39a
    • P
      Merge remote-tracking branch 'remotes/ehabkost/tags/x86-pull-request' into staging · 666095c8
      Peter Maydell 提交于
      x86 queue, 2017-02-27
      
      "-cpu max" and query-cpu-model-expansion support for x86. This
      should be the last x86 pull request before 2.9 soft freeze.
      
      # gpg: Signature made Mon 27 Feb 2017 16:24:15 GMT
      # gpg:                using RSA key 0x2807936F984DC5A6
      # gpg: Good signature from "Eduardo Habkost <ehabkost@redhat.com>"
      # Primary key fingerprint: 5A32 2FD5 ABC4 D3DB ACCF  D1AA 2807 936F 984D C5A6
      
      * remotes/ehabkost/tags/x86-pull-request:
        i386: Improve query-cpu-model-expansion full mode
        i386: Implement query-cpu-model-expansion QMP command
        i386: Define static "base" CPU model
        i386: Don't set CPUClass::cpu_def on "max" model
        i386: Make "max" model not use any host CPUID info on TCG
        i386: Create "max" CPU model
        qapi-schema: Comment about full expansion of non-migration-safe models
        i386: Reorganize and document CPUID initialization steps
        i386: Rename X86CPU::host_features to X86CPU::max_features
        i386: Add ordering field to CPUClass
        i386: Unset cannot_destroy_with_object_finalize_yet on "host" model
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      666095c8
    • P
      Merge remote-tracking branch 'remotes/kraxel/tags/pull-seabios-20170228-1' into staging · f1d64052
      Peter Maydell 提交于
      seabios: update to 1.10.2 release
      
      # gpg: Signature made Tue 28 Feb 2017 08:57:57 GMT
      # 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-seabios-20170228-1:
        seabios: update to 1.10.2 release
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      f1d64052
    • P
      Merge remote-tracking branch 'remotes/rth/tags/pull-tcg-20170301' into staging · d377b803
      Peter Maydell 提交于
      Queued TCG patch
      
      # gpg: Signature made Tue 28 Feb 2017 21:30:32 GMT
      # gpg:                using RSA key 0xAD1270CC4DD0279B
      # gpg: Good signature from "Richard Henderson <rth7680@gmail.com>"
      # gpg:                 aka "Richard Henderson <rth@redhat.com>"
      # gpg:                 aka "Richard Henderson <rth@twiddle.net>"
      # Primary key fingerprint: 9CB1 8DDA F8E8 49AD 2AFC  16A4 AD12 70CC 4DD0 279B
      
      * remotes/rth/tags/pull-tcg-20170301:
        aarch64: Change ext type to TCGType to fix warnings
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      d377b803
    • P
      Merge remote-tracking branch 'remotes/kevin/tags/for-upstream' into staging · b9fe3139
      Peter Maydell 提交于
      Block layer patches
      
      # gpg: Signature made Tue 28 Feb 2017 20:35:32 GMT
      # gpg:                using RSA key 0x7F09B272C88F2FD6
      # gpg: Good signature from "Kevin Wolf <kwolf@redhat.com>"
      # Primary key fingerprint: DC3D EB15 9A9A F95D 3D74  56FE 7F09 B272 C88F 2FD6
      
      * remotes/kevin/tags/for-upstream: (46 commits)
        block: Add Error parameter to bdrv_append()
        block: Add Error parameter to bdrv_set_backing_hd()
        block: Assertions for resize permission
        block: Assertions for write permissions
        block: Pass BdrvChild to bdrv_aligned_preadv/pwritev and copy-on-read
        tests: Remove FIXME comments
        nbd/server: Use real permissions for NBD exports
        migration/block: Use real permissions
        hmp: Request permissions in qemu-io
        commit: Add filter-node-name to block-commit
        mirror: Add filter-node-name to blockdev-mirror
        stream: Use real permissions in streaming block job
        mirror: Use real permissions in mirror/active commit block job
        blockjob: Factor out block_job_remove_all_bdrv()
        block: Allow backing file links in change_parent_backing_link()
        block: BdrvChildRole.attach/detach() callbacks
        block: Fix pending requests check in bdrv_append()
        backup: Use real permissions in backup block job
        commit: Use real permissions for HMP 'commit'
        commit: Use real permissions in commit block job
        ...
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      b9fe3139
    • P
      Merge remote-tracking branch 'remotes/sstabellini/tags/xen-20170228-tag' into staging · 1e0addb6
      Peter Maydell 提交于
      Xen 2017/02/28
      
      # gpg: Signature made Tue 28 Feb 2017 19:13:08 GMT
      # gpg:                using RSA key 0x894F8F4870E1AE90
      # gpg: Good signature from "Stefano Stabellini <sstabellini@kernel.org>"
      # gpg:                 aka "Stefano Stabellini <stefano.stabellini@eu.citrix.com>"
      # Primary key fingerprint: D04E 33AB A51F 67BA 07D3  0AEA 894F 8F48 70E1 AE90
      
      * remotes/sstabellini/tags/xen-20170228-tag:
        Add a new qmp command to do checkpoint, query xen replication status
        Add a new qmp command to start/stop replication
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      1e0addb6
    • R
      target/sparc: Restore ldstub of odd asis · 3db010c3
      Richard Henderson 提交于
      Fixes the booting of ss20 roms.
      
      Cc: qemu-stable@nongnu.org
      Reported-by: NMichael Russo <mike@papersolve.com>
      Tested-by: NMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
      Signed-off-by: NRichard Henderson <rth@twiddle.net>
      3db010c3
    • P
      Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20170228-1' into staging · b28f9db1
      Peter Maydell 提交于
      target-arm queue:
       * raspi2: add gpio controller and sdhost controller, with
         the wiring so the guest can switch which controller the
         SD card is attached to
         (this is sufficient to get raspbian kernels to boot)
       * GICv3: support state save/restore from KVM
       * update Linux headers to 4.11
       * refactor and QOMify the ARMv7M container object
      
      # gpg: Signature made Tue 28 Feb 2017 17:11:49 GMT
      # gpg:                using RSA key 0x3C2525ED14360CDE
      # gpg: Good signature from "Peter Maydell <peter.maydell@linaro.org>"
      # gpg:                 aka "Peter Maydell <pmaydell@gmail.com>"
      # gpg:                 aka "Peter Maydell <pmaydell@chiark.greenend.org.uk>"
      # Primary key fingerprint: E1A5 C593 CD41 9DE2 8E83  15CF 3C25 25ED 1436 0CDE
      
      * remotes/pmaydell/tags/pull-target-arm-20170228-1: (21 commits)
        bcm2835: add sdhost and gpio controllers
        bcm2835_gpio: add bcm2835 gpio controller
        hw/sd: add card-reparenting function
        qdev: Have qdev_set_parent_bus() handle devices already on a bus
        hw/intc/arm_gicv3_kvm: Reset GICv3 cpu interface registers
        target-arm: Add GICv3CPUState in CPUARMState struct
        hw/intc/arm_gicv3_kvm: Implement get/put functions
        hw/intc/arm_gicv3_kvm: Add ICC_SRE_EL1 register to vmstate
        update Linux headers to 4.11
        update-linux-headers: update for 4.11
        stm32f205: Rename 'nvic' local to 'armv7m'
        stm32f205: Create armv7m object without using armv7m_init()
        armv7m: Split systick out from NVIC
        armv7m: Don't put core v7M devices under CONFIG_STELLARIS
        armv7m: Make bitband device take the address space to access
        armv7m: Make NVIC expose a memory region rather than mapping itself
        armv7m: Make ARMv7M object take memory region link
        armv7m: Use QOMified armv7m object in armv7m_init()
        armv7m: QOMify the armv7m container
        armv7m: Move NVICState struct definition into header
        ...
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      b28f9db1
  3. 01 3月, 2017 11 次提交