acrn-hypervisor/hypervisor/arch/x86
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
..
boot hv: Let trampoline execution use 1GB pages 2019-10-28 13:44:32 +08:00
configs hv: CAT is supposed to be enabled in the system level 2020-02-17 08:51:59 +08:00
guest hv: rename VECTOR_XXX and XXX_IRQ Macros 2020-01-14 10:21:23 +08:00
lib
seed hv: fixed by replace ull to ul. 2019-10-31 09:02:59 +08:00
cat.c hv: CAT is supposed to be enabled in the system level 2020-02-17 08:51:59 +08:00
cpu_caps.c hv: support xsave in context switch 2019-12-02 09:31:12 +08:00
cpu_state_tbl.c HV: add board specific cpu state table to support Px Cx 2019-07-29 20:25:16 +08:00
cpu.c hv: CAT is supposed to be enabled in the system level 2020-02-17 08:51:59 +08:00
e820.c hv: rename the ACRN_DBG_XXX 2020-01-14 10:21:23 +08:00
gdt.c
idt.S HV: Install a NMI handler in acrn IDT 2019-12-13 10:13:09 +08:00
init.c hv: enable early pr_xxx() logs 2020-02-11 08:53:56 +08:00
ioapic.c hv: rename the ACRN_DBG_XXX 2020-01-14 10:21:23 +08:00
irq.c hv: rename VECTOR_XXX and XXX_IRQ Macros 2020-01-14 10:21:23 +08:00
Kconfig hv: CAT is supposed to be enabled in the system level 2020-02-17 08:51:59 +08:00
lapic.c HV: clean up redundant macro in lapic.h 2019-12-27 12:27:08 +08:00
mmu.c hv:refine 'uint64_t' string print format in comm moudle 2019-11-09 11:42:38 +08:00
notify.c hv: fix pcpu_id mask issue in smp_call_function() 2020-01-17 09:20:53 +08:00
page.c hv: ept: build 4KB page mapping in EPT for RTVM for MCE on PSC 2019-12-03 09:17:04 +08:00
pagetable.c hv: rename the ACRN_DBG_XXX 2020-01-14 10:21:23 +08:00
pm.c pm: S5: update the system shutdown logical in ACRN 2019-12-23 15:15:09 +08:00
sched.S hv: sched: rename schedule related structs and vars 2019-10-16 10:25:53 +08:00
security.c hv: config: add an option to disable mce on psc workaround 2019-12-03 09:17:04 +08:00
sgx.c
timer.c hv: enable early pr_xxx() logs 2020-02-11 08:53:56 +08:00
trampoline.c hv: refine 'uint64_t' string print format in x86 moudle 2019-11-09 11:42:38 +08:00
vmx.c hv:fix "no prototype for non-static function" 2019-07-09 10:36:03 +08:00
vtd.c hv: rename the ACRN_DBG_XXX 2020-01-14 10:21:23 +08:00
wakeup.S hv: pm: correct the function name 2019-09-11 17:30:24 +08:00