soc/intel/cannonlake: Add VT-d and VMX programming

Add FSP option to enable/disable VT-d (Intel Virtualization Technology
for Directed I/O) and VMX (Virtual Machine Extensions), VMX will be
disabled once VT-d got disabled.

Bug=b:73655383
TEST=Build and flash image on meowth board with debug build FSP, in
serial log search for "VMXEnable" and "VtdDiable".

Change-Id: I589590450aa4b9302ee2f9bb7b879a332f50b73e
Signed-off-by: Lijian Zhao <lijian.zhao@intel.com>
Reviewed-on: https://review.coreboot.org/25118
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
Lijian Zhao
2018-03-12 18:05:53 -07:00
committed by Martin Roth
parent 32c3069fd7
commit 91c8e23e01
3 changed files with 13 additions and 0 deletions

View File

@@ -281,6 +281,10 @@ struct soc_intel_cannonlake_config {
/* Enable Pch iSCLK */
uint8_t pch_isclk;
/* Intel VT configuration */
uint8_t VtdDisable;
uint8_t VmxEnable;
};
typedef struct soc_intel_cannonlake_config config_t;