qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] fd7613: hw/nvme: fix validation of ASQ and AC


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] fd7613: hw/nvme: fix validation of ASQ and ACQ
Date: Fri, 24 Sep 2021 07:05:09 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: fd761337aca5b55c133c3bec1b8bd4471cb9571a
      
https://github.com/qemu/qemu/commit/fd761337aca5b55c133c3bec1b8bd4471cb9571a
  Author: Klaus Jensen <k.jensen@samsung.com>
  Date:   2021-09-24 (Fri, 24 Sep 2021)

  Changed paths:
    M hw/nvme/ctrl.c
    M hw/nvme/trace-events

  Log Message:
  -----------
  hw/nvme: fix validation of ASQ and ACQ

Address 0x0 is a valid address. Fix the admin submission and completion
queue address validation to not error out on this.

Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Reviewed-by: Keith Busch <kbusch@kernel.org>


  Commit: 07a3dfa7c41a94788881b649518507610c727994
      
https://github.com/qemu/qemu/commit/07a3dfa7c41a94788881b649518507610c727994
  Author: Naveen Nagar <naveen.n1@samsung.com>
  Date:   2021-09-24 (Fri, 24 Sep 2021)

  Changed paths:
    M hw/nvme/ctrl.c
    M include/block/nvme.h

  Log Message:
  -----------
  hw/nvme: fix verification of select field in namespace attachment

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: Naveen Nagar <naveen.n1@samsung.com>
Signed-off-by: Klaus Jensen <k.jensen@samsung.com>


  Commit: c53a9a91021c2f57de9ab18393d0048bd0fe90c2
      
https://github.com/qemu/qemu/commit/c53a9a91021c2f57de9ab18393d0048bd0fe90c2
  Author: Pankaj Raghav <p.raghav@samsung.com>
  Date:   2021-09-24 (Fri, 24 Sep 2021)

  Changed paths:
    M hw/nvme/ctrl.c

  Log Message:
  -----------
  hw/nvme: Return error for fused operations

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: Pankaj Raghav <p.raghav@samsung.com>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Klaus Jensen <k.jensen@samsung.com>


  Commit: 73257aa02376829f724357094e252fc3e5dd1363
      
https://github.com/qemu/qemu/commit/73257aa02376829f724357094e252fc3e5dd1363
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2021-09-24 (Fri, 24 Sep 2021)

  Changed paths:
    M hw/nvme/ctrl.c
    M hw/nvme/trace-events
    M include/block/nvme.h

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/nvme/tags/nvme-next-pull-request' into 
staging

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: Peter Maydell <peter.maydell@linaro.org>


Compare: https://github.com/qemu/qemu/compare/2c3e83f92d93...73257aa02376



reply via email to

[Prev in Thread] Current Thread [Next in Thread]