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
12 changes: 6 additions & 6 deletions apps/baremetal/acs.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@
#define SIZE_4K 0x1000

#define BSA_ACS_MAJOR_VER 1
#define BSA_ACS_MINOR_VER 1
#define BSA_ACS_SUBMINOR_VER 2
#define BSA_ACS_MINOR_VER 2
#define BSA_ACS_SUBMINOR_VER 0

#define SBSA_ACS_MAJOR_VER 7
#define SBSA_ACS_MINOR_VER 2
#define SBSA_ACS_SUBMINOR_VER 4
#define SBSA_ACS_MAJOR_VER 8
#define SBSA_ACS_MINOR_VER 0
#define SBSA_ACS_SUBMINOR_VER 0
#define SBSA_FR_LEVEL 0x8

#define PC_BSA_ACS_MAJOR_VER 1
Expand Down Expand Up @@ -59,7 +59,7 @@

#define G_SBSA_LEVEL 4
#define SBSA_MIN_LEVEL_SUPPORTED 3
#define SBSA_MAX_LEVEL_SUPPORTED 7
#define SBSA_MAX_LEVEL_SUPPORTED 8

/*******************************************************************************
* Used to align variables on the biggest cache line size in the platform.
Expand Down
4 changes: 2 additions & 2 deletions apps/linux/bsa-acs-app/include/bsa_app.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@


#define BSA_APP_VERSION_MAJOR 1
#define BSA_APP_VERSION_MINOR 1
#define BSA_APP_VERSION_SUBMINOR 2
#define BSA_APP_VERSION_MINOR 2
#define BSA_APP_VERSION_SUBMINOR 0

#define G_SW_OS 0
#define G_SW_HYP 1
Expand Down
4 changes: 2 additions & 2 deletions apps/linux/pcbsa-acs-app/include/pcbsa_app.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@


/* PC BSA Release versions */
#define PC_BSA_APP_VERSION_MAJOR 0
#define PC_BSA_APP_VERSION_MINOR 8
#define PC_BSA_APP_VERSION_MAJOR 1
#define PC_BSA_APP_VERSION_MINOR 0
#define PC_BSA_APP_VERSION_SUBMINOR 0

#define PCBSA_MIN_LEVEL_SUPPORTED 1
Expand Down
8 changes: 4 additions & 4 deletions apps/linux/sbsa-acs-app/include/sbsa_app.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@
#define __SBSA_APP_LINUX_H__


#define SBSA_APP_VERSION_MAJOR 7
#define SBSA_APP_VERSION_MINOR 2
#define SBSA_APP_VERSION_SUBMINOR 4
#define SBSA_APP_VERSION_MAJOR 8
#define SBSA_APP_VERSION_MINOR 0
#define SBSA_APP_VERSION_SUBMINOR 0

#define SBSA_MIN_LEVEL_SUPPORTED 3
#define SBSA_MAX_LEVEL_SUPPORTED 7
#define SBSA_MAX_LEVEL_SUPPORTED 8

#include "sbsa_drv_intf.h"

Expand Down
12 changes: 6 additions & 6 deletions apps/uefi/acs.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@

/* BSA Release versions */
#define BSA_ACS_MAJOR_VER 1
#define BSA_ACS_MINOR_VER 1
#define BSA_ACS_SUBMINOR_VER 2
#define BSA_ACS_MINOR_VER 2
#define BSA_ACS_SUBMINOR_VER 0

/* SBSA Release versions */
#define SBSA_ACS_MAJOR_VER 7
#define SBSA_ACS_MINOR_VER 2
#define SBSA_ACS_SUBMINOR_VER 4
#define SBSA_ACS_MAJOR_VER 8
#define SBSA_ACS_MINOR_VER 0
#define SBSA_ACS_SUBMINOR_VER 0

/* PC BSA Release versions */
#define PC_BSA_ACS_MAJOR_VER 1
Expand Down Expand Up @@ -73,7 +73,7 @@

#define G_SBSA_LEVEL 4
#define SBSA_MIN_LEVEL_SUPPORTED 3
#define SBSA_MAX_LEVEL_SUPPORTED 7
#define SBSA_MAX_LEVEL_SUPPORTED 8

#define G_PCBSA_LEVEL 1
#define PCBSA_MIN_LEVEL_SUPPORTED 1
Expand Down
9 changes: 5 additions & 4 deletions docs/bsa/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,16 @@ A subset runs from Linux via a BSA ACS user-space application and its kernel mod
Tests can also run in a bare-metal environment. Initialization of the bare-metal environment is platform-specific and out of scope for this document.

## Release details
- **Latest release version:** v1.1.2
- **Execution levels:** Pre-Silicon and Silicon.
- **Scope:** The compliance suite is **not** a substitute for design verification.
- **Access to logs:** Arm licensees can contact Arm through their partner managers.
- **Latest release version:** v1.2.0
- **Execution levels:** Pre-Silicon and Silicon.
- **Scope:** The compliance suite is **not** a substitute for design verification.
- **Access to logs:** Arm licensees can contact Arm through their partner managers.

#### BSA ACS version mapping

| BSA ACS Version | BSA Tag ID | BSA Spec Version | Pre-Si Support |
|:-------------------:|:-------------------:|:----------------:|------------------:|
| v1.2.0 | v25.12_BSA_1.2.0 | BSA v1.2 | Yes |
| v1.1.2 | v25.10_BSA_1.1.2 | BSA v1.1 | Yes |
| v1.1.0 | v25.03_REL1.1.0 | BSA v1.1 | Yes |
| v1.0.9 | v24.11_REL1.0.9 | BSA v1.1 | Yes |
Expand Down
12 changes: 4 additions & 8 deletions docs/pc_bsa/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
For more information, please refer the [PC-BSA specification](https://developer.arm.com/documentation/den0151/latest).

## Release Details
- Code Quality: BETA
- Code Quality: EAC
- The tests are written for version 1.0 of the PC BSA specification.
- For more details on tests implemented in this release, Please refer [PC-BSA Test Scenario Document](arm_pc-bsa_architecture_compliance_test_scenario.pdf).

Expand Down Expand Up @@ -103,7 +103,7 @@ Choose the verbosity level.

#### -skip
Overrides the suite to skip the execution of a particular
test. For example, <i>-skip 10</i> skips test 10.
test. For example, <i>-skip B_PE_01</i> skips test B_PE_01.

#### -f (Only for UEFI application)
Save the test output into a file in secondary storage. For example <i>-f pc_bsa.log</i> creates a file pc_bsa.log with test output.
Expand All @@ -116,9 +116,9 @@ Displays all available command-line arguments and their usage.

### UEFI example

Shell> PC_Bsa.efi -v 1 -skip 15,20,30 -f pcbsa_uefi.log
Shell> PC_Bsa.efi -v 1 -skip B_PE_01,B_GIC_02 -f pcbsa_uefi.log

Runs PCBSA ACS with verbosity INFO, skips test 15, 20 and 30 and saves the test results in <i>pcbsa_uefi.log</i>.
Runs PCBSA ACS with verbosity INFO, skips test B_PE_01 and B_GIC_02 and saves the test results in <i>pcbsa_uefi.log</i>.

## PC BSA Linux Application

Expand Down Expand Up @@ -222,10 +222,6 @@ PC_bsa.efi # Launch the PC BSA test
## Guidance on running SCT testcase
- PC-BSA rules `P_L1NV_01` and `P_L1SE_01` requires [VariableServicesTest](https://github.com/tianocore/edk2-test/tree/master/uefi-sct/SctPkg/TestCase/UEFI/EFI/RuntimeServices/VariableServices/BlackBoxTest) SCT test to be run for compliance check. Please refer to [BBR ACS User Guide](https://github.com/ARM-software/bbr-acs/blob/main/README.md) for instructions to build and run SCT test suite. see the [SCT User Guide](http://www.uefi.org/testtools)for instructions on choosing and running individual testcase from UEFI Shell.

## Guidance on running Bsa Uefi Coverage
- Rule **P_L1_01** is covered by BSA ACS. Compliance requires running Bsa.efi. Refer to the [BSA ACS README](../../README.md#bsa-architecture-compliance-suite) for instructions to build and run Bsa.efi from the UEFI Shell.


## Limitations

- The PC BSA tests are distributed across various ACS components, including SCT tests, UEFI-based tests, and a Linux-based test. To achieve complete validation, all test suites must be executed. Additionally, some rules require manual verification by the DUT owner, for these rules compliance must be manually declared to confirm PC BSA compliance for the DUT. see the [PC BSA testcase checklist](../../docs/pc_bsa/arm_pc-bsa_testcase_checklist.rst) for rules not testable by ACS.
Expand Down
9 changes: 5 additions & 4 deletions docs/sbsa/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,18 @@ A few tests are executed by running the SBSA ACS Linux application which in turn
The tests can also be executed in a Bare-metal environment. The initialization of the Bare-metal environment is specific to the environment and is out of scope of this document.

## Release details
- **Latest release version:** v7.2.2
- **Execution levels:** Pre-Silicon and Silicon.
- **Scope:** The compliance suite is **not** a substitute for design verification.
- **Access to logs:** Arm licensees can contact Arm through their partner managers.
- **Latest release version:** v8.0.0
- **Execution levels:** Pre-Silicon and Silicon.
- **Scope:** The compliance suite is **not** a substitute for design verification.
- **Access to logs:** Arm licensees can contact Arm through their partner managers.
- For complete coverage of the SBSA rules, availability of an Exerciser is required for Exerciser tests to be run during verficiation at Pre-Silicon level.
- For complete coverage, both SBSA and BSA ACS should be run.

#### SBSA ACS version mapping
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| SBSA Spec Version | ACS Coverage Mapping | SBSA ACS Version | SBSA Tag ID | BSA ACS Version | BSA Tag ID | Pre-Si Support |
|-----------------------|:------------------------:|:--------------------:|:--------------------------:|:-------------------:|:---------------------------:|:--------------------:|
| SBSA v8.0 | BSA ACS + SBSA ACS | v8.0.0 | v25.12_SBSA_8.0.0 | v1.2.0 | v25.12_BSA_1.2.0 | Yes |
| SBSA v7.2 | BSA ACS + SBSA ACS | v7.2.2 | v25.03_REL7.2.2 | v1.1.0 | v25.03_REL1.1.0 | Yes |
| SBSA v7.2 | BSA ACS + SBSA ACS | v7.2.1 | v24.11_REL7.2.1 | v1.0.9 | v24.11_REL1.0.9 | Yes |
| SBSA v7.1 | BSA ACS + SBSA ACS | v7.2.0 BETA-0 | v24.03_REL7.2.0_BETA-0 | v1.0.8 | v24.03_SBSA_REL7.2.0_BETA-0 | Yes |
Expand Down