Skip to content
Snippets Groups Projects
  1. Sep 27, 2021
    • Markus Armbruster's avatar
      qapi: Convert simple union TpmTypeOptions to flat one · 39dc3e4a
      Markus Armbruster authored
      
      Simple unions predate flat unions.  Having both complicates the QAPI
      schema language and the QAPI generator.  We haven't been using simple
      unions in new code for a long time, because they are less flexible and
      somewhat awkward on the wire.
      
      To prepare for their removal, convert simple union TpmTypeOptions to
      an equivalent flat one, with existing enum TpmType replacing implicit
      enum TpmTypeOptionsKind.  Adds some boilerplate to the schema, which
      is a bit ugly, but a lot easier to maintain than the simple union
      feature.
      
      Cc: Stefan Berger <stefanb@linux.vnet.ibm.com>
      Signed-off-by: default avatarMarkus Armbruster <armbru@redhat.com>
      Acked-by: default avatarStefan Berger <stefanb@linux.ibm.com>
      Reviewed-by: default avatarEric Blake <eblake@redhat.com>
      Message-Id: <20210917143134.412106-6-armbru@redhat.com>
      [Indentation tidied up]
      39dc3e4a
  2. Sep 25, 2021
  3. Sep 24, 2021
    • Richard Henderson's avatar
      Merge remote-tracking branch 'remotes/rth/tags/pull-tcg-20210921' into staging · 11a11998
      Richard Henderson authored
      
      Move cpu_signal_handler declaration.
      Restrict cpu_handle_halt to sysemu.
      Make do_unaligned_access noreturn.
      Misc tcg/mips cleanup
      Misc tcg/sparc cleanup
      Misc tcg/riscv cleanup
      
      # gpg: Signature made Tue 21 Sep 2021 10:47:29 PM EDT
      # gpg:                using RSA key 7A481E78868B4DB6A85A05C064DF38E8AF7E215F
      # gpg:                issuer "richard.henderson@linaro.org"
      # gpg: Good signature from "Richard Henderson <richard.henderson@linaro.org>" [ultimate]
      
      * remotes/rth/tags/pull-tcg-20210921:
        tcg/riscv: Remove add with zero on user-only memory access
        hw/core: Make do_unaligned_access noreturn
        tcg/sparc: Introduce tcg_out_mov_delay
        tcg/sparc: Drop inline markers
        tcg/mips: Drop special alignment for code_gen_buffer
        tcg/mips: Unset TCG_TARGET_HAS_direct_jump
        tcg/mips: Allow JAL to be out of range in tcg_out_bswap_subr
        tcg/mips: Drop inline markers
        accel/tcg: Restrict cpu_handle_halt() to sysemu
        include/exec: Move cpu_signal_handler declaration
      
      Signed-off-by: default avatarRichard Henderson <richard.henderson@linaro.org>
      11a11998
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/vivier2/tags/linux-user-for-6.2-pull-request' into staging · e749ea24
      Peter Maydell authored
      
      Pull request linux-user 20210924
      
      Clean up siginfo_t handling for arm, aarch64
      
      # gpg: Signature made Fri 24 Sep 2021 14:56:12 BST
      # gpg:                using RSA key CD2F75DDC8E3A4DC2E4F5173F30C38BD3F2FBE3C
      # gpg:                issuer "laurent@vivier.eu"
      # gpg: Good signature from "Laurent Vivier <lvivier@redhat.com>" [full]
      # gpg:                 aka "Laurent Vivier <laurent@vivier.eu>" [full]
      # gpg:                 aka "Laurent Vivier (Red Hat) <lvivier@redhat.com>" [full]
      # Primary key fingerprint: CD2F 75DD C8E3 A4DC 2E4F  5173 F30C 38BD 3F2F BE3C
      
      * remotes/vivier2/tags/linux-user-for-6.2-pull-request:
        linux-user/aarch64: Use force_sig_fault()
        linux-user/arm: Use force_sig_fault()
        linux-user: Provide new force_sig_fault() function
        linux-user: Zero out target_siginfo_t in force_sig()
        linux-user/arm: Use force_sig() to deliver fpa11 emulation SIGFPE
        linux-user/arm: Set siginfo_t addr field for SIGTRAP signals
        linux-user/aarch64: Set siginfo_t addr field for SIGTRAP signals
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      e749ea24
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/nvme/tags/nvme-next-pull-request' into staging · 73257aa0
      Peter Maydell authored
      
      hw/nvme updates
      
      # gpg: Signature made Fri 24 Sep 2021 07:44:23 BST
      # gpg:                using RSA key 522833AA75E2DCE6A24766C04DE1AF316D4F0DE9
      # gpg: Good signature from "Klaus Jensen <its@irrelevant.dk>" [unknown]
      # gpg:                 aka "Klaus Jensen <k.jensen@samsung.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: DDCA 4D9C 9EF9 31CC 3468  4272 63D5 6FC5 E55D A838
      #      Subkey fingerprint: 5228 33AA 75E2 DCE6 A247  66C0 4DE1 AF31 6D4F 0DE9
      
      * remotes/nvme/tags/nvme-next-pull-request:
        hw/nvme: Return error for fused operations
        hw/nvme: fix verification of select field in namespace attachment
        hw/nvme: fix validation of ASQ and ACQ
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      73257aa0
    • Pankaj Raghav's avatar
      hw/nvme: Return error for fused operations · c53a9a91
      Pankaj Raghav authored
      
      Currently, FUSED operations are not supported by QEMU. As per the 1.4 SPEC,
      controller should abort the command that requested a fused operation with
      an INVALID FIELD error code if they are not supported.
      
      Changes from v1:
      Added FUSE flag check also to the admin cmd processing as the FUSED
      operations are mentioned in the general SQE section in the SPEC.
      
      Signed-off-by: default avatarPankaj Raghav <p.raghav@samsung.com>
      Reviewed-by: default avatarKeith Busch <kbusch@kernel.org>
      Signed-off-by: default avatarKlaus Jensen <k.jensen@samsung.com>
      c53a9a91
    • Naveen Nagar's avatar
      hw/nvme: fix verification of select field in namespace attachment · 07a3dfa7
      Naveen Nagar authored
      
      Fix is added to check for reserved value in select field for
      namespace attachment
      
      CC: Minwoo Im <minwoo.im.dev@gmail.com>
      Signed-off-by: default avatarNaveen Nagar <naveen.n1@samsung.com>
      Signed-off-by: default avatarKlaus Jensen <k.jensen@samsung.com>
      07a3dfa7
    • Klaus Jensen's avatar
      hw/nvme: fix validation of ASQ and ACQ · fd761337
      Klaus Jensen authored
      
      Address 0x0 is a valid address. Fix the admin submission and completion
      queue address validation to not error out on this.
      
      Signed-off-by: default avatarKlaus Jensen <k.jensen@samsung.com>
      Reviewed-by: default avatarKeith Busch <kbusch@kernel.org>
      fd761337
  4. Sep 23, 2021
  5. Sep 22, 2021
  6. Sep 21, 2021
Loading