Skip to content
This repository was archived by the owner on Aug 25, 2025. It is now read-only.

Add support for PE timers in E2H state.#505

Closed
NicholasGraves wants to merge 2 commits intoARM-software:mainfrom
NicholasGraves:ngraves/save-e2h
Closed

Add support for PE timers in E2H state.#505
NicholasGraves wants to merge 2 commits intoARM-software:mainfrom
NicholasGraves:ngraves/save-e2h

Conversation

@NicholasGraves
Copy link
Contributor

In when the effective value of HCR_EL2.E2H = 1, the PE timers must be accessed through their respective EL2 registers instead of EL0 registers.

See section D8.13.1 of ARM DDI 0487, Arm Architecture Reference Manual for A-profile architecture.

rajatgoyal47 and others added 2 commits June 18, 2025 16:30
Change-Id: Ib85c25126f4c5ea74daa2a5bd7ca391cce5cbaf3
Signed-off-by: Rajat Goyal <Rajat.Goyal@arm.com>
When EL2 host is enabled, access the EL2 TVAL and CTL registers instead
of the EL0 registers.

Change-Id: I6c9b7c7bd8a4a9a23c0ff7590c5b10ba4b799d5c
Signed-off-by: Nick Graves <nicholasgraves@google.com>
@chetan-rathore
Copy link
Collaborator

Thanks @NicholasGraves for the PR.

The PR has been migrated to the new repository sysarch-acs and successfully merged

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants