commit | 3e9b022942ab251e1e54ab88127c1c7c7e3203b1 | [log] [tgz] |
---|---|---|
author | Fuad Tabba <tabba@google.com> | Mon Nov 11 16:47:50 2019 +0000 |
committer | Fuad Tabba <tabba@google.com> | Fri Nov 15 10:51:08 2019 +0000 |
tree | 411543af00cdd71e6690fff5e84604a43b50803a | |
parent | 8e14e44e6049e6da560be63015dd2e69426a4720 [diff] |
Inject an exception into EL1 instead of panicking for unsupported MSRs When accessing an unsupported, undefined, or deliberately blocked system register, inject an exception into the EL1 of the VM instead of panicking. Exception Class (EC) 0x0 is used, because it applies to accessing a system register that is either not allocated or not permitted. See Arm Architecture Reference Manual Armv8-A, page D13-2924. Added a basic unit test for this, which I plan to expand to ensure that other protected system registers inject exceptions. Bug: 140916188 Change-Id: Idaf3c420bdd5a4b5e1d77000c6f850476dc3acc6
Hafnium is a hypervisor, initially supporting aarch64 (64-bit ARMv8 CPUs).
Get in touch and keep up-to-date at hafnium-discuss@googlegroups.com.
To jump in and build Hafnium, follow the getting started instructions.
If you want to contribute to the project, see details of how we accept contributions.
More documentation is available on: