From 5bc55d352fecea1de1dcaa711a263a13a8ea1c66 Mon Sep 17 00:00:00 2001 From: Chenli Wei Date: Thu, 26 May 2022 17:39:06 +0800 Subject: [PATCH] misc: refine clos and vCAT element The current UI "Maximum virtual CLOS" above the "VM Virtual Cache Allocation Tech", it's not user-friendly, and the clos element was not used by vCAT feature. This patch move the "virtual_cat_number" element and remove the unused node from schema. Tracked-On: #6690 Signed-off-by: Chenli Wei --- misc/config_tools/schema/VMtypes.xsd | 17 ----------------- misc/config_tools/schema/config.xsd | 16 +++++----------- .../config_tools/xforms/vm_configurations.c.xsl | 12 ++++++------ 3 files changed, 11 insertions(+), 34 deletions(-) diff --git a/misc/config_tools/schema/VMtypes.xsd b/misc/config_tools/schema/VMtypes.xsd index 6d2a05b0b..6f16f571a 100644 --- a/misc/config_tools/schema/VMtypes.xsd +++ b/misc/config_tools/schema/VMtypes.xsd @@ -68,23 +68,6 @@ - - - - - By default (``virtual_cat_support`` is not specified): -vcpu_clos is per-CPU and it configures each CPU in VMs to a desired CLOS ID in the ``VM`` section of the -scenario file. Follow :ref:`rdt_detection_capabilities` to identify the maximum supported CLOS ID that can be used. - -If ``virtual_cat_support`` is specified: -vcpu_clos is not per-CPU anymore, just a list of physical CLOSIDs (minimum 2) that are assigned to VMs -for vCAT use. Each vcpu_clos will be mapped to a virtual CLOSID, the first vcpu_clos is mapped to virtual -CLOSID 0 and the second is mapped to virtual CLOSID 1, etc. - - - - - diff --git a/misc/config_tools/schema/config.xsd b/misc/config_tools/schema/config.xsd index d9815dbe4..a65460c49 100644 --- a/misc/config_tools/schema/config.xsd +++ b/misc/config_tools/schema/config.xsd @@ -357,6 +357,11 @@ Refer to :ref:`vuart_config` for detailed vUART settings. Enable nested virtualization for KVM. + + + Enable virtualization of the Cache Allocation Technology (CAT) feature in RDT. CAT enables you to allocate cache to VMs, providing isolation to avoid performance interference from other VMs. + + Max number of virtual CLOS MASK @@ -370,11 +375,6 @@ Refer to :ref:`vuart_config` for detailed vUART settings. - - - Enable virtualization of the Cache Allocation Technology (CAT) feature in RDT. CAT enables you to allocate cache to VMs, providing isolation to avoid performance interference from other VMs. - - Specify secure world support for trusty OS. @@ -390,12 +390,6 @@ Refer to :ref:`vuart_config` for detailed vUART settings. Specify TPM2 FIXUP for VM. - - - Class of Service for Cache Allocation Technology. -Refer SDM 17.19.2 for details, and use with caution. - - Specify the Intel Software Guard Extensions (SGX) enclave page cache (EPC) section settings. diff --git a/misc/config_tools/xforms/vm_configurations.c.xsl b/misc/config_tools/xforms/vm_configurations.c.xsl index b2741741d..2a6ea08d0 100644 --- a/misc/config_tools/xforms/vm_configurations.c.xsl +++ b/misc/config_tools/xforms/vm_configurations.c.xsl @@ -106,7 +106,7 @@ - + @@ -176,14 +176,14 @@ - + - + - - + + - +