[PATCH] hw/ufs: Fix incorrect comment for segment_size and allocation_unit_size

2025-04-04 Thread Keoseong Park
. This patch updates the comments to reflect the correct size. Signed-off-by: Keoseong Park --- hw/ufs/ufs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/ufs/ufs.c b/hw/ufs/ufs.c index ee13edacd8..542f13b10e 100644 --- a/hw/ufs/ufs.c +++ b/hw/ufs/ufs.c @@ -1753,8 +1753,8

[PATCH 2/2] tests/qtest/ufs-test: Add test code for the temperature feature

2025-02-24 Thread Keoseong Park
This commit adds tests to verify the correctness of query attribute results related to the temperature feature. It ensures that querying temperature attributes returns expected values. Signed-off-by: Keoseong Park --- tests/qtest/ufs-test.c | 24 1 file changed, 24

[PATCH 1/2] hw/ufs: Add temperature event notification support

2025-02-24 Thread Keoseong Park
temperature exception events during testing and development within the emulated environment. This enhances validation and debugging capabilities for thermal event handling in UFS implementations. Signed-off-by: Keoseong Park --- hw/ufs/ufs.c| 78

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

2025-02-24 Thread Keoseong Park
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

[PATCH v2] hw/ufs: Adjust value to match CPU's endian format

2025-01-07 Thread Keoseong Park
g fixes related to ufs-test") Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Keoseong Park --- hw/ufs/ufs.c | 2 +- tests/qtest/ufs-test.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/ufs/ufs.c b/hw/ufs/ufs.c index 8d26d13791..428fe927ad 100644 ---

[PATCH] hw/ufs: Adjust value to match CPU's endian format

2025-01-06 Thread Keoseong Park
In ufs_write_attr_value(), the value parameter is handled in the CPU's endian format but provided in big-endian format by the caller. Thus, it is converted accordingly. Signed-off-by: Keoseong Park --- hw/ufs/ufs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/ufs/