VHE: Tests: Add mailbox tests to EL0 partitions.

This patch adds the mailbox test suite from the primary_with_secondaries
test suite and applies it to EL0 partitions. Most of the tests remain
exactly the same, except the primary_to_secondary test. This particular
test injects interrupts into a VM, but since interrupt injection is not
allowed, we need to remove the code. The error code expected when the
partition uses a WFE or WFI is different for EL0 partitions as well,
since the partition just yields on use of WFE/WFI. The
echo_with_notification service is also modified to remove
interrupt/exception handling and any other dependencies on interrupts
since those dont apply to EL0 partitions.

Change-Id: I1a82990ed5abdcfc3f5e2e045cbbc3abf1563d49
Signed-off-by: Raghu Krishnamurthy <raghu.ncstate@gmail.com>
8 files changed
tree: e715b9cab4b2e69513bd9400fdf7f7f1d5cb6b7c
  1. .vscode/
  2. build/
  3. docs/
  4. driver/
  5. inc/
  6. kokoro/
  7. project/
  8. src/
  9. test/
  10. third_party/
  11. vmlib/
  12. .clang-format
  13. .clang-tidy
  14. .gitignore
  15. .gitmodules
  16. .gn
  17. AUTHORS
  18. BUILD.gn
  19. CONTRIBUTING.md
  20. dco.txt
  21. LICENSE
  22. Makefile
  23. navbar.md
  24. README.md
README.md

Hafnium

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.

Getting started

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.

Documentation

More documentation is available on: