All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] hw/ufs: Add Universal Flash Storage (UFS) support
       [not found] <CGME20230616065816epcms2p82787f1aeb410ec4b8ab6ffedb6edf4d2@epcms2p8>
@ 2023-06-16  6:58 ` Jeuk Kim
  2023-06-16  8:23   ` Stefan Hajnoczi
  0 siblings, 1 reply; 2+ messages in thread
From: Jeuk Kim @ 2023-06-16  6:58 UTC (permalink / raw)
  To: qemu-devel@nongnu.org
  Cc: kwolf@redhat.com, hreitz@redhat.com, pbonzini@redhat.com,
	fam@euphon.net, qemu-block@nongnu.org, Klaus Birkelund Jensen,
	stefanha@redhat.com

Since v1:
- use macros of "hw/registerfields.h" (Addressed Philippe's review comments)

This patch series adds support for a new PCI-based UFS device.

The UFS pci device id (PCI_DEVICE_ID_REDHAT_UFS) is not registered
in the Linux kernel yet, so it does not work right away, but I confirmed
that it works with Linux when the UFS pci device id is registered.

I have also verified that it works with Windows 10.

Jeuk Kim (3):
  hw/ufs: Initial commit for emulated Universal-Flash-Storage
  hw/ufs: Support for Query Transfer Requests
  hw/ufs: Support for UFS logical unit

 MAINTAINERS              |    6 +
 hw/Kconfig               |    1 +
 hw/meson.build           |    1 +
 hw/ufs/Kconfig           |    4 +
 hw/ufs/lu.c              | 1441 ++++++++++++++++++++++++++++++++++++
 hw/ufs/meson.build       |    1 +
 hw/ufs/trace-events      |   58 ++
 hw/ufs/trace.h           |    1 +
 hw/ufs/ufs.c             | 1511 ++++++++++++++++++++++++++++++++++++++
 hw/ufs/ufs.h             |  130 ++++
 include/block/ufs.h      | 1048 ++++++++++++++++++++++++++
 include/hw/pci/pci.h     |    1 +
 include/hw/pci/pci_ids.h |    1 +
 include/scsi/constants.h |    1 +
 meson.build              |    1 +
 15 files changed, 4206 insertions(+)
 create mode 100644 hw/ufs/Kconfig
 create mode 100644 hw/ufs/lu.c
 create mode 100644 hw/ufs/meson.build
 create mode 100644 hw/ufs/trace-events
 create mode 100644 hw/ufs/trace.h
 create mode 100644 hw/ufs/ufs.c
 create mode 100644 hw/ufs/ufs.h
 create mode 100644 include/block/ufs.h

-- 
2.34.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH v2 0/3] hw/ufs: Add Universal Flash Storage (UFS) support
  2023-06-16  6:58 ` [PATCH v2 0/3] hw/ufs: Add Universal Flash Storage (UFS) support Jeuk Kim
@ 2023-06-16  8:23   ` Stefan Hajnoczi
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Hajnoczi @ 2023-06-16  8:23 UTC (permalink / raw)
  To: Jeuk Kim
  Cc: qemu-devel@nongnu.org, kwolf@redhat.com, hreitz@redhat.com,
	pbonzini@redhat.com, fam@euphon.net, qemu-block@nongnu.org,
	Klaus Birkelund Jensen

[-- Attachment #1: Type: text/plain, Size: 2170 bytes --]

On Fri, Jun 16, 2023 at 03:58:16PM +0900, Jeuk Kim wrote:
> Since v1:
> - use macros of "hw/registerfields.h" (Addressed Philippe's review comments)
> 
> This patch series adds support for a new PCI-based UFS device.
> 
> The UFS pci device id (PCI_DEVICE_ID_REDHAT_UFS) is not registered
> in the Linux kernel yet, so it does not work right away, but I confirmed
> that it works with Linux when the UFS pci device id is registered.
> 
> I have also verified that it works with Windows 10.
> 
> Jeuk Kim (3):
>   hw/ufs: Initial commit for emulated Universal-Flash-Storage
>   hw/ufs: Support for Query Transfer Requests
>   hw/ufs: Support for UFS logical unit

For future patch series (no need to resend):

These patch emails are not threaded. Please use email threads so that CI
systems and patch management tools can easily identify which emails
belong together in a patch series:

  git send-email --thread --no-chain-reply-to ...

It is easiest to permanently set these options with:

  git config format.thread shallow
  git config sendemail.chainReplyTo false

Thanks,
Stefan

> 
>  MAINTAINERS              |    6 +
>  hw/Kconfig               |    1 +
>  hw/meson.build           |    1 +
>  hw/ufs/Kconfig           |    4 +
>  hw/ufs/lu.c              | 1441 ++++++++++++++++++++++++++++++++++++
>  hw/ufs/meson.build       |    1 +
>  hw/ufs/trace-events      |   58 ++
>  hw/ufs/trace.h           |    1 +
>  hw/ufs/ufs.c             | 1511 ++++++++++++++++++++++++++++++++++++++
>  hw/ufs/ufs.h             |  130 ++++
>  include/block/ufs.h      | 1048 ++++++++++++++++++++++++++
>  include/hw/pci/pci.h     |    1 +
>  include/hw/pci/pci_ids.h |    1 +
>  include/scsi/constants.h |    1 +
>  meson.build              |    1 +
>  15 files changed, 4206 insertions(+)
>  create mode 100644 hw/ufs/Kconfig
>  create mode 100644 hw/ufs/lu.c
>  create mode 100644 hw/ufs/meson.build
>  create mode 100644 hw/ufs/trace-events
>  create mode 100644 hw/ufs/trace.h
>  create mode 100644 hw/ufs/ufs.c
>  create mode 100644 hw/ufs/ufs.h
>  create mode 100644 include/block/ufs.h
> 
> -- 
> 2.34.1
> 

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-06-16  8:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CGME20230616065816epcms2p82787f1aeb410ec4b8ab6ffedb6edf4d2@epcms2p8>
2023-06-16  6:58 ` [PATCH v2 0/3] hw/ufs: Add Universal Flash Storage (UFS) support Jeuk Kim
2023-06-16  8:23   ` Stefan Hajnoczi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.