commit | d3ab8c355ca8b67f841f6286e587ece5496ab332 | [log] [tgz] |
---|---|---|
author | Raghu Krishnamurthy <raghu.ncstate@icloud.com> | Wed Feb 10 19:11:30 2021 -0800 |
committer | Olivier Deprez <olivier.deprez@arm.com> | Thu Sep 02 15:23:18 2021 +0200 |
tree | e16431e5a2c7194f3fe1e157d680de8fad2e7ca6 | |
parent | ec1b4914fb958f71c7880fe66b6261a13f38a2bb [diff] |
VHE: Update VM loading code to load and map EL0 partitions Updated load_secondary function to account for EL0 partitions. The main change is that all the EL0 partitions mappings need to be marked as user only and non-global. Also the hypervisor is mapped into the partitions page tables but unprivileged access is disabled to those mappings. This is required when crossing the boundary from EL0 to the hypervisor. Note that the amount of hypervisor memory mapped into the EL0 partitions page tables can be minimized to only contain the exception vectors but that is left as a future exercise. Change-Id: Ie4960c1e78855fd6e4e44565137238092dc173e8 Signed-off-by: Raghu Krishnamurthy <raghu.ncstate@gmail.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: