projectacrn / acrn-hypervisor

Project ACRN hypervisor
BSD 3-Clause "New" or "Revised" License
1.12k stars 514 forks source link

TPM pass-thru for a pre-launched VM #6288

Closed NanlinXie closed 2 years ago

NanlinXie commented 3 years ago

The hypervisor shall support pass-thru TPM device to a pre-launched VM, with pre-condition: there is no DMA operation and interrupt are will be triggered by this TPM, and the start method is 6 (Memory mapped I/O interface) or 7 (Command Response Buffer Interface).

The pass-thru TPM device shall be with sets of page aligned MMIO resource, which must include its base MMIO and further may include its event log buffer.

NanlinXie commented 3 years ago

[External_System_ID] ACRN-6527

NanlinXie commented 3 years ago

Doc Impact Analysis:

NanlinXie commented 3 years ago

No doc needed, only board.xml need update, address allocation algrithom in configtool need update.