Skip to content

dev(timer): timer tests cleanup and rework#390

Merged
chetan-rathore merged 2 commits into
ARM-software:mainfrom
SrikarJosyula:main
May 6, 2026
Merged

dev(timer): timer tests cleanup and rework#390
chetan-rathore merged 2 commits into
ARM-software:mainfrom
SrikarJosyula:main

Conversation

@SrikarJosyula
Copy link
Copy Markdown
Contributor

  • Resolves: Add ACS Test Coverage for RS_L5TI_01 (System Counter 1GHz Requirement) #252
  • CNTFRQ_EL0 cannot be relied on to determine the base frequency
  • Drop timer tests t006 and t007 along with their declarations and entry IDs.
  • Remove the related rule-to-test mappings and direct execution hooks from BSA/SBSA paths.
  • Add new timer test t006 for S_L5TI_01 to verify that the OS-visible generic counter reports a 1GHz frequency through CNTFRQ_EL0
  • Add a platform time API for an independent timer source and use it as a sanity check against CNTPCT_EL0 progression
  • Update the testcase checklist and test scenario documents

 - CNTFRQ_EL0 cannot be relied on to determine the base frequency
 - Drop timer tests t006 and t007 along with their declarations and entry IDs.
 - Remove the related rule-to-test mappings and direct execution hooks from BSA/SBSA paths.
 - Clean up UEFI/CMake build inputs so the deleted timer tests are no longer referenced.
 - Update the testcase checklist and test scenario documents

Signed-off-by: Srikar Josyula <srikar.josyula@arm.com>
Change-Id: Ib0a1822db4d569829132d2adf68998770b0c47ef
 - Add timer test t006 for S_L5TI_01 to verify that the OS-visible generic counter reports a 1GHz frequency through CNTFRQ_EL0
 - Add a platform time API for an independent timer source and use it as a sanity check against CNTPCT_EL0 progression
 - Include the new test into SBSA rule metadata, timer execution, UEFI build files, CMake test lists, and the SBSA checklist
 - Add UEFI ACPI/DT implementations using GetTime and baremetal stubs for RD platforms

Signed-off-by: Srikar Josyula <srikar.josyula@arm.com>
Change-Id: I553fbdde5804312ba556601d4d4dce3421d2068f
@chetan-rathore chetan-rathore merged commit b44c042 into ARM-software:main May 6, 2026
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add ACS Test Coverage for RS_L5TI_01 (System Counter 1GHz Requirement)

2 participants