From c0e0c1a92afd5aec1e40fb236807204809dff735 Mon Sep 17 00:00:00 2001 From: Chenli Wei Date: Sat, 3 Sep 2022 01:43:50 +0800 Subject: [PATCH] misc: add assertion to check the CDP Enable The current code have not check whether all cache region has "Code and Data Prioritization", it's an issue for some platform which have only L2 or L3 "Code and Data Prioritization" capability. This patch add assertion to check whether all L2, L3 cache could be set CDP_ENABLE. Tracked-On: #6690 Signed-off-by: Chenli Wei --- misc/config_tools/schema/checks/rdt_support.xsd | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/misc/config_tools/schema/checks/rdt_support.xsd b/misc/config_tools/schema/checks/rdt_support.xsd index 93ba3f91f..a42a3ce2f 100644 --- a/misc/config_tools/schema/checks/rdt_support.xsd +++ b/misc/config_tools/schema/checks/rdt_support.xsd @@ -11,6 +11,14 @@ + + + Code and Data Prioritization can only be opened when all L2 and L3 cache region has 'CDP' capability. + + +