From 5141a134642c36d2fd9a912d364f0637c8e1dc4d Mon Sep 17 00:00:00 2001 From: Junjie Mao Date: Wed, 15 Jun 2022 21:40:18 +0800 Subject: [PATCH] config_tools: clean up RDT-related assertions The following issues are witnessed in the RDT assertions in XML schema rdt_support.xsd: * Some assertions still check data in vcpu_clos nodes which no longer exist today because of the refinement of how RDT is configured. * For those that still hold, acrn:severity and acrn:report-on are not stated, which prevents the validation activity from reporting failures against them. This patch drops the assertions that no longer make sense today and add ACRN-specific attributes to those that still hold. Tracked-On: #6690 Signed-off-by: Junjie Mao --- .../schema/checks/rdt_support.xsd | 56 ++----------------- 1 file changed, 6 insertions(+), 50 deletions(-) diff --git a/misc/config_tools/schema/checks/rdt_support.xsd b/misc/config_tools/schema/checks/rdt_support.xsd index befc64831..93ba3f91f 100644 --- a/misc/config_tools/schema/checks/rdt_support.xsd +++ b/misc/config_tools/schema/checks/rdt_support.xsd @@ -6,71 +6,27 @@ - + Hypervisor Virtual Cache Allocation Technology may be enabled only when hypervisor Code and Data Prioritization is disabled. - + VM Virtual Cache Allocation Technology may be enabled only when hypervisor Virtual Cache Allocation Technology is enabled. - - - CLOSID 0 is reserved for the hypervisor and may not be used as a vcpu_clos by a VM. - - - - - - Each clos/vcpu_clos must be less than L2/L3 CLOS_MAX. - - - - - - A VM's clos/vcpu_clos settings may not contain duplicate values. - - - - - - When Virtual Cache Allocation Technology is enabled, CLOS IDs may not overlap between any VMs. - - - - + The Service VM may not use LAPIC passthrough unless hypervisor Nested Virtualization is enabled. - + The hypervisor Intel Resource Director Technology and Software SRAM settings may not be enabled at the same time. @@ -78,7 +34,7 @@ - + The physical software SRAM region may not overlap with pre-defined regions in any VM. When a pre-launched RTVM is enabled, the physical software SRAM is allocated to it at the same guest physical