mbox series

[0/3] Support for Zoned UFS

Message ID 20231208060902epcms2p3810b29fefbddaf16a7f3f2758cf218ba@epcms2p3
Headers show
Series Support for Zoned UFS | expand

Message

Daejun Park Dec. 8, 2023, 6:09 a.m. UTC
This patch enables zoned support for UFS devices.
By applying this patch, a QEMU run can use parameters to configure whether
each LU of each UFS is zoned, and the capacity, size, and max open zones.
Zoned UFS is implemented by referencing ZBC2. 
(https://www.t10.org/members/w_zbc2.htm)

Daejun Park (3):
  hw/ufs: Support for Zoned UFS
  hw/scsi: add mode sense support for zbc device
  tests/qtest: Add tests for Zoned UFS

 hw/scsi/scsi-disk.c    |  13 +-
 hw/ufs/lu.c            | 616 +++++++++++++++++++++++++++++++++++++++++
 hw/ufs/ufs.c           |   6 +-
 hw/ufs/ufs.h           |  32 +++
 include/block/ufs.h    |  31 +++
 tests/qtest/ufs-test.c | 178 ++++++++++++
 6 files changed, 870 insertions(+), 6 deletions(-)

Comments

Jeuk Kim Dec. 12, 2023, 4:40 a.m. UTC | #1
I've already done all the ufs related review.


If the SCSI maintainers approve this patchset, I'll put it in my tree 
and create a pull request.


Thank you,

Jeuk


On 12/8/2023 3:09 PM, Daejun Park wrote:
> This patch enables zoned support for UFS devices.
> By applying this patch, a QEMU run can use parameters to configure whether
> each LU of each UFS is zoned, and the capacity, size, and max open zones.
> Zoned UFS is implemented by referencing ZBC2.
> (https://www.t10.org/members/w_zbc2.htm)
>
> Daejun Park (3):
>    hw/ufs: Support for Zoned UFS
>    hw/scsi: add mode sense support for zbc device
>    tests/qtest: Add tests for Zoned UFS
>
>   hw/scsi/scsi-disk.c    |  13 +-
>   hw/ufs/lu.c            | 616 +++++++++++++++++++++++++++++++++++++++++
>   hw/ufs/ufs.c           |   6 +-
>   hw/ufs/ufs.h           |  32 +++
>   include/block/ufs.h    |  31 +++
>   tests/qtest/ufs-test.c | 178 ++++++++++++
>   6 files changed, 870 insertions(+), 6 deletions(-)
>