Skip to content

timer: add B_TIME_05 mapping and B_TIME_10 access test#392

Merged
chetan-rathore merged 1 commit into
ARM-software:mainfrom
amrathesh:user/amr01/PJ03206-1365
May 8, 2026
Merged

timer: add B_TIME_05 mapping and B_TIME_10 access test#392
chetan-rathore merged 1 commit into
ARM-software:mainfrom
amrathesh:user/amr01/PJ03206-1365

Conversation

@amrathesh
Copy link
Copy Markdown
Member

  • B_TIME_05 is implicitly covered by power wakeup tests, since PE timers are comparators against the system counter and depend on platform configuration allowing system counter visibility.
  • Add a dedicated t009.c payload for B_TIME_10 that probes Non-secure read access to CNTCTLBase.CNTTIDR and CNTBaseN.CNTPCT only.
  • Treat synchronous exceptions and SError during those reads as failures. Warn on zero firmware-reported frame bases and fail when no usable Non-secure system timer frame is available.
  • Wire the new timer entry into rule metadata, build lists and checklist.

Fixes: #263

Change-Id: I3da85c72364449e6b0e444b3c8258fa3360e0a2c

- B_TIME_05 is implicitly covered by power wakeup tests, since PE timers are comparators against the system counter and depend on platform configuration allowing system counter visibility.
- Add a dedicated t009.c payload for B_TIME_10 that probes Non-secure read access to CNTCTLBase.CNTTIDR and CNTBaseN.CNTPCT only.
- Treat synchronous exceptions and SError during those reads as failures. Warn on zero firmware-reported frame bases and fail when no usable Non-secure system timer frame is available.
- Wire the new timer entry into rule metadata, build lists and checklist.

Signed-off-by: Amrathesh <amrathesh@arm.com>
Change-Id: I3da85c72364449e6b0e444b3c8258fa3360e0a2c
@chetan-rathore chetan-rathore merged commit 152e2f1 into ARM-software:main May 8, 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.

bsa-acs : Update arm_bsa_testcase_checklist.md and create tests for B_TIME_05 and B_TIME_10, as they can be covered by wakeup and timer tests.

2 participants