acrn-hypervisor/hypervisor/include
Zide Chen cc6f094926 hv: CAT is supposed to be enabled in the system level
In platforms that support CAT, when it is enabled by ACRN, i.e.
IA32_resourceType_MASK_n registers are programmed with customized values,
it has impacts to the whole system.

The per guest flag GUEST_FLAG_CLOS_REQUIRED suggests that CAT may be
enabled in some guests, but not in others who don't have this flag,
which is conceptually incorrect.

This patch removes GUEST_FLAG_CLOS_REQUIRED, and adds a new Kconfig
entry CAT_ENABLED for CAT enabling. When it's enabled, platform_clos_array[]
defines a set of system-wide Class of Service (COS, or CLOS), and the
per guest vm_configs[].clos associates the guest with particular CLOS.

Tracked-On: #2462
Signed-off-by: Zide Chen <zide.chen@intel.com>
2020-02-17 08:51:59 +08:00
..
arch/x86 hv: CAT is supposed to be enabled in the system level 2020-02-17 08:51:59 +08:00
common hv: remove depreciated code for hc_assign/deassign_ptdev 2020-01-08 11:54:49 +08:00
debug hv: rename the ACRN_DBG_XXX 2020-01-14 10:21:23 +08:00
dm hv: vpci: trap PCIe ECAM access for SOS 2020-01-07 16:05:30 +08:00
hw hv: vpci: trap PCIe ECAM access for SOS 2020-01-07 16:05:30 +08:00
lib hv: support xsave in context switch 2019-12-02 09:31:12 +08:00
public hv: CAT is supposed to be enabled in the system level 2020-02-17 08:51:59 +08:00