Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions docs/pc_bsa/arm_pc-bsa_testcase_checklist.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,16 @@ The checklist provides information about:
<td>Yes</td>
<td>No</td>
</tr>
<tr>
<td>32</td>
<td>Check for addr authentication support</td>
<td>2</td>
<td>MHCBW</td>
<td>Yes</td>
<td>Yes</td>
<td>Yes</td>
<td>No</td>
</tr>
<tr>
<td>36</td>
<td>Check for nested virtualization</td>
Expand Down
4 changes: 4 additions & 0 deletions test_pool/pe/pe032.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@
#include "val_interface.h"

#define TEST_NUM (ACS_PE_TEST_NUM_BASE + 32)
#ifdef PC_BSA
#define TEST_RULE "MHCBW"
#else
#define TEST_RULE "S_L5PE_02"
#endif
#define TEST_DESC "Check for addr authentication support "

static void payload(void)
Expand Down
1 change: 1 addition & 0 deletions tools/cmake/infra/pc_bsa_test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ pe026.c
pe028.c
pe029.c
pe030.c
pe032.c
pe036.c
pe040.c
pe048.c
Expand Down
1 change: 1 addition & 0 deletions val/include/rule_based_execution_enum.h
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ typedef enum {
P_L1PE_06,
P_L1PE_07,
P_L1PE_08,
MHCBW,
YKRHG,
CNBRV,
PBCRQ,
Expand Down
1 change: 1 addition & 0 deletions val/src/rule_enum_string_map.c
Original file line number Diff line number Diff line change
Expand Up @@ -483,6 +483,7 @@ char *rule_id_string[RULE_ID_SENTINEL] = {
[P_L1PE_06] = "P_L1PE_06",
[P_L1PE_07] = "P_L1PE_07",
[P_L1PE_08] = "P_L1PE_08",
[MHCBW] = "MHCBW",
[YKRHG] = "YKRHG",
[CNBRV] = "CNBRV",
[PBCRQ] = "PBCRQ",
Expand Down
1 change: 1 addition & 0 deletions val/src/rule_lookup.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ const pcbsa_rule_entry_t pcbsa_rule_list[] = {
{ P_L1PE_06, PCBSA_LEVEL_1 },
{ P_L1PE_07, PCBSA_LEVEL_1 },
{ P_L1PE_08, PCBSA_LEVEL_1 },
{ MHCBW, PCBSA_LEVEL_2},
{ YKRHG, PCBSA_LEVEL_2 },
{ CNBRV, PCBSA_LEVEL_2 },
{ PBCRQ, PCBSA_LEVEL_2 },
Expand Down
9 changes: 9 additions & 0 deletions val/src/rule_metadata.c
Original file line number Diff line number Diff line change
Expand Up @@ -2531,6 +2531,14 @@ rule_test_map_t rule_test_map[RULE_ID_SENTINEL] = {
.flag = BASE_RULE,
.test_num = ACS_PE_TEST_NUM_BASE + 30,
},
[MHCBW] = {
.test_entry_id = PE032_ENTRY,
.module_id = PE,
.rule_desc = "Check for addr and generic auth",
.platform_bitmask = PLATFORM_BAREMETAL | PLATFORM_UEFI,
.flag = BASE_RULE,
.test_num = ACS_PE_TEST_NUM_BASE + 32,
},
[YKRHG] = {
.test_entry_id = PE036_ENTRY,
.module_id = PE,
Expand Down Expand Up @@ -3981,6 +3989,7 @@ test_entry_fn_t test_entry_func_table[TEST_ENTRY_SENTINEL] = {
[PE028_ENTRY] = pe028_entry,
[PE029_ENTRY] = pe029_entry,
[PE030_ENTRY] = pe030_entry,
[PE032_ENTRY] = pe032_entry,
[PE036_ENTRY] = pe036_entry,
[PE040_ENTRY] = pe040_entry,
[PE048_ENTRY] = pe048_entry,
Expand Down
Loading