Skip to contentSkip to conversation

MISRA: Unmark Rules 1.1 and 2.1 as clean following Eclair upgrade

PATCH In review Andrew Cooper 2 participants 2 messages Dec 17, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MISRA: Unmark Rules 1.1 and 2.1 as clean following Eclair upgrade

Updating the Eclair runner has had knock-on effects with previously-clean rules now flagging violations:

- x86: Rule 1.1, 1940 violations
- ARM64: Rule 1.1, 725 violations, Rule 2.1, 255 violations

Fixes 631f535a3d4f ("xen: update ECLAIR service identifiers from MC3R1 to MC3A2.")

---
CC: Anthony PERARD <[email protected]>
CC: Michal Orzel <[email protected]>
CC: Jan Beulich <[email protected]>
CC: Julien Grall <[email protected]>
CC: Roger Pau Monné <[email protected]>
CC: Stefano Stabellini <[email protected]>
CC: [email protected] <[email protected]>
CC: Nicola Vetrini <[email protected]>
CC: Alessandro Zucchelli <[email protected]>

This is a speculative fix, but is the most simple fallback.

Nicola has posted a patch to fix the R1.1 failure (I can drop that hunk if the fix is ok), but I see nothing so easy for ARM's R2.1 failure.

Also Xen 4.18 needs extra backports in order to build.

---
 automation/eclair_analysis/ECLAIR/tagging.ecl | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
automation/eclair_analysis/ECLAIR/tagging.ecl +1 -2
index b5243185915f..982f506cc7b6 100644
@@ -25,7 +25,6 @@ MC3A2.D2.1||
 MC3A2.D4.1||
 MC3A2.D4.11||
 MC3A2.D4.14||
-MC3A2.R1.1||
 MC3A2.R1.3||
 MC3A2.R1.4||
 MC3A2.R2.6||
@@ -116,7 +115,7 @@ if(string_equal(target,"x86_64"),
 )
 
 if(string_equal(target,"arm64"),
-    service_selector({"additional_clean_guidelines","MC3A2.R2.1||MC3A2.R5.3||MC3.R11.2||MC3A2.R16.6||MC3A2.R20.7"})
+    service_selector({"additional_clean_guidelines","MC3A2.R5.3||MC3.R11.2||MC3A2.R16.6||MC3A2.R20.7"})
 )
 
 -reports+={clean:added,"service(clean_guidelines_common||additional_clean_guidelines)"}

base-commit: 631f535a3d4ffd66a270672f0f787d79f3bf38f8

Signature · 1 line
2.39.5
Acked-by on v1 1/1
#1 lore raw
Quoted 8 lines · Andrew Cooper

Updating the Eclair runner has had knock-on effects with previously-clean rules now flagging violations:

- x86: Rule 1.1, 1940 violations
- ARM64: Rule 1.1, 725 violations, Rule 2.1, 255 violations

Fixes 631f535a3d4f ("xen: update ECLAIR service identifiers from MC3R1 to MC3A2.")

Thanks.