Skip to content

Commit 68be66b

Browse files
gaojiaqi7jyao1
authored andcommitted
policy: operation of svn should be greater-or-equal
Signed-off-by: Jiaqi Gao <[email protected]>
1 parent 9295d99 commit 68be66b

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

config/policy_pre_production_fmspc.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1285,7 +1285,7 @@
12851285
"reference": 2
12861286
},
12871287
"ISVSVN": {
1288-
"operation": "equal",
1288+
"operation": "greater-or-equal",
12891289
"reference": 0
12901290
},
12911291
"MISCSELECT": {
@@ -1315,7 +1315,7 @@
13151315
"reference": 2
13161316
},
13171317
"TDXModuleSVN": {
1318-
"operation": "equal",
1318+
"operation": "greater-or-equal",
13191319
"reference": 0
13201320
}
13211321
}
@@ -1337,7 +1337,7 @@
13371337
"reference": 3
13381338
},
13391339
"TDXModuleSVN": {
1340-
"operation": "equal",
1340+
"operation": "greater-or-equal",
13411341
"reference": 0
13421342
}
13431343
}
@@ -1359,7 +1359,7 @@
13591359
"reference": 1
13601360
},
13611361
"TDXModuleSVN": {
1362-
"operation": "equal",
1362+
"operation": "greater-or-equal",
13631363
"reference": 0
13641364
}
13651365
}

config/policy_production_fmspc.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -967,7 +967,7 @@
967967
"reference": 2
968968
},
969969
"ISVSVN": {
970-
"operation": "equal",
970+
"operation": "greater-or-equal",
971971
"reference": 4
972972
},
973973
"MISCSELECT": {
@@ -997,7 +997,7 @@
997997
"reference": 3
998998
},
999999
"TDXModuleSVN": {
1000-
"operation": "equal",
1000+
"operation": "greater-or-equal",
10011001
"reference": 2
10021002
}
10031003
}
@@ -1019,7 +1019,7 @@
10191019
"reference": 1
10201020
},
10211021
"TDXModuleSVN": {
1022-
"operation": "equal",
1022+
"operation": "greater-or-equal",
10231023
"reference": 4
10241024
}
10251025
}

tools/migtd-policy-generator/src/policy.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ impl QePolicy {
162162
reference: Reference::Integer(isvprodid),
163163
},
164164
isvsvn: Property {
165-
operation: "equal".to_string(),
165+
operation: "greater-or-equal".to_string(),
166166
reference: Reference::Integer(isvsvn),
167167
},
168168
},
@@ -262,7 +262,7 @@ impl TdxModulePolicy {
262262
reference: Reference::Integer(id),
263263
},
264264
tdx_module_svn: Property {
265-
operation: "equal".to_string(),
265+
operation: "greater-or-equal".to_string(),
266266
reference: Reference::Integer(
267267
tdx_module.tcb_levels[0].tcb.isvsvn,
268268
),

0 commit comments

Comments
 (0)