Skip to content

Commit

Permalink
fix(doc): add note regarding to MMIO mapping
Browse files Browse the repository at this point in the history
Signed-off-by: Diogo Costa <[email protected]>
  • Loading branch information
Diogo21Costa committed Dec 2, 2024
1 parent b778726 commit 0c360b5
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions source/bao_hyp/config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -483,6 +483,16 @@ where:
- ``iommu.fq_irq_id`` [mandatory if IOMMU is available] - the Fault Queue interrupt ID (the
current implementation assumes this is a wired interrupt);

.. note::

When mapping MMIO regions for guests, the memory regions associated with the GIC (Generic
Interrupt Controller) must be excluded. Mapping these regions can lead to conflicts or incorrect
behavior, as they are typically managed by Bao through trap-and-emulate mechanisms.

For instance, if a large MMIO range includes the GIC, the range should be split to create a
"hole" for the GIC. This ensures that GIC memory regions (or their equivalents in other
architectures, such as RISC-V) are not directly mapped into the guest's virtual address space.

CPU Affinity
************

Expand Down

0 comments on commit 0c360b5

Please sign in to comment.