Skip to content
Snippets Groups Projects
  1. May 17, 2023
  2. Apr 29, 2023
    • Richard Henderson's avatar
      Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging · 7c18f2d6
      Richard Henderson authored
      * Fix compilation issues under Debian 10
      * Update kernel headers to 6.3rc5
      * Suppress GCC13 false positive in aio_bh_poll()
      * Add new x86 feature bits
      * Coverity fixes
      * More steps towards removing qatomic_mb_set/read
      * Fix reduced-phys-bits value for AMD SEV
      
      # -----BEGIN PGP SIGNATURE-----
      #
      # iQFIBAABCAAyFiEE8TM4V0tmI4mGbHaCv/vSX3jHroMFAmRNC0IUHHBib256aW5p
      # QHJlZGhhdC5jb20ACgkQv/vSX3jHroNo0wgArWNGKZpbmQ0e5L6ajMvaaPmg4mVL
      # a2SJGU0TwTp0fUgZr14z2iwzIpSqQrsqhzTIAzOTs0OICDBPBuNvnRucMa+SVQGO
      # Tc89YAwBVDo66dAKhWi+WR9tx7sTFCso0nbsBfczzdnwAw3g1MJ87Ueqc5tlPGBK
      # E7YSAD6l4UuogoN5BLU7bSsG/X7bwcyzeUXRB4ik+Z9abWd4DH9qiROnBKLMmBLK
      # nAi47h8b8MltWORpO+wf6HtkMKi37SAzl9VLHVuHcRhIdY/JhWCRhYSo0HXhgX66
      # JLVkyxFpIndT0dUW/xnqATGez92FRZyTxHbxbAcWM0SoC1jOVfUXB+7Gdw==
      # =vxou
      # -----END PGP SIGNATURE-----
      # gpg: Signature made Sat 29 Apr 2023 01:19:14 PM BST
      # gpg:                using RSA key F13338574B662389866C7682BFFBD25F78C7AE83
      # gpg:                issuer "pbonzini@redhat.com"
      # gpg: Good signature from "Paolo Bonzini <bonzini@gnu.org>" [undefined]
      # gpg:                 aka "Paolo Bonzini <pbonzini@redhat.com>" [undefined]
      # 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: 46F5 9FBD 57D6 12E7 BFD4  E2F7 7E15 100C CD36 69B1
      #      Subkey fingerprint: F133 3857 4B66 2389 866C  7682 BFFB D25F 78C7 AE83
      
      * tag 'for-upstream' of https://gitlab.com/bonzini/qemu
      
      :
        cpus-common: stop using mb_set/mb_read
        async: Suppress GCC13 false positive in aio_bh_poll()
        tests: vhost-user-test: release mutex on protocol violation
        Update linux headers to v6.3rc5
        update-linux-headers.sh: Add missing kernel headers.
        Fix libvhost-user.c compilation.
        target/i386: Add support for PREFETCHIT0/1 in CPUID enumeration
        target/i386: Add support for AVX-NE-CONVERT in CPUID enumeration
        target/i386: Add support for AVX-VNNI-INT8 in CPUID enumeration
        target/i386: Add support for AVX-IFMA in CPUID enumeration
        target/i386: Add support for AMX-FP16 in CPUID enumeration
        target/i386: Add support for CMPCCXADD in CPUID enumeration
        i386/cpu: Update how the EBX register of CPUID 0x8000001F is set
        i386/sev: Update checks and information related to reduced-phys-bits
        qemu-options.hx: Update the reduced-phys-bits documentation
        qapi, i386/sev: Change the reduced-phys-bits value from 5 to 1
      
      Signed-off-by: default avatarRichard Henderson <richard.henderson@linaro.org>
      7c18f2d6
    • Paolo Bonzini's avatar
      cpus-common: stop using mb_set/mb_read · 42abcc58
      Paolo Bonzini authored
      
      Use a store-release at the end of the work item, and a load-acquire when
      waiting for the item to be completed.  This is the standard message passing
      pattern and is both enough and clearer than mb_read/mb_set.
      
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      42abcc58
    • Cédric Le Goater's avatar
      async: Suppress GCC13 false positive in aio_bh_poll() · d66ba6dc
      Cédric Le Goater authored
      
      GCC13 reports an error :
      
      ../util/async.c: In function ‘aio_bh_poll’:
      include/qemu/queue.h:303:22: error: storing the address of local variable ‘slice’ in ‘*ctx.bh_slice_list.sqh_last’ [-Werror=dangling-pointer=]
        303 |     (head)->sqh_last = &(elm)->field.sqe_next;                          \
            |     ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
      ../util/async.c:169:5: note: in expansion of macro ‘QSIMPLEQ_INSERT_TAIL’
        169 |     QSIMPLEQ_INSERT_TAIL(&ctx->bh_slice_list, &slice, next);
            |     ^~~~~~~~~~~~~~~~~~~~
      ../util/async.c:161:17: note: ‘slice’ declared here
        161 |     BHListSlice slice;
            |                 ^~~~~
      ../util/async.c:161:17: note: ‘ctx’ declared here
      
      But the local variable 'slice' is removed from the global context list
      in following loop of the same routine. Add a pragma to silent GCC.
      
      Cc: Stefan Hajnoczi <stefanha@redhat.com>
      Cc: Paolo Bonzini <pbonzini@redhat.com>
      Cc: Daniel P. Berrangé <berrange@redhat.com>
      Signed-off-by: default avatarCédric Le Goater <clg@redhat.com>
      Reviewed-by: default avatarDaniel Henrique Barboza <danielhb413@gmail.com>
      Reviewed-by: default avatarPhilippe Mathieu-Daudé <philmd@linaro.org>
      Reviewed-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      Reviewed-by: default avatarThomas Huth <thuth@redhat.com>
      Tested-by: default avatarDaniel Henrique Barboza <danielhb413@gmail.com>
      Message-Id: <20230420202939.1982044-1-clg@kaod.org>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      d66ba6dc
  3. Apr 28, 2023
Loading