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>