From f04c5008c5a69316cdbd7e53072fff4b391f2603 Mon Sep 17 00:00:00 2001 From: Rajat Goyal Date: Mon, 14 Oct 2024 17:15:31 +0530 Subject: [PATCH] Fixes #488 : PE Test 21 (#491) - Test checks for all values >= 0b0010 Signed-off-by: Rajat Goyal --- test_pool/pe/operating_system/test_c021.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test_pool/pe/operating_system/test_c021.c b/test_pool/pe/operating_system/test_c021.c index 47173f20..4ce978f3 100644 --- a/test_pool/pe/operating_system/test_c021.c +++ b/test_pool/pe/operating_system/test_c021.c @@ -34,10 +34,10 @@ static void payload(void) return; } - /* Read ID_AA64MMFR1_EL1.HAFDBS[3:0] = 0b0010 For Hardware update supported */ + /* Read ID_AA64MMFR1_EL1.HAFDBS[3:0] >= 0b0010 For Hardware update supported */ data = VAL_EXTRACT_BITS(val_pe_reg_read(ID_AA64MMFR1_EL1), 0, 3); - if (data != 2) + if (data < 2) val_set_status(index, RESULT_FAIL(TEST_NUM, 01)); else val_set_status(index, RESULT_PASS(TEST_NUM, 01));