[PATCH 0/2] hw/ufs: Add temperature event support and test cases

Keoseong Park posted 2 patches 1 month ago
hw/ufs/ufs.c           | 78 +++++++++++++++++++++++++++++++++++++++++-
hw/ufs/ufs.h           |  2 ++
include/block/ufs.h    | 13 ++++++-
tests/qtest/ufs-test.c | 24 +++++++++++++
4 files changed, 115 insertions(+), 2 deletions(-)
[PATCH 0/2] hw/ufs: Add temperature event support and test cases
Posted by Keoseong Park 1 month ago
This patch series introduces temperature event notification support in
the UFS emulation and adds corresponding test cases to validate the feature.

The first patch enables the UFS emulation to generate temperature-related 
events, including high and low temperature notifications, following the
UFS specification. This feature allows UFS drivers to handle temperature
exception events during testing and development, improving validation and
debugging capabilities for thermal event handling.

The second patch adds test cases to verify the correctness of query
attribute results related to the temperature feature. These tests ensure
that querying temperature attributes returns expected values, helping
to validate the implementation and maintain correctness in 
temperature-related operations.

Keoseong Park (2):
  hw/ufs: Add temperature event notification support
  tests/qtest/ufs-test: Add test code for the temperature feature

 hw/ufs/ufs.c           | 78 +++++++++++++++++++++++++++++++++++++++++-
 hw/ufs/ufs.h           |  2 ++
 include/block/ufs.h    | 13 ++++++-
 tests/qtest/ufs-test.c | 24 +++++++++++++
 4 files changed, 115 insertions(+), 2 deletions(-)

-- 
2.25.1
Re: [PATCH 0/2] hw/ufs: Add temperature event support and test cases
Posted by Philippe Mathieu-Daudé 4 weeks ago
On 25/2/25 07:40, Keoseong Park wrote:

> Keoseong Park (2):
>    hw/ufs: Add temperature event notification support
>    tests/qtest/ufs-test: Add test code for the temperature feature

Series queued, thanks!
Re: [PATCH 0/2] hw/ufs: Add temperature event support and test cases
Posted by Jeuk Kim 4 weeks, 1 day ago
On 2/25/2025 3:40 PM, Keoseong Park wrote:
> This patch series introduces temperature event notification support in
> the UFS emulation and adds corresponding test cases to validate the feature.
>
> The first patch enables the UFS emulation to generate temperature-related
> events, including high and low temperature notifications, following the
> UFS specification. This feature allows UFS drivers to handle temperature
> exception events during testing and development, improving validation and
> debugging capabilities for thermal event handling.
>
> The second patch adds test cases to verify the correctness of query
> attribute results related to the temperature feature. These tests ensure
> that querying temperature attributes returns expected values, helping
> to validate the implementation and maintain correctness in
> temperature-related operations.
>
> Keoseong Park (2):
>    hw/ufs: Add temperature event notification support
>    tests/qtest/ufs-test: Add test code for the temperature feature
>
>   hw/ufs/ufs.c           | 78 +++++++++++++++++++++++++++++++++++++++++-
>   hw/ufs/ufs.h           |  2 ++
>   include/block/ufs.h    | 13 ++++++-
>   tests/qtest/ufs-test.c | 24 +++++++++++++
>   4 files changed, 115 insertions(+), 2 deletions(-)


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