mbox series

[v2,0/4] hw/ufs: ufs device testing function added and modified

Message ID 20240822080846epcms1p122450de3fc0c0f8aa46db1ea00392c71@epcms1p1 (mailing list archive)
Headers show
Series hw/ufs: ufs device testing function added and modified | expand

Message

Yoochan Jeong Aug. 22, 2024, 8:08 a.m. UTC
Previously, it was only able to test virtual UFS devices if they properly
read and write storage data. In this patch, three test functions are added
to test if virtual UFS devices properly read and write its metadata.
Each functions test reading and writing flags, attributes and descriptors.
Related minor bugs and errors are also fixed.

Yoochan Jeong (4):
  hw/ufs: minor bug fixes related to ufs-test
  hw/ufs: ufs flag read/write test implemented
  hw/ufs: ufs attribute read/write test implemented
  hw/ufs: ufs descriptor read test implemented

 hw/ufs/ufs.c           |  19 +-
 include/block/ufs.h    |   6 +
 tests/qtest/ufs-test.c | 384 ++++++++++++++++++++++++++++++++++++++++-
 3 files changed, 400 insertions(+), 9 deletions(-)

Comments

Jeuk Kim Aug. 26, 2024, 12:06 a.m. UTC | #1
Thank you for your contribution.

Reviewed-by: Jeuk Kim <jeuk20.kim@samsung.com>


On 8/22/2024 5:08 PM, Yoochan Jeong wrote:
> Previously, it was only able to test virtual UFS devices if they properly
> read and write storage data. In this patch, three test functions are added
> to test if virtual UFS devices properly read and write its metadata.
> Each functions test reading and writing flags, attributes and descriptors.
> Related minor bugs and errors are also fixed.
>
> Yoochan Jeong (4):
>    hw/ufs: minor bug fixes related to ufs-test
>    hw/ufs: ufs flag read/write test implemented
>    hw/ufs: ufs attribute read/write test implemented
>    hw/ufs: ufs descriptor read test implemented
>
>   hw/ufs/ufs.c           |  19 +-
>   include/block/ufs.h    |   6 +
>   tests/qtest/ufs-test.c | 384 ++++++++++++++++++++++++++++++++++++++++-
>   3 files changed, 400 insertions(+), 9 deletions(-)
>