1. 04 3月, 2019 22 次提交
  2. 01 3月, 2019 10 次提交
    • P
      Merge remote-tracking branch 'remotes/cminyard/tags/i2c-for-release-20190228' into staging · 20b084c4
      Peter Maydell 提交于
      This has been out there long enough, I need to get this in.
      
      This was changed a little bit since my post on Feb 20 (to which
      there were no comments) due to changes I had to work around:
      
      Change b296b664 "smbus: Add a helper to generate SPD EEPROM
      data" added a function to include/hw/i2c/smbus.h, which I had to move to
      include/hw/smbus_eeprom.h.
      
      There were some changes to hw/i2c/Makefile.objs that I had to fix up.
      
      Beyond that, no changes.
      
      Thanks,
      
      -corey
      
      # gpg: Signature made Thu 28 Feb 2019 18:05:49 GMT
      # gpg:                using RSA key FD0D5CE67CE0F59A6688268661F38C90919BFF81
      # gpg: Good signature from "Corey Minyard <cminyard@mvista.com>" [unknown]
      # gpg:                 aka "Corey Minyard <minyard@acm.org>" [unknown]
      # gpg:                 aka "Corey Minyard <corey@minyard.net>" [unknown]
      # gpg:                 aka "Corey Minyard <minyard@mvista.com>" [unknown]
      # 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: FD0D 5CE6 7CE0 F59A 6688  2686 61F3 8C90 919B FF81
      
      * remotes/cminyard/tags/i2c-for-release-20190228:
        i2c: Verify that the count passed in to smbus_eeprom_init() is valid
        i2c:smbus_eeprom: Add a reset function to smbus_eeprom
        i2c:smbus_eeprom: Add vmstate handling to the smbus eeprom
        i2c:smbus_eeprom: Add a size constant for the smbus_eeprom size
        i2c:smbus_eeprom: Add normal type name and cast to smbus_eeprom.c
        i2c:smbus_slave: Add an SMBus vmstate structure
        i2c:pm_smbus: Fix state transfer
        migration: Add a VMSTATE_BOOL_TEST() macro
        i2c:pm_smbus: Fix pm_smbus handling of I2C block read
        boards.h: Ignore migration for SMBus devices on older machines
        i2c:smbus: Make white space in switch statements consistent
        i2c:smbus_eeprom: Get rid of the quick command
        i2c:smbus: Simplify read handling
        i2c:smbus: Simplify write operation
        i2c:smbus: Correct the working of quick commands
        i2c: Don't check return value from i2c_recv()
        arm:i2c: Don't mask return from i2c_recv()
        i2c: have I2C receive operation return uint8_t
        i2c: Split smbus into parts
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      20b084c4
    • P
      Merge remote-tracking branch 'remotes/aperard/tags/pull-xen-20190228' into staging · f0ce2e17
      Peter Maydell 提交于
      Xen queue
      
      * xen-block fixes
      
      # gpg: Signature made Thu 28 Feb 2019 17:31:05 GMT
      # gpg:                using RSA key F80C006308E22CFD8A92E7980CF5572FD7FB55AF
      # gpg:                issuer "anthony.perard@citrix.com"
      # gpg: Good signature from "Anthony PERARD <anthony.perard@gmail.com>" [marginal]
      # gpg:                 aka "Anthony PERARD <anthony.perard@citrix.com>" [marginal]
      # 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: 5379 2F71 024C 600F 778A  7161 D8D5 7199 DF83 42C8
      #      Subkey fingerprint: F80C 0063 08E2 2CFD 8A92  E798 0CF5 572F D7FB 55AF
      
      * remotes/aperard/tags/pull-xen-20190228:
        xen-block: stop leaking memory in xen_block_drive_create()
        xen-block: report error condition from vbd_name_to_disk()
        xen-block: remove redundant assignment
        dataplane/xen-block: remove dead code
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      f0ce2e17
    • P
      Merge remote-tracking branch 'remotes/huth-gitlab/tags/pull-request-2019-02-28' into staging · de5be3fe
      Peter Maydell 提交于
      - Updates to MAINTAINERS file
      - Re-enable the guest-agent test
      - Add the possibility to load a bios image on the mcf5208evb machine
      
      # gpg: Signature made Thu 28 Feb 2019 12:23:25 GMT
      # gpg:                using RSA key 2ED9D774FE702DB5
      # gpg: Good signature from "Thomas Huth <th.huth@gmx.de>" [full]
      # gpg:                 aka "Thomas Huth <thuth@redhat.com>" [full]
      # gpg:                 aka "Thomas Huth <huth@tuxfamily.org>" [full]
      # gpg:                 aka "Thomas Huth <th.huth@posteo.de>" [unknown]
      # Primary key fingerprint: 27B8 8847 EEE0 2501 18F3  EAB9 2ED9 D774 FE70 2DB5
      
      * remotes/huth-gitlab/tags/pull-request-2019-02-28:
        hw/m68k/mcf5208: Support loading of bios images
        tests/test-qga: Reenable guest-agent qtest
        MAINTAINERS: Clean up the RISC-V TCG backend section
        MAINTAINERS: Add some missing entries for the sun4m machine
        MAINTAINERS: Add maintainer to the TCG/i386 subsystem
        MAINTAINERS: Add maintainers to the Linux subsystem
        MAINTAINERS: Orphanize the 'GDB stub' subsystem
        MAINTAINERS: Add maintainer to the POSIX subsystem
        MAINTAINERS: Add an entry for the Dino machine
        MAINTAINERS: Add missing test entries to the Cryptography section
        MAINTAINERS: Add missing entries for the QObject section
        MAINTAINERS: Add missing entries for the PC machines
        MAINTAINERS: Add missing entries for the sun4u machines
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      de5be3fe
    • P
      Merge remote-tracking branch 'remotes/xtensa/tags/20190228-xtensa' into staging · 41795758
      Peter Maydell 提交于
      target/xtensa: FLIX support, various fixes and test improvements
      
      - add FLIX (flexible length instructions extension) support;
      - make testsuite runnable on wider range of xtensa cores;
      - add floating point opcode tests;
      - don't add duplicate 'static' in import_core.sh script;
      - fix undefined opcodes detection in test_mmuhifi_c3 overlay.
      
      # gpg: Signature made Thu 28 Feb 2019 12:53:23 GMT
      # gpg:                using RSA key 2B67854B98E5327DCDEB17D851F9CC91F83FA044
      # gpg:                issuer "jcmvbkbc@gmail.com"
      # gpg: Good signature from "Max Filippov <filippov@cadence.com>" [unknown]
      # gpg:                 aka "Max Filippov <max.filippov@cogentembedded.com>" [full]
      # gpg:                 aka "Max Filippov <jcmvbkbc@gmail.com>" [full]
      # Primary key fingerprint: 2B67 854B 98E5 327D CDEB  17D8 51F9 CC91 F83F A044
      
      * remotes/xtensa/tags/20190228-xtensa: (40 commits)
        tests/tcg/xtensa: add FPU2000 coprocessor tests
        tests/tcg/xtensa: add FP1 group tests
        tests/tcg/xtensa: add FP0 group conversion tests
        tests/tcg/xtensa: add FP0 group arithmetic tests
        tests/tcg/xtensa: add LSCI/LSCX group tests
        tests/tcg/xtensa: add test for FLIX
        tests/tcg/xtensa: conditionalize MMU-related tests
        tests/tcg/xtensa: conditionalize windowed register tests
        tests/tcg/xtensa: conditionalize and fix s32c1i tests
        tests/tcg/xtensa: fix SR tests for big endian configs
        tests/tcg/xtensa: conditionalize and expand SR tests
        tests/tcg/xtensa: conditionalize timer/CCOUNT tests
        tests/tcg/xtensa: conditionalize interrupt tests
        tests/tcg/xtensa: add straightforward conditionals
        tests/tcg/xtensa: conditionalize cache option tests
        tests/tcg/xtensa: conditionalize debug option tests
        tests/tcg/xtensa: enable boolean tests
        tests/tcg/xtensa: fix endianness issues in test_b
        tests/tcg/xtensa: don't use optional opcodes in generic code
        tests/tcg/xtensa: support configs with LITBASE
        ...
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      41795758
    • P
      Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20190228-1' into staging · 9403bccf
      Peter Maydell 提交于
      target-arm queue:
       * add MHU and dual-core support to Musca boards
       * refactor some VFP insns to be gated by ID registers
       * Revert "arm: Allow system registers for KVM guests to be changed by QEMU code"
       * Implement ARMv8.2-FHM extension
       * Advertise JSCVT via HWCAP for linux-user
      
      # gpg: Signature made Thu 28 Feb 2019 11:06:55 GMT
      # gpg:                using RSA key E1A5C593CD419DE28E8315CF3C2525ED14360CDE
      # gpg:                issuer "peter.maydell@linaro.org"
      # gpg: Good signature from "Peter Maydell <peter.maydell@linaro.org>" [ultimate]
      # gpg:                 aka "Peter Maydell <pmaydell@gmail.com>" [ultimate]
      # gpg:                 aka "Peter Maydell <pmaydell@chiark.greenend.org.uk>" [ultimate]
      # Primary key fingerprint: E1A5 C593 CD41 9DE2 8E83  15CF 3C25 25ED 1436 0CDE
      
      * remotes/pmaydell/tags/pull-target-arm-20190228-1:
        linux-user: Enable HWCAP_ASIMDFHM, HWCAP_JSCVT
        target/arm: Enable ARMv8.2-FHM for -cpu max
        target/arm: Implement VFMAL and VFMSL for aarch32
        target/arm: Implement FMLAL and FMLSL for aarch64
        target/arm: Add helpers for FMLAL
        Revert "arm: Allow system registers for KVM guests to be changed by QEMU code"
        target/arm: Gate "miscellaneous FP" insns by ID register field
        target/arm: Use MVFR1 feature bits to gate A32/T32 FP16 instructions
        hw/arm/armsse: Unify init-svtor and cpuwait handling
        hw/arm/iotkit-sysctl: Implement CPUWAIT and INITSVTOR*
        hw/arm/iotkit-sysctl: Add SSE-200 registers
        hw/misc/iotkit-sysctl: Correct typo in INITSVTOR0 register name
        target/arm/arm-powerctl: Add new arm_set_cpu_on_and_reset()
        target/arm/cpu: Allow init-svtor property to be set after realize
        hw/arm/armsse: Wire up the MHUs
        hw/misc/armsse-mhu.c: Model the SSE-200 Message Handling Unit
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      9403bccf
    • P
      xen-block: stop leaking memory in xen_block_drive_create() · 156ac944
      Paul Durrant 提交于
      The locally allocated QDict-s need to be freed. ('file_layer' will be
      freed implicitly since it is added as an object to 'driver_layer').
      
      Spotted by Coverity: CID 1398649
      
      While in the neighbourhood free 'driver' and 'filename' as soon as they are
      added to the QDicts. Freeing after the 'done' label doesn't make that much
      sense as, if the error path jumps to that label, the values would be NULL
      anyway.
      
      This patch also makes that more obvious by taking the error path if
      'params' is NULL and then asserting that both driver and filename are
      non-NULL in the normal path.
      Reported-by: NPeter Maydell <peter.maydell@linaro.org>
      Signed-off-by: NPaul Durrant <paul.durrant@citrix.com>
      Message-Id: <20190219163440.15702-1-paul.durrant@citrix.com>
      Acked-by: NAnthony PERARD <anthony.perard@citrix.com>
      Signed-off-by: NAnthony PERARD <anthony.perard@citrix.com>
      156ac944
    • P
      xen-block: report error condition from vbd_name_to_disk() · 2ae23f0e
      Paul Durrant 提交于
      The function needs to make sure it is passed a valid disk name. This is
      easily done by making sure that the parsing loop results in a non-zero
      value.
      
      Spotted by Coverity: CID 1398640
      Reported-by: NPeter Maydell <peter.maydell@linaro.org>
      Signed-off-by: NPaul Durrant <paul.durrant@citrix.com>
      Acked-by: NAnthony PERARD <anthony.perard@citrix.com>
      Message-Id: <20190215162533.19475-4-paul.durrant@citrix.com>
      Signed-off-by: NAnthony PERARD <anthony.perard@citrix.com>
      2ae23f0e
    • P
      xen-block: remove redundant assignment · 210b9776
      Paul Durrant 提交于
      The assignment to 'p' is unnecessary as the code will either goto 'invalid'
      or p will get overwritten.
      
      Spotted by Coverity: CID 1398638
      Reported-by: NPeter Maydell <peter.maydell@linaro.org>
      Signed-off-by: NPaul Durrant <paul.durrant@citrix.com>
      Acked-by: NAnthony PERARD <anthony.perard@citrix.com>
      Message-Id: <20190215162533.19475-3-paul.durrant@citrix.com>
      Signed-off-by: NAnthony PERARD <anthony.perard@citrix.com>
      210b9776
    • P
      dataplane/xen-block: remove dead code · e02d9494
      Paul Durrant 提交于
      The if() statement is clearly bogus (dead code which should have been
      cleaned up when grant mapping was removed).
      
      Spotted by Coverity: CID 1398635
      
      While in the neighbourhood, add a missing 'fall through' annotation.
      Reported-by: NPeter Maydell <peter.maydell@linaro.org>
      Signed-off-by: NPaul Durrant <paul.durrant@citrix.com>
      Acked-by: NAnthony PERARD <anthony.perard@citrix.com>
      Message-Id: <20190215162533.19475-2-paul.durrant@citrix.com>
      Signed-off-by: NAnthony PERARD <anthony.perard@citrix.com>
      e02d9494
    • P
      Merge remote-tracking branch 'remotes/kraxel/tags/audio-20190228-pull-request' into staging · 21ee7686
      Peter Maydell 提交于
      audio: fixes and cleanups.
      
      # gpg: Signature made Thu 28 Feb 2019 10:08:44 GMT
      # gpg:                using RSA key 4CB6D8EED3E87138
      # gpg: Good signature from "Gerd Hoffmann (work) <kraxel@redhat.com>" [full]
      # gpg:                 aka "Gerd Hoffmann <gerd@kraxel.org>" [full]
      # gpg:                 aka "Gerd Hoffmann (private) <kraxel@gmail.com>" [full]
      # Primary key fingerprint: A032 8CFF B93A 17A7 9901  FE7D 4CB6 D8EE D3E8 7138
      
      * remotes/kraxel/tags/audio-20190228-pull-request:
        audio/sdlaudio: Simplify the sdl_callback function
        audio/sdlaudio: Remove the semaphore code
        audio: don't build alsa and sdl by default on linux
        audio: Do not check for audio_calloc failure
        audio: Use g_strdup_printf instead of manual building a string
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      21ee7686
  3. 28 2月, 2019 8 次提交