commit | dd6fdfbe48bbc95ee19b3a506d3b551064101f95 | [log] [tgz] |
---|---|---|
author | Madhukar Pappireddy <madhukar.pappireddy@arm.com> | Tue Dec 14 12:30:36 2021 -0600 |
committer | Madhukar Pappireddy <madhukar.pappireddy@arm.com> | Thu Mar 17 16:58:37 2022 -0500 |
tree | 5de778d76d8ec8fb1381eefa53f930c938567829 | |
parent | 7ac49051878426163ef6c14f9dbf425a6733da5a [diff] |
fix(interrupts): save and restore priority mask To simplify secure interrupt handling, the threshold for interrupts was changed by modifying the priority mask without saving the current value of priority mask. This led to overriding of original priority mask. This patch performs save and restore of priority mask at appropriate times. Please note the current design makes the assumption that the target vCPU of a secure interrupt is pinned to the same physical CPU on which the secure interrupt triggered. The target vCPU has to be resumed on the current CPU in order for it to service the virtual interrupt. This design limitation simplifies the interrupt management implementation in SPMC. Change-Id: I8571cb81595080a0555346e075591234a78e510d Signed-off-by: Madhukar Pappireddy <madhukar.pappireddy@arm.com>
Hafnium is a hypervisor, initially supporting aarch64 (64-bit Armv8 CPUs).
Get in touch and keep up-to-date at hafnium@lists.trustedfirmware.org. See feature requests and bugs on our bug dashboard.
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: