HV: RDT: add CDP support in ACRN

CDP is an extension of CAT. It enables isolation and separate prioritization of
code and data fetches to the L2 or L3 cache in a software configurable manner,
depending on hardware support.

This commit adds a Kconfig switch "CDP_ENABLED" which depends on "RDT_ENABLED".
CDP will be enabled if the capability available and "CDP_ENABLED" is selected.

Tracked-On: #4604
Signed-off-by: Yan, Like <like.yan@intel.com>
Reviewed-by: Vijay Dhanraj <vijay.dhanraj@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
Yan, Like
2020-04-09 10:49:00 +08:00
committed by wenlingz
parent 277c668b04
commit 869ccb7ba8
4 changed files with 41 additions and 12 deletions

View File

@@ -248,6 +248,15 @@ config RDT_ENABLED
various amount of HW resources such as L2 or/and L3 to VMs to achieve
different Class of Service (COS, or CLOS).
config CDP_ENABLED
bool "Enable CDP (Code and Data Prioritization)"
depends on RDT_ENABLED
default n
help
CDP is an extension of CAT. It enables isolation and separate
prioritization of code and data fetches to the L2 or L3 cache in a
software configurable manner, depending on hardware support.
config GPU_SBDF
hex "Segment, Bus, Device, and function of the GPU"
depends on ACPI_PARSE_ENABLED