mbox series

[PULL] nvme emulation patches for 5.2

Message ID 20201102152747.GA28552@redsun51.ssa.fujisawa.hgst.com (mailing list archive)
State New, archived
Headers show
Series [PULL] nvme emulation patches for 5.2 | expand

Pull-request

git://git.infradead.org/qemu-nvme.git tags/pull-nvme-20201102

Message

Keith Busch Nov. 2, 2020, 3:27 p.m. UTC
Hi Peter,

We are sorting out Klaus' signature authentication this week, but in the
interest of timing, I've signed our pull request for this round.

The following changes since commit 1dc887329a10903940501b43e8c0cc67af7c06d5:

  Merge remote-tracking branch 'remotes/philmd-gitlab/tags/sd-next-20201026' into staging (2020-10-26 17:19:26 +0000)

are available in the Git repository at:

  git://git.infradead.org/qemu-nvme.git tags/pull-nvme-20201102

for you to fetch changes up to 843c8f91a7ad63f8f3e4e564d3f41f3d030ab8a9:

  hw/block/nvme: fix queue identifer validation (2020-10-27 11:29:25 +0100)

nvme emulation patches for 5.2

  - lots of cleanups
  - add support for scatter/gather lists
  - add support for multiple namespaces (adds new nvme-ns device)
  - change default pci vendor/device id
  - add support for per-namespace smart log

----------------------------------------------------------------
nvme pull 2 Nov 2020

----------------------------------------------------------------
Dmitry Fomichev (1):
      hw/block/nvme: report actual LBA data shift in LBAF

Gollu Appalanaidu (4):
      hw/block/nvme: add support for sgl bit bucket descriptor
      hw/block/nvme: fix prp mapping status codes
      hw/block/nvme: fix create IO SQ/CQ status codes
      hw/block/nvme: fix queue identifer validation

Keith Busch (5):
      hw/block/nvme: remove pointless rw indirection
      hw/block/nvme: fix log page offset check
      hw/block/nvme: support per-namespace smart log
      hw/block/nvme: validate command set selected
      hw/block/nvme: support for admin-only command set

Klaus Jensen (20):
      hw/block/nvme: fix typo in trace event
      pci: pass along the return value of dma_memory_rw
      hw/block/nvme: handle dma errors
      hw/block/nvme: commonize nvme_rw error handling
      hw/block/nvme: alignment style fixes
      hw/block/nvme: add a lba to bytes helper
      hw/block/nvme: fix endian conversion
      hw/block/nvme: add symbolic command name to trace events
      hw/block/nvme: refactor aio submission
      hw/block/nvme: default request status to success
      hw/block/nvme: harden cmb access
      hw/block/nvme: add support for scatter gather lists
      hw/block/nvme: refactor identify active namespace id list
      hw/block/nvme: support multiple namespaces
      pci: allocate pci id for nvme
      hw/block/nvme: change controller pci id
      hw/block/nvme: update nsid when registered
      hw/block/nvme: reject io commands if only admin command set selected
      hw/block/nvme: add nsid to get/setfeat trace events
      hw/block/nvme: add trace event for requests with non-zero status code

 MAINTAINERS            |   1 +
 docs/specs/nvme.txt    |  23 ++
 docs/specs/pci-ids.txt |   1 +
 hw/block/meson.build   |   2 +-
 hw/block/nvme-ns.c     | 168 +++++++++
 hw/block/nvme-ns.h     |  74 ++++
 hw/block/nvme.c        | 915 +++++++++++++++++++++++++++++++++++--------------
 hw/block/nvme.h        |  83 ++++-
 hw/block/trace-events  |  32 +-
 hw/core/machine.c      |   1 +
 include/block/nvme.h   |  18 +-
 include/hw/pci/pci.h   |   4 +-
 12 files changed, 1022 insertions(+), 300 deletions(-)
 create mode 100644 docs/specs/nvme.txt
 create mode 100644 hw/block/nvme-ns.c
 create mode 100644 hw/block/nvme-ns.h

Comments

Philippe Mathieu-Daudé Nov. 2, 2020, 3:43 p.m. UTC | #1
On 11/2/20 4:27 PM, Keith Busch wrote:
> Hi Peter,
> 
> We are sorting out Klaus' signature authentication this week, but in the
> interest of timing, I've signed our pull request for this round.
> 
> The following changes since commit 1dc887329a10903940501b43e8c0cc67af7c06d5:
> 
>   Merge remote-tracking branch 'remotes/philmd-gitlab/tags/sd-next-20201026' into staging (2020-10-26 17:19:26 +0000)
> 
> are available in the Git repository at:
> 
>   git://git.infradead.org/qemu-nvme.git tags/pull-nvme-20201102
> 
> for you to fetch changes up to 843c8f91a7ad63f8f3e4e564d3f41f3d030ab8a9:
> 
>   hw/block/nvme: fix queue identifer validation (2020-10-27 11:29:25 +0100)
> 

FYI this part ...

> nvme emulation patches for 5.2
> 
>   - lots of cleanups
>   - add support for scatter/gather lists
>   - add support for multiple namespaces (adds new nvme-ns device)
>   - change default pci vendor/device id
>   - add support for per-namespace smart log
> 
> ----------------------------------------------------------------
> nvme pull 2 Nov 2020

... goes here, this is the tag part committed (the part before
the --- mark is removed).

> ----------------------------------------------------------------
> Dmitry Fomichev (1):
>       hw/block/nvme: report actual LBA data shift in LBAF
> 
> Gollu Appalanaidu (4):
>       hw/block/nvme: add support for sgl bit bucket descriptor
>       hw/block/nvme: fix prp mapping status codes
>       hw/block/nvme: fix create IO SQ/CQ status codes
>       hw/block/nvme: fix queue identifer validation
> 
> Keith Busch (5):
>       hw/block/nvme: remove pointless rw indirection
>       hw/block/nvme: fix log page offset check
>       hw/block/nvme: support per-namespace smart log
>       hw/block/nvme: validate command set selected
>       hw/block/nvme: support for admin-only command set
> 
> Klaus Jensen (20):
>       hw/block/nvme: fix typo in trace event
>       pci: pass along the return value of dma_memory_rw
>       hw/block/nvme: handle dma errors
>       hw/block/nvme: commonize nvme_rw error handling
>       hw/block/nvme: alignment style fixes
>       hw/block/nvme: add a lba to bytes helper
>       hw/block/nvme: fix endian conversion
>       hw/block/nvme: add symbolic command name to trace events
>       hw/block/nvme: refactor aio submission
>       hw/block/nvme: default request status to success
>       hw/block/nvme: harden cmb access
>       hw/block/nvme: add support for scatter gather lists
>       hw/block/nvme: refactor identify active namespace id list
>       hw/block/nvme: support multiple namespaces
>       pci: allocate pci id for nvme
>       hw/block/nvme: change controller pci id
>       hw/block/nvme: update nsid when registered
>       hw/block/nvme: reject io commands if only admin command set selected
>       hw/block/nvme: add nsid to get/setfeat trace events
>       hw/block/nvme: add trace event for requests with non-zero status code
> 
>  MAINTAINERS            |   1 +
>  docs/specs/nvme.txt    |  23 ++
>  docs/specs/pci-ids.txt |   1 +
>  hw/block/meson.build   |   2 +-
>  hw/block/nvme-ns.c     | 168 +++++++++
>  hw/block/nvme-ns.h     |  74 ++++
>  hw/block/nvme.c        | 915 +++++++++++++++++++++++++++++++++++--------------
>  hw/block/nvme.h        |  83 ++++-
>  hw/block/trace-events  |  32 +-
>  hw/core/machine.c      |   1 +
>  include/block/nvme.h   |  18 +-
>  include/hw/pci/pci.h   |   4 +-
>  12 files changed, 1022 insertions(+), 300 deletions(-)
>  create mode 100644 docs/specs/nvme.txt
>  create mode 100644 hw/block/nvme-ns.c
>  create mode 100644 hw/block/nvme-ns.h
> 
>
Peter Maydell Nov. 2, 2020, 8:29 p.m. UTC | #2
On Mon, 2 Nov 2020 at 15:27, Keith Busch <kbusch@kernel.org> wrote:
>
> Hi Peter,
>
> We are sorting out Klaus' signature authentication this week, but in the
> interest of timing, I've signed our pull request for this round.
>
> The following changes since commit 1dc887329a10903940501b43e8c0cc67af7c06d5:
>
>   Merge remote-tracking branch 'remotes/philmd-gitlab/tags/sd-next-20201026' into staging (2020-10-26 17:19:26 +0000)
>
> are available in the Git repository at:
>
>   git://git.infradead.org/qemu-nvme.git tags/pull-nvme-20201102
>
> for you to fetch changes up to 843c8f91a7ad63f8f3e4e564d3f41f3d030ab8a9:
>
>   hw/block/nvme: fix queue identifer validation (2020-10-27 11:29:25 +0100)
>
> nvme emulation patches for 5.2
>
>   - lots of cleanups
>   - add support for scatter/gather lists
>   - add support for multiple namespaces (adds new nvme-ns device)
>   - change default pci vendor/device id
>   - add support for per-namespace smart log
>
> ----------------------------------------------------------------
> nvme pull 2 Nov 2020
>
> ----------------------------------------------------------------


Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/5.2
for any user-visible changes.

-- PMM