mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-04 23:24:56 +00:00
On some boards it is seen that the log area of the physical TPM2 is programmed to be 0. If TPM2 is passed through to a pre-launched VM in such cases, a piece of memory starting from GPA 0 will be unmapped from the Service VM, leading to Service VM crash due to early BIOS corruption checks. This patch temporarily disables TPM2 passthrough on such platforms. A thorough fix should be proposed later to gracefully handle such cases. Tracked-On: #6288 Signed-off-by: Junjie Mao <junjie.mao@intel.com>