Skip to content

Commit

Permalink
Add description for DDA mode
Browse files Browse the repository at this point in the history
Signed-off-by: Jiewen Yao <jiewen.yao@intel.com>
  • Loading branch information
jyao1 committed Jan 23, 2024
1 parent dd1fb84 commit 613b2d3
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions specification/07-theory_operations.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,25 @@ by the ROT.
.PCIe Root Port IDE Key Management through Hardware Root-of-Trust
image::images/rp_rot_idekm.svg[align="center"]

=== Device Initialization

A device may require special initialization before it can act correctly in
confidential computing mode. This initialization work should be done by device
specific software, also known as device driver. The location of the device
driver may depend on how the device is assigned to a TVM.

In single root I/O virtualization (SR-IOV) mode, the host VMM owns the device
physical function (PF) and the TVM owns the device virtual function (VF). The
TDI is the device VF. The device initialization should happen in the host device
driver in the VMM.

In discrete device assignment (DDA) mode, the entire physical device is
assigned to a TVM. The TDI is the entire device. The device initialization may
happen in the guest device driver in TVM. The host VMM does not include any
device driver. In this case, the VMM should ensure that the guest device driver
does the initialization before VMM triggers any common confidential computing
flow, such as SPDM session establishment or IDE key management.

=== SPDM Transport

SPDM is the main transport protocol for securely setting both the RP and the
Expand Down

0 comments on commit 613b2d3

Please sign in to comment.