1. 26 6月, 2018 5 次提交
  2. 25 6月, 2018 7 次提交
  3. 24 6月, 2018 1 次提交
  4. 23 6月, 2018 15 次提交
  5. 22 6月, 2018 12 次提交
    • P
      Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20180622' into staging · 5fce3122
      Peter Maydell 提交于
      target-arm queue:
       * hw/intc/arm_gicv3: fix wrong values when reading IPRIORITYR
       * target/arm: fix read of freed memory in kvm_arm_machine_init_done()
       * virt: support up to 512 CPUs
       * virt: support 256MB ECAM PCI region (for more PCI devices)
       * xlnx-zynqmp: Use Cortex-R5F, not Cortex-R5
       * mps2-tz: Implement and use the TrustZone Memory Protection Controller
       * target/arm: enforce alignment checking for v6M cores
       * xen: Don't use memory_region_init_ram_nomigrate() in pci_assign_dev_load_option_rom()
       * vl.c: Don't zero-initialize statics for serial_hds
      
      # gpg: Signature made Fri 22 Jun 2018 13:56:00 BST
      # gpg:                using RSA key 3C2525ED14360CDE
      # 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-20180622: (28 commits)
        xen: Don't use memory_region_init_ram_nomigrate() in pci_assign_dev_load_option_rom()
        vl.c: Don't zero-initialize statics for serial_hds
        target/arm: Strict alignment for ARMv6-M and ARMv8-M Baseline
        target/arm: Introduce ARM_FEATURE_M_MAIN
        hw/arm/mps2-tz.c: Instantiate MPCs
        hw/arm/iotkit: Wire up MPC interrupt lines
        hw/arm/iotkit: Instantiate MPC
        hw/misc/iotkit-secctl.c: Implement SECMPCINTSTATUS
        hw/misc/tz_mpc.c: Honour the BLK_LUT settings in translate
        hw/misc/tz-mpc.c: Implement correct blocked-access behaviour
        hw/misc/tz-mpc.c: Implement registers
        hw/misc/tz-mpc.c: Implement the Arm TrustZone Memory Protection Controller
        xlnx-zynqmp: Swap Cortex-R5 for Cortex-R5F
        target-arm: Add the Cortex-R5F
        hw/arm/virt: Increase max_cpus to 512
        hw/arm/virt: Use 256MB ECAM region by default
        hw/arm/virt: Add virt-3.0 machine type
        hw/arm/virt: Add a new 256MB ECAM region
        hw/arm/virt: Register two redistributor regions when necessary
        hw/arm/virt-acpi-build: Advertise one or two GICR structures
        ...
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      5fce3122
    • M
      MAINTAINERS: Update QAPI stanza for commit fb0bc835 · be25fcc4
      Markus Armbruster 提交于
      Commit fb0bc835 moved code from scripts/qapi-*.py to
      scripts/qapi/*.py.  It neglected to update MAINTAINERS: scripts/qapi*
      matches only the former, not the latter.  Do that now.
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      Message-Id: <20180620124827.17106-1-armbru@redhat.com>
      Reviewed-by: NEric Blake <eblake@redhat.com>
      be25fcc4
    • M
      qapi/introspect: Eliminate pointless variable in .visit_end() · da112e83
      Markus Armbruster 提交于
      Commit 1a9a507b "qapi-introspect: Hide type names" added local
      variable @jsons to improve sorting, but also removed the sorting.  It
      was part of a big series that went to v8, and it made sense until v2
      or so...
      
      Commit 7d0f982b replaced @jsons by @qlits, preserving the
      uselessness.
      
      Get rid of it.
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      Message-Id: <20180620124742.16979-1-armbru@redhat.com>
      Reviewed-by: NMarc-André Lureau <marcandre.lureau@redhat.com>
      da112e83
    • M
      Revert commit d4e5ec87 · 0d6b93de
      Matthias Maier 提交于
      This commit removes the PYTHON_UTF8 workaround. The problem with setting
      
        LC_ALL= LANG=C LC_CTYPE=en_US.UTF-8
      
      is that the en_US.UTF-8 locale might not be available. In this case
      setting above locales results in build errors even though another UTF-8
      locale was originally set [1]. The only stable way of fixing the
      encoding problem is by specifying the encoding in Python, like the
      previous commit does.
      
      [1] https://bugs.gentoo.org/657766Signed-off-by: NArfrever Frehtes Taifersar Arahesis <arfrever.fta@gmail.com>
      Signed-off-by: NMatthias Maier <tamiko@43-1.org>
      Message-Id: <20180618175958.29073-3-armbru@redhat.com>
      Reviewed-by: NEduardo Habkost <ehabkost@redhat.com>
      Reviewed-by: NEric Blake <eblake@redhat.com>
      [Commit message tweaked]
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      0d6b93de
    • M
      qapi: Open files with encoding='utf-8' · de685ae5
      Markus Armbruster 提交于
      Python 2 happily reads UTF-8 files in text mode, but Python 3 requires
      either UTF-8 locale or an explicit encoding passed to open().  Commit
      d4e5ec87 fixed this by setting the en_US.UTF-8 locale.  Falls apart
      when the locale isn't be available.
      
      Matthias Maier and Arfrever Frehtes Taifersar Arahesis proposed to use
      binary mode instead, with manual conversion from bytes to str.  Works,
      but opening with an explicit encoding is simpler, so do that.
      
      Since Python 2's open() doesn't support the encoding parameter, we
      need to suppress it with a version check.
      Reported-by: NArfrever Frehtes Taifersar Arahesis <arfrever.fta@gmail.com>
      Reported-by: NMatthias Maier <tamiko@43-1.org>
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      Message-Id: <20180618175958.29073-2-armbru@redhat.com>
      Reviewed-by: NEduardo Habkost <ehabkost@redhat.com>
      Reviewed-by: NEric Blake <eblake@redhat.com>
      de685ae5
    • A
      qapi: remove empty flat union branches and types · 29cd0403
      Anton Nefedov 提交于
      Flat unions may now have uncovered branches, so it is possible to get rid
      of empty types defined for that purpose only.
      Signed-off-by: NAnton Nefedov <anton.nefedov@virtuozzo.com>
      Reviewed-by: NMarkus Armbruster <armbru@redhat.com>
      Message-Id: <1529311206-76847-3-git-send-email-anton.nefedov@virtuozzo.com>
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      29cd0403
    • A
      qapi: allow empty branches in flat unions · 800877bb
      Anton Nefedov 提交于
      It often happens that just a few discriminator values imply extra data in
      a flat union. Existing checks did not make possible to leave other values
      uncovered. Such cases had to be worked around by either stating a dummy
      (empty) type or introducing another (subset) discriminator enumeration.
      
      Both options create redundant entities in qapi files for little profit.
      
      With this patch it is not necessary anymore to add designated union
      fields for every possible value of a discriminator enumeration.
      Signed-off-by: NAnton Nefedov <anton.nefedov@virtuozzo.com>
      Message-Id: <1529311206-76847-2-git-send-email-anton.nefedov@virtuozzo.com>
      Reviewed-by: NMarkus Armbruster <armbru@redhat.com>
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      800877bb
    • M
      tests: Add QDict clone-flatten test · fe170d8b
      Max Reitz 提交于
      This new test verifies that qdict_flatten() does not modify a shallow
      clone of the given QDict.
      Reviewed-by: NEric Blake <eblake@redhat.com>
      Signed-off-by: NMax Reitz <mreitz@redhat.com>
      Message-Id: <20180611205203.2624-8-mreitz@redhat.com>
      Reviewed-by: NMarkus Armbruster <armbru@redhat.com>
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      fe170d8b
    • M
      qdict: Make qdict_flatten() shallow-clone-friendly · bf6e6a37
      Max Reitz 提交于
      In its current form, qdict_flatten() removes all entries from nested
      QDicts that are moved to the root QDict.  It is completely sufficient to
      remove all old entries from the root QDict, however.  If the nested
      dicts have a refcount of 1, this will automatically delete them, too.
      And if they have a greater refcount, we probably do not want to modify
      them in the first place.
      
      The latter observation means that it was currently (in general)
      impossible to qdict_flatten() a shallowly cloned dict because that would
      empty nested QDicts in the original dict as well.  This patch changes
      this, so you can now use qdict_flatten(qdict_shallow_clone(dict)) to get
      a flattened copy without disturbing the original.
      Signed-off-by: NMax Reitz <mreitz@redhat.com>
      Message-Id: <20180611205203.2624-7-mreitz@redhat.com>
      Reviewed-by: NMarkus Armbruster <armbru@redhat.com>
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      bf6e6a37
    • M
      qapi/events: generate event enum in main module · f030ffd3
      Marc-André Lureau 提交于
      The event generator produces an enum, and put it in the last visited
      module. It fits better in the main module, since it's the set of all
      visited events, from all modules.
      Signed-off-by: NMarc-André Lureau <marcandre.lureau@redhat.com>
      Message-Id: <20180321115211.17937-3-marcandre.lureau@redhat.com>
      Reviewed-by: NMarkus Armbruster <armbru@redhat.com>
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      f030ffd3
    • M
      qapi/visit: remove useless prefix argument · a48e7542
      Marc-André Lureau 提交于
      Signed-off-by: NMarc-André Lureau <marcandre.lureau@redhat.com>
      Message-Id: <20180321115211.17937-2-marcandre.lureau@redhat.com>
      Reviewed-by: NMarkus Armbruster <armbru@redhat.com>
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      a48e7542
    • P
      Merge remote-tracking branch 'remotes/dgibson/tags/ppc-for-3.0-20180622' into staging · c52e53f4
      Peter Maydell 提交于
      ppc patch queue 2018-06-22
      
      Another assorted patch of patches for ppc and spapr.
          * Rework of guest pagesize handling for ppc, which avoids guest
            visibly different behaviour between accelerators
          * A number of Pnv cleanups, working towards more complete POWER9
            support
          * Migration of VPA data, a significant bugfix
      
      # gpg: Signature made Fri 22 Jun 2018 05:23:16 BST
      # gpg:                using RSA key 6C38CACA20D9B392
      # 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-3.0-20180622: (23 commits)
        spapr: Don't rewrite mmu capabilities in KVM mode
        spapr: Limit available pagesizes to provide a consistent guest environment
        target/ppc: Add ppc_hash64_filter_pagesizes()
        spapr: Use maximum page size capability to simplify memory backend checking
        spapr: Maximum (HPT) pagesize property
        pseries: Update SLOF firmware image to qemu-slof-20180621
        target/ppc: Add missing opcode for icbt on PPC440
        ppc4xx_i2c: Implement directcntl register
        ppc4xx_i2c: Remove unimplemented sdata and intr registers
        sm501: Fix hardware cursor color conversion
        fpu_helper.c: fix helper_fpscr_clrbit() function
        spapr: remove unused spapr_irq routines
        spapr: split the IRQ allocation sequence
        target/ppc: Add kvmppc_hpt_needs_host_contiguous_pages() helper
        spapr: Add cpu_apply hook to capabilities
        spapr: Compute effective capability values earlier
        target/ppc: Allow cpu compatiblity checks based on type, not instance
        ppc/pnv: consolidate the creation of the ISA bus device tree
        ppc/pnv: introduce Pnv8Chip and Pnv9Chip models
        spapr_cpu_core: migrate VPA related state
        ...
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      c52e53f4