Skip to content

Commit

Permalink
Fix for issue ARM-software#262: Removing test 840 as it is removed fr…
Browse files Browse the repository at this point in the history
…om Spec

- The spec is updated to remove this from BSA and now part
  of SBSA specification

Signed-off-by: Gowtham Siddarth <gowtham.siddarth@arm.com>
  • Loading branch information
Gowtham Siddarth authored and Sujana-M committed May 28, 2024
1 parent 23433ca commit de27d76
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 85 deletions.
2 changes: 0 additions & 2 deletions docs/arm_bsa_testcase_checklist.rst
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,6 @@ The below table provides the following details
+-------+--------------------------------------------+------------------------------------------------------------+-----+-----+-----+-----+----------+-----+-------------------+
|839 |Check MSI support for PCIe dev |PCI_MSI_01 |Yes |Yes |Yes |Yes |Yes |No |No |
+-------+--------------------------------------------+------------------------------------------------------------+-----+-----+-----+-----+----------+-----+-------------------+
|840 |PCIe RC,PE - Same Inr Shareable Domain |PCI_IC_11 |Yes |Yes |Yes |Yes |Yes |No |No |
+-------+--------------------------------------------+------------------------------------------------------------+-----+-----+-----+-----+----------+-----+-------------------+
|842 |PASID support atleast 16 bits |PCI_PAS_1 |Yes |Yes |Yes |Yes |Yes |No |No |
+-------+--------------------------------------------+------------------------------------------------------------+-----+-----+-----+-----+----------+-----+-------------------+
|861 |PCIe Unaligned access |PCI_MM_01, PCI_MM_02, PCI_MM_03 |Yes |Yes |Yes |Yes# |Yes |Yes |No |
Expand Down
76 changes: 0 additions & 76 deletions test_pool/pcie/operating_system/test_os_p040.c

This file was deleted.

1 change: 0 additions & 1 deletion uefi_app/BsaAcs.inf
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@
../test_pool/pcie/operating_system/test_os_p037.c
../test_pool/pcie/operating_system/test_os_p038.c
../test_pool/pcie/operating_system/test_os_p039.c
../test_pool/pcie/operating_system/test_os_p040.c
../test_pool/pcie/operating_system/test_os_p042.c
../test_pool/smmu/operating_system/test_os_i001.c
../test_pool/smmu/operating_system/test_os_i002.c
Expand Down
1 change: 0 additions & 1 deletion uefi_app/BsaAcsMem.inf
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@
../test_pool/pcie/operating_system/test_os_p037.c
../test_pool/pcie/operating_system/test_os_p038.c
../test_pool/pcie/operating_system/test_os_p039.c
../test_pool/pcie/operating_system/test_os_p040.c
../test_pool/pcie/operating_system/test_os_p042.c
../test_pool/smmu/operating_system/test_os_i001.c
../test_pool/smmu/operating_system/test_os_i002.c
Expand Down
1 change: 0 additions & 1 deletion val/bsa/include/bsa_acs_pcie.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ uint32_t os_p036_entry(uint32_t num_pe);
uint32_t os_p037_entry(uint32_t num_pe);
uint32_t os_p038_entry(uint32_t num_pe);
uint32_t os_p039_entry(uint32_t num_pe);
uint32_t os_p040_entry(uint32_t num_pe);
uint32_t os_p041_entry(uint32_t num_pe);
uint32_t os_p042_entry(uint32_t num_pe);

Expand Down
1 change: 0 additions & 1 deletion val/bsa/src/bsa_execute_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,6 @@ val_bsa_pcie_execute_tests(uint32_t num_pe, uint32_t *g_sw_view)
status |= os_p037_entry(num_pe);
status |= os_p038_entry(num_pe);
status |= os_p039_entry(num_pe);
status |= os_p040_entry(num_pe);
status |= os_p042_entry(num_pe);

#endif
Expand Down
9 changes: 6 additions & 3 deletions val/sbsa/src/sbsa_execute_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -281,9 +281,12 @@ val_sbsa_pcie_execute_tests(uint32_t level, uint32_t num_pe)
#endif

#ifndef TARGET_LINUX
if (((level > 3) && (g_sbsa_only_level == 0)) || (g_sbsa_only_level == 4)) {
/* Only the test p062 will be run at L4+ with the test number (ACS_PER_TEST_NUM_BASE + 1) */
status = p062_entry(num_pe);
if (((level > 2) && (g_sbsa_only_level == 0)) || (g_sbsa_only_level == 3))
status |= p040_entry(num_pe);

if (((level > 3) && (g_sbsa_only_level == 0)) || (g_sbsa_only_level == 4)) {
/* Only the test p062 will be run at L4+ with the test number (ACS_PER_TEST_NUM_BASE + 1) */
status = p062_entry(num_pe);
}
#endif

Expand Down

0 comments on commit de27d76

Please sign in to comment.