Skip to content
Snippets Groups Projects
  1. Oct 30, 2018
    • Palmer Dabbelt's avatar
      Add qemu-riscv@nongnu.org as the RISC-V list · a094b354
      Palmer Dabbelt authored
      
      We now have a RISC-V specific QEMU development list.
      
      Reviewed-by: default avatarAlistair Francis <alistair.francis@wdc.com>
      Reviewed-by: default avatarPhilippe Mathieu-Daudé <philmd@redhat.com>
      Tested-by: default avatarPhilippe Mathieu-Daudé <philmd@redhat.com>
      Signed-off-by: default avatarPalmer Dabbelt <palmer@sifive.com>
    • Palmer Dabbelt's avatar
      Add Alistair as a RISC-V Maintainer · a17a61f3
      Palmer Dabbelt authored
      
      Alistair has been contributing to the RISC-V QEMU port for a while now
      so I'd like him to be officially listed as a maintainer.  I've checked
      with the other RISC-V maintainers and there are no objections, and I've
      also checked with Alistair so he knows I'm volunteering him.
      
      Signed-off-by: default avatarPalmer Dabbelt <palmer@sifive.com>
    • Dayeol Lee's avatar
      target/riscv/pmp.c: pmpcfg_csr_read returns bogus value on RV64 · 4a9b31b8
      Dayeol Lee authored
      
      pmp_read_cfg() returns 8-bit value, which is combined together to form a single pmpcfg CSR.
      The default promotion rules will result in an integer here ("i*8" is integer, which
      flows through) resulting in a 32-bit signed value on most hosts.
      That's bogus on RV64I, with the high bits of the CSR being wrong.
      
      Signed-off-by: default avatarDayeol Lee <dayeol@berkeley.edu>
      Reviewed-by: default avatarPalmer Dabbelt <palmer@sifive.com>
      Reviewed-by: default avatarAlistair Francis <alistair.francis@wdc.com>
      Signed-off-by: default avatarPalmer Dabbelt <palmer@sifive.com>
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/vivier2/tags/qemu-trivial-for-3.1-pull-request' into staging · a2e002ff
      Peter Maydell authored
      
      QEMU trivial patches collected between June and October 2018
      (Thank you to Thomas Huth)
      
      v2: fix 32bit build with updated patch (v3) from Philippe Mathieu-Daudé
          built in a 32bit debian sid chroot
      
      # gpg: Signature made Tue 30 Oct 2018 11:23:01 GMT
      # gpg:                using RSA key F30C38BD3F2FBE3C
      # gpg: Good signature from "Laurent Vivier <lvivier@redhat.com>"
      # gpg:                 aka "Laurent Vivier <laurent@vivier.eu>"
      # gpg:                 aka "Laurent Vivier (Red Hat) <lvivier@redhat.com>"
      # Primary key fingerprint: CD2F 75DD C8E3 A4DC 2E4F  5173 F30C 38BD 3F2F BE3C
      
      * remotes/vivier2/tags/qemu-trivial-for-3.1-pull-request:
        milkymist-minimac2: Use qemu_log_mask(GUEST_ERROR) instead of error_report
        ppc: move at24c to its own CONFIG_ symbol
        hw/intc/gicv3: Remove useless parenthesis around DIV_ROUND_UP macro
        hw/pci-host: Remove useless parenthesis around DIV_ROUND_UP macro
        tests/bios-tables-test: Remove an useless cast
        xen: Use the PCI_DEVICE macro
        qobject: Catch another straggler for use of qdict_put_str()
        configure: Support pkg-config for zlib
        tests: Fix typos in comments and help message (found by codespell)
        cpu.h: fix a typo in comment
        linux-user: fix comment s/atomic_write/atomic_set/
        qemu-iotests: make 218 executable
        scripts/qemu.py: remove trailing quotes on docstring
        scripts/decodetree.py: remove unused imports
        docs/devel/testing.rst: add missing newlines after code block
        qemu-iotests: fix filename containing checks
        tests/tcg/README: fix location for lm32 tests
        memory.h: fix typos in comments
        vga_int: remove unused function protype
        configs/alpha: Remove unused CONFIG_PARALLEL_ISA switch
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      a2e002ff
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/jnsnow/tags/bitmaps-pull-request' into staging · 3f328549
      Peter Maydell authored
      
      Pull request
      
      # gpg: Signature made Mon 29 Oct 2018 21:24:08 GMT
      # gpg:                using RSA key 7DEF8106AAFC390E
      # gpg: Good signature from "John Snow (John Huston) <jsnow@redhat.com>"
      # Primary key fingerprint: FAEB 9711 A12C F475 812F  18F2 88A9 064D 1835 61EB
      #      Subkey fingerprint: F9B7 ABDB BCAC DF95 BE76  CBD0 7DEF 8106 AAFC 390E
      
      * remotes/jnsnow/tags/bitmaps-pull-request:
        iotests: 169: add cases for source vm resuming
        iotests: improve 169
        dirty-bitmaps: clean-up bitmaps loading and migration logic
        bitmap: Update count after a merge
        nbd: forbid use of frozen bitmaps
        block/backup: prohibit backup from using in use bitmaps
        block/dirty-bitmaps: prohibit enable/disable on locked/frozen bitmaps
        block/dirty-bitmaps: allow clear on disabled bitmaps
        block/dirty-bitmaps: fix merge permissions
        block/dirty-bitmaps: add user_locked status checker
        bloc/qcow2: drop dirty_bitmaps_loaded state variable
        block/qcow2: improve error message in qcow2_inactivate
        iotests: 169: drop deprecated 'autoload' parameter
        qapi: add transaction support for x-block-dirty-bitmap-merge
        blockdev: rename block-dirty-bitmap-clear transaction handlers
        dirty-bitmap: make it possible to restore bitmap after merge
        dirty-bitmap: rename bdrv_undo_clear_dirty_bitmap
        dirty-bitmap: switch assert-fails to errors in bdrv_merge_dirty_bitmap
        blockdev-backup: add bitmap argument
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      3f328549
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/kraxel/tags/usb-20181029-pull-request' into staging · e8b38d73
      Peter Maydell authored
      
      usb: fixes for ohci and smart card emulation.
      
      # gpg: Signature made Mon 29 Oct 2018 20:02:34 GMT
      # gpg:                using RSA key 4CB6D8EED3E87138
      # 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/usb-20181029-pull-request:
        hw: ccid-card-emulated: cleanup resource when realize in error path
        hw: ccid-card-emulated: introduce clean_event_notifier
        usb: ohci: make num_ports to an unsinged integer
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      e8b38d73
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/amarkovic/tags/mips-queue-october-2018-part-4' into staging · 0bbba166
      Peter Maydell authored
      
      MIPS queue for October 2018, part 4
      
      # gpg: Signature made Mon 29 Oct 2018 15:11:32 GMT
      # gpg:                using RSA key D4972A8967F75A65
      # gpg: Good signature from "Aleksandar Markovic <amarkovic@wavecomp.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: 8526 FBF1 5DA3 811F 4A01  DD75 D497 2A89 67F7 5A65
      
      * remotes/amarkovic/tags/mips-queue-october-2018-part-4: (27 commits)
        linux-user: Add prctl() PR_SET_FP_MODE and PR_GET_FP_MODE implementations
        linux-user: Determine the desired FPU mode from MIPS.abiflags
        linux-user: Read and set FP ABI value from MIPS abiflags
        linux-user: Extract MIPS abiflags from ELF file
        linux-user: Extend image_info struct with MIPS fp_abi and interp_fp_abi fields
        elf: Define MIPS_ABI_FP_UNKNOWN macro
        target/mips: Amend MXU ASE overview note
        target/mips: Move MXU_EN check one level higher
        target/mips: Add emulation of MXU instructions S32LDD and S32LDDR
        target/mips: Add emulation of MXU instructions Q8MUL and Q8MULSU
        target/mips: Add emulation of MXU instruction D16MAC
        target/mips: Add emulation of MXU instruction D16MUL
        target/mips: Add emulation of MXU instruction S8LDD
        target/mips: Move MUL, S32M2I, S32I2M handling out of main MXU switch
        target/mips: Add emulation of MXU instructions S32I2M and S32M2I
        target/mips: Add emulation of non-MXU MULL within MXU decoding engine
        target/mips: Add bit encoding for MXU operand getting pattern 'optn3'
        target/mips: Add bit encoding for MXU operand getting pattern 'optn2'
        target/mips: Add bit encoding for MXU execute add/sub pattern 'eptn2'
        target/mips: Add bit encoding for MXU accumulate add/sub 2-bit pattern 'aptn2'
        ...
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      0bbba166
    • Philippe Mathieu-Daudé's avatar
      milkymist-minimac2: Use qemu_log_mask(GUEST_ERROR) instead of error_report · 7b2b797c
      Philippe Mathieu-Daudé authored
      
      qemu_log_mask(GUEST_ERROR) is more appropriate:
      
        $ qemu -d help
        Log items (comma separated):
        guest_errors    log when the guest OS does something invalid (eg accessing a non-existent register)
      
      Signed-off-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
      Acked-by: default avatarMichael Walle <michael@walle.cc>
      Message-Id: <20181029130034.26750-1-f4bug@amsat.org>
      Signed-off-by: default avatarLaurent Vivier <laurent@vivier.eu>
      7b2b797c
    • Paolo Bonzini's avatar
      ppc: move at24c to its own CONFIG_ symbol · b3b76272
      Paolo Bonzini authored
      
      AT24c EEPROM is currently gated by CONFIG_I2C, and as such it is
      being included in all emulators that use I2C, even if they do not
      really need it.  Separate it and, since it was added for the e500
      machines, add it to qemu-system-ppc and qemu-system-ppc64.
      
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      Reviewed-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
      Reviewed-by: default avatarThomas Huth <thuth@redhat.com>
      Message-Id: <20180522191743.12872-1-pbonzini@redhat.com>
      [lv: rebase]
      Signed-off-by: default avatarLaurent Vivier <laurent@vivier.eu>
      b3b76272
  2. Oct 29, 2018
Loading